Annotation of parser3/src/lib/ltdl/configure, revision 1.10

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.10    ! moko        3: # Generated by GNU Autoconf 2.72 for libltdl 2.4.3a.
1.5       moko        4: #
                      5: # Report bugs to <bug-libtool@gnu.org>.
                      6: #
                      7: #
1.10    ! moko        8: # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
        !             9: # Inc.
1.5       moko       10: #
1.1       paf        11: #
                     12: # This configure script is free software; the Free Software Foundation
                     13: # gives unlimited permission to copy, distribute and modify it.
1.5       moko       14: ## -------------------- ##
                     15: ## M4sh Initialization. ##
                     16: ## -------------------- ##
                     17: 
                     18: # Be more Bourne compatible
                     19: DUALCASE=1; export DUALCASE # for MKS sh
1.10    ! moko       20: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
        !            21: then :
1.2       paf        22:   emulate sh
                     23:   NULLCMD=:
1.5       moko       24:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.2       paf        25:   # is contrary to our usage.  Disable this feature.
                     26:   alias -g '${1+"$@"}'='"$@"'
1.5       moko       27:   setopt NO_GLOB_SUBST
1.10    ! moko       28: else case e in #(
        !            29:   e) case `(set -o) 2>/dev/null` in #(
1.5       moko       30:   *posix*) :
                     31:     set -o posix ;; #(
                     32:   *) :
                     33:      ;;
1.10    ! moko       34: esac ;;
1.5       moko       35: esac
                     36: fi
                     37: 
                     38: 
1.10    ! moko       39: 
        !            40: # Reset variables that may have inherited troublesome values from
        !            41: # the environment.
        !            42: 
        !            43: # IFS needs to be set, to space, tab, and newline, in precisely that order.
        !            44: # (If _AS_PATH_WALK were called with IFS unset, it would have the
        !            45: # side effect of setting IFS to empty, thus disabling word splitting.)
        !            46: # Quoting is to prevent editors from complaining about space-tab.
1.5       moko       47: as_nl='
                     48: '
                     49: export as_nl
1.10    ! moko       50: IFS=" ""       $as_nl"
        !            51: 
        !            52: PS1='$ '
        !            53: PS2='> '
        !            54: PS4='+ '
        !            55: 
        !            56: # Ensure predictable behavior from utilities with locale-dependent output.
        !            57: LC_ALL=C
        !            58: export LC_ALL
        !            59: LANGUAGE=C
        !            60: export LANGUAGE
        !            61: 
        !            62: # We cannot yet rely on "unset" to work, but we need these variables
        !            63: # to be unset--not just set to an empty or harmless value--now, to
        !            64: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
        !            65: # also avoids known problems related to "unset" and subshell syntax
        !            66: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
        !            67: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
        !            68: do eval test \${$as_var+y} \
        !            69:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !            70: done
        !            71: 
        !            72: # Ensure that fds 0, 1, and 2 are open.
        !            73: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
        !            74: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
        !            75: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.2       paf        76: 
1.5       moko       77: # The user is always right.
1.10    ! moko       78: if ${PATH_SEPARATOR+false} :; then
1.5       moko       79:   PATH_SEPARATOR=:
                     80:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     81:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     82:       PATH_SEPARATOR=';'
                     83:   }
1.2       paf        84: fi
                     85: 
                     86: 
1.5       moko       87: # Find who we are.  Look in the path if we contain no directory separator.
                     88: as_myself=
                     89: case $0 in #((
                     90:   *[\\/]* ) as_myself=$0 ;;
                     91:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     92: for as_dir in $PATH
                     93: do
                     94:   IFS=$as_save_IFS
1.10    ! moko       95:   case $as_dir in #(((
        !            96:     '') as_dir=./ ;;
        !            97:     */) ;;
        !            98:     *) as_dir=$as_dir/ ;;
        !            99:   esac
        !           100:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.5       moko      101:   done
                    102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
1.10    ! moko      106: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.5       moko      107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
1.10    ! moko      112:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.5       moko      113:   exit 1
                    114: fi
                    115: 
                    116: 
1.7       moko      117: # Use a proper internal environment variable to ensure we don't fall
                    118:   # into an infinite loop, continuously re-executing ourselves.
                    119:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    120:     _as_can_reexec=no; export _as_can_reexec;
                    121:     # We cannot yet assume a decent shell, so we have to provide a
                    122: # neutralization value for shells without unset; and this also
                    123: # works around shells that cannot unset nonexistent variables.
                    124: # Preserve -v and -x to the replacement shell.
                    125: BASH_ENV=/dev/null
                    126: ENV=/dev/null
                    127: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    128: case $- in # ((((
                    129:   *v*x* | *x*v* ) as_opts=-vx ;;
                    130:   *v* ) as_opts=-v ;;
                    131:   *x* ) as_opts=-x ;;
                    132:   * ) as_opts= ;;
                    133: esac
                    134: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    135: # Admittedly, this is quite paranoid, since all the known shells bail
1.10    ! moko      136: # out after a failed 'exec'.
        !           137: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           138: exit 255
1.7       moko      139:   fi
                    140:   # We don't want this to propagate to other subprocesses.
                    141:           { _as_can_reexec=; unset _as_can_reexec;}
1.5       moko      142: if test "x$CONFIG_SHELL" = x; then
1.10    ! moko      143:   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
        !           144: then :
1.5       moko      145:   emulate sh
                    146:   NULLCMD=:
                    147:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    148:   # is contrary to our usage.  Disable this feature.
                    149:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    150:   setopt NO_GLOB_SUBST
1.10    ! moko      151: else case e in #(
        !           152:   e) case \`(set -o) 2>/dev/null\` in #(
1.5       moko      153:   *posix*) :
                    154:     set -o posix ;; #(
                    155:   *) :
                    156:      ;;
1.10    ! moko      157: esac ;;
1.5       moko      158: esac
                    159: fi
                    160: "
                    161:   as_required="as_fn_return () { (exit \$1); }
                    162: as_fn_success () { as_fn_return 0; }
                    163: as_fn_failure () { as_fn_return 1; }
                    164: as_fn_ret_success () { return 0; }
                    165: as_fn_ret_failure () { return 1; }
                    166: 
                    167: exitcode=0
                    168: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    169: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    170: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    171: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1.10    ! moko      172: if ( set x; as_fn_ret_success y && test x = \"\$1\" )
        !           173: then :
1.5       moko      174: 
1.10    ! moko      175: else case e in #(
        !           176:   e) exitcode=1; echo positional parameters were not saved. ;;
        !           177: esac
1.5       moko      178: fi
1.7       moko      179: test x\$exitcode = x0 || exit 1
1.10    ! moko      180: blah=\$(echo \$(echo blah))
        !           181: test x\"\$blah\" = xblah || exit 1
1.7       moko      182: test -x / || exit 1"
1.5       moko      183:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    184:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    185:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    186:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    187: 
                    188:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    189:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    190:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    191:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    192:     PATH=/empty FPATH=/empty; export PATH FPATH
                    193:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    194:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    195: test \$(( 1 + 1 )) = 2 || exit 1"
1.10    ! moko      196:   if (eval "$as_required") 2>/dev/null
        !           197: then :
1.5       moko      198:   as_have_required=yes
1.10    ! moko      199: else case e in #(
        !           200:   e) as_have_required=no ;;
        !           201: esac
1.5       moko      202: fi
1.10    ! moko      203:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
        !           204: then :
1.5       moko      205: 
1.10    ! moko      206: else case e in #(
        !           207:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5       moko      208: as_found=false
                    209: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.2       paf       210: do
1.5       moko      211:   IFS=$as_save_IFS
1.10    ! moko      212:   case $as_dir in #(((
        !           213:     '') as_dir=./ ;;
        !           214:     */) ;;
        !           215:     *) as_dir=$as_dir/ ;;
        !           216:   esac
1.5       moko      217:   as_found=:
                    218:   case $as_dir in #(
                    219:         /*)
                    220:           for as_base in sh bash ksh sh5; do
                    221:             # Try only shells that exist, to save several forks.
1.10    ! moko      222:             as_shell=$as_dir$as_base
1.5       moko      223:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1.10    ! moko      224:                    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
        !           225: then :
1.5       moko      226:   CONFIG_SHELL=$as_shell as_have_required=yes
1.10    ! moko      227:                   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
        !           228: then :
1.5       moko      229:   break 2
                    230: fi
                    231: fi
                    232:           done;;
                    233:        esac
                    234:   as_found=false
                    235: done
1.10    ! moko      236: IFS=$as_save_IFS
        !           237: if $as_found
        !           238: then :
        !           239: 
        !           240: else case e in #(
        !           241:   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           242:              as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
        !           243: then :
1.5       moko      244:   CONFIG_SHELL=$SHELL as_have_required=yes
1.10    ! moko      245: fi ;;
        !           246: esac
        !           247: fi
1.5       moko      248: 
                    249: 
1.10    ! moko      250:       if test "x$CONFIG_SHELL" != x
        !           251: then :
1.7       moko      252:   export CONFIG_SHELL
                    253:              # We cannot yet assume a decent shell, so we have to provide a
                    254: # neutralization value for shells without unset; and this also
                    255: # works around shells that cannot unset nonexistent variables.
                    256: # Preserve -v and -x to the replacement shell.
                    257: BASH_ENV=/dev/null
                    258: ENV=/dev/null
                    259: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    260: case $- in # ((((
                    261:   *v*x* | *x*v* ) as_opts=-vx ;;
                    262:   *v* ) as_opts=-v ;;
                    263:   *x* ) as_opts=-x ;;
                    264:   * ) as_opts= ;;
                    265: esac
                    266: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    267: # Admittedly, this is quite paranoid, since all the known shells bail
1.10    ! moko      268: # out after a failed 'exec'.
        !           269: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1.7       moko      270: exit 255
1.5       moko      271: fi
                    272: 
1.10    ! moko      273:     if test x$as_have_required = xno
        !           274: then :
        !           275:   printf "%s\n" "$0: This script requires a shell more modern than all"
        !           276:   printf "%s\n" "$0: the shells that I found on your system."
        !           277:   if test ${ZSH_VERSION+y} ; then
        !           278:     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           279:     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
1.5       moko      280:   else
1.10    ! moko      281:     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
1.5       moko      282: $0: bug-libtool@gnu.org about your system, including any
                    283: $0: error possibly output before this message. Then install
                    284: $0: a modern shell, or manually run the script under such a
                    285: $0: shell if you do have one."
1.2       paf       286:   fi
1.5       moko      287:   exit 1
1.10    ! moko      288: fi ;;
        !           289: esac
1.5       moko      290: fi
                    291: fi
                    292: SHELL=${CONFIG_SHELL-/bin/sh}
                    293: export SHELL
                    294: # Unset more variables known to interfere with behavior of common tools.
                    295: CLICOLOR_FORCE= GREP_OPTIONS=
                    296: unset CLICOLOR_FORCE GREP_OPTIONS
                    297: 
                    298: ## --------------------- ##
                    299: ## M4sh Shell Functions. ##
                    300: ## --------------------- ##
                    301: # as_fn_unset VAR
                    302: # ---------------
                    303: # Portably unset VAR.
                    304: as_fn_unset ()
                    305: {
                    306:   { eval $1=; unset $1;}
                    307: }
                    308: as_unset=as_fn_unset
                    309: 
1.10    ! moko      310: 
1.5       moko      311: # as_fn_set_status STATUS
                    312: # -----------------------
                    313: # Set $? to STATUS, without forking.
                    314: as_fn_set_status ()
                    315: {
                    316:   return $1
                    317: } # as_fn_set_status
                    318: 
                    319: # as_fn_exit STATUS
                    320: # -----------------
                    321: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    322: as_fn_exit ()
                    323: {
                    324:   set +e
                    325:   as_fn_set_status $1
                    326:   exit $1
                    327: } # as_fn_exit
                    328: 
                    329: # as_fn_mkdir_p
                    330: # -------------
                    331: # Create "$as_dir" as a directory, including parents if necessary.
                    332: as_fn_mkdir_p ()
                    333: {
                    334: 
                    335:   case $as_dir in #(
                    336:   -*) as_dir=./$as_dir;;
                    337:   esac
                    338:   test -d "$as_dir" || eval $as_mkdir_p || {
                    339:     as_dirs=
                    340:     while :; do
                    341:       case $as_dir in #(
1.10    ! moko      342:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.5       moko      343:       *) as_qdir=$as_dir;;
                    344:       esac
                    345:       as_dirs="'$as_qdir' $as_dirs"
                    346:       as_dir=`$as_dirname -- "$as_dir" ||
                    347: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    348:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    349:         X"$as_dir" : 'X\(//\)$' \| \
                    350:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko      351: printf "%s\n" X"$as_dir" |
1.5       moko      352:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    353:            s//\1/
                    354:            q
                    355:          }
                    356:          /^X\(\/\/\)[^/].*/{
                    357:            s//\1/
                    358:            q
                    359:          }
                    360:          /^X\(\/\/\)$/{
                    361:            s//\1/
                    362:            q
                    363:          }
                    364:          /^X\(\/\).*/{
                    365:            s//\1/
                    366:            q
                    367:          }
                    368:          s/.*/./; q'`
                    369:       test -d "$as_dir" && break
                    370:     done
                    371:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    372:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    373: 
                    374: 
                    375: } # as_fn_mkdir_p
1.7       moko      376: 
                    377: # as_fn_executable_p FILE
                    378: # -----------------------
                    379: # Test if FILE is an executable regular file.
                    380: as_fn_executable_p ()
                    381: {
                    382:   test -f "$1" && test -x "$1"
                    383: } # as_fn_executable_p
1.5       moko      384: # as_fn_append VAR VALUE
                    385: # ----------------------
                    386: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    387: # advantage of any shell optimizations that allow amortized linear growth over
                    388: # repeated appends, instead of the typical quadratic growth present in naive
                    389: # implementations.
1.10    ! moko      390: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
        !           391: then :
1.5       moko      392:   eval 'as_fn_append ()
                    393:   {
                    394:     eval $1+=\$2
                    395:   }'
1.10    ! moko      396: else case e in #(
        !           397:   e) as_fn_append ()
1.5       moko      398:   {
                    399:     eval $1=\$$1\$2
1.10    ! moko      400:   } ;;
        !           401: esac
1.5       moko      402: fi # as_fn_append
                    403: 
                    404: # as_fn_arith ARG...
                    405: # ------------------
                    406: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    407: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    408: # must be portable across $(()) and expr.
1.10    ! moko      409: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
        !           410: then :
1.5       moko      411:   eval 'as_fn_arith ()
                    412:   {
                    413:     as_val=$(( $* ))
                    414:   }'
1.10    ! moko      415: else case e in #(
        !           416:   e) as_fn_arith ()
1.5       moko      417:   {
                    418:     as_val=`expr "$@" || test $? -eq 1`
1.10    ! moko      419:   } ;;
        !           420: esac
1.5       moko      421: fi # as_fn_arith
                    422: 
                    423: 
                    424: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    425: # ----------------------------------------
                    426: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    427: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    428: # script with STATUS, using 1 if that was 0.
                    429: as_fn_error ()
                    430: {
                    431:   as_status=$1; test $as_status -eq 0 && as_status=1
                    432:   if test "$4"; then
                    433:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko      434:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.5       moko      435:   fi
1.10    ! moko      436:   printf "%s\n" "$as_me: error: $2" >&2
1.5       moko      437:   as_fn_exit $as_status
                    438: } # as_fn_error
1.2       paf       439: 
1.5       moko      440: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    441:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.2       paf       442:   as_expr=expr
                    443: else
                    444:   as_expr=false
                    445: fi
                    446: 
1.5       moko      447: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.2       paf       448:   as_basename=basename
                    449: else
                    450:   as_basename=false
                    451: fi
                    452: 
1.5       moko      453: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    454:   as_dirname=dirname
                    455: else
                    456:   as_dirname=false
                    457: fi
1.2       paf       458: 
1.5       moko      459: as_me=`$as_basename -- "$0" ||
1.2       paf       460: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    461:         X"$0" : 'X\(//\)$' \| \
1.5       moko      462:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko      463: printf "%s\n" X/"$0" |
1.5       moko      464:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    465:            s//\1/
                    466:            q
                    467:          }
                    468:          /^X\/\(\/\/\)$/{
                    469:            s//\1/
                    470:            q
                    471:          }
                    472:          /^X\/\(\/\).*/{
                    473:            s//\1/
                    474:            q
                    475:          }
                    476:          s/.*/./; q'`
1.2       paf       477: 
                    478: # Avoid depending upon Character Ranges.
                    479: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    480: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    481: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    482: as_cr_digits='0123456789'
                    483: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    484: 
                    485: 
1.5       moko      486:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    487:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    488:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    489:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    490:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    491:   sed -n '
                    492:     p
                    493:     /[$]LINENO/=
                    494:   ' <$as_myself |
1.2       paf       495:     sed '
1.10    ! moko      496:       t clear
        !           497:       :clear
1.5       moko      498:       s/[$]LINENO.*/&-/
                    499:       t lineno
                    500:       b
                    501:       :lineno
1.2       paf       502:       N
1.5       moko      503:       :loop
                    504:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.2       paf       505:       t loop
1.5       moko      506:       s/-\n.*//
1.2       paf       507:     ' >$as_me.lineno &&
1.5       moko      508:   chmod +x "$as_me.lineno" ||
1.10    ! moko      509:     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.2       paf       510: 
1.7       moko      511:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    512:   # already done that, so ensure we don't try to do so again and fall
                    513:   # in an infinite loop.  This has already happened in practice.
                    514:   _as_can_reexec=no; export _as_can_reexec
1.2       paf       515:   # Don't try to exec as it changes $[0], causing all sort of problems
                    516:   # (the dirname of $[0] is not the place where we might find the
1.5       moko      517:   # original and so on.  Autoconf is especially sensitive to this).
                    518:   . "./$as_me.lineno"
1.2       paf       519:   # Exit status is that of the last command.
                    520:   exit
                    521: }
                    522: 
1.10    ! moko      523: 
        !           524: # Determine whether it's possible to make 'echo' print without a newline.
        !           525: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
        !           526: # for compatibility with existing Makefiles.
1.5       moko      527: ECHO_C= ECHO_N= ECHO_T=
                    528: case `echo -n x` in #(((((
                    529: -n*)
                    530:   case `echo 'xy\c'` in
                    531:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    532:   xy)  ECHO_C='\c';;
                    533:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    534:        ECHO_T='        ';;
                    535:   esac;;
                    536: *)
                    537:   ECHO_N='-n';;
1.2       paf       538: esac
                    539: 
1.10    ! moko      540: # For backward compatibility with old third-party macros, we provide
        !           541: # the shell variables $as_echo and $as_echo_n.  New code should use
        !           542: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
        !           543: as_echo='printf %s\n'
        !           544: as_echo_n='printf %s'
        !           545: 
1.5       moko      546: rm -f conf$$ conf$$.exe conf$$.file
                    547: if test -d conf$$.dir; then
                    548:   rm -f conf$$.dir/conf$$.file
1.2       paf       549: else
1.5       moko      550:   rm -f conf$$.dir
                    551:   mkdir conf$$.dir 2>/dev/null
1.2       paf       552: fi
1.5       moko      553: if (echo >conf$$.file) 2>/dev/null; then
                    554:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    555:     as_ln_s='ln -s'
                    556:     # ... but there are two gotchas:
1.10    ! moko      557:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
        !           558:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
        !           559:     # In both cases, we have to default to 'cp -pR'.
1.5       moko      560:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.7       moko      561:       as_ln_s='cp -pR'
1.5       moko      562:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    563:     as_ln_s=ln
                    564:   else
1.7       moko      565:     as_ln_s='cp -pR'
1.2       paf       566:   fi
                    567: else
1.7       moko      568:   as_ln_s='cp -pR'
1.2       paf       569: fi
1.5       moko      570: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    571: rmdir conf$$.dir 2>/dev/null
1.2       paf       572: 
                    573: if mkdir -p . 2>/dev/null; then
1.5       moko      574:   as_mkdir_p='mkdir -p "$as_dir"'
1.2       paf       575: else
1.5       moko      576:   test -d ./-p && rmdir ./-p
1.2       paf       577:   as_mkdir_p=false
                    578: fi
                    579: 
1.7       moko      580: as_test_x='test -x'
                    581: as_executable_p=as_fn_executable_p
1.2       paf       582: 
                    583: # Sed expression to map a string onto a valid CPP name.
1.10    ! moko      584: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
        !           585: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.2       paf       586: 
                    587: # Sed expression to map a string onto a valid variable name.
1.10    ! moko      588: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
        !           589: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.4       paf       590: 
                    591: SHELL=${CONFIG_SHELL-/bin/sh}
                    592: 
                    593: 
1.5       moko      594: test -n "$DJDIR" || exec 7<&0 </dev/null
                    595: exec 6>&1
1.4       paf       596: 
1.2       paf       597: # Name of the host.
1.5       moko      598: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.2       paf       599: # so uname gets run too.
                    600: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    601: 
                    602: #
                    603: # Initializations.
                    604: #
1.1       paf       605: ac_default_prefix=/usr/local
1.5       moko      606: ac_clean_files=
1.2       paf       607: ac_config_libobj_dir=.
1.5       moko      608: LIBOBJS=
1.2       paf       609: cross_compiling=no
                    610: subdirs=
                    611: MFLAGS=
                    612: MAKEFLAGS=
                    613: 
                    614: # Identity of this package.
1.5       moko      615: PACKAGE_NAME='libltdl'
                    616: PACKAGE_TARNAME='libltdl'
1.10    ! moko      617: PACKAGE_VERSION='2.4.3a'
        !           618: PACKAGE_STRING='libltdl 2.4.3a'
1.5       moko      619: PACKAGE_BUGREPORT='bug-libtool@gnu.org'
                    620: PACKAGE_URL=''
1.2       paf       621: 
                    622: ac_unique_file="ltdl.c"
                    623: # Factoring default headers for most tests.
                    624: ac_includes_default="\
1.10    ! moko      625: #include <stddef.h>
        !           626: #ifdef HAVE_STDIO_H
        !           627: # include <stdio.h>
1.2       paf       628: #endif
1.10    ! moko      629: #ifdef HAVE_STDLIB_H
1.2       paf       630: # include <stdlib.h>
                    631: #endif
1.5       moko      632: #ifdef HAVE_STRING_H
1.2       paf       633: # include <string.h>
                    634: #endif
1.5       moko      635: #ifdef HAVE_INTTYPES_H
1.2       paf       636: # include <inttypes.h>
                    637: #endif
1.5       moko      638: #ifdef HAVE_STDINT_H
                    639: # include <stdint.h>
                    640: #endif
1.10    ! moko      641: #ifdef HAVE_STRINGS_H
        !           642: # include <strings.h>
        !           643: #endif
        !           644: #ifdef HAVE_SYS_TYPES_H
        !           645: # include <sys/types.h>
        !           646: #endif
        !           647: #ifdef HAVE_SYS_STAT_H
        !           648: # include <sys/stat.h>
        !           649: #endif
1.5       moko      650: #ifdef HAVE_UNISTD_H
1.2       paf       651: # include <unistd.h>
                    652: #endif"
                    653: 
1.10    ! moko      654: ac_header_c_list=
1.5       moko      655: ac_subst_vars='am__EXEEXT_FALSE
                    656: am__EXEEXT_TRUE
                    657: LTLIBOBJS
                    658: LTDLOPEN
                    659: LT_CONFIG_H
1.10    ! moko      660: LTARGZH_EXISTS_FALSE
        !           661: LTARGZH_EXISTS_TRUE
1.5       moko      662: CONVENIENCE_LTDL_FALSE
                    663: CONVENIENCE_LTDL_TRUE
                    664: INSTALL_LTDL_FALSE
                    665: INSTALL_LTDL_TRUE
1.10    ! moko      666: LT_ARGZ_H
1.5       moko      667: LIBOBJS
                    668: sys_symbol_underscore
                    669: LIBADD_DL
                    670: LT_DLPREOPEN
                    671: LIBADD_DLD_LINK
                    672: LIBADD_SHL_LOAD
                    673: LIBADD_DLOPEN
                    674: LT_DLLOADERS
1.10    ! moko      675: LT_SYS_LIBRARY_PATH
1.5       moko      676: OTOOL64
                    677: OTOOL
                    678: LIPO
                    679: NMEDIT
                    680: DSYMUTIL
                    681: MANIFEST_TOOL
                    682: RANLIB
                    683: ac_ct_AR
                    684: AR
1.10    ! moko      685: FILECMD
1.5       moko      686: LN_S
                    687: NM
                    688: ac_ct_DUMPBIN
                    689: DUMPBIN
                    690: LD
                    691: FGREP
                    692: EGREP
                    693: GREP
                    694: SED
                    695: am__fastdepCC_FALSE
                    696: am__fastdepCC_TRUE
                    697: CCDEPMODE
1.8       moko      698: am__nodep
1.5       moko      699: AMDEPBACKSLASH
                    700: AMDEP_FALSE
                    701: AMDEP_TRUE
                    702: am__include
                    703: DEPDIR
                    704: OBJEXT
                    705: EXEEXT
                    706: ac_ct_CC
                    707: CPPFLAGS
                    708: LDFLAGS
                    709: CFLAGS
                    710: CC
                    711: host_os
                    712: host_vendor
                    713: host_cpu
                    714: host
                    715: build_os
                    716: build_vendor
                    717: build_cpu
                    718: build
                    719: LIBTOOL
                    720: OBJDUMP
                    721: DLLTOOL
                    722: AS
1.10    ! moko      723: am__xargs_n
        !           724: am__rm_f_notfound
1.8       moko      725: AM_BACKSLASH
                    726: AM_DEFAULT_VERBOSITY
                    727: AM_DEFAULT_V
                    728: AM_V
1.10    ! moko      729: CSCOPE
        !           730: ETAGS
        !           731: CTAGS
1.5       moko      732: am__untar
                    733: am__tar
                    734: AMTAR
                    735: am__leading_dot
                    736: SET_MAKE
                    737: AWK
                    738: mkdir_p
                    739: MKDIR_P
                    740: INSTALL_STRIP_PROGRAM
                    741: STRIP
                    742: install_sh
                    743: MAKEINFO
                    744: AUTOHEADER
                    745: AUTOMAKE
                    746: AUTOCONF
                    747: ACLOCAL
                    748: VERSION
                    749: PACKAGE
                    750: CYGPATH_W
                    751: am__isrc
                    752: INSTALL_DATA
                    753: INSTALL_SCRIPT
                    754: INSTALL_PROGRAM
                    755: target_alias
                    756: host_alias
                    757: build_alias
                    758: LIBS
                    759: ECHO_T
                    760: ECHO_N
                    761: ECHO_C
                    762: DEFS
                    763: mandir
                    764: localedir
                    765: libdir
                    766: psdir
                    767: pdfdir
                    768: dvidir
                    769: htmldir
                    770: infodir
                    771: docdir
                    772: oldincludedir
                    773: includedir
1.7       moko      774: runstatedir
1.5       moko      775: localstatedir
                    776: sharedstatedir
                    777: sysconfdir
                    778: datadir
                    779: datarootdir
                    780: libexecdir
                    781: sbindir
                    782: bindir
                    783: program_transform_name
                    784: prefix
                    785: exec_prefix
                    786: PACKAGE_URL
                    787: PACKAGE_BUGREPORT
                    788: PACKAGE_STRING
                    789: PACKAGE_VERSION
                    790: PACKAGE_TARNAME
                    791: PACKAGE_NAME
                    792: PATH_SEPARATOR
1.8       moko      793: SHELL
                    794: am__quote'
1.2       paf       795: ac_subst_files=''
1.5       moko      796: ac_user_opts='
                    797: enable_option_checking
1.8       moko      798: enable_silent_rules
1.5       moko      799: enable_shared
                    800: enable_static
1.10    ! moko      801: enable_pic
1.5       moko      802: with_pic
                    803: enable_fast_install
1.10    ! moko      804: enable_aix_soname
        !           805: with_aix_soname
1.5       moko      806: enable_dependency_tracking
                    807: with_gnu_ld
                    808: with_sysroot
                    809: enable_libtool_lock
                    810: enable_ltdl_install
                    811: '
                    812:       ac_precious_vars='build_alias
                    813: host_alias
                    814: target_alias
                    815: CC
                    816: CFLAGS
                    817: LDFLAGS
                    818: LIBS
                    819: CPPFLAGS
1.10    ! moko      820: LT_SYS_LIBRARY_PATH'
1.5       moko      821: 
1.1       paf       822: 
                    823: # Initialize some variables set by options.
1.2       paf       824: ac_init_help=
                    825: ac_init_version=false
1.5       moko      826: ac_unrecognized_opts=
                    827: ac_unrecognized_sep=
1.1       paf       828: # The variables have the same names as the options, with
                    829: # dashes changed to underlines.
1.2       paf       830: cache_file=/dev/null
1.1       paf       831: exec_prefix=NONE
                    832: no_create=
                    833: no_recursion=
                    834: prefix=NONE
                    835: program_prefix=NONE
                    836: program_suffix=NONE
                    837: program_transform_name=s,x,x,
                    838: silent=
                    839: site=
                    840: srcdir=
                    841: verbose=
                    842: x_includes=NONE
                    843: x_libraries=NONE
1.2       paf       844: 
                    845: # Installation directory options.
                    846: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    847: # and all the variables that are supposed to be based on exec_prefix
                    848: # by default will actually change.
                    849: # Use braces instead of parens because sh, perl, etc. also accept them.
1.5       moko      850: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       851: bindir='${exec_prefix}/bin'
                    852: sbindir='${exec_prefix}/sbin'
                    853: libexecdir='${exec_prefix}/libexec'
1.5       moko      854: datarootdir='${prefix}/share'
                    855: datadir='${datarootdir}'
1.1       paf       856: sysconfdir='${prefix}/etc'
                    857: sharedstatedir='${prefix}/com'
                    858: localstatedir='${prefix}/var'
1.7       moko      859: runstatedir='${localstatedir}/run'
1.1       paf       860: includedir='${prefix}/include'
                    861: oldincludedir='/usr/include'
1.5       moko      862: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    863: infodir='${datarootdir}/info'
                    864: htmldir='${docdir}'
                    865: dvidir='${docdir}'
                    866: pdfdir='${docdir}'
                    867: psdir='${docdir}'
                    868: libdir='${exec_prefix}/lib'
                    869: localedir='${datarootdir}/locale'
                    870: mandir='${datarootdir}/man'
1.1       paf       871: 
                    872: ac_prev=
1.5       moko      873: ac_dashdash=
1.1       paf       874: for ac_option
                    875: do
                    876:   # If the previous option needs an argument, assign it.
                    877:   if test -n "$ac_prev"; then
1.5       moko      878:     eval $ac_prev=\$ac_option
1.1       paf       879:     ac_prev=
                    880:     continue
                    881:   fi
                    882: 
1.5       moko      883:   case $ac_option in
                    884:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    885:   *=)   ac_optarg= ;;
                    886:   *)    ac_optarg=yes ;;
                    887:   esac
1.1       paf       888: 
1.5       moko      889:   case $ac_dashdash$ac_option in
                    890:   --)
                    891:     ac_dashdash=yes ;;
1.1       paf       892: 
                    893:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    894:     ac_prev=bindir ;;
                    895:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.2       paf       896:     bindir=$ac_optarg ;;
1.1       paf       897: 
                    898:   -build | --build | --buil | --bui | --bu)
1.2       paf       899:     ac_prev=build_alias ;;
1.1       paf       900:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.2       paf       901:     build_alias=$ac_optarg ;;
1.1       paf       902: 
                    903:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    904:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    905:     ac_prev=cache_file ;;
                    906:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    907:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.2       paf       908:     cache_file=$ac_optarg ;;
                    909: 
                    910:   --config-cache | -C)
                    911:     cache_file=config.cache ;;
1.1       paf       912: 
1.5       moko      913:   -datadir | --datadir | --datadi | --datad)
1.1       paf       914:     ac_prev=datadir ;;
1.5       moko      915:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.2       paf       916:     datadir=$ac_optarg ;;
1.1       paf       917: 
1.5       moko      918:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    919:   | --dataroo | --dataro | --datar)
                    920:     ac_prev=datarootdir ;;
                    921:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    922:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    923:     datarootdir=$ac_optarg ;;
                    924: 
1.1       paf       925:   -disable-* | --disable-*)
1.5       moko      926:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       927:     # Reject names that are not valid shell variable names.
1.5       moko      928:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.10    ! moko      929:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.5       moko      930:     ac_useropt_orig=$ac_useropt
1.10    ! moko      931:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.5       moko      932:     case $ac_user_opts in
                    933:       *"
                    934: "enable_$ac_useropt"
                    935: "*) ;;
                    936:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    937:         ac_unrecognized_sep=', ';;
                    938:     esac
                    939:     eval enable_$ac_useropt=no ;;
                    940: 
                    941:   -docdir | --docdir | --docdi | --doc | --do)
                    942:     ac_prev=docdir ;;
                    943:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    944:     docdir=$ac_optarg ;;
                    945: 
                    946:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    947:     ac_prev=dvidir ;;
                    948:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    949:     dvidir=$ac_optarg ;;
1.1       paf       950: 
                    951:   -enable-* | --enable-*)
1.5       moko      952:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       953:     # Reject names that are not valid shell variable names.
1.5       moko      954:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.10    ! moko      955:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.5       moko      956:     ac_useropt_orig=$ac_useropt
1.10    ! moko      957:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.5       moko      958:     case $ac_user_opts in
                    959:       *"
                    960: "enable_$ac_useropt"
                    961: "*) ;;
                    962:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    963:         ac_unrecognized_sep=', ';;
1.1       paf       964:     esac
1.5       moko      965:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       966: 
                    967:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    968:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    969:   | --exec | --exe | --ex)
                    970:     ac_prev=exec_prefix ;;
                    971:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    972:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    973:   | --exec=* | --exe=* | --ex=*)
1.2       paf       974:     exec_prefix=$ac_optarg ;;
1.1       paf       975: 
                    976:   -gas | --gas | --ga | --g)
                    977:     # Obsolete; use --with-gas.
                    978:     with_gas=yes ;;
                    979: 
1.2       paf       980:   -help | --help | --hel | --he | -h)
                    981:     ac_init_help=long ;;
                    982:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    983:     ac_init_help=recursive ;;
                    984:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    985:     ac_init_help=short ;;
1.1       paf       986: 
                    987:   -host | --host | --hos | --ho)
1.2       paf       988:     ac_prev=host_alias ;;
1.1       paf       989:   -host=* | --host=* | --hos=* | --ho=*)
1.2       paf       990:     host_alias=$ac_optarg ;;
1.1       paf       991: 
1.5       moko      992:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    993:     ac_prev=htmldir ;;
                    994:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    995:   | --ht=*)
                    996:     htmldir=$ac_optarg ;;
                    997: 
1.1       paf       998:   -includedir | --includedir | --includedi | --included | --include \
                    999:   | --includ | --inclu | --incl | --inc)
                   1000:     ac_prev=includedir ;;
                   1001:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1002:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.2       paf      1003:     includedir=$ac_optarg ;;
1.1       paf      1004: 
                   1005:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1006:     ac_prev=infodir ;;
                   1007:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.2       paf      1008:     infodir=$ac_optarg ;;
1.1       paf      1009: 
                   1010:   -libdir | --libdir | --libdi | --libd)
                   1011:     ac_prev=libdir ;;
                   1012:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.2       paf      1013:     libdir=$ac_optarg ;;
1.1       paf      1014: 
                   1015:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1016:   | --libexe | --libex | --libe)
                   1017:     ac_prev=libexecdir ;;
                   1018:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1019:   | --libexe=* | --libex=* | --libe=*)
1.2       paf      1020:     libexecdir=$ac_optarg ;;
1.1       paf      1021: 
1.5       moko     1022:   -localedir | --localedir | --localedi | --localed | --locale)
                   1023:     ac_prev=localedir ;;
                   1024:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1025:     localedir=$ac_optarg ;;
                   1026: 
1.1       paf      1027:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.5       moko     1028:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1029:     ac_prev=localstatedir ;;
                   1030:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.5       moko     1031:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.2       paf      1032:     localstatedir=$ac_optarg ;;
1.1       paf      1033: 
                   1034:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1035:     ac_prev=mandir ;;
                   1036:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.2       paf      1037:     mandir=$ac_optarg ;;
1.1       paf      1038: 
                   1039:   -nfp | --nfp | --nf)
                   1040:     # Obsolete; use --without-fp.
                   1041:     with_fp=no ;;
                   1042: 
                   1043:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.2       paf      1044:   | --no-cr | --no-c | -n)
1.1       paf      1045:     no_create=yes ;;
                   1046: 
                   1047:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1048:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1049:     no_recursion=yes ;;
                   1050: 
                   1051:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1052:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1053:   | --oldin | --oldi | --old | --ol | --o)
                   1054:     ac_prev=oldincludedir ;;
                   1055:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1056:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1057:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.2       paf      1058:     oldincludedir=$ac_optarg ;;
1.1       paf      1059: 
                   1060:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1061:     ac_prev=prefix ;;
                   1062:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.2       paf      1063:     prefix=$ac_optarg ;;
1.1       paf      1064: 
                   1065:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1066:   | --program-pre | --program-pr | --program-p)
                   1067:     ac_prev=program_prefix ;;
                   1068:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1069:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.2       paf      1070:     program_prefix=$ac_optarg ;;
1.1       paf      1071: 
                   1072:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1073:   | --program-suf | --program-su | --program-s)
                   1074:     ac_prev=program_suffix ;;
                   1075:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1076:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.2       paf      1077:     program_suffix=$ac_optarg ;;
1.1       paf      1078: 
                   1079:   -program-transform-name | --program-transform-name \
                   1080:   | --program-transform-nam | --program-transform-na \
                   1081:   | --program-transform-n | --program-transform- \
                   1082:   | --program-transform | --program-transfor \
                   1083:   | --program-transfo | --program-transf \
                   1084:   | --program-trans | --program-tran \
                   1085:   | --progr-tra | --program-tr | --program-t)
                   1086:     ac_prev=program_transform_name ;;
                   1087:   -program-transform-name=* | --program-transform-name=* \
                   1088:   | --program-transform-nam=* | --program-transform-na=* \
                   1089:   | --program-transform-n=* | --program-transform-=* \
                   1090:   | --program-transform=* | --program-transfor=* \
                   1091:   | --program-transfo=* | --program-transf=* \
                   1092:   | --program-trans=* | --program-tran=* \
                   1093:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.2       paf      1094:     program_transform_name=$ac_optarg ;;
1.1       paf      1095: 
1.5       moko     1096:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1097:     ac_prev=pdfdir ;;
                   1098:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1099:     pdfdir=$ac_optarg ;;
                   1100: 
                   1101:   -psdir | --psdir | --psdi | --psd | --ps)
                   1102:     ac_prev=psdir ;;
                   1103:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1104:     psdir=$ac_optarg ;;
                   1105: 
1.1       paf      1106:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1107:   | -silent | --silent | --silen | --sile | --sil)
                   1108:     silent=yes ;;
                   1109: 
1.7       moko     1110:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1111:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1112:   | --run | --ru | --r)
                   1113:     ac_prev=runstatedir ;;
                   1114:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1115:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1116:   | --run=* | --ru=* | --r=*)
                   1117:     runstatedir=$ac_optarg ;;
                   1118: 
1.1       paf      1119:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1120:     ac_prev=sbindir ;;
                   1121:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1122:   | --sbi=* | --sb=*)
1.2       paf      1123:     sbindir=$ac_optarg ;;
1.1       paf      1124: 
                   1125:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1126:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1127:   | --sharedst | --shareds | --shared | --share | --shar \
                   1128:   | --sha | --sh)
                   1129:     ac_prev=sharedstatedir ;;
                   1130:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1131:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1132:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1133:   | --sha=* | --sh=*)
1.2       paf      1134:     sharedstatedir=$ac_optarg ;;
1.1       paf      1135: 
                   1136:   -site | --site | --sit)
                   1137:     ac_prev=site ;;
                   1138:   -site=* | --site=* | --sit=*)
1.2       paf      1139:     site=$ac_optarg ;;
1.1       paf      1140: 
                   1141:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1142:     ac_prev=srcdir ;;
                   1143:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.2       paf      1144:     srcdir=$ac_optarg ;;
1.1       paf      1145: 
                   1146:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1147:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1148:     ac_prev=sysconfdir ;;
                   1149:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1150:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.2       paf      1151:     sysconfdir=$ac_optarg ;;
1.1       paf      1152: 
                   1153:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.2       paf      1154:     ac_prev=target_alias ;;
1.1       paf      1155:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.2       paf      1156:     target_alias=$ac_optarg ;;
1.1       paf      1157: 
                   1158:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1159:     verbose=yes ;;
                   1160: 
1.2       paf      1161:   -version | --version | --versio | --versi | --vers | -V)
                   1162:     ac_init_version=: ;;
1.1       paf      1163: 
                   1164:   -with-* | --with-*)
1.5       moko     1165:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1166:     # Reject names that are not valid shell variable names.
1.5       moko     1167:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.10    ! moko     1168:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.5       moko     1169:     ac_useropt_orig=$ac_useropt
1.10    ! moko     1170:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.5       moko     1171:     case $ac_user_opts in
                   1172:       *"
                   1173: "with_$ac_useropt"
                   1174: "*) ;;
                   1175:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1176:         ac_unrecognized_sep=', ';;
1.1       paf      1177:     esac
1.5       moko     1178:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1179: 
                   1180:   -without-* | --without-*)
1.5       moko     1181:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1182:     # Reject names that are not valid shell variable names.
1.5       moko     1183:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.10    ! moko     1184:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.5       moko     1185:     ac_useropt_orig=$ac_useropt
1.10    ! moko     1186:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.5       moko     1187:     case $ac_user_opts in
                   1188:       *"
                   1189: "with_$ac_useropt"
                   1190: "*) ;;
                   1191:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1192:         ac_unrecognized_sep=', ';;
                   1193:     esac
                   1194:     eval with_$ac_useropt=no ;;
1.1       paf      1195: 
                   1196:   --x)
                   1197:     # Obsolete; use --with-x.
                   1198:     with_x=yes ;;
                   1199: 
                   1200:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1201:   | --x-incl | --x-inc | --x-in | --x-i)
                   1202:     ac_prev=x_includes ;;
                   1203:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1204:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.2       paf      1205:     x_includes=$ac_optarg ;;
1.1       paf      1206: 
                   1207:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1208:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1209:     ac_prev=x_libraries ;;
                   1210:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1211:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.2       paf      1212:     x_libraries=$ac_optarg ;;
1.1       paf      1213: 
1.10    ! moko     1214:   -*) as_fn_error $? "unrecognized option: '$ac_option'
        !          1215: Try '$0 --help' for more information"
1.1       paf      1216:     ;;
                   1217: 
1.2       paf      1218:   *=*)
                   1219:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1220:     # Reject names that are not valid shell variable names.
1.5       moko     1221:     case $ac_envvar in #(
                   1222:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.10    ! moko     1223:       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1.5       moko     1224:     esac
                   1225:     eval $ac_envvar=\$ac_optarg
1.2       paf      1226:     export $ac_envvar ;;
                   1227: 
1.1       paf      1228:   *)
1.2       paf      1229:     # FIXME: should be removed in autoconf 3.0.
1.10    ! moko     1230:     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1.2       paf      1231:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.10    ! moko     1232:       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1.5       moko     1233:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1234:     ;;
                   1235: 
                   1236:   esac
                   1237: done
                   1238: 
                   1239: if test -n "$ac_prev"; then
1.2       paf      1240:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.5       moko     1241:   as_fn_error $? "missing argument to $ac_option"
                   1242: fi
                   1243: 
                   1244: if test -n "$ac_unrecognized_opts"; then
                   1245:   case $enable_option_checking in
                   1246:     no) ;;
                   1247:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.10    ! moko     1248:     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.5       moko     1249:   esac
1.1       paf      1250: fi
                   1251: 
1.5       moko     1252: # Check all directory arguments for consistency.
                   1253: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1254:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1255:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.7       moko     1256:                libdir localedir mandir runstatedir
1.2       paf      1257: do
1.5       moko     1258:   eval ac_val=\$$ac_var
                   1259:   # Remove trailing slashes.
1.2       paf      1260:   case $ac_val in
1.5       moko     1261:     */ )
                   1262:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1263:       eval $ac_var=\$ac_val;;
1.2       paf      1264:   esac
1.5       moko     1265:   # Be sure to have absolute directory names.
1.2       paf      1266:   case $ac_val in
1.5       moko     1267:     [\\/$]* | ?:[\\/]* )  continue;;
                   1268:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1269:   esac
1.5       moko     1270:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1271: done
                   1272: 
1.10    ! moko     1273: # There might be people who depend on the old broken behavior: '$host'
1.2       paf      1274: # used to hold the argument of --host etc.
                   1275: # FIXME: To remove some day.
                   1276: build=$build_alias
                   1277: host=$host_alias
                   1278: target=$target_alias
                   1279: 
                   1280: # FIXME: To remove some day.
                   1281: if test "x$host_alias" != x; then
                   1282:   if test "x$build_alias" = x; then
                   1283:     cross_compiling=maybe
                   1284:   elif test "x$build_alias" != "x$host_alias"; then
                   1285:     cross_compiling=yes
                   1286:   fi
                   1287: fi
                   1288: 
                   1289: ac_tool_prefix=
                   1290: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1291: 
1.2       paf      1292: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1293: 
                   1294: 
1.5       moko     1295: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1296: ac_ls_di=`ls -di .` &&
                   1297: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1298:   as_fn_error $? "working directory cannot be determined"
                   1299: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1300:   as_fn_error $? "pwd does not report name of working directory"
                   1301: 
                   1302: 
1.1       paf      1303: # Find the source files, if location was not specified.
                   1304: if test -z "$srcdir"; then
                   1305:   ac_srcdir_defaulted=yes
1.5       moko     1306:   # Try the directory containing this script, then the parent directory.
                   1307:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1308: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1309:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1310:         X"$as_myself" : 'X\(//\)$' \| \
                   1311:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     1312: printf "%s\n" X"$as_myself" |
1.5       moko     1313:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1314:            s//\1/
                   1315:            q
                   1316:          }
                   1317:          /^X\(\/\/\)[^/].*/{
                   1318:            s//\1/
                   1319:            q
                   1320:          }
                   1321:          /^X\(\/\/\)$/{
                   1322:            s//\1/
                   1323:            q
                   1324:          }
                   1325:          /^X\(\/\).*/{
                   1326:            s//\1/
                   1327:            q
                   1328:          }
                   1329:          s/.*/./; q'`
1.1       paf      1330:   srcdir=$ac_confdir
1.5       moko     1331:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1332:     srcdir=..
                   1333:   fi
                   1334: else
                   1335:   ac_srcdir_defaulted=no
                   1336: fi
1.5       moko     1337: if test ! -r "$srcdir/$ac_unique_file"; then
                   1338:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1339:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1340: fi
1.10    ! moko     1341: ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1.5       moko     1342: ac_abs_confdir=`(
                   1343:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1344:        pwd)`
                   1345: # When building in place, set srcdir=.
                   1346: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1347:   srcdir=.
                   1348: fi
                   1349: # Remove unnecessary trailing slashes from srcdir.
                   1350: # Double slashes in file names in object file debugging info
                   1351: # mess up M-x gdb in Emacs.
                   1352: case $srcdir in
                   1353: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1354: esac
                   1355: for ac_var in $ac_precious_vars; do
                   1356:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1357:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1358:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1359:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1360: done
1.2       paf      1361: 
                   1362: #
                   1363: # Report the --help message.
                   1364: #
                   1365: if test "$ac_init_help" = "long"; then
                   1366:   # Omit some internal or obsolete options to make the list less imposing.
                   1367:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1368:   cat <<_ACEOF
1.10    ! moko     1369: 'configure' configures libltdl 2.4.3a to adapt to many kinds of systems.
1.2       paf      1370: 
                   1371: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1372: 
                   1373: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1374: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1375: 
                   1376: Defaults for the options are specified in brackets.
                   1377: 
                   1378: Configuration:
                   1379:   -h, --help              display this help and exit
                   1380:       --help=short        display options specific to this package
                   1381:       --help=recursive    display the short help of all the included packages
                   1382:   -V, --version           display version information and exit
1.10    ! moko     1383:   -q, --quiet, --silent   do not print 'checking ...' messages
1.2       paf      1384:       --cache-file=FILE   cache test results in FILE [disabled]
1.10    ! moko     1385:   -C, --config-cache      alias for '--cache-file=config.cache'
1.2       paf      1386:   -n, --no-create         do not create output files
1.10    ! moko     1387:       --srcdir=DIR        find the sources in DIR [configure dir or '..']
1.2       paf      1388: 
                   1389: Installation directories:
                   1390:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1391:                           [$ac_default_prefix]
                   1392:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1393:                           [PREFIX]
                   1394: 
1.10    ! moko     1395: By default, 'make install' will install all the files in
        !          1396: '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
        !          1397: an installation prefix other than '$ac_default_prefix' using '--prefix',
        !          1398: for instance '--prefix=\$HOME'.
1.2       paf      1399: 
                   1400: For better control, use the options below.
                   1401: 
                   1402: Fine tuning of the installation directories:
1.5       moko     1403:   --bindir=DIR            user executables [EPREFIX/bin]
                   1404:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1405:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1406:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1407:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1408:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.7       moko     1409:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.5       moko     1410:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1411:   --includedir=DIR        C header files [PREFIX/include]
                   1412:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1413:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1414:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1415:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1416:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1417:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1418:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libltdl]
                   1419:   --htmldir=DIR           html documentation [DOCDIR]
                   1420:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1421:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1422:   --psdir=DIR             ps documentation [DOCDIR]
1.2       paf      1423: _ACEOF
                   1424: 
                   1425:   cat <<\_ACEOF
                   1426: 
                   1427: Program names:
                   1428:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1429:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1430:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1.3       paf      1431: 
                   1432: System types:
                   1433:   --build=BUILD     configure for building on BUILD [guessed]
                   1434:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1.2       paf      1435: _ACEOF
                   1436: fi
                   1437: 
                   1438: if test -n "$ac_init_help"; then
1.5       moko     1439:   case $ac_init_help in
1.10    ! moko     1440:      short | recursive ) echo "Configuration of libltdl 2.4.3a:";;
1.5       moko     1441:    esac
1.2       paf      1442:   cat <<\_ACEOF
                   1443: 
                   1444: Optional Features:
1.5       moko     1445:   --disable-option-checking  ignore unrecognized --enable/--with options
1.2       paf      1446:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1447:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.8       moko     1448:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1449:   --disable-silent-rules  verbose build output (undo: "make V=0")
1.5       moko     1450:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1451:   --enable-static[=PKGS]  build static libraries [default=yes]
1.10    ! moko     1452:   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
        !          1453:                           both]
1.5       moko     1454:   --enable-fast-install[=PKGS]
                   1455:                           optimize for fast installation [default=yes]
1.10    ! moko     1456:   --enable-aix-soname=aix|svr4|both
        !          1457:                           shared library versioning (aka "SONAME") variant to
        !          1458:                           provide on AIX, [default=aix].
1.8       moko     1459:   --enable-dependency-tracking
                   1460:                           do not reject slow dependency extractors
                   1461:   --disable-dependency-tracking
                   1462:                           speeds up one-time build
1.4       paf      1463:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1464:   --enable-ltdl-install   install libltdl
                   1465: 
                   1466: Optional Packages:
                   1467:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1468:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.5       moko     1469:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.10    ! moko     1470:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
        !          1471:                           compiler's sysroot if not specified).
1.2       paf      1472: 
                   1473: Some influential environment variables:
                   1474:   CC          C compiler command
                   1475:   CFLAGS      C compiler flags
                   1476:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1477:               nonstandard directory <lib dir>
1.5       moko     1478:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1479:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1480:               you have headers in a nonstandard directory <include dir>
1.10    ! moko     1481:   LT_SYS_LIBRARY_PATH
        !          1482:               User-defined run-time library search path.
1.2       paf      1483: 
1.10    ! moko     1484: Use these variables to override the choices made by 'configure' or to help
1.2       paf      1485: it to find libraries and programs with nonstandard names/locations.
                   1486: 
1.5       moko     1487: Report bugs to <bug-libtool@gnu.org>.
1.2       paf      1488: _ACEOF
1.5       moko     1489: ac_status=$?
1.2       paf      1490: fi
                   1491: 
                   1492: if test "$ac_init_help" = "recursive"; then
                   1493:   # If there are subdirs, report their specific --help.
                   1494:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.5       moko     1495:     test -d "$ac_dir" ||
                   1496:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1497:       continue
1.2       paf      1498:     ac_builddir=.
                   1499: 
1.5       moko     1500: case "$ac_dir" in
                   1501: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1502: *)
1.10    ! moko     1503:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.5       moko     1504:   # A ".." for each directory in $ac_dir_suffix.
1.10    ! moko     1505:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.5       moko     1506:   case $ac_top_builddir_sub in
                   1507:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1508:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1509:   esac ;;
                   1510: esac
                   1511: ac_abs_top_builddir=$ac_pwd
                   1512: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1513: # for backward compatibility:
                   1514: ac_top_builddir=$ac_top_build_prefix
1.2       paf      1515: 
                   1516: case $srcdir in
1.5       moko     1517:   .)  # We are building in place.
1.2       paf      1518:     ac_srcdir=.
1.5       moko     1519:     ac_top_srcdir=$ac_top_builddir_sub
                   1520:     ac_abs_top_srcdir=$ac_pwd ;;
                   1521:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.2       paf      1522:     ac_srcdir=$srcdir$ac_dir_suffix;
1.5       moko     1523:     ac_top_srcdir=$srcdir
                   1524:     ac_abs_top_srcdir=$srcdir ;;
                   1525:   *) # Relative name.
                   1526:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1527:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1528:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1529: esac
                   1530: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1531: 
                   1532:     cd "$ac_dir" || { ac_status=$?; continue; }
1.10    ! moko     1533:     # Check for configure.gnu first; this name is used for a wrapper for
        !          1534:     # Metaconfig's "Configure" on case-insensitive file systems.
1.5       moko     1535:     if test -f "$ac_srcdir/configure.gnu"; then
                   1536:       echo &&
                   1537:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1538:     elif test -f "$ac_srcdir/configure"; then
                   1539:       echo &&
                   1540:       $SHELL "$ac_srcdir/configure" --help=recursive
1.2       paf      1541:     else
1.10    ! moko     1542:       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.5       moko     1543:     fi || ac_status=$?
                   1544:     cd "$ac_pwd" || { ac_status=$?; break; }
1.2       paf      1545:   done
                   1546: fi
                   1547: 
1.5       moko     1548: test -n "$ac_init_help" && exit $ac_status
1.2       paf      1549: if $ac_init_version; then
                   1550:   cat <<\_ACEOF
1.10    ! moko     1551: libltdl configure 2.4.3a
        !          1552: generated by GNU Autoconf 2.72
1.2       paf      1553: 
1.10    ! moko     1554: Copyright (C) 2023 Free Software Foundation, Inc.
1.2       paf      1555: This configure script is free software; the Free Software Foundation
                   1556: gives unlimited permission to copy, distribute and modify it.
                   1557: _ACEOF
1.5       moko     1558:   exit
1.2       paf      1559: fi
                   1560: 
1.5       moko     1561: ## ------------------------ ##
                   1562: ## Autoconf initialization. ##
                   1563: ## ------------------------ ##
                   1564: 
                   1565: # ac_fn_c_try_compile LINENO
                   1566: # --------------------------
                   1567: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1568: ac_fn_c_try_compile ()
                   1569: {
                   1570:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko     1571:   rm -f conftest.$ac_objext conftest.beam
1.5       moko     1572:   if { { ac_try="$ac_compile"
                   1573: case "(($ac_try" in
                   1574:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1575:   *) ac_try_echo=$ac_try;;
                   1576: esac
                   1577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     1578: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     1579:   (eval "$ac_compile") 2>conftest.err
                   1580:   ac_status=$?
                   1581:   if test -s conftest.err; then
                   1582:     grep -v '^ *+' conftest.err >conftest.er1
                   1583:     cat conftest.er1 >&5
                   1584:     mv -f conftest.er1 conftest.err
                   1585:   fi
1.10    ! moko     1586:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     1587:   test $ac_status = 0; } && {
                   1588:         test -z "$ac_c_werror_flag" ||
                   1589:         test ! -s conftest.err
1.10    ! moko     1590:        } && test -s conftest.$ac_objext
        !          1591: then :
1.5       moko     1592:   ac_retval=0
1.10    ! moko     1593: else case e in #(
        !          1594:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.5       moko     1595: sed 's/^/| /' conftest.$ac_ext >&5
                   1596: 
1.10    ! moko     1597:        ac_retval=1 ;;
        !          1598: esac
1.5       moko     1599: fi
                   1600:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1601:   as_fn_set_status $ac_retval
                   1602: 
                   1603: } # ac_fn_c_try_compile
                   1604: 
                   1605: # ac_fn_c_try_link LINENO
                   1606: # -----------------------
                   1607: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1608: ac_fn_c_try_link ()
                   1609: {
                   1610:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko     1611:   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1.5       moko     1612:   if { { ac_try="$ac_link"
                   1613: case "(($ac_try" in
                   1614:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1615:   *) ac_try_echo=$ac_try;;
                   1616: esac
                   1617: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     1618: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     1619:   (eval "$ac_link") 2>conftest.err
                   1620:   ac_status=$?
                   1621:   if test -s conftest.err; then
                   1622:     grep -v '^ *+' conftest.err >conftest.er1
                   1623:     cat conftest.er1 >&5
                   1624:     mv -f conftest.er1 conftest.err
                   1625:   fi
1.10    ! moko     1626:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     1627:   test $ac_status = 0; } && {
                   1628:         test -z "$ac_c_werror_flag" ||
                   1629:         test ! -s conftest.err
                   1630:        } && test -s conftest$ac_exeext && {
                   1631:         test "$cross_compiling" = yes ||
1.7       moko     1632:         test -x conftest$ac_exeext
1.10    ! moko     1633:        }
        !          1634: then :
1.5       moko     1635:   ac_retval=0
1.10    ! moko     1636: else case e in #(
        !          1637:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.5       moko     1638: sed 's/^/| /' conftest.$ac_ext >&5
                   1639: 
1.10    ! moko     1640:        ac_retval=1 ;;
        !          1641: esac
1.5       moko     1642: fi
                   1643:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1644:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1645:   # interfere with the next link command; also delete a directory that is
                   1646:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1647:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1648:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1649:   as_fn_set_status $ac_retval
                   1650: 
                   1651: } # ac_fn_c_try_link
                   1652: 
                   1653: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1654: # -------------------------------------------------------
                   1655: # Tests whether HEADER exists and can be compiled using the include files in
                   1656: # INCLUDES, setting the cache variable VAR accordingly.
                   1657: ac_fn_c_check_header_compile ()
                   1658: {
                   1659:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko     1660:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1661: printf %s "checking for $2... " >&6; }
        !          1662: if eval test \${$3+y}
        !          1663: then :
        !          1664:   printf %s "(cached) " >&6
        !          1665: else case e in #(
        !          1666:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.5       moko     1667: /* end confdefs.h.  */
                   1668: $4
                   1669: #include <$2>
                   1670: _ACEOF
1.10    ! moko     1671: if ac_fn_c_try_compile "$LINENO"
        !          1672: then :
1.5       moko     1673:   eval "$3=yes"
1.10    ! moko     1674: else case e in #(
        !          1675:   e) eval "$3=no" ;;
        !          1676: esac
1.5       moko     1677: fi
1.10    ! moko     1678: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          1679: esac
1.5       moko     1680: fi
                   1681: eval ac_res=\$$3
1.10    ! moko     1682:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1683: printf "%s\n" "$ac_res" >&6; }
1.5       moko     1684:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1685: 
                   1686: } # ac_fn_c_check_header_compile
                   1687: 
                   1688: # ac_fn_c_check_func LINENO FUNC VAR
                   1689: # ----------------------------------
                   1690: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1691: ac_fn_c_check_func ()
                   1692: {
                   1693:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko     1694:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1695: printf %s "checking for $2... " >&6; }
        !          1696: if eval test \${$3+y}
        !          1697: then :
        !          1698:   printf %s "(cached) " >&6
        !          1699: else case e in #(
        !          1700:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.5       moko     1701: /* end confdefs.h.  */
                   1702: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1703:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1704: #define $2 innocuous_$2
                   1705: 
                   1706: /* System header to define __stub macros and hopefully few prototypes,
1.10    ! moko     1707:    which can conflict with char $2 (void); below.  */
1.5       moko     1708: 
1.10    ! moko     1709: #include <limits.h>
1.5       moko     1710: #undef $2
                   1711: 
                   1712: /* Override any GCC internal prototype to avoid an error.
                   1713:    Use char because int might match the return type of a GCC
                   1714:    builtin and then its argument prototype would still apply.  */
                   1715: #ifdef __cplusplus
                   1716: extern "C"
                   1717: #endif
1.10    ! moko     1718: char $2 (void);
1.5       moko     1719: /* The GNU C library defines this for functions which it implements
                   1720:     to always fail with ENOSYS.  Some functions are actually named
                   1721:     something starting with __ and the normal name is an alias.  */
                   1722: #if defined __stub_$2 || defined __stub___$2
                   1723: choke me
                   1724: #endif
                   1725: 
                   1726: int
1.10    ! moko     1727: main (void)
1.5       moko     1728: {
                   1729: return $2 ();
                   1730:   ;
                   1731:   return 0;
                   1732: }
                   1733: _ACEOF
1.10    ! moko     1734: if ac_fn_c_try_link "$LINENO"
        !          1735: then :
1.5       moko     1736:   eval "$3=yes"
1.10    ! moko     1737: else case e in #(
        !          1738:   e) eval "$3=no" ;;
        !          1739: esac
1.5       moko     1740: fi
1.10    ! moko     1741: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          1742:     conftest$ac_exeext conftest.$ac_ext ;;
        !          1743: esac
1.5       moko     1744: fi
                   1745: eval ac_res=\$$3
1.10    ! moko     1746:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1747: printf "%s\n" "$ac_res" >&6; }
1.5       moko     1748:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1749: 
                   1750: } # ac_fn_c_check_func
                   1751: 
1.10    ! moko     1752: # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
        !          1753: # ------------------------------------------------------------------
1.5       moko     1754: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1.10    ! moko     1755: # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
        !          1756: ac_fn_check_decl ()
1.5       moko     1757: {
                   1758:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1759:   as_decl_name=`echo $2|sed 's/ *(.*//'`
1.10    ! moko     1760:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
        !          1761: printf %s "checking whether $as_decl_name is declared... " >&6; }
        !          1762: if eval test \${$3+y}
        !          1763: then :
        !          1764:   printf %s "(cached) " >&6
        !          1765: else case e in #(
        !          1766:   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
        !          1767:   eval ac_save_FLAGS=\$$6
        !          1768:   as_fn_append $6 " $5"
1.5       moko     1769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1770: /* end confdefs.h.  */
                   1771: $4
                   1772: int
1.10    ! moko     1773: main (void)
1.5       moko     1774: {
                   1775: #ifndef $as_decl_name
                   1776: #ifdef __cplusplus
                   1777:   (void) $as_decl_use;
                   1778: #else
                   1779:   (void) $as_decl_name;
                   1780: #endif
                   1781: #endif
                   1782: 
                   1783:   ;
                   1784:   return 0;
                   1785: }
                   1786: _ACEOF
1.10    ! moko     1787: if ac_fn_c_try_compile "$LINENO"
        !          1788: then :
1.5       moko     1789:   eval "$3=yes"
1.10    ! moko     1790: else case e in #(
        !          1791:   e) eval "$3=no" ;;
        !          1792: esac
1.5       moko     1793: fi
1.10    ! moko     1794: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          1795:   eval $6=\$ac_save_FLAGS
        !          1796:  ;;
        !          1797: esac
1.5       moko     1798: fi
                   1799: eval ac_res=\$$3
1.10    ! moko     1800:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1801: printf "%s\n" "$ac_res" >&6; }
1.5       moko     1802:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1803: 
1.10    ! moko     1804: } # ac_fn_check_decl
1.5       moko     1805: 
                   1806: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1807: # -------------------------------------------
                   1808: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1809: # variable VAR accordingly.
                   1810: ac_fn_c_check_type ()
                   1811: {
                   1812:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko     1813:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1814: printf %s "checking for $2... " >&6; }
        !          1815: if eval test \${$3+y}
        !          1816: then :
        !          1817:   printf %s "(cached) " >&6
        !          1818: else case e in #(
        !          1819:   e) eval "$3=no"
1.5       moko     1820:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1821: /* end confdefs.h.  */
                   1822: $4
                   1823: int
1.10    ! moko     1824: main (void)
1.5       moko     1825: {
                   1826: if (sizeof ($2))
                   1827:         return 0;
                   1828:   ;
                   1829:   return 0;
                   1830: }
                   1831: _ACEOF
1.10    ! moko     1832: if ac_fn_c_try_compile "$LINENO"
        !          1833: then :
1.5       moko     1834:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1835: /* end confdefs.h.  */
                   1836: $4
                   1837: int
1.10    ! moko     1838: main (void)
1.5       moko     1839: {
                   1840: if (sizeof (($2)))
                   1841:            return 0;
                   1842:   ;
                   1843:   return 0;
                   1844: }
                   1845: _ACEOF
1.10    ! moko     1846: if ac_fn_c_try_compile "$LINENO"
        !          1847: then :
1.5       moko     1848: 
1.10    ! moko     1849: else case e in #(
        !          1850:   e) eval "$3=yes" ;;
        !          1851: esac
1.5       moko     1852: fi
1.10    ! moko     1853: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.5       moko     1854: fi
1.10    ! moko     1855: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          1856: esac
1.5       moko     1857: fi
                   1858: eval ac_res=\$$3
1.10    ! moko     1859:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1860: printf "%s\n" "$ac_res" >&6; }
1.5       moko     1861:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1862: 
                   1863: } # ac_fn_c_check_type
1.10    ! moko     1864: ac_configure_args_raw=
        !          1865: for ac_arg
        !          1866: do
        !          1867:   case $ac_arg in
        !          1868:   *\'*)
        !          1869:     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1870:   esac
        !          1871:   as_fn_append ac_configure_args_raw " '$ac_arg'"
        !          1872: done
        !          1873: 
        !          1874: case $ac_configure_args_raw in
        !          1875:   *$as_nl*)
        !          1876:     ac_safe_unquote= ;;
        !          1877:   *)
        !          1878:     ac_unsafe_z='|&;<>()$`\\"*?[ ''    ' # This string ends in space, tab.
        !          1879:     ac_unsafe_a="$ac_unsafe_z#~"
        !          1880:     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
        !          1881:     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
        !          1882: esac
        !          1883: 
1.5       moko     1884: cat >config.log <<_ACEOF
                   1885: This file contains any messages produced by compilers while
                   1886: running configure, to aid debugging if configure makes a mistake.
                   1887: 
1.10    ! moko     1888: It was created by libltdl $as_me 2.4.3a, which was
        !          1889: generated by GNU Autoconf 2.72.  Invocation command line was
1.5       moko     1890: 
1.10    ! moko     1891:   $ $0$ac_configure_args_raw
1.5       moko     1892: 
                   1893: _ACEOF
                   1894: exec 5>>config.log
1.2       paf      1895: {
                   1896: cat <<_ASUNAME
                   1897: ## --------- ##
                   1898: ## Platform. ##
                   1899: ## --------- ##
                   1900: 
                   1901: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1902: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1903: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1904: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1905: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1906: 
                   1907: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1908: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1909: 
                   1910: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1911: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1912: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.5       moko     1913: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.2       paf      1914: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1915: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1916: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1917: 
                   1918: _ASUNAME
                   1919: 
                   1920: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1921: for as_dir in $PATH
                   1922: do
                   1923:   IFS=$as_save_IFS
1.10    ! moko     1924:   case $as_dir in #(((
        !          1925:     '') as_dir=./ ;;
        !          1926:     */) ;;
        !          1927:     *) as_dir=$as_dir/ ;;
        !          1928:   esac
        !          1929:     printf "%s\n" "PATH: $as_dir"
1.5       moko     1930:   done
                   1931: IFS=$as_save_IFS
1.2       paf      1932: 
                   1933: } >&5
                   1934: 
                   1935: cat >&5 <<_ACEOF
                   1936: 
                   1937: 
                   1938: ## ----------- ##
                   1939: ## Core tests. ##
                   1940: ## ----------- ##
                   1941: 
                   1942: _ACEOF
                   1943: 
                   1944: 
                   1945: # Keep a trace of the command line.
                   1946: # Strip out --no-create and --no-recursion so they do not pile up.
                   1947: # Strip out --silent because we don't want to record it for future runs.
                   1948: # Also quote any args containing shell meta-characters.
                   1949: # Make two passes to allow for proper duplicate-argument suppression.
                   1950: ac_configure_args=
                   1951: ac_configure_args0=
                   1952: ac_configure_args1=
                   1953: ac_must_keep_next=false
                   1954: for ac_pass in 1 2
                   1955: do
                   1956:   for ac_arg
                   1957:   do
                   1958:     case $ac_arg in
                   1959:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1960:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1961:     | -silent | --silent | --silen | --sile | --sil)
                   1962:       continue ;;
1.5       moko     1963:     *\'*)
1.10    ! moko     1964:       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.2       paf      1965:     esac
                   1966:     case $ac_pass in
1.5       moko     1967:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.2       paf      1968:     2)
1.5       moko     1969:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.2       paf      1970:       if test $ac_must_keep_next = true; then
1.5       moko     1971:        ac_must_keep_next=false # Got value, back to normal.
1.2       paf      1972:       else
1.5       moko     1973:        case $ac_arg in
                   1974:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1975:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1976:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1977:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1978:            case "$ac_configure_args0 " in
                   1979:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1980:            esac
                   1981:            ;;
                   1982:          -* ) ac_must_keep_next=true ;;
                   1983:        esac
1.2       paf      1984:       fi
1.5       moko     1985:       as_fn_append ac_configure_args " '$ac_arg'"
1.2       paf      1986:       ;;
                   1987:     esac
                   1988:   done
                   1989: done
1.5       moko     1990: { ac_configure_args0=; unset ac_configure_args0;}
                   1991: { ac_configure_args1=; unset ac_configure_args1;}
1.2       paf      1992: 
                   1993: # When interrupted or exit'd, cleanup temporary files, and complete
                   1994: # config.log.  We remove comments because anyway the quotes in there
                   1995: # would cause problems or look ugly.
1.5       moko     1996: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1997: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.2       paf      1998: trap 'exit_status=$?
1.10    ! moko     1999:   # Sanitize IFS.
        !          2000:   IFS=" ""     $as_nl"
1.2       paf      2001:   # Save into config.log some information that might help in debugging.
                   2002:   {
                   2003:     echo
                   2004: 
1.10    ! moko     2005:     printf "%s\n" "## ---------------- ##
1.2       paf      2006: ## Cache variables. ##
1.5       moko     2007: ## ---------------- ##"
1.2       paf      2008:     echo
                   2009:     # The following way of writing the cache mishandles newlines in values,
1.5       moko     2010: (
                   2011:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2012:     eval ac_val=\$$ac_var
                   2013:     case $ac_val in #(
                   2014:     *${as_nl}*)
                   2015:       case $ac_var in #(
1.10    ! moko     2016:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          2017: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.5       moko     2018:       esac
                   2019:       case $ac_var in #(
                   2020:       _ | IFS | as_nl) ;; #(
                   2021:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2022:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2023:       esac ;;
                   2024:     esac
                   2025:   done
1.2       paf      2026:   (set) 2>&1 |
1.5       moko     2027:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2028:     *${as_nl}ac_space=\ *)
1.2       paf      2029:       sed -n \
1.5       moko     2030:        "s/'\''/'\''\\\\'\'''\''/g;
                   2031:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2032:       ;; #(
1.2       paf      2033:     *)
1.5       moko     2034:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.2       paf      2035:       ;;
1.5       moko     2036:     esac |
                   2037:     sort
                   2038: )
1.2       paf      2039:     echo
                   2040: 
1.10    ! moko     2041:     printf "%s\n" "## ----------------- ##
1.2       paf      2042: ## Output variables. ##
1.5       moko     2043: ## ----------------- ##"
1.2       paf      2044:     echo
                   2045:     for ac_var in $ac_subst_vars
                   2046:     do
1.5       moko     2047:       eval ac_val=\$$ac_var
                   2048:       case $ac_val in
1.10    ! moko     2049:       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.5       moko     2050:       esac
1.10    ! moko     2051:       printf "%s\n" "$ac_var='\''$ac_val'\''"
1.2       paf      2052:     done | sort
                   2053:     echo
                   2054: 
                   2055:     if test -n "$ac_subst_files"; then
1.10    ! moko     2056:       printf "%s\n" "## ------------------- ##
1.5       moko     2057: ## File substitutions. ##
                   2058: ## ------------------- ##"
1.2       paf      2059:       echo
                   2060:       for ac_var in $ac_subst_files
                   2061:       do
1.5       moko     2062:        eval ac_val=\$$ac_var
                   2063:        case $ac_val in
1.10    ! moko     2064:        *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.5       moko     2065:        esac
1.10    ! moko     2066:        printf "%s\n" "$ac_var='\''$ac_val'\''"
1.2       paf      2067:       done | sort
                   2068:       echo
                   2069:     fi
                   2070: 
                   2071:     if test -s confdefs.h; then
1.10    ! moko     2072:       printf "%s\n" "## ----------- ##
1.2       paf      2073: ## confdefs.h. ##
1.5       moko     2074: ## ----------- ##"
1.2       paf      2075:       echo
1.5       moko     2076:       cat confdefs.h
1.2       paf      2077:       echo
                   2078:     fi
                   2079:     test "$ac_signal" != 0 &&
1.10    ! moko     2080:       printf "%s\n" "$as_me: caught signal $ac_signal"
        !          2081:     printf "%s\n" "$as_me: exit $exit_status"
1.2       paf      2082:   } >&5
1.5       moko     2083:   rm -f core *.core core.conftest.* &&
                   2084:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.2       paf      2085:     exit $exit_status
1.5       moko     2086: ' 0
1.2       paf      2087: for ac_signal in 1 2 13 15; do
1.5       moko     2088:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.2       paf      2089: done
                   2090: ac_signal=0
                   2091: 
                   2092: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.5       moko     2093: rm -f -r conftest* confdefs.h
                   2094: 
1.10    ! moko     2095: printf "%s\n" "/* confdefs.h */" > confdefs.h
1.2       paf      2096: 
                   2097: # Predefined preprocessor variables.
                   2098: 
1.10    ! moko     2099: printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1.2       paf      2100: 
1.10    ! moko     2101: printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1.2       paf      2102: 
1.10    ! moko     2103: printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1.2       paf      2104: 
1.10    ! moko     2105: printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1.2       paf      2106: 
1.10    ! moko     2107: printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1.2       paf      2108: 
1.10    ! moko     2109: printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1.2       paf      2110: 
                   2111: 
                   2112: # Let the site file select an alternate cache file if it wants to.
1.5       moko     2113: # Prefer an explicitly selected file to automatically selected ones.
                   2114: if test -n "$CONFIG_SITE"; then
1.10    ! moko     2115:   ac_site_files="$CONFIG_SITE"
1.5       moko     2116: elif test "x$prefix" != xNONE; then
1.10    ! moko     2117:   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1.5       moko     2118: else
1.10    ! moko     2119:   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.5       moko     2120: fi
1.10    ! moko     2121: 
        !          2122: for ac_site_file in $ac_site_files
1.5       moko     2123: do
1.10    ! moko     2124:   case $ac_site_file in #(
        !          2125:   */*) :
        !          2126:      ;; #(
        !          2127:   *) :
        !          2128:     ac_site_file=./$ac_site_file ;;
        !          2129: esac
        !          2130:   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
        !          2131:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
        !          2132: printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1.2       paf      2133:     sed 's/^/| /' "$ac_site_file" >&5
1.5       moko     2134:     . "$ac_site_file" \
1.10    ! moko     2135:       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          2136: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.5       moko     2137: as_fn_error $? "failed to load site script $ac_site_file
1.10    ! moko     2138: See 'config.log' for more details" "$LINENO" 5; }
1.1       paf      2139:   fi
                   2140: done
                   2141: 
                   2142: if test -r "$cache_file"; then
1.5       moko     2143:   # Some versions of bash will fail to source /dev/null (special files
                   2144:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2145:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1.10    ! moko     2146:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
        !          2147: printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1.2       paf      2148:     case $cache_file in
1.5       moko     2149:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2150:       *)                      . "./$cache_file";;
1.2       paf      2151:     esac
                   2152:   fi
1.1       paf      2153: else
1.10    ! moko     2154:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
        !          2155: printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1.2       paf      2156:   >$cache_file
                   2157: fi
                   2158: 
1.10    ! moko     2159: # Test code for whether the C compiler supports C89 (global declarations)
        !          2160: ac_c_conftest_c89_globals='
        !          2161: /* Does the compiler advertise C89 conformance?
        !          2162:    Do not test the value of __STDC__, because some compilers set it to 0
        !          2163:    while being otherwise adequately conformant. */
        !          2164: #if !defined __STDC__
        !          2165: # error "Compiler does not advertise C89 conformance"
        !          2166: #endif
1.1       paf      2167: 
1.10    ! moko     2168: #include <stddef.h>
        !          2169: #include <stdarg.h>
        !          2170: struct stat;
        !          2171: /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
        !          2172: struct buf { int x; };
        !          2173: struct buf * (*rcsopen) (struct buf *, struct stat *, int);
        !          2174: static char *e (char **p, int i)
        !          2175: {
        !          2176:   return p[i];
        !          2177: }
        !          2178: static char *f (char * (*g) (char **, int), char **p, ...)
        !          2179: {
        !          2180:   char *s;
        !          2181:   va_list v;
        !          2182:   va_start (v,p);
        !          2183:   s = g (p, va_arg (v,int));
        !          2184:   va_end (v);
        !          2185:   return s;
        !          2186: }
1.2       paf      2187: 
1.10    ! moko     2188: /* C89 style stringification. */
        !          2189: #define noexpand_stringify(a) #a
        !          2190: const char *stringified = noexpand_stringify(arbitrary+token=sequence);
        !          2191: 
        !          2192: /* C89 style token pasting.  Exercises some of the corner cases that
        !          2193:    e.g. old MSVC gets wrong, but not very hard. */
        !          2194: #define noexpand_concat(a,b) a##b
        !          2195: #define expand_concat(a,b) noexpand_concat(a,b)
        !          2196: extern int vA;
        !          2197: extern int vbee;
        !          2198: #define aye A
        !          2199: #define bee B
        !          2200: int *pvA = &expand_concat(v,aye);
        !          2201: int *pvbee = &noexpand_concat(v,bee);
1.2       paf      2202: 
1.10    ! moko     2203: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
        !          2204:    function prototypes and stuff, but not \xHH hex character constants.
        !          2205:    These do not provoke an error unfortunately, instead are silently treated
        !          2206:    as an "x".  The following induces an error, until -std is added to get
        !          2207:    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
        !          2208:    array size at least.  It is necessary to write \x00 == 0 to get something
        !          2209:    that is true only with -std.  */
        !          2210: int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1.1       paf      2211: 
1.10    ! moko     2212: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          2213:    inside strings and character constants.  */
        !          2214: #define FOO(x) '\''x'\''
        !          2215: int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
        !          2216: 
        !          2217: int test (int i, double x);
        !          2218: struct s1 {int (*f) (int a);};
        !          2219: struct s2 {int (*f) (double a);};
        !          2220: int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
        !          2221:                int, int);'
        !          2222: 
        !          2223: # Test code for whether the C compiler supports C89 (body of main).
        !          2224: ac_c_conftest_c89_main='
        !          2225: ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
        !          2226: '
        !          2227: 
        !          2228: # Test code for whether the C compiler supports C99 (global declarations)
        !          2229: ac_c_conftest_c99_globals='
        !          2230: /* Does the compiler advertise C99 conformance? */
        !          2231: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
        !          2232: # error "Compiler does not advertise C99 conformance"
        !          2233: #endif
        !          2234: 
        !          2235: // See if C++-style comments work.
        !          2236: 
        !          2237: #include <stdbool.h>
        !          2238: extern int puts (const char *);
        !          2239: extern int printf (const char *, ...);
        !          2240: extern int dprintf (int, const char *, ...);
        !          2241: extern void *malloc (size_t);
        !          2242: extern void free (void *);
        !          2243: 
        !          2244: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
        !          2245: // dprintf is used instead of fprintf to avoid needing to declare
        !          2246: // FILE and stderr.
        !          2247: #define debug(...) dprintf (2, __VA_ARGS__)
        !          2248: #define showlist(...) puts (#__VA_ARGS__)
        !          2249: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
        !          2250: static void
        !          2251: test_varargs_macros (void)
        !          2252: {
        !          2253:   int x = 1234;
        !          2254:   int y = 5678;
        !          2255:   debug ("Flag");
        !          2256:   debug ("X = %d\n", x);
        !          2257:   showlist (The first, second, and third items.);
        !          2258:   report (x>y, "x is %d but y is %d", x, y);
        !          2259: }
        !          2260: 
        !          2261: // Check long long types.
        !          2262: #define BIG64 18446744073709551615ull
        !          2263: #define BIG32 4294967295ul
        !          2264: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
        !          2265: #if !BIG_OK
        !          2266:   #error "your preprocessor is broken"
        !          2267: #endif
        !          2268: #if BIG_OK
        !          2269: #else
        !          2270:   #error "your preprocessor is broken"
        !          2271: #endif
        !          2272: static long long int bignum = -9223372036854775807LL;
        !          2273: static unsigned long long int ubignum = BIG64;
        !          2274: 
        !          2275: struct incomplete_array
        !          2276: {
        !          2277:   int datasize;
        !          2278:   double data[];
        !          2279: };
        !          2280: 
        !          2281: struct named_init {
        !          2282:   int number;
        !          2283:   const wchar_t *name;
        !          2284:   double average;
        !          2285: };
        !          2286: 
        !          2287: typedef const char *ccp;
        !          2288: 
        !          2289: static inline int
        !          2290: test_restrict (ccp restrict text)
        !          2291: {
        !          2292:   // Iterate through items via the restricted pointer.
        !          2293:   // Also check for declarations in for loops.
        !          2294:   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
        !          2295:     continue;
        !          2296:   return 0;
        !          2297: }
        !          2298: 
        !          2299: // Check varargs and va_copy.
        !          2300: static bool
        !          2301: test_varargs (const char *format, ...)
        !          2302: {
        !          2303:   va_list args;
        !          2304:   va_start (args, format);
        !          2305:   va_list args_copy;
        !          2306:   va_copy (args_copy, args);
        !          2307: 
        !          2308:   const char *str = "";
        !          2309:   int number = 0;
        !          2310:   float fnumber = 0;
        !          2311: 
        !          2312:   while (*format)
        !          2313:     {
        !          2314:       switch (*format++)
        !          2315:        {
        !          2316:        case '\''s'\'': // string
        !          2317:          str = va_arg (args_copy, const char *);
        !          2318:          break;
        !          2319:        case '\''d'\'': // int
        !          2320:          number = va_arg (args_copy, int);
        !          2321:          break;
        !          2322:        case '\''f'\'': // float
        !          2323:          fnumber = va_arg (args_copy, double);
        !          2324:          break;
        !          2325:        default:
        !          2326:          break;
        !          2327:        }
        !          2328:     }
        !          2329:   va_end (args_copy);
        !          2330:   va_end (args);
        !          2331: 
        !          2332:   return *str && number && fnumber;
        !          2333: }
        !          2334: '
        !          2335: 
        !          2336: # Test code for whether the C compiler supports C99 (body of main).
        !          2337: ac_c_conftest_c99_main='
        !          2338:   // Check bool.
        !          2339:   _Bool success = false;
        !          2340:   success |= (argc != 0);
        !          2341: 
        !          2342:   // Check restrict.
        !          2343:   if (test_restrict ("String literal") == 0)
        !          2344:     success = true;
        !          2345:   char *restrict newvar = "Another string";
        !          2346: 
        !          2347:   // Check varargs.
        !          2348:   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
        !          2349:   test_varargs_macros ();
        !          2350: 
        !          2351:   // Check flexible array members.
        !          2352:   struct incomplete_array *ia =
        !          2353:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
        !          2354:   ia->datasize = 10;
        !          2355:   for (int i = 0; i < ia->datasize; ++i)
        !          2356:     ia->data[i] = i * 1.234;
        !          2357:   // Work around memory leak warnings.
        !          2358:   free (ia);
        !          2359: 
        !          2360:   // Check named initializers.
        !          2361:   struct named_init ni = {
        !          2362:     .number = 34,
        !          2363:     .name = L"Test wide string",
        !          2364:     .average = 543.34343,
        !          2365:   };
        !          2366: 
        !          2367:   ni.number = 58;
        !          2368: 
        !          2369:   int dynamic_array[ni.number];
        !          2370:   dynamic_array[0] = argv[0][0];
        !          2371:   dynamic_array[ni.number - 1] = 543;
        !          2372: 
        !          2373:   // work around unused variable warnings
        !          2374:   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
        !          2375:         || dynamic_array[ni.number - 1] != 543);
        !          2376: '
        !          2377: 
        !          2378: # Test code for whether the C compiler supports C11 (global declarations)
        !          2379: ac_c_conftest_c11_globals='
        !          2380: /* Does the compiler advertise C11 conformance? */
        !          2381: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
        !          2382: # error "Compiler does not advertise C11 conformance"
        !          2383: #endif
        !          2384: 
        !          2385: // Check _Alignas.
        !          2386: char _Alignas (double) aligned_as_double;
        !          2387: char _Alignas (0) no_special_alignment;
        !          2388: extern char aligned_as_int;
        !          2389: char _Alignas (0) _Alignas (int) aligned_as_int;
        !          2390: 
        !          2391: // Check _Alignof.
        !          2392: enum
        !          2393: {
        !          2394:   int_alignment = _Alignof (int),
        !          2395:   int_array_alignment = _Alignof (int[100]),
        !          2396:   char_alignment = _Alignof (char)
        !          2397: };
        !          2398: _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
        !          2399: 
        !          2400: // Check _Noreturn.
        !          2401: int _Noreturn does_not_return (void) { for (;;) continue; }
        !          2402: 
        !          2403: // Check _Static_assert.
        !          2404: struct test_static_assert
        !          2405: {
        !          2406:   int x;
        !          2407:   _Static_assert (sizeof (int) <= sizeof (long int),
        !          2408:                   "_Static_assert does not work in struct");
        !          2409:   long int y;
        !          2410: };
        !          2411: 
        !          2412: // Check UTF-8 literals.
        !          2413: #define u8 syntax error!
        !          2414: char const utf8_literal[] = u8"happens to be ASCII" "another string";
        !          2415: 
        !          2416: // Check duplicate typedefs.
        !          2417: typedef long *long_ptr;
        !          2418: typedef long int *long_ptr;
        !          2419: typedef long_ptr long_ptr;
        !          2420: 
        !          2421: // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
        !          2422: struct anonymous
        !          2423: {
        !          2424:   union {
        !          2425:     struct { int i; int j; };
        !          2426:     struct { int k; long int l; } w;
        !          2427:   };
        !          2428:   int m;
        !          2429: } v1;
        !          2430: '
        !          2431: 
        !          2432: # Test code for whether the C compiler supports C11 (body of main).
        !          2433: ac_c_conftest_c11_main='
        !          2434:   _Static_assert ((offsetof (struct anonymous, i)
        !          2435:                   == offsetof (struct anonymous, w.k)),
        !          2436:                  "Anonymous union alignment botch");
        !          2437:   v1.i = 2;
        !          2438:   v1.w.k = 5;
        !          2439:   ok |= v1.i != 5;
        !          2440: '
        !          2441: 
        !          2442: # Test code for whether the C compiler supports C11 (complete).
        !          2443: ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
        !          2444: ${ac_c_conftest_c99_globals}
        !          2445: ${ac_c_conftest_c11_globals}
        !          2446: 
        !          2447: int
        !          2448: main (int argc, char **argv)
        !          2449: {
        !          2450:   int ok = 0;
        !          2451:   ${ac_c_conftest_c89_main}
        !          2452:   ${ac_c_conftest_c99_main}
        !          2453:   ${ac_c_conftest_c11_main}
        !          2454:   return ok;
        !          2455: }
        !          2456: "
        !          2457: 
        !          2458: # Test code for whether the C compiler supports C99 (complete).
        !          2459: ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
        !          2460: ${ac_c_conftest_c99_globals}
        !          2461: 
        !          2462: int
        !          2463: main (int argc, char **argv)
        !          2464: {
        !          2465:   int ok = 0;
        !          2466:   ${ac_c_conftest_c89_main}
        !          2467:   ${ac_c_conftest_c99_main}
        !          2468:   return ok;
        !          2469: }
        !          2470: "
        !          2471: 
        !          2472: # Test code for whether the C compiler supports C89 (complete).
        !          2473: ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
        !          2474: 
        !          2475: int
        !          2476: main (int argc, char **argv)
        !          2477: {
        !          2478:   int ok = 0;
        !          2479:   ${ac_c_conftest_c89_main}
        !          2480:   return ok;
        !          2481: }
        !          2482: "
        !          2483: 
        !          2484: as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
        !          2485: as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
        !          2486: as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
        !          2487: as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
        !          2488: as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
        !          2489: as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
        !          2490: as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
        !          2491: as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
        !          2492: as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
        !          2493: 
        !          2494: # Auxiliary files required by this configure script.
        !          2495: ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
        !          2496: 
        !          2497: # Locations in which to look for auxiliary files.
        !          2498: ac_aux_dir_candidates="${srcdir}/../../.."
        !          2499: 
        !          2500: # Search for a directory containing all of the required auxiliary files,
        !          2501: # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
        !          2502: # If we don't find one directory that contains all the files we need,
        !          2503: # we report the set of missing files from the *first* directory in
        !          2504: # $ac_aux_dir_candidates and give up.
        !          2505: ac_missing_aux_files=""
        !          2506: ac_first_candidate=:
        !          2507: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
        !          2508: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2509: as_found=false
        !          2510: for as_dir in $ac_aux_dir_candidates
        !          2511: do
        !          2512:   IFS=$as_save_IFS
        !          2513:   case $as_dir in #(((
        !          2514:     '') as_dir=./ ;;
        !          2515:     */) ;;
        !          2516:     *) as_dir=$as_dir/ ;;
        !          2517:   esac
        !          2518:   as_found=:
        !          2519: 
        !          2520:   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
        !          2521:   ac_aux_dir_found=yes
        !          2522:   ac_install_sh=
        !          2523:   for ac_aux in $ac_aux_files
        !          2524:   do
        !          2525:     # As a special case, if "install-sh" is required, that requirement
        !          2526:     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
        !          2527:     # and $ac_install_sh is set appropriately for whichever one is found.
        !          2528:     if test x"$ac_aux" = x"install-sh"
        !          2529:     then
        !          2530:       if test -f "${as_dir}install-sh"; then
        !          2531:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
        !          2532:         ac_install_sh="${as_dir}install-sh -c"
        !          2533:       elif test -f "${as_dir}install.sh"; then
        !          2534:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
        !          2535:         ac_install_sh="${as_dir}install.sh -c"
        !          2536:       elif test -f "${as_dir}shtool"; then
        !          2537:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
        !          2538:         ac_install_sh="${as_dir}shtool install -c"
        !          2539:       else
        !          2540:         ac_aux_dir_found=no
        !          2541:         if $ac_first_candidate; then
        !          2542:           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
        !          2543:         else
        !          2544:           break
        !          2545:         fi
        !          2546:       fi
        !          2547:     else
        !          2548:       if test -f "${as_dir}${ac_aux}"; then
        !          2549:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
        !          2550:       else
        !          2551:         ac_aux_dir_found=no
        !          2552:         if $ac_first_candidate; then
        !          2553:           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
        !          2554:         else
        !          2555:           break
        !          2556:         fi
        !          2557:       fi
        !          2558:     fi
        !          2559:   done
        !          2560:   if test "$ac_aux_dir_found" = yes; then
        !          2561:     ac_aux_dir="$as_dir"
        !          2562:     break
        !          2563:   fi
        !          2564:   ac_first_candidate=false
        !          2565: 
        !          2566:   as_found=false
        !          2567: done
        !          2568: IFS=$as_save_IFS
        !          2569: if $as_found
        !          2570: then :
        !          2571: 
        !          2572: else case e in #(
        !          2573:   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
        !          2574: esac
        !          2575: fi
1.1       paf      2576: 
1.5       moko     2577: 
                   2578: # These three variables are undocumented and unsupported,
                   2579: # and are intended to be withdrawn in a future Autoconf release.
                   2580: # They can cause serious problems if a builder's source tree is in a directory
                   2581: # whose full name contains unusual characters.
1.10    ! moko     2582: if test -f "${ac_aux_dir}config.guess"; then
        !          2583:   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
        !          2584: fi
        !          2585: if test -f "${ac_aux_dir}config.sub"; then
        !          2586:   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
        !          2587: fi
        !          2588: if test -f "$ac_aux_dir/configure"; then
        !          2589:   ac_configure="$SHELL ${ac_aux_dir}configure"
        !          2590: fi
        !          2591: 
        !          2592: # Check that the precious variables saved in the cache have kept the same
        !          2593: # value.
        !          2594: ac_cache_corrupted=false
        !          2595: for ac_var in $ac_precious_vars; do
        !          2596:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !          2597:   eval ac_new_set=\$ac_env_${ac_var}_set
        !          2598:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          2599:   eval ac_new_val=\$ac_env_${ac_var}_value
        !          2600:   case $ac_old_set,$ac_new_set in
        !          2601:     set,)
        !          2602:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
        !          2603: printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
        !          2604:       ac_cache_corrupted=: ;;
        !          2605:     ,set)
        !          2606:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
        !          2607: printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
        !          2608:       ac_cache_corrupted=: ;;
        !          2609:     ,);;
        !          2610:     *)
        !          2611:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !          2612:        # differences in whitespace do not lead to failure.
        !          2613:        ac_old_val_w=`echo x $ac_old_val`
        !          2614:        ac_new_val_w=`echo x $ac_new_val`
        !          2615:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
        !          2616:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
        !          2617: printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
        !          2618:          ac_cache_corrupted=:
        !          2619:        else
        !          2620:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
        !          2621: printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
        !          2622:          eval $ac_var=\$ac_old_val
        !          2623:        fi
        !          2624:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
        !          2625: printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
        !          2626:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
        !          2627: printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
        !          2628:       fi;;
        !          2629:   esac
        !          2630:   # Pass precious variables to config.status.
        !          2631:   if test "$ac_new_set" = set; then
        !          2632:     case $ac_new_val in
        !          2633:     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          2634:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          2635:     esac
        !          2636:     case " $ac_configure_args " in
        !          2637:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          2638:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
        !          2639:     esac
        !          2640:   fi
        !          2641: done
        !          2642: if $ac_cache_corrupted; then
        !          2643:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          2644: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          2645:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
        !          2646: printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          2647:   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
        !          2648:            and start over" "$LINENO" 5
        !          2649: fi
        !          2650: ## -------------------- ##
        !          2651: ## Main body of script. ##
        !          2652: ## -------------------- ##
        !          2653: 
        !          2654: ac_ext=c
        !          2655: ac_cpp='$CPP $CPPFLAGS'
        !          2656: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2657: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2658: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2659: 
        !          2660: 
        !          2661: ac_config_headers="$ac_config_headers config.h:config-h.in"
1.5       moko     2662: 
                   2663: 
                   2664: 
                   2665: 
1.1       paf      2666: 
1.4       paf      2667: 
1.5       moko     2668: 
                   2669: 
                   2670:  # I am me!
                   2671: 
                   2672: 
                   2673: ## ------------------------ ##
                   2674: ## Automake Initialisation. ##
                   2675: ## ------------------------ ##
                   2676: 
1.10    ! moko     2677: am__api_version='1.17'
1.5       moko     2678: 
1.10    ! moko     2679: 
        !          2680: 
        !          2681:   # Find a good install program.  We prefer a C program (faster),
1.1       paf      2682: # so one script is as good as another.  But avoid the broken or
                   2683: # incompatible versions:
                   2684: # SysV /etc/install, /usr/sbin/install
                   2685: # SunOS /usr/etc/install
                   2686: # IRIX /sbin/install
                   2687: # AIX /bin/install
1.2       paf      2688: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2689: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2690: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2691: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.5       moko     2692: # OS/2's system install, which has a completely different semantic
1.1       paf      2693: # ./install, which can be erroneously created by make from ./install.sh.
1.5       moko     2694: # Reject install programs that cannot install multiple files.
1.10    ! moko     2695: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
        !          2696: printf %s "checking for a BSD-compatible install... " >&6; }
1.1       paf      2697: if test -z "$INSTALL"; then
1.10    ! moko     2698: if test ${ac_cv_path_install+y}
        !          2699: then :
        !          2700:   printf %s "(cached) " >&6
        !          2701: else case e in #(
        !          2702:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2       paf      2703: for as_dir in $PATH
                   2704: do
                   2705:   IFS=$as_save_IFS
1.10    ! moko     2706:   case $as_dir in #(((
        !          2707:     '') as_dir=./ ;;
        !          2708:     */) ;;
        !          2709:     *) as_dir=$as_dir/ ;;
        !          2710:   esac
        !          2711:     # Account for fact that we put trailing slashes in our PATH walk.
        !          2712: case $as_dir in #((
        !          2713:   ./ | /[cC]/* | \
1.2       paf      2714:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.5       moko     2715:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.2       paf      2716:   /usr/ucb/* ) ;;
                   2717:   *)
                   2718:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2719:     # Don't use installbsd from OSF since it installs stuff as root
                   2720:     # by default.
                   2721:     for ac_prog in ginstall scoinst install; do
                   2722:       for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     2723:        if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1.5       moko     2724:          if test $ac_prog = install &&
1.10    ! moko     2725:            grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.5       moko     2726:            # AIX install.  It has an incompatible calling convention.
                   2727:            :
                   2728:          elif test $ac_prog = install &&
1.10    ! moko     2729:            grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.5       moko     2730:            # program-specific install script used by HP pwplus--don't use.
                   2731:            :
                   2732:          else
                   2733:            rm -rf conftest.one conftest.two conftest.dir
                   2734:            echo one > conftest.one
                   2735:            echo two > conftest.two
                   2736:            mkdir conftest.dir
1.10    ! moko     2737:            if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1.5       moko     2738:              test -s conftest.one && test -s conftest.two &&
                   2739:              test -s conftest.dir/conftest.one &&
                   2740:              test -s conftest.dir/conftest.two
                   2741:            then
1.10    ! moko     2742:              ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1.5       moko     2743:              break 3
                   2744:            fi
                   2745:          fi
                   2746:        fi
1.1       paf      2747:       done
1.2       paf      2748:     done
                   2749:     ;;
                   2750: esac
                   2751: 
1.5       moko     2752:   done
                   2753: IFS=$as_save_IFS
                   2754: 
                   2755: rm -rf conftest.one conftest.two conftest.dir
1.10    ! moko     2756:  ;;
        !          2757: esac
1.1       paf      2758: fi
1.10    ! moko     2759:   if test ${ac_cv_path_install+y}; then
1.2       paf      2760:     INSTALL=$ac_cv_path_install
1.1       paf      2761:   else
1.5       moko     2762:     # As a last resort, use the slow shell script.  Don't cache a
                   2763:     # value for INSTALL within a source directory, because that will
1.1       paf      2764:     # break other packages using the cache if that directory is
1.5       moko     2765:     # removed, or if the value is a relative name.
1.2       paf      2766:     INSTALL=$ac_install_sh
1.1       paf      2767:   fi
                   2768: fi
1.10    ! moko     2769: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
        !          2770: printf "%s\n" "$INSTALL" >&6; }
1.1       paf      2771: 
                   2772: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2773: # It thinks the first close brace ends the variable substitution.
                   2774: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2775: 
1.2       paf      2776: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2777: 
                   2778: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2779: 
1.10    ! moko     2780: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
        !          2781: printf %s "checking whether sleep supports fractional seconds... " >&6; }
        !          2782: if test ${am_cv_sleep_fractional_seconds+y}
        !          2783: then :
        !          2784:   printf %s "(cached) " >&6
        !          2785: else case e in #(
        !          2786:   e) if sleep 0.001 2>/dev/null
        !          2787: then :
        !          2788:   am_cv_sleep_fractional_seconds=yes
        !          2789: else case e in #(
        !          2790:   e) am_cv_sleep_fractional_seconds=no ;;
        !          2791: esac
        !          2792: fi
        !          2793:  ;;
        !          2794: esac
        !          2795: fi
        !          2796: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
        !          2797: printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
        !          2798: 
        !          2799: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
        !          2800: printf %s "checking filesystem timestamp resolution... " >&6; }
        !          2801: if test ${am_cv_filesystem_timestamp_resolution+y}
        !          2802: then :
        !          2803:   printf %s "(cached) " >&6
        !          2804: else case e in #(
        !          2805:   e) # Default to the worst case.
        !          2806: am_cv_filesystem_timestamp_resolution=2
        !          2807: 
        !          2808: # Only try to go finer than 1 sec if sleep can do it.
        !          2809: # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
        !          2810: # - 1 sec is not much of a win compared to 2 sec, and
        !          2811: # - it takes 2 seconds to perform the test whether 1 sec works.
        !          2812: #
        !          2813: # Instead, just use the default 2s on platforms that have 1s resolution,
        !          2814: # accept the extra 1s delay when using $sleep in the Automake tests, in
        !          2815: # exchange for not incurring the 2s delay for running the test for all
        !          2816: # packages.
        !          2817: #
        !          2818: am_try_resolutions=
        !          2819: if test "$am_cv_sleep_fractional_seconds" = yes; then
        !          2820:   # Even a millisecond often causes a bunch of false positives,
        !          2821:   # so just try a hundredth of a second. The time saved between .001 and
        !          2822:   # .01 is not terribly consequential.
        !          2823:   am_try_resolutions="0.01 0.1 $am_try_resolutions"
        !          2824: fi
        !          2825: 
        !          2826: # In order to catch current-generation FAT out, we must *modify* files
        !          2827: # that already exist; the *creation* timestamp is finer.  Use names
        !          2828: # that make ls -t sort them differently when they have equal
        !          2829: # timestamps than when they have distinct timestamps, keeping
        !          2830: # in mind that ls -t prints the *newest* file first.
        !          2831: rm -f conftest.ts?
        !          2832: : > conftest.ts1
        !          2833: : > conftest.ts2
        !          2834: : > conftest.ts3
        !          2835: 
        !          2836: # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
        !          2837: # clobber the current shell's arguments. (Outer-level square brackets
        !          2838: # are removed by m4; they're present so that m4 does not expand
        !          2839: # <dollar><star>; be careful, easy to get confused.)
        !          2840: if (
        !          2841:      set X `ls -t conftest.ts[12]` &&
        !          2842:      {
        !          2843:        test "$*" != "X conftest.ts1 conftest.ts2" ||
        !          2844:        test "$*" != "X conftest.ts2 conftest.ts1";
        !          2845:      }
        !          2846: ); then :; else
        !          2847:   # If neither matched, then we have a broken ls.  This can happen
        !          2848:   # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2849:   # broken ls alias from the environment.  This has actually
        !          2850:   # happened.  Such a system could not be considered "sane".
        !          2851:   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
        !          2852:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          2853: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          2854: as_fn_error $? "ls -t produces unexpected output.
        !          2855: Make sure there is not a broken ls alias in your environment.
        !          2856: See 'config.log' for more details" "$LINENO" 5; }
        !          2857: fi
        !          2858: 
        !          2859: for am_try_res in $am_try_resolutions; do
        !          2860:   # Any one fine-grained sleep might happen to cross the boundary
        !          2861:   # between two values of a coarser actual resolution, but if we do
        !          2862:   # two fine-grained sleeps in a row, at least one of them will fall
        !          2863:   # entirely within a coarse interval.
        !          2864:   echo alpha > conftest.ts1
        !          2865:   sleep $am_try_res
        !          2866:   echo beta > conftest.ts2
        !          2867:   sleep $am_try_res
        !          2868:   echo gamma > conftest.ts3
        !          2869: 
        !          2870:   # We assume that 'ls -t' will make use of high-resolution
        !          2871:   # timestamps if the operating system supports them at all.
        !          2872:   if (set X `ls -t conftest.ts?` &&
        !          2873:       test "$2" = conftest.ts3 &&
        !          2874:       test "$3" = conftest.ts2 &&
        !          2875:       test "$4" = conftest.ts1); then
        !          2876:     #
        !          2877:     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
        !          2878:     # because we don't need to test make.
        !          2879:     make_ok=true
        !          2880:     if test $am_try_res != 1; then
        !          2881:       # But if we've succeeded so far with a subsecond resolution, we
        !          2882:       # have one more thing to check: make. It can happen that
        !          2883:       # everything else supports the subsecond mtimes, but make doesn't;
        !          2884:       # notably on macOS, which ships make 3.81 from 2006 (the last one
        !          2885:       # released under GPLv2). https://bugs.gnu.org/68808
        !          2886:       #
        !          2887:       # We test $MAKE if it is defined in the environment, else "make".
        !          2888:       # It might get overridden later, but our hope is that in practice
        !          2889:       # it does not matter: it is the system "make" which is (by far)
        !          2890:       # the most likely to be broken, whereas if the user overrides it,
        !          2891:       # probably they did so with a better, or at least not worse, make.
        !          2892:       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
        !          2893:       #
        !          2894:       # Create a Makefile (real tab character here):
        !          2895:       rm -f conftest.mk
        !          2896:       echo 'conftest.ts1: conftest.ts2' >conftest.mk
        !          2897:       echo '   touch conftest.ts2' >>conftest.mk
        !          2898:       #
        !          2899:       # Now, running
        !          2900:       #   touch conftest.ts1; touch conftest.ts2; make
        !          2901:       # should touch ts1 because ts2 is newer. This could happen by luck,
        !          2902:       # but most often, it will fail if make's support is insufficient. So
        !          2903:       # test for several consecutive successes.
        !          2904:       #
        !          2905:       # (We reuse conftest.ts[12] because we still want to modify existing
        !          2906:       # files, not create new ones, per above.)
        !          2907:       n=0
        !          2908:       make=${MAKE-make}
        !          2909:       until test $n -eq 3; do
        !          2910:         echo one > conftest.ts1
        !          2911:         sleep $am_try_res
        !          2912:         echo two > conftest.ts2 # ts2 should now be newer than ts1
        !          2913:         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
        !          2914:           make_ok=false
        !          2915:           break # out of $n loop
        !          2916:         fi
        !          2917:         n=`expr $n + 1`
        !          2918:       done
        !          2919:     fi
        !          2920:     #
        !          2921:     if $make_ok; then
        !          2922:       # Everything we know to check worked out, so call this resolution good.
        !          2923:       am_cv_filesystem_timestamp_resolution=$am_try_res
        !          2924:       break # out of $am_try_res loop
        !          2925:     fi
        !          2926:     # Otherwise, we'll go on to check the next resolution.
        !          2927:   fi
        !          2928: done
        !          2929: rm -f conftest.ts?
        !          2930: # (end _am_filesystem_timestamp_resolution)
        !          2931:  ;;
        !          2932: esac
        !          2933: fi
        !          2934: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
        !          2935: printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
        !          2936: 
        !          2937: # This check should not be cached, as it may vary across builds of
        !          2938: # different projects.
        !          2939: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
        !          2940: printf %s "checking whether build environment is sane... " >&6; }
1.5       moko     2941: # Reject unsafe characters in $srcdir or the absolute working directory
                   2942: # name.  Accept space and tab only in the latter.
                   2943: am_lf='
                   2944: '
                   2945: case `pwd` in
                   2946:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2947:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2948: esac
                   2949: case $srcdir in
                   2950:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.8       moko     2951:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.5       moko     2952: esac
                   2953: 
1.8       moko     2954: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      2955: # arguments.  Must try -L first in case configure is actually a
                   2956: # symlink; some systems play weird games with the mod time of symlinks
                   2957: # (eg FreeBSD returns the mod time of the symlink's containing
                   2958: # directory).
1.10    ! moko     2959: am_build_env_is_sane=no
        !          2960: am_has_slept=no
        !          2961: rm -f conftest.file
        !          2962: for am_try in 1 2; do
        !          2963:   echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2964:   if (
        !          2965:     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2966:     if test "$*" = "X"; then
        !          2967:       # -L didn't work.
        !          2968:       set X `ls -t "$srcdir/configure" conftest.file`
        !          2969:     fi
        !          2970:     test "$2" = conftest.file
        !          2971:   ); then
        !          2972:     am_build_env_is_sane=yes
        !          2973:     break
        !          2974:   fi
        !          2975:   # Just in case.
        !          2976:   sleep "$am_cv_filesystem_timestamp_resolution"
        !          2977:   am_has_slept=yes
        !          2978: done
1.1       paf      2979: 
1.10    ! moko     2980: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
        !          2981: printf "%s\n" "$am_build_env_is_sane" >&6; }
        !          2982: if test "$am_build_env_is_sane" = no; then
        !          2983:   as_fn_error $? "newly created file is older than distributed files!
1.5       moko     2984: Check your system clock" "$LINENO" 5
1.1       paf      2985: fi
1.10    ! moko     2986: 
1.8       moko     2987: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2988: # generated files are strictly newer.
                   2989: am_sleep_pid=
1.10    ! moko     2990: if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
        !          2991: then :
        !          2992: 
        !          2993: else case e in #(
        !          2994:   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
1.8       moko     2995:   am_sleep_pid=$!
1.10    ! moko     2996:  ;;
        !          2997: esac
1.8       moko     2998: fi
                   2999: 
                   3000: rm -f conftest.file
                   3001: 
1.1       paf      3002: test "$program_prefix" != NONE &&
1.5       moko     3003:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      3004: # Use a double $ so make ignores it.
                   3005: test "$program_suffix" != NONE &&
1.5       moko     3006:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   3007: # Double any \ or $.
1.10    ! moko     3008: # By default was 's,x,x', remove it if useless.
1.5       moko     3009: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1.10    ! moko     3010: program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
        !          3011: 
1.2       paf      3012: 
1.8       moko     3013: # Expand $ac_aux_dir to an absolute path.
                   3014: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.2       paf      3015: 
1.10    ! moko     3016: 
        !          3017:   if test x"${MISSING+set}" != xset; then
1.8       moko     3018:   MISSING="\${SHELL} '$am_aux_dir/missing'"
1.5       moko     3019: fi
1.2       paf      3020: # Use eval to expand $SHELL
1.8       moko     3021: if eval "$MISSING --is-lightweight"; then
                   3022:   am_missing_run="$MISSING "
1.2       paf      3023: else
                   3024:   am_missing_run=
1.10    ! moko     3025:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          3026: printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.5       moko     3027: fi
                   3028: 
1.8       moko     3029: if test x"${install_sh+set}" != xset; then
1.5       moko     3030:   case $am_aux_dir in
                   3031:   *\ * | *\    *)
                   3032:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   3033:   *)
                   3034:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   3035:   esac
1.2       paf      3036: fi
1.1       paf      3037: 
1.8       moko     3038: # Installed binaries are usually stripped using 'strip' when the user
                   3039: # run "make install-strip".  However 'strip' might not be the right
1.5       moko     3040: # tool to use in cross-compilation environments, therefore Automake
1.8       moko     3041: # will honor the 'STRIP' environment variable to overrule this program.
1.5       moko     3042: if test "$cross_compiling" != no; then
                   3043:   if test -n "$ac_tool_prefix"; then
                   3044:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   3045: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.10    ! moko     3046: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3047: printf %s "checking for $ac_word... " >&6; }
        !          3048: if test ${ac_cv_prog_STRIP+y}
        !          3049: then :
        !          3050:   printf %s "(cached) " >&6
        !          3051: else case e in #(
        !          3052:   e) if test -n "$STRIP"; then
1.5       moko     3053:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       paf      3054: else
1.2       paf      3055: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3056: for as_dir in $PATH
                   3057: do
                   3058:   IFS=$as_save_IFS
1.10    ! moko     3059:   case $as_dir in #(((
        !          3060:     '') as_dir=./ ;;
        !          3061:     */) ;;
        !          3062:     *) as_dir=$as_dir/ ;;
        !          3063:   esac
1.5       moko     3064:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3065:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     3066:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.10    ! moko     3067:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3068:     break 2
                   3069:   fi
                   3070: done
1.5       moko     3071:   done
                   3072: IFS=$as_save_IFS
1.2       paf      3073: 
1.10    ! moko     3074: fi ;;
        !          3075: esac
1.2       paf      3076: fi
1.5       moko     3077: STRIP=$ac_cv_prog_STRIP
                   3078: if test -n "$STRIP"; then
1.10    ! moko     3079:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          3080: printf "%s\n" "$STRIP" >&6; }
1.2       paf      3081: else
1.10    ! moko     3082:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3083: printf "%s\n" "no" >&6; }
1.2       paf      3084: fi
                   3085: 
                   3086: 
1.5       moko     3087: fi
                   3088: if test -z "$ac_cv_prog_STRIP"; then
                   3089:   ac_ct_STRIP=$STRIP
                   3090:   # Extract the first word of "strip", so it can be a program name with args.
                   3091: set dummy strip; ac_word=$2
1.10    ! moko     3092: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3093: printf %s "checking for $ac_word... " >&6; }
        !          3094: if test ${ac_cv_prog_ac_ct_STRIP+y}
        !          3095: then :
        !          3096:   printf %s "(cached) " >&6
        !          3097: else case e in #(
        !          3098:   e) if test -n "$ac_ct_STRIP"; then
1.5       moko     3099:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       paf      3100: else
1.5       moko     3101: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3102: for as_dir in $PATH
                   3103: do
                   3104:   IFS=$as_save_IFS
1.10    ! moko     3105:   case $as_dir in #(((
        !          3106:     '') as_dir=./ ;;
        !          3107:     */) ;;
        !          3108:     *) as_dir=$as_dir/ ;;
        !          3109:   esac
1.5       moko     3110:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3111:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     3112:     ac_cv_prog_ac_ct_STRIP="strip"
1.10    ! moko     3113:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     3114:     break 2
                   3115:   fi
                   3116: done
                   3117:   done
                   3118: IFS=$as_save_IFS
                   3119: 
1.10    ! moko     3120: fi ;;
        !          3121: esac
1.1       paf      3122: fi
1.5       moko     3123: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3124: if test -n "$ac_ct_STRIP"; then
1.10    ! moko     3125:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          3126: printf "%s\n" "$ac_ct_STRIP" >&6; }
1.1       paf      3127: else
1.10    ! moko     3128:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3129: printf "%s\n" "no" >&6; }
1.2       paf      3130: fi
                   3131: 
1.5       moko     3132:   if test "x$ac_ct_STRIP" = x; then
                   3133:     STRIP=":"
1.2       paf      3134:   else
1.5       moko     3135:     case $cross_compiling:$ac_tool_warned in
                   3136: yes:)
1.10    ! moko     3137: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3138: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     3139: ac_tool_warned=yes ;;
                   3140: esac
                   3141:     STRIP=$ac_ct_STRIP
1.2       paf      3142:   fi
1.5       moko     3143: else
                   3144:   STRIP="$ac_cv_prog_STRIP"
1.2       paf      3145: fi
                   3146: 
1.5       moko     3147: fi
                   3148: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.2       paf      3149: 
1.10    ! moko     3150: 
        !          3151:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
        !          3152: printf %s "checking for a race-free mkdir -p... " >&6; }
1.5       moko     3153: if test -z "$MKDIR_P"; then
1.10    ! moko     3154:   if test ${ac_cv_path_mkdir+y}
        !          3155: then :
        !          3156:   printf %s "(cached) " >&6
        !          3157: else case e in #(
        !          3158:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5       moko     3159: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3160: do
                   3161:   IFS=$as_save_IFS
1.10    ! moko     3162:   case $as_dir in #(((
        !          3163:     '') as_dir=./ ;;
        !          3164:     */) ;;
        !          3165:     *) as_dir=$as_dir/ ;;
        !          3166:   esac
1.5       moko     3167:     for ac_prog in mkdir gmkdir; do
                   3168:         for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3169:           as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
        !          3170:           case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
        !          3171:             'mkdir ('*'coreutils) '* | \
        !          3172:             *'BusyBox '* | \
1.5       moko     3173:             'mkdir (fileutils) '4.1*)
1.10    ! moko     3174:               ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
1.5       moko     3175:               break 3;;
                   3176:           esac
                   3177:         done
                   3178:        done
                   3179:   done
                   3180: IFS=$as_save_IFS
1.10    ! moko     3181:  ;;
        !          3182: esac
1.5       moko     3183: fi
1.2       paf      3184: 
1.5       moko     3185:   test -d ./--version && rmdir ./--version
1.10    ! moko     3186:   if test ${ac_cv_path_mkdir+y}; then
1.5       moko     3187:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3188:   else
1.10    ! moko     3189:     # As a last resort, use plain mkdir -p,
        !          3190:     # in the hope it doesn't have the bugs of ancient mkdir.
        !          3191:     MKDIR_P='mkdir -p'
1.5       moko     3192:   fi
                   3193: fi
1.10    ! moko     3194: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
        !          3195: printf "%s\n" "$MKDIR_P" >&6; }
1.2       paf      3196: 
1.5       moko     3197: for ac_prog in gawk mawk nawk awk
                   3198: do
                   3199:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3200: set dummy $ac_prog; ac_word=$2
1.10    ! moko     3201: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3202: printf %s "checking for $ac_word... " >&6; }
        !          3203: if test ${ac_cv_prog_AWK+y}
        !          3204: then :
        !          3205:   printf %s "(cached) " >&6
        !          3206: else case e in #(
        !          3207:   e) if test -n "$AWK"; then
1.5       moko     3208:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.2       paf      3209: else
                   3210: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3211: for as_dir in $PATH
                   3212: do
                   3213:   IFS=$as_save_IFS
1.10    ! moko     3214:   case $as_dir in #(((
        !          3215:     '') as_dir=./ ;;
        !          3216:     */) ;;
        !          3217:     *) as_dir=$as_dir/ ;;
        !          3218:   esac
1.5       moko     3219:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3220:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     3221:     ac_cv_prog_AWK="$ac_prog"
1.10    ! moko     3222:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3223:     break 2
                   3224:   fi
                   3225: done
1.5       moko     3226:   done
                   3227: IFS=$as_save_IFS
1.2       paf      3228: 
1.10    ! moko     3229: fi ;;
        !          3230: esac
1.2       paf      3231: fi
1.5       moko     3232: AWK=$ac_cv_prog_AWK
                   3233: if test -n "$AWK"; then
1.10    ! moko     3234:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          3235: printf "%s\n" "$AWK" >&6; }
1.2       paf      3236: else
1.10    ! moko     3237:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3238: printf "%s\n" "no" >&6; }
1.1       paf      3239: fi
                   3240: 
1.5       moko     3241: 
                   3242:   test -n "$AWK" && break
1.2       paf      3243: done
                   3244: 
1.10    ! moko     3245: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          3246: printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1.5       moko     3247: set x ${MAKE-make}
1.10    ! moko     3248: ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          3249: if eval test \${ac_cv_prog_make_${ac_make}_set+y}
        !          3250: then :
        !          3251:   printf %s "(cached) " >&6
        !          3252: else case e in #(
        !          3253:   e) cat >conftest.make <<\_ACEOF
1.5       moko     3254: SHELL = /bin/sh
                   3255: all:
                   3256:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3257: _ACEOF
                   3258: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3259: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3260:   *@@@%%%=?*=@@@%%%*)
                   3261:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3262:   *)
                   3263:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3264: esac
1.10    ! moko     3265: rm -f conftest.make ;;
        !          3266: esac
1.1       paf      3267: fi
1.5       moko     3268: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.10    ! moko     3269:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3270: printf "%s\n" "yes" >&6; }
1.5       moko     3271:   SET_MAKE=
1.1       paf      3272: else
1.10    ! moko     3273:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3274: printf "%s\n" "no" >&6; }
1.5       moko     3275:   SET_MAKE="MAKE=${MAKE-make}"
1.1       paf      3276: fi
                   3277: 
1.5       moko     3278: rm -rf .tst 2>/dev/null
                   3279: mkdir .tst 2>/dev/null
                   3280: if test -d .tst; then
                   3281:   am__leading_dot=.
                   3282: else
                   3283:   am__leading_dot=_
                   3284: fi
                   3285: rmdir .tst 2>/dev/null
                   3286: 
1.10    ! moko     3287: AM_DEFAULT_VERBOSITY=1
1.8       moko     3288: # Check whether --enable-silent-rules was given.
1.10    ! moko     3289: if test ${enable_silent_rules+y}
        !          3290: then :
1.8       moko     3291:   enableval=$enable_silent_rules;
                   3292: fi
                   3293: 
                   3294: am_make=${MAKE-make}
1.10    ! moko     3295: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          3296: printf %s "checking whether $am_make supports nested variables... " >&6; }
        !          3297: if test ${am_cv_make_support_nested_variables+y}
        !          3298: then :
        !          3299:   printf %s "(cached) " >&6
        !          3300: else case e in #(
        !          3301:   e) if printf "%s\n" 'TRUE=$(BAR$(V))
1.8       moko     3302: BAR0=false
                   3303: BAR1=true
                   3304: V=1
                   3305: am__doit:
                   3306:        @$(TRUE)
                   3307: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3308:   am_cv_make_support_nested_variables=yes
                   3309: else
                   3310:   am_cv_make_support_nested_variables=no
1.10    ! moko     3311: fi ;;
        !          3312: esac
1.8       moko     3313: fi
1.10    ! moko     3314: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          3315: printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
        !          3316: AM_BACKSLASH='\'
        !          3317: 
        !          3318: am__rm_f_notfound=
        !          3319: if (rm -f && rm -fr && rm -rf) 2>/dev/null
        !          3320: then :
        !          3321: 
        !          3322: else case e in #(
        !          3323:   e) am__rm_f_notfound='""' ;;
        !          3324: esac
1.8       moko     3325: fi
1.10    ! moko     3326: 
        !          3327: 
        !          3328: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
        !          3329: printf %s "checking xargs -n works... " >&6; }
        !          3330: if test ${am_cv_xargs_n_works+y}
        !          3331: then :
        !          3332:   printf %s "(cached) " >&6
        !          3333: else case e in #(
        !          3334:   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
        !          3335: 3"
        !          3336: then :
        !          3337:   am_cv_xargs_n_works=yes
        !          3338: else case e in #(
        !          3339:   e) am_cv_xargs_n_works=no ;;
        !          3340: esac
        !          3341: fi ;;
        !          3342: esac
        !          3343: fi
        !          3344: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
        !          3345: printf "%s\n" "$am_cv_xargs_n_works" >&6; }
        !          3346: if test "$am_cv_xargs_n_works" = yes
        !          3347: then :
        !          3348:   am__xargs_n='xargs -n'
        !          3349: else case e in #(
        !          3350:   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
        !          3351:  ;;
        !          3352: esac
1.8       moko     3353: fi
                   3354: 
1.5       moko     3355: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3356:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3357:   # is not polluted with repeated "-I."
                   3358:   am__isrc=' -I$(srcdir)'
                   3359:   # test to see if srcdir already configured
                   3360:   if test -f $srcdir/config.status; then
                   3361:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3362:   fi
1.1       paf      3363: fi
                   3364: 
1.5       moko     3365: # test whether we have cygpath
                   3366: if test -z "$CYGPATH_W"; then
                   3367:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3368:     CYGPATH_W='cygpath -w'
                   3369:   else
                   3370:     CYGPATH_W=echo
                   3371:   fi
1.1       paf      3372: fi
1.5       moko     3373: 
                   3374: 
                   3375: # Define the identity of the package.
                   3376:  PACKAGE='libltdl'
1.10    ! moko     3377:  VERSION='2.4.3a'
1.5       moko     3378: 
                   3379: 
1.10    ! moko     3380: printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
1.5       moko     3381: 
                   3382: 
1.10    ! moko     3383: printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
1.5       moko     3384: 
                   3385: # Some tools Automake needs.
                   3386: 
                   3387: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3388: 
                   3389: 
                   3390: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3391: 
                   3392: 
                   3393: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3394: 
                   3395: 
                   3396: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3397: 
                   3398: 
                   3399: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.2       paf      3400: 
1.8       moko     3401: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3402: # dies out for good.  For more background, see:
                   3403: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3404: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
                   3405: mkdir_p='$(MKDIR_P)'
                   3406: 
                   3407: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3408: # system "awk" is bad on some platforms.
                   3409: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3410: # in the wild :-(  We should find a proper way to deprecate it ...
                   3411: AMTAR='$${TAR-tar}'
1.5       moko     3412: 
                   3413: 
1.8       moko     3414: # We'll loop over all known methods to create a tar archive until one works.
                   3415: _am_tools='gnutar  pax cpio none'
1.5       moko     3416: 
1.8       moko     3417: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.5       moko     3418: 
                   3419: 
                   3420: 
                   3421: 
                   3422: 
1.10    ! moko     3423: # Variables for tags utilities; see am/tags.am
        !          3424: if test -z "$CTAGS"; then
        !          3425:   CTAGS=ctags
        !          3426: fi
        !          3427: 
        !          3428: if test -z "$ETAGS"; then
        !          3429:   ETAGS=etags
        !          3430: fi
        !          3431: 
        !          3432: if test -z "$CSCOPE"; then
        !          3433:   CSCOPE=cscope
        !          3434: fi
        !          3435: 
        !          3436: 
1.5       moko     3437: 
1.8       moko     3438: 
                   3439: 
                   3440: 
                   3441: 
                   3442: 
1.10    ! moko     3443: AM_DEFAULT_VERBOSITY=0
1.8       moko     3444: 
                   3445: 
1.5       moko     3446: ## ------------------------------- ##
                   3447: ## Libtool specific configuration. ##
                   3448: ## ------------------------------- ##
1.10    ! moko     3449: pkgdatadir='$datadir'"/$PACKAGE"
1.5       moko     3450: 
                   3451: 
                   3452: ## ----------------------- ##
                   3453: ## Libtool initialisation. ##
                   3454: ## ----------------------- ##
                   3455: case `pwd` in
                   3456:   *\ * | *\    *)
1.10    ! moko     3457:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
        !          3458: printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.5       moko     3459: esac
                   3460: 
                   3461: 
                   3462: 
1.10    ! moko     3463: macro_version='2.5.4'
        !          3464: macro_revision='2.5.4'
        !          3465: 
1.5       moko     3466: 
                   3467: 
                   3468: 
                   3469: 
                   3470: 
                   3471: 
                   3472: 
                   3473: 
                   3474: 
                   3475: 
                   3476: 
                   3477: 
1.2       paf      3478: 
1.10    ! moko     3479: ltmain=$ac_aux_dir/ltmain.sh
1.5       moko     3480: 
                   3481: 
1.10    ! moko     3482: 
        !          3483:   # Make sure we can run config.sub.
        !          3484: $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
        !          3485:   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
        !          3486: 
        !          3487: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          3488: printf %s "checking build system type... " >&6; }
        !          3489: if test ${ac_cv_build+y}
        !          3490: then :
        !          3491:   printf %s "(cached) " >&6
        !          3492: else case e in #(
        !          3493:   e) ac_build_alias=$build_alias
1.5       moko     3494: test "x$ac_build_alias" = x &&
1.10    ! moko     3495:   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
1.5       moko     3496: test "x$ac_build_alias" = x &&
                   3497:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.10    ! moko     3498: ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
        !          3499:   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
        !          3500:  ;;
        !          3501: esac
1.5       moko     3502: fi
1.10    ! moko     3503: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
        !          3504: printf "%s\n" "$ac_cv_build" >&6; }
1.5       moko     3505: case $ac_cv_build in
                   3506: *-*-*) ;;
                   3507: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3508: esac
                   3509: build=$ac_cv_build
                   3510: ac_save_IFS=$IFS; IFS='-'
                   3511: set x $ac_cv_build
                   3512: shift
                   3513: build_cpu=$1
                   3514: build_vendor=$2
                   3515: shift; shift
                   3516: # Remember, the first character of IFS is used to create $*,
                   3517: # except with old shells:
                   3518: build_os=$*
                   3519: IFS=$ac_save_IFS
                   3520: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3521: 
                   3522: 
1.10    ! moko     3523: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
        !          3524: printf %s "checking host system type... " >&6; }
        !          3525: if test ${ac_cv_host+y}
        !          3526: then :
        !          3527:   printf %s "(cached) " >&6
        !          3528: else case e in #(
        !          3529:   e) if test "x$host_alias" = x; then
1.5       moko     3530:   ac_cv_host=$ac_cv_build
                   3531: else
1.10    ! moko     3532:   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
        !          3533:     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
1.5       moko     3534: fi
1.10    ! moko     3535:  ;;
        !          3536: esac
1.5       moko     3537: fi
1.10    ! moko     3538: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
        !          3539: printf "%s\n" "$ac_cv_host" >&6; }
1.5       moko     3540: case $ac_cv_host in
                   3541: *-*-*) ;;
                   3542: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3543: esac
                   3544: host=$ac_cv_host
                   3545: ac_save_IFS=$IFS; IFS='-'
                   3546: set x $ac_cv_host
                   3547: shift
                   3548: host_cpu=$1
                   3549: host_vendor=$2
                   3550: shift; shift
                   3551: # Remember, the first character of IFS is used to create $*,
                   3552: # except with old shells:
                   3553: host_os=$*
                   3554: IFS=$ac_save_IFS
                   3555: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   3556: 
                   3557: 
                   3558: # Backslashify metacharacters that are still active within
                   3559: # double-quoted strings.
                   3560: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   3561: 
                   3562: # Same as above, but do not quote variable references.
                   3563: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   3564: 
                   3565: # Sed substitution to delay expansion of an escaped shell variable in a
                   3566: # double_quote_subst'ed string.
                   3567: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.2       paf      3568: 
1.5       moko     3569: # Sed substitution to delay expansion of an escaped single quote.
                   3570: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.2       paf      3571: 
1.5       moko     3572: # Sed substitution to avoid accidental globbing in evaled expressions
                   3573: no_glob_subst='s/\*/\\\*/g'
1.2       paf      3574: 
1.5       moko     3575: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   3576: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   3577: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   3578: 
1.10    ! moko     3579: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          3580: printf %s "checking how to print strings... " >&6; }
1.5       moko     3581: # Test print first, because it will be a builtin if present.
                   3582: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   3583:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3584:   ECHO='print -r --'
                   3585: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3586:   ECHO='printf %s\n'
1.1       paf      3587: else
1.5       moko     3588:   # Use this function as a fallback that always works.
                   3589:   func_fallback_echo ()
                   3590:   {
                   3591:     eval 'cat <<_LTECHO_EOF
                   3592: $1
                   3593: _LTECHO_EOF'
                   3594:   }
                   3595:   ECHO='func_fallback_echo'
                   3596: fi
                   3597: 
                   3598: # func_echo_all arg...
                   3599: # Invoke $ECHO with all args, space-separated.
                   3600: func_echo_all ()
                   3601: {
                   3602:     $ECHO ""
                   3603: }
                   3604: 
1.10    ! moko     3605: case $ECHO in
        !          3606:   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          3607: printf "%s\n" "printf" >&6; } ;;
        !          3608:   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          3609: printf "%s\n" "print -r" >&6; } ;;
        !          3610:   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          3611: printf "%s\n" "cat" >&6; } ;;
1.5       moko     3612: esac
                   3613: 
                   3614: 
                   3615: 
                   3616: 
                   3617: 
                   3618: 
                   3619: 
1.1       paf      3620: 
                   3621: 
1.5       moko     3622: 
                   3623: 
                   3624: 
                   3625: 
                   3626: 
1.10    ! moko     3627: 
        !          3628: 
        !          3629: 
        !          3630: 
        !          3631: 
        !          3632: 
        !          3633: 
        !          3634: 
        !          3635: 
1.5       moko     3636: DEPDIR="${am__leading_dot}deps"
                   3637: 
                   3638: ac_config_commands="$ac_config_commands depfiles"
                   3639: 
1.10    ! moko     3640: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
        !          3641: printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
1.8       moko     3642: cat > confinc.mk << 'END'
1.5       moko     3643: am__doit:
1.8       moko     3644:        @echo this is the am__doit target >confinc.out
1.5       moko     3645: .PHONY: am__doit
                   3646: END
                   3647: am__include="#"
                   3648: am__quote=
1.8       moko     3649: # BSD make does it like this.
                   3650: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   3651: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   3652: echo 'include confinc.mk # ignored' > confmf.GNU
                   3653: _am_result=no
                   3654: for s in GNU BSD; do
                   3655:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   3656:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   3657:    ac_status=$?
                   3658:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3659:    (exit $ac_status); }
                   3660:   case $?:`cat confinc.out 2>/dev/null` in #(
                   3661:   '0:this is the am__doit target') :
                   3662:     case $s in #(
                   3663:   BSD) :
                   3664:     am__include='.include' am__quote='"' ;; #(
                   3665:   *) :
                   3666:     am__include='include' am__quote='' ;;
                   3667: esac ;; #(
                   3668:   *) :
1.5       moko     3669:      ;;
1.8       moko     3670: esac
                   3671:   if test "$am__include" != "#"; then
                   3672:     _am_result="yes ($s style)"
                   3673:     break
                   3674:   fi
                   3675: done
                   3676: rm -f confinc.* confmf.*
1.10    ! moko     3677: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
        !          3678: printf "%s\n" "${_am_result}" >&6; }
1.5       moko     3679: 
                   3680: # Check whether --enable-dependency-tracking was given.
1.10    ! moko     3681: if test ${enable_dependency_tracking+y}
        !          3682: then :
1.5       moko     3683:   enableval=$enable_dependency_tracking;
                   3684: fi
                   3685: 
                   3686: if test "x$enable_dependency_tracking" != xno; then
                   3687:   am_depcomp="$ac_aux_dir/depcomp"
                   3688:   AMDEPBACKSLASH='\'
1.8       moko     3689:   am__nodep='_no'
1.5       moko     3690: fi
                   3691:  if test "x$enable_dependency_tracking" != xno; then
                   3692:   AMDEP_TRUE=
                   3693:   AMDEP_FALSE='#'
                   3694: else
                   3695:   AMDEP_TRUE='#'
                   3696:   AMDEP_FALSE=
                   3697: fi
1.1       paf      3698: 
1.2       paf      3699: 
                   3700: ac_ext=c
                   3701: ac_cpp='$CPP $CPPFLAGS'
                   3702: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3703: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3704: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3705: if test -n "$ac_tool_prefix"; then
                   3706:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3707: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.10    ! moko     3708: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3709: printf %s "checking for $ac_word... " >&6; }
        !          3710: if test ${ac_cv_prog_CC+y}
        !          3711: then :
        !          3712:   printf %s "(cached) " >&6
        !          3713: else case e in #(
        !          3714:   e) if test -n "$CC"; then
1.2       paf      3715:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3716: else
                   3717: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3718: for as_dir in $PATH
                   3719: do
                   3720:   IFS=$as_save_IFS
1.10    ! moko     3721:   case $as_dir in #(((
        !          3722:     '') as_dir=./ ;;
        !          3723:     */) ;;
        !          3724:     *) as_dir=$as_dir/ ;;
        !          3725:   esac
1.5       moko     3726:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3727:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.2       paf      3728:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.10    ! moko     3729:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3730:     break 2
                   3731:   fi
                   3732: done
1.5       moko     3733:   done
                   3734: IFS=$as_save_IFS
1.2       paf      3735: 
1.10    ! moko     3736: fi ;;
        !          3737: esac
1.2       paf      3738: fi
                   3739: CC=$ac_cv_prog_CC
                   3740: if test -n "$CC"; then
1.10    ! moko     3741:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3742: printf "%s\n" "$CC" >&6; }
1.2       paf      3743: else
1.10    ! moko     3744:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3745: printf "%s\n" "no" >&6; }
1.2       paf      3746: fi
                   3747: 
1.5       moko     3748: 
1.2       paf      3749: fi
                   3750: if test -z "$ac_cv_prog_CC"; then
                   3751:   ac_ct_CC=$CC
                   3752:   # Extract the first word of "gcc", so it can be a program name with args.
1.1       paf      3753: set dummy gcc; ac_word=$2
1.10    ! moko     3754: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3755: printf %s "checking for $ac_word... " >&6; }
        !          3756: if test ${ac_cv_prog_ac_ct_CC+y}
        !          3757: then :
        !          3758:   printf %s "(cached) " >&6
        !          3759: else case e in #(
        !          3760:   e) if test -n "$ac_ct_CC"; then
1.2       paf      3761:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3762: else
                   3763: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3764: for as_dir in $PATH
                   3765: do
                   3766:   IFS=$as_save_IFS
1.10    ! moko     3767:   case $as_dir in #(((
        !          3768:     '') as_dir=./ ;;
        !          3769:     */) ;;
        !          3770:     *) as_dir=$as_dir/ ;;
        !          3771:   esac
1.5       moko     3772:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3773:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.2       paf      3774:     ac_cv_prog_ac_ct_CC="gcc"
1.10    ! moko     3775:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3776:     break 2
                   3777:   fi
                   3778: done
1.5       moko     3779:   done
                   3780: IFS=$as_save_IFS
1.2       paf      3781: 
1.10    ! moko     3782: fi ;;
        !          3783: esac
1.2       paf      3784: fi
                   3785: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3786: if test -n "$ac_ct_CC"; then
1.10    ! moko     3787:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          3788: printf "%s\n" "$ac_ct_CC" >&6; }
1.2       paf      3789: else
1.10    ! moko     3790:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3791: printf "%s\n" "no" >&6; }
1.2       paf      3792: fi
                   3793: 
1.5       moko     3794:   if test "x$ac_ct_CC" = x; then
                   3795:     CC=""
                   3796:   else
                   3797:     case $cross_compiling:$ac_tool_warned in
                   3798: yes:)
1.10    ! moko     3799: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3800: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     3801: ac_tool_warned=yes ;;
                   3802: esac
                   3803:     CC=$ac_ct_CC
                   3804:   fi
1.2       paf      3805: else
                   3806:   CC="$ac_cv_prog_CC"
                   3807: fi
                   3808: 
                   3809: if test -z "$CC"; then
1.5       moko     3810:           if test -n "$ac_tool_prefix"; then
                   3811:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2       paf      3812: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.10    ! moko     3813: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3814: printf %s "checking for $ac_word... " >&6; }
        !          3815: if test ${ac_cv_prog_CC+y}
        !          3816: then :
        !          3817:   printf %s "(cached) " >&6
        !          3818: else case e in #(
        !          3819:   e) if test -n "$CC"; then
1.1       paf      3820:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3821: else
1.2       paf      3822: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3823: for as_dir in $PATH
                   3824: do
                   3825:   IFS=$as_save_IFS
1.10    ! moko     3826:   case $as_dir in #(((
        !          3827:     '') as_dir=./ ;;
        !          3828:     */) ;;
        !          3829:     *) as_dir=$as_dir/ ;;
        !          3830:   esac
1.5       moko     3831:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3832:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.2       paf      3833:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.10    ! moko     3834:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3835:     break 2
                   3836:   fi
                   3837: done
1.5       moko     3838:   done
                   3839: IFS=$as_save_IFS
1.2       paf      3840: 
1.10    ! moko     3841: fi ;;
        !          3842: esac
1.1       paf      3843: fi
1.2       paf      3844: CC=$ac_cv_prog_CC
1.1       paf      3845: if test -n "$CC"; then
1.10    ! moko     3846:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3847: printf "%s\n" "$CC" >&6; }
1.1       paf      3848: else
1.10    ! moko     3849:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3850: printf "%s\n" "no" >&6; }
1.2       paf      3851: fi
                   3852: 
1.5       moko     3853: 
                   3854:   fi
1.1       paf      3855: fi
1.5       moko     3856: if test -z "$CC"; then
1.2       paf      3857:   # Extract the first word of "cc", so it can be a program name with args.
                   3858: set dummy cc; ac_word=$2
1.10    ! moko     3859: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3860: printf %s "checking for $ac_word... " >&6; }
        !          3861: if test ${ac_cv_prog_CC+y}
        !          3862: then :
        !          3863:   printf %s "(cached) " >&6
        !          3864: else case e in #(
        !          3865:   e) if test -n "$CC"; then
1.5       moko     3866:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.2       paf      3867: else
1.5       moko     3868:   ac_prog_rejected=no
1.2       paf      3869: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3870: for as_dir in $PATH
                   3871: do
                   3872:   IFS=$as_save_IFS
1.10    ! moko     3873:   case $as_dir in #(((
        !          3874:     '') as_dir=./ ;;
        !          3875:     */) ;;
        !          3876:     *) as_dir=$as_dir/ ;;
        !          3877:   esac
1.5       moko     3878:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3879:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          3880:     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.5       moko     3881:        ac_prog_rejected=yes
                   3882:        continue
                   3883:      fi
                   3884:     ac_cv_prog_CC="cc"
1.10    ! moko     3885:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3886:     break 2
                   3887:   fi
                   3888: done
1.5       moko     3889:   done
                   3890: IFS=$as_save_IFS
1.1       paf      3891: 
1.5       moko     3892: if test $ac_prog_rejected = yes; then
                   3893:   # We found a bogon in the path, so make sure we never use it.
                   3894:   set dummy $ac_cv_prog_CC
                   3895:   shift
                   3896:   if test $# != 0; then
                   3897:     # We chose a different compiler from the bogus one.
                   3898:     # However, it has the same basename, so the bogon will be chosen
                   3899:     # first if we set CC to just the basename; use the full file name.
                   3900:     shift
1.10    ! moko     3901:     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
1.5       moko     3902:   fi
1.1       paf      3903: fi
1.10    ! moko     3904: fi ;;
        !          3905: esac
1.1       paf      3906: fi
1.2       paf      3907: CC=$ac_cv_prog_CC
1.1       paf      3908: if test -n "$CC"; then
1.10    ! moko     3909:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3910: printf "%s\n" "$CC" >&6; }
1.1       paf      3911: else
1.10    ! moko     3912:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3913: printf "%s\n" "no" >&6; }
1.1       paf      3914: fi
                   3915: 
1.5       moko     3916: 
1.2       paf      3917: fi
                   3918: if test -z "$CC"; then
                   3919:   if test -n "$ac_tool_prefix"; then
1.5       moko     3920:   for ac_prog in cl.exe
1.2       paf      3921:   do
                   3922:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3923: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.10    ! moko     3924: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3925: printf %s "checking for $ac_word... " >&6; }
        !          3926: if test ${ac_cv_prog_CC+y}
        !          3927: then :
        !          3928:   printf %s "(cached) " >&6
        !          3929: else case e in #(
        !          3930:   e) if test -n "$CC"; then
1.1       paf      3931:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3932: else
1.2       paf      3933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3934: for as_dir in $PATH
                   3935: do
                   3936:   IFS=$as_save_IFS
1.10    ! moko     3937:   case $as_dir in #(((
        !          3938:     '') as_dir=./ ;;
        !          3939:     */) ;;
        !          3940:     *) as_dir=$as_dir/ ;;
        !          3941:   esac
1.5       moko     3942:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3943:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.2       paf      3944:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.10    ! moko     3945:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3946:     break 2
                   3947:   fi
                   3948: done
1.5       moko     3949:   done
                   3950: IFS=$as_save_IFS
1.2       paf      3951: 
1.10    ! moko     3952: fi ;;
        !          3953: esac
1.1       paf      3954: fi
1.2       paf      3955: CC=$ac_cv_prog_CC
1.1       paf      3956: if test -n "$CC"; then
1.10    ! moko     3957:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3958: printf "%s\n" "$CC" >&6; }
1.1       paf      3959: else
1.10    ! moko     3960:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3961: printf "%s\n" "no" >&6; }
1.2       paf      3962: fi
                   3963: 
1.5       moko     3964: 
1.2       paf      3965:     test -n "$CC" && break
                   3966:   done
1.1       paf      3967: fi
1.2       paf      3968: if test -z "$CC"; then
                   3969:   ac_ct_CC=$CC
1.5       moko     3970:   for ac_prog in cl.exe
1.2       paf      3971: do
                   3972:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3973: set dummy $ac_prog; ac_word=$2
1.10    ! moko     3974: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3975: printf %s "checking for $ac_word... " >&6; }
        !          3976: if test ${ac_cv_prog_ac_ct_CC+y}
        !          3977: then :
        !          3978:   printf %s "(cached) " >&6
        !          3979: else case e in #(
        !          3980:   e) if test -n "$ac_ct_CC"; then
1.2       paf      3981:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3982: else
                   3983: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3984: for as_dir in $PATH
                   3985: do
                   3986:   IFS=$as_save_IFS
1.10    ! moko     3987:   case $as_dir in #(((
        !          3988:     '') as_dir=./ ;;
        !          3989:     */) ;;
        !          3990:     *) as_dir=$as_dir/ ;;
        !          3991:   esac
1.5       moko     3992:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     3993:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.2       paf      3994:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.10    ! moko     3995:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.2       paf      3996:     break 2
1.1       paf      3997:   fi
1.2       paf      3998: done
1.5       moko     3999:   done
                   4000: IFS=$as_save_IFS
1.2       paf      4001: 
1.10    ! moko     4002: fi ;;
        !          4003: esac
1.2       paf      4004: fi
                   4005: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4006: if test -n "$ac_ct_CC"; then
1.10    ! moko     4007:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          4008: printf "%s\n" "$ac_ct_CC" >&6; }
1.2       paf      4009: else
1.10    ! moko     4010:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4011: printf "%s\n" "no" >&6; }
1.2       paf      4012: fi
                   4013: 
1.5       moko     4014: 
1.2       paf      4015:   test -n "$ac_ct_CC" && break
                   4016: done
                   4017: 
1.5       moko     4018:   if test "x$ac_ct_CC" = x; then
                   4019:     CC=""
                   4020:   else
                   4021:     case $cross_compiling:$ac_tool_warned in
                   4022: yes:)
1.10    ! moko     4023: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4024: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4025: ac_tool_warned=yes ;;
        !          4026: esac
        !          4027:     CC=$ac_ct_CC
        !          4028:   fi
        !          4029: fi
        !          4030: 
        !          4031: fi
        !          4032: if test -z "$CC"; then
        !          4033:   if test -n "$ac_tool_prefix"; then
        !          4034:   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
        !          4035: set dummy ${ac_tool_prefix}clang; ac_word=$2
        !          4036: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4037: printf %s "checking for $ac_word... " >&6; }
        !          4038: if test ${ac_cv_prog_CC+y}
        !          4039: then :
        !          4040:   printf %s "(cached) " >&6
        !          4041: else case e in #(
        !          4042:   e) if test -n "$CC"; then
        !          4043:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          4044: else
        !          4045: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4046: for as_dir in $PATH
        !          4047: do
        !          4048:   IFS=$as_save_IFS
        !          4049:   case $as_dir in #(((
        !          4050:     '') as_dir=./ ;;
        !          4051:     */) ;;
        !          4052:     *) as_dir=$as_dir/ ;;
        !          4053:   esac
        !          4054:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4055:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          4056:     ac_cv_prog_CC="${ac_tool_prefix}clang"
        !          4057:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          4058:     break 2
        !          4059:   fi
        !          4060: done
        !          4061:   done
        !          4062: IFS=$as_save_IFS
        !          4063: 
        !          4064: fi ;;
        !          4065: esac
        !          4066: fi
        !          4067: CC=$ac_cv_prog_CC
        !          4068: if test -n "$CC"; then
        !          4069:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4070: printf "%s\n" "$CC" >&6; }
        !          4071: else
        !          4072:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4073: printf "%s\n" "no" >&6; }
        !          4074: fi
        !          4075: 
        !          4076: 
        !          4077: fi
        !          4078: if test -z "$ac_cv_prog_CC"; then
        !          4079:   ac_ct_CC=$CC
        !          4080:   # Extract the first word of "clang", so it can be a program name with args.
        !          4081: set dummy clang; ac_word=$2
        !          4082: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4083: printf %s "checking for $ac_word... " >&6; }
        !          4084: if test ${ac_cv_prog_ac_ct_CC+y}
        !          4085: then :
        !          4086:   printf %s "(cached) " >&6
        !          4087: else case e in #(
        !          4088:   e) if test -n "$ac_ct_CC"; then
        !          4089:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          4090: else
        !          4091: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4092: for as_dir in $PATH
        !          4093: do
        !          4094:   IFS=$as_save_IFS
        !          4095:   case $as_dir in #(((
        !          4096:     '') as_dir=./ ;;
        !          4097:     */) ;;
        !          4098:     *) as_dir=$as_dir/ ;;
        !          4099:   esac
        !          4100:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4101:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          4102:     ac_cv_prog_ac_ct_CC="clang"
        !          4103:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          4104:     break 2
        !          4105:   fi
        !          4106: done
        !          4107:   done
        !          4108: IFS=$as_save_IFS
        !          4109: 
        !          4110: fi ;;
        !          4111: esac
        !          4112: fi
        !          4113: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          4114: if test -n "$ac_ct_CC"; then
        !          4115:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          4116: printf "%s\n" "$ac_ct_CC" >&6; }
        !          4117: else
        !          4118:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4119: printf "%s\n" "no" >&6; }
        !          4120: fi
        !          4121: 
        !          4122:   if test "x$ac_ct_CC" = x; then
        !          4123:     CC=""
        !          4124:   else
        !          4125:     case $cross_compiling:$ac_tool_warned in
        !          4126: yes:)
        !          4127: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4128: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     4129: ac_tool_warned=yes ;;
                   4130: esac
                   4131:     CC=$ac_ct_CC
                   4132:   fi
1.10    ! moko     4133: else
        !          4134:   CC="$ac_cv_prog_CC"
1.2       paf      4135: fi
                   4136: 
1.1       paf      4137: fi
                   4138: 
                   4139: 
1.10    ! moko     4140: test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          4141: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.5       moko     4142: as_fn_error $? "no acceptable C compiler found in \$PATH
1.10    ! moko     4143: See 'config.log' for more details" "$LINENO" 5; }
1.2       paf      4144: 
                   4145: # Provide some information about the compiler.
1.10    ! moko     4146: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.5       moko     4147: set X $ac_compile
                   4148: ac_compiler=$2
1.10    ! moko     4149: for ac_option in --version -v -V -qversion -version; do
1.5       moko     4150:   { { ac_try="$ac_compiler $ac_option >&5"
                   4151: case "(($ac_try" in
                   4152:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4153:   *) ac_try_echo=$ac_try;;
                   4154: esac
                   4155: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     4156: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     4157:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.2       paf      4158:   ac_status=$?
1.5       moko     4159:   if test -s conftest.err; then
                   4160:     sed '10a\
                   4161: ... rest of stderr output deleted ...
                   4162:          10q' conftest.err >conftest.er1
                   4163:     cat conftest.er1 >&5
                   4164:   fi
                   4165:   rm -f conftest.er1 conftest.err
1.10    ! moko     4166:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     4167:   test $ac_status = 0; }
                   4168: done
1.2       paf      4169: 
1.5       moko     4170: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.2       paf      4171: /* end confdefs.h.  */
1.1       paf      4172: 
1.2       paf      4173: int
1.10    ! moko     4174: main (void)
1.2       paf      4175: {
1.1       paf      4176: 
1.2       paf      4177:   ;
                   4178:   return 0;
                   4179: }
                   4180: _ACEOF
                   4181: ac_clean_files_save=$ac_clean_files
1.5       moko     4182: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.2       paf      4183: # Try to create an executable without -o first, disregard a.out.
                   4184: # It will help us diagnose broken compilers, and finding out an intuition
                   4185: # of exeext.
1.10    ! moko     4186: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
        !          4187: printf %s "checking whether the C compiler works... " >&6; }
        !          4188: ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.5       moko     4189: 
                   4190: # The possible output files:
                   4191: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   4192: 
                   4193: ac_rmfiles=
                   4194: for ac_file in $ac_files
                   4195: do
                   4196:   case $ac_file in
                   4197:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   4198:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   4199:   esac
                   4200: done
                   4201: rm -f $ac_rmfiles
                   4202: 
                   4203: if { { ac_try="$ac_link_default"
                   4204: case "(($ac_try" in
                   4205:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4206:   *) ac_try_echo=$ac_try;;
                   4207: esac
                   4208: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     4209: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     4210:   (eval "$ac_link_default") 2>&5
                   4211:   ac_status=$?
1.10    ! moko     4212:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4213:   test $ac_status = 0; }
        !          4214: then :
        !          4215:   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
        !          4216: # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
1.5       moko     4217: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   4218: # so that the user can short-circuit this test for compilers unknown to
                   4219: # Autoconf.
                   4220: for ac_file in $ac_files ''
1.2       paf      4221: do
                   4222:   test -f "$ac_file" || continue
                   4223:   case $ac_file in
1.5       moko     4224:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   4225:        ;;
1.2       paf      4226:     [ab].out )
1.5       moko     4227:        # We found the default executable, but exeext='' is most
                   4228:        # certainly right.
                   4229:        break;;
1.2       paf      4230:     *.* )
1.10    ! moko     4231:        if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
1.5       moko     4232:        then :; else
                   4233:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   4234:        fi
                   4235:        # We set ac_cv_exeext here because the later test for it is not
1.10    ! moko     4236:        # safe: cross compilers may not add the suffix if given an '-o'
1.5       moko     4237:        # argument, so we may need to know it at that point already.
                   4238:        # Even if this section looks crufty: it has the advantage of
                   4239:        # actually working.
                   4240:        break;;
1.2       paf      4241:     * )
1.5       moko     4242:        break;;
1.2       paf      4243:   esac
                   4244: done
1.5       moko     4245: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   4246: 
1.10    ! moko     4247: else case e in #(
        !          4248:   e) ac_file='' ;;
        !          4249: esac
1.5       moko     4250: fi
1.10    ! moko     4251: if test -z "$ac_file"
        !          4252: then :
        !          4253:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4254: printf "%s\n" "no" >&6; }
        !          4255: printf "%s\n" "$as_me: failed program was:" >&5
1.2       paf      4256: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      4257: 
1.10    ! moko     4258: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          4259: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.5       moko     4260: as_fn_error 77 "C compiler cannot create executables
1.10    ! moko     4261: See 'config.log' for more details" "$LINENO" 5; }
        !          4262: else case e in #(
        !          4263:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4264: printf "%s\n" "yes" >&6; } ;;
        !          4265: esac
1.2       paf      4266: fi
1.10    ! moko     4267: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
        !          4268: printf %s "checking for C compiler default output file name... " >&6; }
        !          4269: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          4270: printf "%s\n" "$ac_file" >&6; }
1.2       paf      4271: ac_exeext=$ac_cv_exeext
                   4272: 
1.5       moko     4273: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.2       paf      4274: ac_clean_files=$ac_clean_files_save
1.10    ! moko     4275: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
        !          4276: printf %s "checking for suffix of executables... " >&6; }
1.5       moko     4277: if { { ac_try="$ac_link"
                   4278: case "(($ac_try" in
                   4279:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4280:   *) ac_try_echo=$ac_try;;
                   4281: esac
                   4282: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     4283: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     4284:   (eval "$ac_link") 2>&5
1.2       paf      4285:   ac_status=$?
1.10    ! moko     4286:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4287:   test $ac_status = 0; }
        !          4288: then :
        !          4289:   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
        !          4290: # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
        !          4291: # work properly (i.e., refer to 'conftest.exe'), while it won't with
        !          4292: # 'rm'.
1.2       paf      4293: for ac_file in conftest.exe conftest conftest.*; do
                   4294:   test -f "$ac_file" || continue
                   4295:   case $ac_file in
1.5       moko     4296:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.2       paf      4297:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.5       moko     4298:          break;;
1.2       paf      4299:     * ) break;;
                   4300:   esac
                   4301: done
1.10    ! moko     4302: else case e in #(
        !          4303:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          4304: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.5       moko     4305: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.10    ! moko     4306: See 'config.log' for more details" "$LINENO" 5; } ;;
        !          4307: esac
1.5       moko     4308: fi
                   4309: rm -f conftest conftest$ac_cv_exeext
1.10    ! moko     4310: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
        !          4311: printf "%s\n" "$ac_cv_exeext" >&6; }
1.2       paf      4312: 
                   4313: rm -f conftest.$ac_ext
                   4314: EXEEXT=$ac_cv_exeext
                   4315: ac_exeext=$EXEEXT
1.5       moko     4316: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4317: /* end confdefs.h.  */
                   4318: #include <stdio.h>
                   4319: int
1.10    ! moko     4320: main (void)
1.5       moko     4321: {
                   4322: FILE *f = fopen ("conftest.out", "w");
1.10    ! moko     4323:  if (!f)
        !          4324:   return 1;
1.5       moko     4325:  return ferror (f) || fclose (f) != 0;
                   4326: 
                   4327:   ;
                   4328:   return 0;
                   4329: }
                   4330: _ACEOF
                   4331: ac_clean_files="$ac_clean_files conftest.out"
                   4332: # Check that the compiler produces executables we can run.  If not, either
                   4333: # the compiler is broken, or we cross compile.
1.10    ! moko     4334: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          4335: printf %s "checking whether we are cross compiling... " >&6; }
1.5       moko     4336: if test "$cross_compiling" != yes; then
                   4337:   { { ac_try="$ac_link"
                   4338: case "(($ac_try" in
                   4339:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4340:   *) ac_try_echo=$ac_try;;
                   4341: esac
                   4342: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     4343: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     4344:   (eval "$ac_link") 2>&5
                   4345:   ac_status=$?
1.10    ! moko     4346:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     4347:   test $ac_status = 0; }
                   4348:   if { ac_try='./conftest$ac_cv_exeext'
                   4349:   { { case "(($ac_try" in
                   4350:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4351:   *) ac_try_echo=$ac_try;;
                   4352: esac
                   4353: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     4354: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     4355:   (eval "$ac_try") 2>&5
                   4356:   ac_status=$?
1.10    ! moko     4357:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     4358:   test $ac_status = 0; }; }; then
                   4359:     cross_compiling=no
                   4360:   else
                   4361:     if test "$cross_compiling" = maybe; then
                   4362:        cross_compiling=yes
                   4363:     else
1.10    ! moko     4364:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          4365: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          4366: as_fn_error 77 "cannot run C compiled programs.
        !          4367: If you meant to cross compile, use '--host'.
        !          4368: See 'config.log' for more details" "$LINENO" 5; }
1.5       moko     4369:     fi
                   4370:   fi
                   4371: fi
1.10    ! moko     4372: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          4373: printf "%s\n" "$cross_compiling" >&6; }
1.5       moko     4374: 
1.10    ! moko     4375: rm -f conftest.$ac_ext conftest$ac_cv_exeext \
        !          4376:   conftest.o conftest.obj conftest.out
1.5       moko     4377: ac_clean_files=$ac_clean_files_save
1.10    ! moko     4378: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
        !          4379: printf %s "checking for suffix of object files... " >&6; }
        !          4380: if test ${ac_cv_objext+y}
        !          4381: then :
        !          4382:   printf %s "(cached) " >&6
        !          4383: else case e in #(
        !          4384:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.2       paf      4385: /* end confdefs.h.  */
1.1       paf      4386: 
1.2       paf      4387: int
1.10    ! moko     4388: main (void)
1.2       paf      4389: {
1.1       paf      4390: 
1.2       paf      4391:   ;
                   4392:   return 0;
                   4393: }
                   4394: _ACEOF
                   4395: rm -f conftest.o conftest.obj
1.5       moko     4396: if { { ac_try="$ac_compile"
                   4397: case "(($ac_try" in
                   4398:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4399:   *) ac_try_echo=$ac_try;;
                   4400: esac
                   4401: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.10    ! moko     4402: printf "%s\n" "$ac_try_echo"; } >&5
1.5       moko     4403:   (eval "$ac_compile") 2>&5
                   4404:   ac_status=$?
1.10    ! moko     4405:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4406:   test $ac_status = 0; }
        !          4407: then :
1.5       moko     4408:   for ac_file in conftest.o conftest.obj conftest.*; do
                   4409:   test -f "$ac_file" || continue;
1.2       paf      4410:   case $ac_file in
1.5       moko     4411:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.2       paf      4412:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   4413:        break;;
                   4414:   esac
                   4415: done
1.10    ! moko     4416: else case e in #(
        !          4417:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.2       paf      4418: sed 's/^/| /' conftest.$ac_ext >&5
                   4419: 
1.10    ! moko     4420: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          4421: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.5       moko     4422: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.10    ! moko     4423: See 'config.log' for more details" "$LINENO" 5; } ;;
        !          4424: esac
1.2       paf      4425: fi
1.10    ! moko     4426: rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
        !          4427: esac
1.2       paf      4428: fi
1.10    ! moko     4429: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
        !          4430: printf "%s\n" "$ac_cv_objext" >&6; }
1.2       paf      4431: OBJEXT=$ac_cv_objext
                   4432: ac_objext=$OBJEXT
1.10    ! moko     4433: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
        !          4434: printf %s "checking whether the compiler supports GNU C... " >&6; }
        !          4435: if test ${ac_cv_c_compiler_gnu+y}
        !          4436: then :
        !          4437:   printf %s "(cached) " >&6
        !          4438: else case e in #(
        !          4439:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.2       paf      4440: /* end confdefs.h.  */
                   4441: 
                   4442: int
1.10    ! moko     4443: main (void)
1.2       paf      4444: {
                   4445: #ifndef __GNUC__
                   4446:        choke me
                   4447: #endif
                   4448: 
                   4449:   ;
                   4450:   return 0;
                   4451: }
                   4452: _ACEOF
1.10    ! moko     4453: if ac_fn_c_try_compile "$LINENO"
        !          4454: then :
1.2       paf      4455:   ac_compiler_gnu=yes
1.10    ! moko     4456: else case e in #(
        !          4457:   e) ac_compiler_gnu=no ;;
        !          4458: esac
1.2       paf      4459: fi
1.10    ! moko     4460: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.2       paf      4461: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.10    ! moko     4462:  ;;
        !          4463: esac
        !          4464: fi
        !          4465: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        !          4466: printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
        !          4467: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2       paf      4468: 
1.5       moko     4469: if test $ac_compiler_gnu = yes; then
                   4470:   GCC=yes
                   4471: else
                   4472:   GCC=
                   4473: fi
1.10    ! moko     4474: ac_test_CFLAGS=${CFLAGS+y}
1.2       paf      4475: ac_save_CFLAGS=$CFLAGS
1.10    ! moko     4476: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
        !          4477: printf %s "checking whether $CC accepts -g... " >&6; }
        !          4478: if test ${ac_cv_prog_cc_g+y}
        !          4479: then :
        !          4480:   printf %s "(cached) " >&6
        !          4481: else case e in #(
        !          4482:   e) ac_save_c_werror_flag=$ac_c_werror_flag
1.5       moko     4483:    ac_c_werror_flag=yes
                   4484:    ac_cv_prog_cc_g=no
                   4485:    CFLAGS="-g"
                   4486:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4487: /* end confdefs.h.  */
                   4488: 
                   4489: int
1.10    ! moko     4490: main (void)
1.5       moko     4491: {
                   4492: 
                   4493:   ;
                   4494:   return 0;
                   4495: }
                   4496: _ACEOF
1.10    ! moko     4497: if ac_fn_c_try_compile "$LINENO"
        !          4498: then :
1.5       moko     4499:   ac_cv_prog_cc_g=yes
1.10    ! moko     4500: else case e in #(
        !          4501:   e) CFLAGS=""
1.5       moko     4502:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4503: /* end confdefs.h.  */
                   4504: 
                   4505: int
1.10    ! moko     4506: main (void)
1.5       moko     4507: {
                   4508: 
                   4509:   ;
                   4510:   return 0;
                   4511: }
1.2       paf      4512: _ACEOF
1.10    ! moko     4513: if ac_fn_c_try_compile "$LINENO"
        !          4514: then :
1.5       moko     4515: 
1.10    ! moko     4516: else case e in #(
        !          4517:   e) ac_c_werror_flag=$ac_save_c_werror_flag
1.5       moko     4518:         CFLAGS="-g"
                   4519:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.2       paf      4520: /* end confdefs.h.  */
                   4521: 
                   4522: int
1.10    ! moko     4523: main (void)
1.2       paf      4524: {
1.1       paf      4525: 
1.2       paf      4526:   ;
                   4527:   return 0;
                   4528: }
                   4529: _ACEOF
1.10    ! moko     4530: if ac_fn_c_try_compile "$LINENO"
        !          4531: then :
1.1       paf      4532:   ac_cv_prog_cc_g=yes
                   4533: fi
1.10    ! moko     4534: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          4535: esac
1.5       moko     4536: fi
1.10    ! moko     4537: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          4538: esac
1.5       moko     4539: fi
1.10    ! moko     4540: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4541:    ac_c_werror_flag=$ac_save_c_werror_flag ;;
        !          4542: esac
1.1       paf      4543: fi
1.10    ! moko     4544: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
        !          4545: printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
        !          4546: if test $ac_test_CFLAGS; then
1.2       paf      4547:   CFLAGS=$ac_save_CFLAGS
1.1       paf      4548: elif test $ac_cv_prog_cc_g = yes; then
                   4549:   if test "$GCC" = yes; then
                   4550:     CFLAGS="-g -O2"
                   4551:   else
                   4552:     CFLAGS="-g"
                   4553:   fi
                   4554: else
                   4555:   if test "$GCC" = yes; then
                   4556:     CFLAGS="-O2"
                   4557:   else
                   4558:     CFLAGS=
                   4559:   fi
                   4560: fi
1.10    ! moko     4561: ac_prog_cc_stdc=no
        !          4562: if test x$ac_prog_cc_stdc = xno
        !          4563: then :
        !          4564:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
        !          4565: printf %s "checking for $CC option to enable C11 features... " >&6; }
        !          4566: if test ${ac_cv_prog_cc_c11+y}
        !          4567: then :
        !          4568:   printf %s "(cached) " >&6
        !          4569: else case e in #(
        !          4570:   e) ac_cv_prog_cc_c11=no
1.2       paf      4571: ac_save_CC=$CC
1.5       moko     4572: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.2       paf      4573: /* end confdefs.h.  */
1.10    ! moko     4574: $ac_c_conftest_c11_program
        !          4575: _ACEOF
        !          4576: for ac_arg in '' -std=gnu11
        !          4577: do
        !          4578:   CC="$ac_save_CC $ac_arg"
        !          4579:   if ac_fn_c_try_compile "$LINENO"
        !          4580: then :
        !          4581:   ac_cv_prog_cc_c11=$ac_arg
        !          4582: fi
        !          4583: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          4584:   test "x$ac_cv_prog_cc_c11" != "xno" && break
        !          4585: done
        !          4586: rm -f conftest.$ac_ext
        !          4587: CC=$ac_save_CC ;;
        !          4588: esac
        !          4589: fi
1.5       moko     4590: 
1.10    ! moko     4591: if test "x$ac_cv_prog_cc_c11" = xno
        !          4592: then :
        !          4593:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          4594: printf "%s\n" "unsupported" >&6; }
        !          4595: else case e in #(
        !          4596:   e) if test "x$ac_cv_prog_cc_c11" = x
        !          4597: then :
        !          4598:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          4599: printf "%s\n" "none needed" >&6; }
        !          4600: else case e in #(
        !          4601:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
        !          4602: printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
        !          4603:      CC="$CC $ac_cv_prog_cc_c11" ;;
        !          4604: esac
        !          4605: fi
        !          4606:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
        !          4607:   ac_prog_cc_stdc=c11 ;;
        !          4608: esac
        !          4609: fi
        !          4610: fi
        !          4611: if test x$ac_prog_cc_stdc = xno
        !          4612: then :
        !          4613:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
        !          4614: printf %s "checking for $CC option to enable C99 features... " >&6; }
        !          4615: if test ${ac_cv_prog_cc_c99+y}
        !          4616: then :
        !          4617:   printf %s "(cached) " >&6
        !          4618: else case e in #(
        !          4619:   e) ac_cv_prog_cc_c99=no
        !          4620: ac_save_CC=$CC
        !          4621: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4622: /* end confdefs.h.  */
        !          4623: $ac_c_conftest_c99_program
        !          4624: _ACEOF
        !          4625: for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
        !          4626: do
        !          4627:   CC="$ac_save_CC $ac_arg"
        !          4628:   if ac_fn_c_try_compile "$LINENO"
        !          4629: then :
        !          4630:   ac_cv_prog_cc_c99=$ac_arg
        !          4631: fi
        !          4632: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          4633:   test "x$ac_cv_prog_cc_c99" != "xno" && break
        !          4634: done
        !          4635: rm -f conftest.$ac_ext
        !          4636: CC=$ac_save_CC ;;
        !          4637: esac
        !          4638: fi
1.5       moko     4639: 
1.10    ! moko     4640: if test "x$ac_cv_prog_cc_c99" = xno
        !          4641: then :
        !          4642:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          4643: printf "%s\n" "unsupported" >&6; }
        !          4644: else case e in #(
        !          4645:   e) if test "x$ac_cv_prog_cc_c99" = x
        !          4646: then :
        !          4647:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          4648: printf "%s\n" "none needed" >&6; }
        !          4649: else case e in #(
        !          4650:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
        !          4651: printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
        !          4652:      CC="$CC $ac_cv_prog_cc_c99" ;;
        !          4653: esac
        !          4654: fi
        !          4655:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
        !          4656:   ac_prog_cc_stdc=c99 ;;
        !          4657: esac
        !          4658: fi
        !          4659: fi
        !          4660: if test x$ac_prog_cc_stdc = xno
        !          4661: then :
        !          4662:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
        !          4663: printf %s "checking for $CC option to enable C89 features... " >&6; }
        !          4664: if test ${ac_cv_prog_cc_c89+y}
        !          4665: then :
        !          4666:   printf %s "(cached) " >&6
        !          4667: else case e in #(
        !          4668:   e) ac_cv_prog_cc_c89=no
        !          4669: ac_save_CC=$CC
        !          4670: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4671: /* end confdefs.h.  */
        !          4672: $ac_c_conftest_c89_program
1.2       paf      4673: _ACEOF
1.10    ! moko     4674: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.2       paf      4675: do
                   4676:   CC="$ac_save_CC $ac_arg"
1.10    ! moko     4677:   if ac_fn_c_try_compile "$LINENO"
        !          4678: then :
1.5       moko     4679:   ac_cv_prog_cc_c89=$ac_arg
1.2       paf      4680: fi
1.10    ! moko     4681: rm -f core conftest.err conftest.$ac_objext conftest.beam
1.5       moko     4682:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.2       paf      4683: done
1.5       moko     4684: rm -f conftest.$ac_ext
1.10    ! moko     4685: CC=$ac_save_CC ;;
        !          4686: esac
        !          4687: fi
1.1       paf      4688: 
1.10    ! moko     4689: if test "x$ac_cv_prog_cc_c89" = xno
        !          4690: then :
        !          4691:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          4692: printf "%s\n" "unsupported" >&6; }
        !          4693: else case e in #(
        !          4694:   e) if test "x$ac_cv_prog_cc_c89" = x
        !          4695: then :
        !          4696:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          4697: printf "%s\n" "none needed" >&6; }
        !          4698: else case e in #(
        !          4699:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
        !          4700: printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
        !          4701:      CC="$CC $ac_cv_prog_cc_c89" ;;
        !          4702: esac
1.2       paf      4703: fi
1.10    ! moko     4704:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
        !          4705:   ac_prog_cc_stdc=c89 ;;
1.5       moko     4706: esac
1.10    ! moko     4707: fi
1.2       paf      4708: fi
                   4709: 
                   4710: ac_ext=c
                   4711: ac_cpp='$CPP $CPPFLAGS'
                   4712: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4713: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4714: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4715: 
1.10    ! moko     4716: 
        !          4717:   ac_ext=c
1.8       moko     4718: ac_cpp='$CPP $CPPFLAGS'
                   4719: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4720: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4721: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10    ! moko     4722: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          4723: printf %s "checking whether $CC understands -c and -o together... " >&6; }
        !          4724: if test ${am_cv_prog_cc_c_o+y}
        !          4725: then :
        !          4726:   printf %s "(cached) " >&6
        !          4727: else case e in #(
        !          4728:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.8       moko     4729: /* end confdefs.h.  */
                   4730: 
                   4731: int
1.10    ! moko     4732: main (void)
1.8       moko     4733: {
                   4734: 
                   4735:   ;
                   4736:   return 0;
                   4737: }
                   4738: _ACEOF
                   4739:   # Make sure it works both with $CC and with simple cc.
                   4740:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   4741:   # compilers refuse to overwrite an existing .o file with -o,
                   4742:   # though they will create one.
                   4743:   am_cv_prog_cc_c_o=yes
                   4744:   for am_i in 1 2; do
                   4745:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   4746:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   4747:    ac_status=$?
                   4748:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4749:    (exit $ac_status); } \
                   4750:          && test -f conftest2.$ac_objext; then
                   4751:       : OK
                   4752:     else
                   4753:       am_cv_prog_cc_c_o=no
                   4754:       break
                   4755:     fi
                   4756:   done
                   4757:   rm -f core conftest*
1.10    ! moko     4758:   unset am_i ;;
        !          4759: esac
1.8       moko     4760: fi
1.10    ! moko     4761: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          4762: printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
1.8       moko     4763: if test "$am_cv_prog_cc_c_o" != yes; then
                   4764:    # Losing compiler, so override with the script.
                   4765:    # FIXME: It is wrong to rewrite CC.
                   4766:    # But if we don't then we get into trouble of one sort or another.
                   4767:    # A longer-term fix would be to have automake use am__CC in this case,
                   4768:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4769:    CC="$am_aux_dir/compile $CC"
                   4770: fi
                   4771: ac_ext=c
                   4772: ac_cpp='$CPP $CPPFLAGS'
                   4773: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4774: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4775: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4776: 
                   4777: 
1.5       moko     4778: depcc="$CC"   am_compiler_list=
1.2       paf      4779: 
1.10    ! moko     4780: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
        !          4781: printf %s "checking dependency style of $depcc... " >&6; }
        !          4782: if test ${am_cv_CC_dependencies_compiler_type+y}
        !          4783: then :
        !          4784:   printf %s "(cached) " >&6
        !          4785: else case e in #(
        !          4786:   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.5       moko     4787:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4788:   # making bogus files that we don't know about and never remove.  For
                   4789:   # instance it was reported that on HP-UX the gcc test will end up
1.8       moko     4790:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4791:   # in D".
                   4792:   rm -rf conftest.dir
1.5       moko     4793:   mkdir conftest.dir
                   4794:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4795:   # using a relative directory.
                   4796:   cp "$am_depcomp" conftest.dir
                   4797:   cd conftest.dir
                   4798:   # We will build objects and dependencies in a subdirectory because
                   4799:   # it helps to detect inapplicable dependency modes.  For instance
                   4800:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4801:   # side effect of compilation, but ICC will put the dependencies in
                   4802:   # the current directory while Tru64 will put them in the object
                   4803:   # directory.
                   4804:   mkdir sub
1.2       paf      4805: 
1.5       moko     4806:   am_cv_CC_dependencies_compiler_type=none
                   4807:   if test "$am_compiler_list" = ""; then
1.2       paf      4808:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4809:   fi
1.5       moko     4810:   am__universal=false
                   4811:   case " $depcc " in #(
                   4812:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4813:      esac
                   4814: 
1.2       paf      4815:   for depmode in $am_compiler_list; do
1.5       moko     4816:     # Setup a source with many dependencies, because some compilers
                   4817:     # like to wrap large dependency lists on column 80 (with \), and
                   4818:     # we should not choose a depcomp mode which is confused by this.
                   4819:     #
1.2       paf      4820:     # We need to recreate these files for each test, as the compiler may
                   4821:     # overwrite some of them when testing with obscure command lines.
                   4822:     # This happens at least with the AIX C compiler.
1.5       moko     4823:     : > sub/conftest.c
                   4824:     for i in 1 2 3 4 5 6; do
                   4825:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.8       moko     4826:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4827:       # Solaris 10 /bin/sh.
                   4828:       echo '/* dummy */' > sub/conftst$i.h
1.5       moko     4829:     done
                   4830:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.2       paf      4831: 
1.8       moko     4832:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.5       moko     4833:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.8       moko     4834:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4835:     # versions had trouble with output in subdirs.
1.5       moko     4836:     am__obj=sub/conftest.${OBJEXT-o}
                   4837:     am__minus_obj="-o $am__obj"
1.2       paf      4838:     case $depmode in
1.5       moko     4839:     gcc)
                   4840:       # This depmode causes a compiler race in universal mode.
                   4841:       test "$am__universal" = false || continue
                   4842:       ;;
1.2       paf      4843:     nosideeffect)
1.8       moko     4844:       # After this tag, mechanisms are not by side-effect, so they'll
                   4845:       # only be used when explicitly requested.
1.2       paf      4846:       if test "x$enable_dependency_tracking" = xyes; then
                   4847:        continue
                   4848:       else
                   4849:        break
                   4850:       fi
                   4851:       ;;
1.8       moko     4852:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4853:       # This compiler won't grok '-c -o', but also, the minuso test has
1.5       moko     4854:       # not run yet.  These depmodes are late enough in the game, and
                   4855:       # so weak that their functioning should not be impacted.
                   4856:       am__obj=conftest.${OBJEXT-o}
                   4857:       am__minus_obj=
                   4858:       ;;
1.2       paf      4859:     none) break ;;
                   4860:     esac
                   4861:     if depmode=$depmode \
1.5       moko     4862:        source=sub/conftest.c object=$am__obj \
                   4863:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4864:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4865:          >/dev/null 2>conftest.err &&
                   4866:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4867:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4868:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.2       paf      4869:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.5       moko     4870:       # icc doesn't choke on unknown options, it will just issue warnings
                   4871:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4872:       # that says an option was ignored or not supported.
1.10    ! moko     4873:       # When given -MP, icc 7.0 and 7.1 complain thus:
1.5       moko     4874:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4875:       # The diagnosis changed in icc 8.0:
                   4876:       #   icc: Command line remark: option '-MP' not supported
                   4877:       if (grep 'ignoring option' conftest.err ||
                   4878:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4879:         am_cv_CC_dependencies_compiler_type=$depmode
                   4880:         break
                   4881:       fi
1.2       paf      4882:     fi
                   4883:   done
                   4884: 
                   4885:   cd ..
                   4886:   rm -rf conftest.dir
                   4887: else
                   4888:   am_cv_CC_dependencies_compiler_type=none
                   4889: fi
1.10    ! moko     4890:  ;;
        !          4891: esac
1.2       paf      4892: fi
1.10    ! moko     4893: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
        !          4894: printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
1.2       paf      4895: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4896: 
1.5       moko     4897:  if
1.2       paf      4898:   test "x$enable_dependency_tracking" != xno \
                   4899:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4900:   am__fastdepCC_TRUE=
                   4901:   am__fastdepCC_FALSE='#'
                   4902: else
                   4903:   am__fastdepCC_TRUE='#'
                   4904:   am__fastdepCC_FALSE=
                   4905: fi
                   4906: 
                   4907: 
1.10    ! moko     4908: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          4909: printf %s "checking for a sed that does not truncate output... " >&6; }
        !          4910: if test ${ac_cv_path_SED+y}
        !          4911: then :
        !          4912:   printf %s "(cached) " >&6
        !          4913: else case e in #(
        !          4914:   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
1.5       moko     4915:      for ac_i in 1 2 3 4 5 6 7; do
                   4916:        ac_script="$ac_script$as_nl$ac_script"
                   4917:      done
                   4918:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4919:      { ac_script=; unset ac_script;}
                   4920:      if test -z "$SED"; then
                   4921:   ac_path_SED_found=false
                   4922:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4923:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4924: for as_dir in $PATH
                   4925: do
                   4926:   IFS=$as_save_IFS
1.10    ! moko     4927:   case $as_dir in #(((
        !          4928:     '') as_dir=./ ;;
        !          4929:     */) ;;
        !          4930:     *) as_dir=$as_dir/ ;;
        !          4931:   esac
        !          4932:     for ac_prog in sed gsed
        !          4933:    do
1.5       moko     4934:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     4935:       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
1.7       moko     4936:       as_fn_executable_p "$ac_path_SED" || continue
1.5       moko     4937: # Check for GNU ac_path_SED and select it if it is found.
                   4938:   # Check for GNU $ac_path_SED
1.10    ! moko     4939: case `"$ac_path_SED" --version 2>&1` in #(
1.5       moko     4940: *GNU*)
                   4941:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
1.10    ! moko     4942: #(
1.5       moko     4943: *)
                   4944:   ac_count=0
1.10    ! moko     4945:   printf %s 0123456789 >"conftest.in"
1.5       moko     4946:   while :
                   4947:   do
                   4948:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4949:     mv "conftest.tmp" "conftest.in"
                   4950:     cp "conftest.in" "conftest.nl"
1.10    ! moko     4951:     printf "%s\n" '' >> "conftest.nl"
1.5       moko     4952:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4953:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4954:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4955:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4956:       # Best one so far, save it but keep looking for a better one
                   4957:       ac_cv_path_SED="$ac_path_SED"
                   4958:       ac_path_SED_max=$ac_count
                   4959:     fi
                   4960:     # 10*(2^10) chars as input seems more than enough
                   4961:     test $ac_count -gt 10 && break
                   4962:   done
                   4963:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4964: esac
1.2       paf      4965: 
1.5       moko     4966:       $ac_path_SED_found && break 3
                   4967:     done
                   4968:   done
                   4969:   done
                   4970: IFS=$as_save_IFS
                   4971:   if test -z "$ac_cv_path_SED"; then
                   4972:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4973:   fi
1.2       paf      4974: else
1.5       moko     4975:   ac_cv_path_SED=$SED
                   4976: fi
1.10    ! moko     4977:  ;;
        !          4978: esac
1.5       moko     4979: fi
1.10    ! moko     4980: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          4981: printf "%s\n" "$ac_cv_path_SED" >&6; }
1.5       moko     4982:  SED="$ac_cv_path_SED"
                   4983:   rm -f conftest.sed
                   4984: 
                   4985: test -z "$SED" && SED=sed
                   4986: Xsed="$SED -e 1s/^X//"
                   4987: 
                   4988: 
                   4989: 
                   4990: 
1.2       paf      4991: 
                   4992: 
                   4993: 
                   4994: 
1.1       paf      4995: 
                   4996: 
                   4997: 
1.10    ! moko     4998: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
        !          4999: printf %s "checking for grep that handles long lines and -e... " >&6; }
        !          5000: if test ${ac_cv_path_GREP+y}
        !          5001: then :
        !          5002:   printf %s "(cached) " >&6
        !          5003: else case e in #(
        !          5004:   e) if test -z "$GREP"; then
1.5       moko     5005:   ac_path_GREP_found=false
                   5006:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5007:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5008: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5009: do
                   5010:   IFS=$as_save_IFS
1.10    ! moko     5011:   case $as_dir in #(((
        !          5012:     '') as_dir=./ ;;
        !          5013:     */) ;;
        !          5014:     *) as_dir=$as_dir/ ;;
        !          5015:   esac
        !          5016:     for ac_prog in grep ggrep
        !          5017:    do
1.5       moko     5018:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     5019:       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
1.7       moko     5020:       as_fn_executable_p "$ac_path_GREP" || continue
1.5       moko     5021: # Check for GNU ac_path_GREP and select it if it is found.
                   5022:   # Check for GNU $ac_path_GREP
1.10    ! moko     5023: case `"$ac_path_GREP" --version 2>&1` in #(
1.5       moko     5024: *GNU*)
                   5025:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.10    ! moko     5026: #(
1.5       moko     5027: *)
                   5028:   ac_count=0
1.10    ! moko     5029:   printf %s 0123456789 >"conftest.in"
1.5       moko     5030:   while :
                   5031:   do
                   5032:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5033:     mv "conftest.tmp" "conftest.in"
                   5034:     cp "conftest.in" "conftest.nl"
1.10    ! moko     5035:     printf "%s\n" 'GREP' >> "conftest.nl"
1.5       moko     5036:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5037:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5038:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5039:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5040:       # Best one so far, save it but keep looking for a better one
                   5041:       ac_cv_path_GREP="$ac_path_GREP"
                   5042:       ac_path_GREP_max=$ac_count
                   5043:     fi
                   5044:     # 10*(2^10) chars as input seems more than enough
                   5045:     test $ac_count -gt 10 && break
                   5046:   done
                   5047:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5048: esac
1.1       paf      5049: 
1.5       moko     5050:       $ac_path_GREP_found && break 3
                   5051:     done
                   5052:   done
                   5053:   done
                   5054: IFS=$as_save_IFS
                   5055:   if test -z "$ac_cv_path_GREP"; then
                   5056:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5057:   fi
1.1       paf      5058: else
1.5       moko     5059:   ac_cv_path_GREP=$GREP
1.1       paf      5060: fi
1.10    ! moko     5061:  ;;
        !          5062: esac
1.1       paf      5063: fi
1.10    ! moko     5064: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
        !          5065: printf "%s\n" "$ac_cv_path_GREP" >&6; }
1.5       moko     5066:  GREP="$ac_cv_path_GREP"
1.1       paf      5067: 
                   5068: 
1.10    ! moko     5069: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          5070: printf %s "checking for egrep... " >&6; }
        !          5071: if test ${ac_cv_path_EGREP+y}
        !          5072: then :
        !          5073:   printf %s "(cached) " >&6
        !          5074: else case e in #(
        !          5075:   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1.5       moko     5076:    then ac_cv_path_EGREP="$GREP -E"
                   5077:    else
                   5078:      if test -z "$EGREP"; then
                   5079:   ac_path_EGREP_found=false
                   5080:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5081:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5082: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5083: do
                   5084:   IFS=$as_save_IFS
1.10    ! moko     5085:   case $as_dir in #(((
        !          5086:     '') as_dir=./ ;;
        !          5087:     */) ;;
        !          5088:     *) as_dir=$as_dir/ ;;
        !          5089:   esac
        !          5090:     for ac_prog in egrep
        !          5091:    do
1.5       moko     5092:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     5093:       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
1.7       moko     5094:       as_fn_executable_p "$ac_path_EGREP" || continue
1.5       moko     5095: # Check for GNU ac_path_EGREP and select it if it is found.
                   5096:   # Check for GNU $ac_path_EGREP
1.10    ! moko     5097: case `"$ac_path_EGREP" --version 2>&1` in #(
1.5       moko     5098: *GNU*)
                   5099:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.10    ! moko     5100: #(
1.4       paf      5101: *)
1.5       moko     5102:   ac_count=0
1.10    ! moko     5103:   printf %s 0123456789 >"conftest.in"
1.5       moko     5104:   while :
                   5105:   do
                   5106:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5107:     mv "conftest.tmp" "conftest.in"
                   5108:     cp "conftest.in" "conftest.nl"
1.10    ! moko     5109:     printf "%s\n" 'EGREP' >> "conftest.nl"
1.5       moko     5110:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5111:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5112:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5113:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5114:       # Best one so far, save it but keep looking for a better one
                   5115:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5116:       ac_path_EGREP_max=$ac_count
1.4       paf      5117:     fi
1.5       moko     5118:     # 10*(2^10) chars as input seems more than enough
                   5119:     test $ac_count -gt 10 && break
1.4       paf      5120:   done
1.5       moko     5121:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.4       paf      5122: esac
1.5       moko     5123: 
                   5124:       $ac_path_EGREP_found && break 3
                   5125:     done
                   5126:   done
                   5127:   done
                   5128: IFS=$as_save_IFS
                   5129:   if test -z "$ac_cv_path_EGREP"; then
                   5130:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5131:   fi
1.1       paf      5132: else
1.5       moko     5133:   ac_cv_path_EGREP=$EGREP
                   5134: fi
                   5135: 
1.10    ! moko     5136:    fi ;;
        !          5137: esac
1.5       moko     5138: fi
1.10    ! moko     5139: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
        !          5140: printf "%s\n" "$ac_cv_path_EGREP" >&6; }
1.5       moko     5141:  EGREP="$ac_cv_path_EGREP"
                   5142: 
1.10    ! moko     5143:          EGREP_TRADITIONAL=$EGREP
        !          5144:  ac_cv_path_EGREP_TRADITIONAL=$EGREP
1.5       moko     5145: 
1.10    ! moko     5146: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
        !          5147: printf %s "checking for fgrep... " >&6; }
        !          5148: if test ${ac_cv_path_FGREP+y}
        !          5149: then :
        !          5150:   printf %s "(cached) " >&6
        !          5151: else case e in #(
        !          5152:   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
1.5       moko     5153:    then ac_cv_path_FGREP="$GREP -F"
                   5154:    else
                   5155:      if test -z "$FGREP"; then
                   5156:   ac_path_FGREP_found=false
                   5157:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5158:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5159: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5160: do
                   5161:   IFS=$as_save_IFS
1.10    ! moko     5162:   case $as_dir in #(((
        !          5163:     '') as_dir=./ ;;
        !          5164:     */) ;;
        !          5165:     *) as_dir=$as_dir/ ;;
        !          5166:   esac
        !          5167:     for ac_prog in fgrep
        !          5168:    do
1.5       moko     5169:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     5170:       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
1.7       moko     5171:       as_fn_executable_p "$ac_path_FGREP" || continue
1.5       moko     5172: # Check for GNU ac_path_FGREP and select it if it is found.
                   5173:   # Check for GNU $ac_path_FGREP
1.10    ! moko     5174: case `"$ac_path_FGREP" --version 2>&1` in #(
1.5       moko     5175: *GNU*)
                   5176:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
1.10    ! moko     5177: #(
1.4       paf      5178: *)
1.5       moko     5179:   ac_count=0
1.10    ! moko     5180:   printf %s 0123456789 >"conftest.in"
1.5       moko     5181:   while :
                   5182:   do
                   5183:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5184:     mv "conftest.tmp" "conftest.in"
                   5185:     cp "conftest.in" "conftest.nl"
1.10    ! moko     5186:     printf "%s\n" 'FGREP' >> "conftest.nl"
1.5       moko     5187:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5188:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5189:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5190:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5191:       # Best one so far, save it but keep looking for a better one
                   5192:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5193:       ac_path_FGREP_max=$ac_count
1.4       paf      5194:     fi
1.5       moko     5195:     # 10*(2^10) chars as input seems more than enough
                   5196:     test $ac_count -gt 10 && break
1.4       paf      5197:   done
1.5       moko     5198:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.4       paf      5199: esac
1.5       moko     5200: 
                   5201:       $ac_path_FGREP_found && break 3
                   5202:     done
                   5203:   done
                   5204:   done
                   5205: IFS=$as_save_IFS
                   5206:   if test -z "$ac_cv_path_FGREP"; then
                   5207:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5208:   fi
1.1       paf      5209: else
1.5       moko     5210:   ac_cv_path_FGREP=$FGREP
                   5211: fi
1.4       paf      5212: 
1.10    ! moko     5213:    fi ;;
        !          5214: esac
1.1       paf      5215: fi
1.10    ! moko     5216: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
        !          5217: printf "%s\n" "$ac_cv_path_FGREP" >&6; }
1.5       moko     5218:  FGREP="$ac_cv_path_FGREP"
                   5219: 
                   5220: 
                   5221: test -z "$GREP" && GREP=grep
                   5222: 
                   5223: 
                   5224: 
                   5225: 
                   5226: 
                   5227: 
                   5228: 
                   5229: 
                   5230: 
                   5231: 
                   5232: 
                   5233: 
                   5234: 
                   5235: 
1.1       paf      5236: 
1.4       paf      5237: 
                   5238: 
                   5239: 
                   5240: 
1.5       moko     5241: # Check whether --with-gnu-ld was given.
1.10    ! moko     5242: if test ${with_gnu_ld+y}
        !          5243: then :
        !          5244:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
        !          5245: else case e in #(
        !          5246:   e) with_gnu_ld=no ;;
        !          5247: esac
1.5       moko     5248: fi
                   5249: 
1.4       paf      5250: ac_prog=ld
1.10    ! moko     5251: if test yes = "$GCC"; then
1.4       paf      5252:   # Check if gcc -print-prog-name=ld gives a path.
1.10    ! moko     5253:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          5254: printf %s "checking for ld used by $CC... " >&6; }
1.4       paf      5255:   case $host in
1.10    ! moko     5256:   *-*-mingw* | *-*-windows*)
        !          5257:     # gcc leaves a trailing carriage return, which upsets mingw
1.4       paf      5258:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5259:   *)
                   5260:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5261:   esac
                   5262:   case $ac_prog in
                   5263:     # Accept absolute paths.
1.5       moko     5264:     [\\/]* | ?:[\\/]*)
1.4       paf      5265:       re_direlt='/[^/][^/]*/\.\./'
1.5       moko     5266:       # Canonicalize the pathname of ld
                   5267:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5268:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5269:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.4       paf      5270:       done
1.10    ! moko     5271:       test -z "$LD" && LD=$ac_prog
1.4       paf      5272:       ;;
                   5273:   "")
                   5274:     # If it fails, then pretend we aren't using GCC.
                   5275:     ac_prog=ld
                   5276:     ;;
                   5277:   *)
                   5278:     # If it is relative, then search for the first ld in PATH.
                   5279:     with_gnu_ld=unknown
                   5280:     ;;
                   5281:   esac
1.10    ! moko     5282: elif test yes = "$with_gnu_ld"; then
        !          5283:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
        !          5284: printf %s "checking for GNU ld... " >&6; }
        !          5285: else
        !          5286:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
        !          5287: printf %s "checking for non-GNU ld... " >&6; }
        !          5288: fi
        !          5289: if test ${lt_cv_path_LD+y}
        !          5290: then :
        !          5291:   printf %s "(cached) " >&6
        !          5292: else case e in #(
        !          5293:   e) if test -z "$LD"; then
        !          5294:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          5295:   for ac_dir in $PATH; do
        !          5296:     IFS=$lt_save_ifs
1.4       paf      5297:     test -z "$ac_dir" && ac_dir=.
                   5298:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.10    ! moko     5299:       lt_cv_path_LD=$ac_dir/$ac_prog
1.4       paf      5300:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.5       moko     5301:       # but apparently some variants of GNU ld only accept -v.
1.4       paf      5302:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.5       moko     5303:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5304:       *GNU* | *'with BFD'*)
1.10    ! moko     5305:        test no != "$with_gnu_ld" && break
1.5       moko     5306:        ;;
                   5307:       *)
1.10    ! moko     5308:        test yes != "$with_gnu_ld" && break
1.5       moko     5309:        ;;
                   5310:       esac
1.4       paf      5311:     fi
1.1       paf      5312:   done
1.10    ! moko     5313:   IFS=$lt_save_ifs
1.4       paf      5314: else
1.10    ! moko     5315:   lt_cv_path_LD=$LD # Let the user override the test with a path.
        !          5316: fi ;;
        !          5317: esac
1.1       paf      5318: fi
1.2       paf      5319: 
1.10    ! moko     5320: LD=$lt_cv_path_LD
1.4       paf      5321: if test -n "$LD"; then
1.10    ! moko     5322:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
        !          5323: printf "%s\n" "$LD" >&6; }
1.4       paf      5324: else
1.10    ! moko     5325:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5326: printf "%s\n" "no" >&6; }
1.2       paf      5327: fi
1.5       moko     5328: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.10    ! moko     5329: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
        !          5330: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
        !          5331: if test ${lt_cv_prog_gnu_ld+y}
        !          5332: then :
        !          5333:   printf %s "(cached) " >&6
        !          5334: else case e in #(
        !          5335:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.5       moko     5336: case `$LD -v 2>&1 </dev/null` in
                   5337: *GNU* | *'with BFD'*)
1.4       paf      5338:   lt_cv_prog_gnu_ld=yes
1.5       moko     5339:   ;;
                   5340: *)
1.4       paf      5341:   lt_cv_prog_gnu_ld=no
1.5       moko     5342:   ;;
1.10    ! moko     5343: esac ;;
1.5       moko     5344: esac
1.4       paf      5345: fi
1.10    ! moko     5346: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
        !          5347: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
1.4       paf      5348: with_gnu_ld=$lt_cv_prog_gnu_ld
1.2       paf      5349: 
                   5350: 
                   5351: 
1.5       moko     5352: 
                   5353: 
                   5354: 
                   5355: 
                   5356: 
                   5357: 
1.10    ! moko     5358: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
        !          5359: printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
        !          5360: if test ${lt_cv_path_NM+y}
        !          5361: then :
        !          5362:   printf %s "(cached) " >&6
        !          5363: else case e in #(
        !          5364:   e) if test -n "$NM"; then
1.4       paf      5365:   # Let the user override the test.
1.10    ! moko     5366:   lt_cv_path_NM=$NM
1.4       paf      5367: else
1.10    ! moko     5368:   lt_nm_to_check=${ac_tool_prefix}nm
1.5       moko     5369:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5370:     lt_nm_to_check="$lt_nm_to_check nm"
                   5371:   fi
                   5372:   for lt_tmp_nm in $lt_nm_to_check; do
1.10    ! moko     5373:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.5       moko     5374:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1.10    ! moko     5375:       IFS=$lt_save_ifs
1.5       moko     5376:       test -z "$ac_dir" && ac_dir=.
1.10    ! moko     5377:       tmp_nm=$ac_dir/$lt_tmp_nm
        !          5378:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
1.5       moko     5379:        # Check to see if the nm accepts a BSD-compat flag.
1.10    ! moko     5380:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
1.5       moko     5381:        #   nm: unknown option "B" ignored
                   5382:        # Tru64's nm complains that /dev/null is an invalid object file
1.10    ! moko     5383:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
        !          5384:        case $build_os in
        !          5385:        mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
        !          5386:        *) lt_bad_file=/dev/null ;;
        !          5387:        esac
        !          5388:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
        !          5389:        *$lt_bad_file* | *'Invalid file or object type'*)
1.5       moko     5390:          lt_cv_path_NM="$tmp_nm -B"
1.10    ! moko     5391:          break 2
1.5       moko     5392:          ;;
                   5393:        *)
1.10    ! moko     5394:          case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
1.5       moko     5395:          */dev/null*)
                   5396:            lt_cv_path_NM="$tmp_nm -p"
1.10    ! moko     5397:            break 2
1.5       moko     5398:            ;;
                   5399:          *)
                   5400:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5401:            continue # so that we can try to find one that supports BSD flags
                   5402:            ;;
                   5403:          esac
                   5404:          ;;
                   5405:        esac
1.4       paf      5406:       fi
1.5       moko     5407:     done
1.10    ! moko     5408:     IFS=$lt_save_ifs
1.4       paf      5409:   done
1.5       moko     5410:   : ${lt_cv_path_NM=no}
1.10    ! moko     5411: fi ;;
        !          5412: esac
1.4       paf      5413: fi
1.10    ! moko     5414: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
        !          5415: printf "%s\n" "$lt_cv_path_NM" >&6; }
        !          5416: if test no != "$lt_cv_path_NM"; then
        !          5417:   NM=$lt_cv_path_NM
1.5       moko     5418: else
                   5419:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5420:   if test -n "$DUMPBIN"; then :
                   5421:     # Let the user override the test.
                   5422:   else
                   5423:     if test -n "$ac_tool_prefix"; then
                   5424:   for ac_prog in dumpbin "link -dump"
                   5425:   do
                   5426:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5427: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.10    ! moko     5428: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5429: printf %s "checking for $ac_word... " >&6; }
        !          5430: if test ${ac_cv_prog_DUMPBIN+y}
        !          5431: then :
        !          5432:   printf %s "(cached) " >&6
        !          5433: else case e in #(
        !          5434:   e) if test -n "$DUMPBIN"; then
1.5       moko     5435:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
1.4       paf      5436: else
                   5437: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5438: for as_dir in $PATH
                   5439: do
                   5440:   IFS=$as_save_IFS
1.10    ! moko     5441:   case $as_dir in #(((
        !          5442:     '') as_dir=./ ;;
        !          5443:     */) ;;
        !          5444:     *) as_dir=$as_dir/ ;;
        !          5445:   esac
1.4       paf      5446:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     5447:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     5448:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.10    ! moko     5449:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     5450:     break 2
                   5451:   fi
                   5452: done
1.4       paf      5453:   done
1.5       moko     5454: IFS=$as_save_IFS
                   5455: 
1.10    ! moko     5456: fi ;;
        !          5457: esac
1.5       moko     5458: fi
                   5459: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5460: if test -n "$DUMPBIN"; then
1.10    ! moko     5461:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
        !          5462: printf "%s\n" "$DUMPBIN" >&6; }
1.5       moko     5463: else
1.10    ! moko     5464:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5465: printf "%s\n" "no" >&6; }
1.5       moko     5466: fi
1.4       paf      5467: 
                   5468: 
1.5       moko     5469:     test -n "$DUMPBIN" && break
                   5470:   done
                   5471: fi
                   5472: if test -z "$DUMPBIN"; then
                   5473:   ac_ct_DUMPBIN=$DUMPBIN
                   5474:   for ac_prog in dumpbin "link -dump"
                   5475: do
                   5476:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5477: set dummy $ac_prog; ac_word=$2
1.10    ! moko     5478: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5479: printf %s "checking for $ac_word... " >&6; }
        !          5480: if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
        !          5481: then :
        !          5482:   printf %s "(cached) " >&6
        !          5483: else case e in #(
        !          5484:   e) if test -n "$ac_ct_DUMPBIN"; then
1.5       moko     5485:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5486: else
                   5487: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5488: for as_dir in $PATH
                   5489: do
                   5490:   IFS=$as_save_IFS
1.10    ! moko     5491:   case $as_dir in #(((
        !          5492:     '') as_dir=./ ;;
        !          5493:     */) ;;
        !          5494:     *) as_dir=$as_dir/ ;;
        !          5495:   esac
1.5       moko     5496:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     5497:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     5498:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.10    ! moko     5499:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     5500:     break 2
                   5501:   fi
                   5502: done
1.4       paf      5503:   done
1.5       moko     5504: IFS=$as_save_IFS
                   5505: 
1.10    ! moko     5506: fi ;;
        !          5507: esac
1.5       moko     5508: fi
                   5509: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5510: if test -n "$ac_ct_DUMPBIN"; then
1.10    ! moko     5511:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
        !          5512: printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
1.5       moko     5513: else
1.10    ! moko     5514:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5515: printf "%s\n" "no" >&6; }
1.5       moko     5516: fi
                   5517: 
                   5518: 
                   5519:   test -n "$ac_ct_DUMPBIN" && break
                   5520: done
                   5521: 
                   5522:   if test "x$ac_ct_DUMPBIN" = x; then
                   5523:     DUMPBIN=":"
                   5524:   else
                   5525:     case $cross_compiling:$ac_tool_warned in
                   5526: yes:)
1.10    ! moko     5527: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5528: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     5529: ac_tool_warned=yes ;;
                   5530: esac
                   5531:     DUMPBIN=$ac_ct_DUMPBIN
                   5532:   fi
                   5533: fi
                   5534: 
1.10    ! moko     5535:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
1.5       moko     5536:     *COFF*)
1.10    ! moko     5537:       DUMPBIN="$DUMPBIN -symbols -headers"
1.5       moko     5538:       ;;
                   5539:     *)
                   5540:       DUMPBIN=:
                   5541:       ;;
                   5542:     esac
                   5543:   fi
1.4       paf      5544: 
1.10    ! moko     5545:   if test : != "$DUMPBIN"; then
        !          5546:     NM=$DUMPBIN
1.5       moko     5547:   fi
1.4       paf      5548: fi
1.5       moko     5549: test -z "$NM" && NM=nm
                   5550: 
                   5551: 
1.4       paf      5552: 
1.5       moko     5553: 
                   5554: 
                   5555: 
1.10    ! moko     5556: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
        !          5557: printf %s "checking the name lister ($NM) interface... " >&6; }
        !          5558: if test ${lt_cv_nm_interface+y}
        !          5559: then :
        !          5560:   printf %s "(cached) " >&6
        !          5561: else case e in #(
        !          5562:   e) lt_cv_nm_interface="BSD nm"
1.5       moko     5563:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5564:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5565:   (eval "$ac_compile" 2>conftest.err)
                   5566:   cat conftest.err >&5
                   5567:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5568:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5569:   cat conftest.err >&5
                   5570:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5571:   cat conftest.out >&5
                   5572:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5573:     lt_cv_nm_interface="MS dumpbin"
                   5574:   fi
1.10    ! moko     5575:   rm -f conftest* ;;
        !          5576: esac
1.4       paf      5577: fi
1.10    ! moko     5578: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
        !          5579: printf "%s\n" "$lt_cv_nm_interface" >&6; }
1.4       paf      5580: 
1.10    ! moko     5581: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
        !          5582: printf %s "checking whether ln -s works... " >&6; }
1.4       paf      5583: LN_S=$as_ln_s
                   5584: if test "$LN_S" = "ln -s"; then
1.10    ! moko     5585:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5586: printf "%s\n" "yes" >&6; }
1.5       moko     5587: else
1.10    ! moko     5588:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
        !          5589: printf "%s\n" "no, using $LN_S" >&6; }
1.5       moko     5590: fi
                   5591: 
                   5592: # find the maximum length of command line arguments
1.10    ! moko     5593: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
        !          5594: printf %s "checking the maximum length of command line arguments... " >&6; }
        !          5595: if test ${lt_cv_sys_max_cmd_len+y}
        !          5596: then :
        !          5597:   printf %s "(cached) " >&6
        !          5598: else case e in #(
        !          5599:   e)   i=0
        !          5600:   teststring=ABCD
1.5       moko     5601: 
                   5602:   case $build_os in
                   5603:   msdosdjgpp*)
                   5604:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5605:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5606:     # during glob expansion).  Even if it were fixed, the result of this
                   5607:     # check would be larger than it should be.
                   5608:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5609:     ;;
                   5610: 
1.10    ! moko     5611:   gnu* | ironclad*)
        !          5612:     # Under GNU Hurd and Ironclad, this test is not required because there
        !          5613:     # is no limit to the length of command line arguments.
1.5       moko     5614:     # Libtool will interpret -1 as no limit whatsoever
                   5615:     lt_cv_sys_max_cmd_len=-1;
                   5616:     ;;
                   5617: 
1.10    ! moko     5618:   cygwin* | mingw* | windows* | cegcc*)
1.5       moko     5619:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5620:     # about 5 minutes as the teststring grows exponentially.
                   5621:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5622:     # you end up with a "frozen" computer, even though with patience
                   5623:     # the test eventually succeeds (with a max line length of 256k).
                   5624:     # Instead, let's just punt: use the minimum linelength reported by
                   5625:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5626:     lt_cv_sys_max_cmd_len=8192;
                   5627:     ;;
                   5628: 
                   5629:   mint*)
                   5630:     # On MiNT this can take a long time and run out of memory.
                   5631:     lt_cv_sys_max_cmd_len=8192;
                   5632:     ;;
                   5633: 
                   5634:   amigaos*)
                   5635:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5636:     # So we just punt and use a minimum line length of 8192.
                   5637:     lt_cv_sys_max_cmd_len=8192;
                   5638:     ;;
                   5639: 
1.10    ! moko     5640:   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
1.5       moko     5641:     # This has been around since 386BSD, at least.  Likely further.
                   5642:     if test -x /sbin/sysctl; then
                   5643:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5644:     elif test -x /usr/sbin/sysctl; then
                   5645:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5646:     else
                   5647:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5648:     fi
                   5649:     # And add a safety zone
                   5650:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5651:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5652:     ;;
                   5653: 
                   5654:   interix*)
                   5655:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5656:     lt_cv_sys_max_cmd_len=196608
                   5657:     ;;
                   5658: 
                   5659:   os2*)
                   5660:     # The test takes a long time on OS/2.
                   5661:     lt_cv_sys_max_cmd_len=8192
                   5662:     ;;
                   5663: 
                   5664:   osf*)
                   5665:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5666:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5667:     # nice to cause kernel panics so lets avoid the loop below.
                   5668:     # First set a reasonable default.
                   5669:     lt_cv_sys_max_cmd_len=16384
                   5670:     #
                   5671:     if test -x /sbin/sysconfig; then
                   5672:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5673:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5674:       esac
                   5675:     fi
                   5676:     ;;
                   5677:   sco3.2v5*)
                   5678:     lt_cv_sys_max_cmd_len=102400
                   5679:     ;;
                   5680:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5681:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5682:     if test -n "$kargmax"; then
1.10    ! moko     5683:       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[        ]//'`
1.5       moko     5684:     else
                   5685:       lt_cv_sys_max_cmd_len=32768
                   5686:     fi
                   5687:     ;;
                   5688:   *)
                   5689:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1.10    ! moko     5690:     if test -n "$lt_cv_sys_max_cmd_len" && \
        !          5691:        test undefined != "$lt_cv_sys_max_cmd_len"; then
1.5       moko     5692:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5693:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5694:     else
                   5695:       # Make teststring a little bigger before we do anything with it.
                   5696:       # a 1K string should be a reasonable start.
1.10    ! moko     5697:       for i in 1 2 3 4 5 6 7 8; do
1.5       moko     5698:         teststring=$teststring$teststring
                   5699:       done
                   5700:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5701:       # If test is not a shell built-in, we'll probably end up computing a
                   5702:       # maximum length that is only half of the actual maximum length, but
                   5703:       # we can't tell.
1.10    ! moko     5704:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1.5       moko     5705:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.10    ! moko     5706:              test 17 != "$i" # 1/2 MB should be enough
1.5       moko     5707:       do
                   5708:         i=`expr $i + 1`
                   5709:         teststring=$teststring$teststring
                   5710:       done
                   5711:       # Only check the string length outside the loop.
                   5712:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5713:       teststring=
                   5714:       # Add a significant safety factor because C++ compilers can tack on
                   5715:       # massive amounts of additional arguments before passing them to the
                   5716:       # linker.  It appears as though 1/2 is a usable value.
                   5717:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5718:     fi
                   5719:     ;;
                   5720:   esac
1.10    ! moko     5721:  ;;
        !          5722: esac
1.5       moko     5723: fi
                   5724: 
1.10    ! moko     5725: if test -n "$lt_cv_sys_max_cmd_len"; then
        !          5726:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
        !          5727: printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
1.5       moko     5728: else
1.10    ! moko     5729:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
        !          5730: printf "%s\n" "none" >&6; }
1.5       moko     5731: fi
                   5732: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5733: 
                   5734: 
                   5735: 
                   5736: 
                   5737: 
                   5738: 
                   5739: : ${CP="cp -f"}
                   5740: : ${MV="mv -f"}
                   5741: : ${RM="rm -f"}
                   5742: 
                   5743: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5744:   lt_unset=unset
                   5745: else
                   5746:   lt_unset=false
                   5747: fi
                   5748: 
                   5749: 
                   5750: 
                   5751: 
                   5752: 
                   5753: # test EBCDIC or ASCII
                   5754: case `echo X|tr X '\101'` in
                   5755:  A) # ASCII based system
                   5756:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5757:   lt_SP2NL='tr \040 \012'
                   5758:   lt_NL2SP='tr \015\012 \040\040'
                   5759:   ;;
                   5760:  *) # EBCDIC based system
                   5761:   lt_SP2NL='tr \100 \n'
                   5762:   lt_NL2SP='tr \r\n \100\100'
                   5763:   ;;
                   5764: esac
                   5765: 
                   5766: 
                   5767: 
                   5768: 
                   5769: 
                   5770: 
                   5771: 
                   5772: 
                   5773: 
1.10    ! moko     5774: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          5775: printf %s "checking how to convert $build file names to $host format... " >&6; }
        !          5776: if test ${lt_cv_to_host_file_cmd+y}
        !          5777: then :
        !          5778:   printf %s "(cached) " >&6
        !          5779: else case e in #(
        !          5780:   e) case $host in
1.5       moko     5781:   *-*-mingw* )
                   5782:     case $build in
1.10    ! moko     5783:       *-*-mingw* | *-*-windows* ) # actually msys
1.5       moko     5784:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5785:         ;;
                   5786:       *-*-cygwin* )
                   5787:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5788:         ;;
                   5789:       * ) # otherwise, assume *nix
                   5790:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5791:         ;;
                   5792:     esac
                   5793:     ;;
                   5794:   *-*-cygwin* )
                   5795:     case $build in
1.10    ! moko     5796:       *-*-mingw* | *-*-windows* ) # actually msys
1.5       moko     5797:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5798:         ;;
                   5799:       *-*-cygwin* )
                   5800:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5801:         ;;
                   5802:       * ) # otherwise, assume *nix
                   5803:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5804:         ;;
                   5805:     esac
                   5806:     ;;
                   5807:   * ) # unhandled hosts (and "normal" native builds)
                   5808:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5809:     ;;
                   5810: esac
1.10    ! moko     5811:  ;;
        !          5812: esac
1.5       moko     5813: fi
                   5814: 
                   5815: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.10    ! moko     5816: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          5817: printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
1.5       moko     5818: 
                   5819: 
                   5820: 
                   5821: 
                   5822: 
1.10    ! moko     5823: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          5824: printf %s "checking how to convert $build file names to toolchain format... " >&6; }
        !          5825: if test ${lt_cv_to_tool_file_cmd+y}
        !          5826: then :
        !          5827:   printf %s "(cached) " >&6
        !          5828: else case e in #(
        !          5829:   e) #assume ordinary cross tools, or native build.
1.5       moko     5830: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5831: case $host in
1.10    ! moko     5832:   *-*-mingw* | *-*-windows* )
1.5       moko     5833:     case $build in
1.10    ! moko     5834:       *-*-mingw* | *-*-windows* ) # actually msys
1.5       moko     5835:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5836:         ;;
                   5837:     esac
                   5838:     ;;
                   5839: esac
1.10    ! moko     5840:  ;;
        !          5841: esac
1.5       moko     5842: fi
                   5843: 
                   5844: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.10    ! moko     5845: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          5846: printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
1.5       moko     5847: 
                   5848: 
                   5849: 
                   5850: 
                   5851: 
1.10    ! moko     5852: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
        !          5853: printf %s "checking for $LD option to reload object files... " >&6; }
        !          5854: if test ${lt_cv_ld_reload_flag+y}
        !          5855: then :
        !          5856:   printf %s "(cached) " >&6
        !          5857: else case e in #(
        !          5858:   e) lt_cv_ld_reload_flag='-r' ;;
        !          5859: esac
1.5       moko     5860: fi
1.10    ! moko     5861: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
        !          5862: printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
1.5       moko     5863: reload_flag=$lt_cv_ld_reload_flag
                   5864: case $reload_flag in
                   5865: "" | " "*) ;;
                   5866: *) reload_flag=" $reload_flag" ;;
                   5867: esac
                   5868: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5869: case $host_os in
1.10    ! moko     5870:   cygwin* | mingw* | windows* | pw32* | cegcc*)
        !          5871:     if test yes != "$GCC"; then
1.5       moko     5872:       reload_cmds=false
                   5873:     fi
                   5874:     ;;
                   5875:   darwin*)
1.10    ! moko     5876:     if test yes = "$GCC"; then
        !          5877:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
1.5       moko     5878:     else
                   5879:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5880:     fi
                   5881:     ;;
                   5882: esac
                   5883: 
                   5884: 
                   5885: 
                   5886: 
                   5887: 
                   5888: 
                   5889: 
                   5890: 
                   5891: 
1.10    ! moko     5892: # Extract the first word of "file", so it can be a program name with args.
        !          5893: set dummy file; ac_word=$2
        !          5894: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5895: printf %s "checking for $ac_word... " >&6; }
        !          5896: if test ${ac_cv_prog_FILECMD+y}
        !          5897: then :
        !          5898:   printf %s "(cached) " >&6
        !          5899: else case e in #(
        !          5900:   e) if test -n "$FILECMD"; then
        !          5901:   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
        !          5902: else
        !          5903: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5904: for as_dir in $PATH
        !          5905: do
        !          5906:   IFS=$as_save_IFS
        !          5907:   case $as_dir in #(((
        !          5908:     '') as_dir=./ ;;
        !          5909:     */) ;;
        !          5910:     *) as_dir=$as_dir/ ;;
        !          5911:   esac
        !          5912:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5913:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          5914:     ac_cv_prog_FILECMD="file"
        !          5915:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          5916:     break 2
        !          5917:   fi
        !          5918: done
        !          5919:   done
        !          5920: IFS=$as_save_IFS
        !          5921: 
        !          5922:   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
        !          5923: fi ;;
        !          5924: esac
        !          5925: fi
        !          5926: FILECMD=$ac_cv_prog_FILECMD
        !          5927: if test -n "$FILECMD"; then
        !          5928:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
        !          5929: printf "%s\n" "$FILECMD" >&6; }
        !          5930: else
        !          5931:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5932: printf "%s\n" "no" >&6; }
        !          5933: fi
        !          5934: 
        !          5935: 
        !          5936: 
        !          5937: 
        !          5938: 
        !          5939: 
        !          5940: 
        !          5941: 
1.5       moko     5942: if test -n "$ac_tool_prefix"; then
                   5943:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5944: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.10    ! moko     5945: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5946: printf %s "checking for $ac_word... " >&6; }
        !          5947: if test ${ac_cv_prog_OBJDUMP+y}
        !          5948: then :
        !          5949:   printf %s "(cached) " >&6
        !          5950: else case e in #(
        !          5951:   e) if test -n "$OBJDUMP"; then
1.5       moko     5952:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5953: else
                   5954: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5955: for as_dir in $PATH
                   5956: do
                   5957:   IFS=$as_save_IFS
1.10    ! moko     5958:   case $as_dir in #(((
        !          5959:     '') as_dir=./ ;;
        !          5960:     */) ;;
        !          5961:     *) as_dir=$as_dir/ ;;
        !          5962:   esac
1.5       moko     5963:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     5964:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     5965:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.10    ! moko     5966:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     5967:     break 2
                   5968:   fi
                   5969: done
                   5970:   done
                   5971: IFS=$as_save_IFS
                   5972: 
1.10    ! moko     5973: fi ;;
        !          5974: esac
1.5       moko     5975: fi
                   5976: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5977: if test -n "$OBJDUMP"; then
1.10    ! moko     5978:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          5979: printf "%s\n" "$OBJDUMP" >&6; }
1.5       moko     5980: else
1.10    ! moko     5981:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5982: printf "%s\n" "no" >&6; }
1.5       moko     5983: fi
                   5984: 
                   5985: 
                   5986: fi
                   5987: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5988:   ac_ct_OBJDUMP=$OBJDUMP
                   5989:   # Extract the first word of "objdump", so it can be a program name with args.
                   5990: set dummy objdump; ac_word=$2
1.10    ! moko     5991: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5992: printf %s "checking for $ac_word... " >&6; }
        !          5993: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
        !          5994: then :
        !          5995:   printf %s "(cached) " >&6
        !          5996: else case e in #(
        !          5997:   e) if test -n "$ac_ct_OBJDUMP"; then
1.5       moko     5998:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5999: else
                   6000: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6001: for as_dir in $PATH
                   6002: do
                   6003:   IFS=$as_save_IFS
1.10    ! moko     6004:   case $as_dir in #(((
        !          6005:     '') as_dir=./ ;;
        !          6006:     */) ;;
        !          6007:     *) as_dir=$as_dir/ ;;
        !          6008:   esac
1.5       moko     6009:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6010:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6011:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.10    ! moko     6012:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6013:     break 2
                   6014:   fi
                   6015: done
                   6016:   done
                   6017: IFS=$as_save_IFS
                   6018: 
1.10    ! moko     6019: fi ;;
        !          6020: esac
1.5       moko     6021: fi
                   6022: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6023: if test -n "$ac_ct_OBJDUMP"; then
1.10    ! moko     6024:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          6025: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.5       moko     6026: else
1.10    ! moko     6027:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6028: printf "%s\n" "no" >&6; }
1.5       moko     6029: fi
                   6030: 
                   6031:   if test "x$ac_ct_OBJDUMP" = x; then
                   6032:     OBJDUMP="false"
                   6033:   else
                   6034:     case $cross_compiling:$ac_tool_warned in
                   6035: yes:)
1.10    ! moko     6036: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6037: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     6038: ac_tool_warned=yes ;;
                   6039: esac
                   6040:     OBJDUMP=$ac_ct_OBJDUMP
                   6041:   fi
                   6042: else
                   6043:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.4       paf      6044: fi
                   6045: 
1.5       moko     6046: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6047: 
                   6048: 
                   6049: 
                   6050: 
                   6051: 
                   6052: 
1.10    ! moko     6053: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
        !          6054: printf %s "checking how to recognize dependent libraries... " >&6; }
        !          6055: if test ${lt_cv_deplibs_check_method+y}
        !          6056: then :
        !          6057:   printf %s "(cached) " >&6
        !          6058: else case e in #(
        !          6059:   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
1.4       paf      6060: lt_cv_file_magic_test_file=
                   6061: lt_cv_deplibs_check_method='unknown'
                   6062: # Need to set the preceding variable on all platforms that support
                   6063: # interlibrary dependencies.
                   6064: # 'none' -- dependencies not supported.
1.10    ! moko     6065: # 'unknown' -- same as none, but documents that we really don't know.
1.4       paf      6066: # 'pass_all' -- all dependencies passed with no checks.
                   6067: # 'file_magic [[regex]]' -- check by looking for files in library path
1.10    ! moko     6068: # that responds to the $file_magic_cmd with a given extended regex.
        !          6069: # If you have 'file' or equivalent on your system and you're not sure
        !          6070: # whether 'pass_all' will *always* work, you probably want this one.
1.4       paf      6071: 
                   6072: case $host_os in
1.5       moko     6073: aix[4-9]*)
1.4       paf      6074:   lt_cv_deplibs_check_method=pass_all
                   6075:   ;;
                   6076: 
                   6077: beos*)
                   6078:   lt_cv_deplibs_check_method=pass_all
                   6079:   ;;
                   6080: 
1.5       moko     6081: bsdi[45]*)
1.4       paf      6082:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1.10    ! moko     6083:   lt_cv_file_magic_cmd='$FILECMD -L'
1.4       paf      6084:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6085:   ;;
                   6086: 
1.5       moko     6087: cygwin*)
                   6088:   # func_win32_libid is a shell function defined in ltmain.sh
                   6089:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6090:   lt_cv_file_magic_cmd='func_win32_libid'
                   6091:   ;;
                   6092: 
1.10    ! moko     6093: mingw* | windows* | pw32*)
1.5       moko     6094:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6095:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6096:   # unless we find 'file', for example because we are cross-compiling.
1.10    ! moko     6097:   if ( file / ) >/dev/null 2>&1; then
1.5       moko     6098:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6099:     lt_cv_file_magic_cmd='func_win32_libid'
                   6100:   else
                   6101:     # Keep this pattern in sync with the one in func_win32_libid.
1.10    ! moko     6102:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
1.5       moko     6103:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6104:   fi
                   6105:   ;;
                   6106: 
                   6107: cegcc*)
                   6108:   # use the weaker test based on 'objdump'. See mingw*.
                   6109:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.4       paf      6110:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6111:   ;;
                   6112: 
                   6113: darwin* | rhapsody*)
1.5       moko     6114:   lt_cv_deplibs_check_method=pass_all
1.4       paf      6115:   ;;
                   6116: 
1.10    ! moko     6117: freebsd* | dragonfly* | midnightbsd*)
1.5       moko     6118:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.4       paf      6119:     case $host_cpu in
                   6120:     i*86 )
                   6121:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6122:       # Let's accept both of them until this is cleared up.
1.5       moko     6123:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.10    ! moko     6124:       lt_cv_file_magic_cmd=$FILECMD
1.4       paf      6125:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6126:       ;;
                   6127:     esac
                   6128:   else
                   6129:     lt_cv_deplibs_check_method=pass_all
                   6130:   fi
                   6131:   ;;
                   6132: 
1.5       moko     6133: haiku*)
                   6134:   lt_cv_deplibs_check_method=pass_all
1.4       paf      6135:   ;;
                   6136: 
1.5       moko     6137: hpux10.20* | hpux11*)
1.10    ! moko     6138:   lt_cv_file_magic_cmd=$FILECMD
1.5       moko     6139:   case $host_cpu in
                   6140:   ia64*)
                   6141:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6142:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6143:     ;;
                   6144:   hppa*64*)
                   6145:     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]'
                   6146:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.4       paf      6147:     ;;
                   6148:   *)
1.5       moko     6149:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6150:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.4       paf      6151:     ;;
                   6152:   esac
                   6153:   ;;
                   6154: 
1.5       moko     6155: interix[3-9]*)
                   6156:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6157:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6158:   ;;
                   6159: 
                   6160: irix5* | irix6* | nonstopux*)
                   6161:   case $LD in
                   6162:   *-32|*"-32 ") libmagic=32-bit;;
                   6163:   *-n32|*"-n32 ") libmagic=N32;;
                   6164:   *-64|*"-64 ") libmagic=64-bit;;
                   6165:   *) libmagic=never-match;;
                   6166:   esac
                   6167:   lt_cv_deplibs_check_method=pass_all
                   6168:   ;;
                   6169: 
                   6170: # This must be glibc/ELF.
1.10    ! moko     6171: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          6172:   lt_cv_deplibs_check_method=pass_all
        !          6173:   ;;
        !          6174: 
        !          6175: *-mlibc)
1.5       moko     6176:   lt_cv_deplibs_check_method=pass_all
1.4       paf      6177:   ;;
                   6178: 
1.10    ! moko     6179: netbsd* | netbsdelf*-gnu)
1.5       moko     6180:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6181:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.4       paf      6182:   else
1.5       moko     6183:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.4       paf      6184:   fi
                   6185:   ;;
                   6186: 
                   6187: newos6*)
                   6188:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1.10    ! moko     6189:   lt_cv_file_magic_cmd=$FILECMD
1.4       paf      6190:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6191:   ;;
                   6192: 
1.5       moko     6193: *nto* | *qnx*)
                   6194:   lt_cv_deplibs_check_method=pass_all
                   6195:   ;;
                   6196: 
1.4       paf      6197: openbsd*)
1.10    ! moko     6198:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.5       moko     6199:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.4       paf      6200:   else
1.5       moko     6201:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.4       paf      6202:   fi
                   6203:   ;;
                   6204: 
                   6205: osf3* | osf4* | osf5*)
                   6206:   lt_cv_deplibs_check_method=pass_all
                   6207:   ;;
                   6208: 
1.5       moko     6209: rdos*)
1.4       paf      6210:   lt_cv_deplibs_check_method=pass_all
                   6211:   ;;
                   6212: 
1.10    ! moko     6213: serenity*)
        !          6214:   lt_cv_deplibs_check_method=pass_all
        !          6215:   ;;
        !          6216: 
1.4       paf      6217: solaris*)
                   6218:   lt_cv_deplibs_check_method=pass_all
                   6219:   ;;
                   6220: 
1.5       moko     6221: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.4       paf      6222:   lt_cv_deplibs_check_method=pass_all
                   6223:   ;;
                   6224: 
1.5       moko     6225: sysv4 | sysv4.3*)
1.4       paf      6226:   case $host_vendor in
                   6227:   motorola)
                   6228:     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]'
                   6229:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6230:     ;;
                   6231:   ncr)
                   6232:     lt_cv_deplibs_check_method=pass_all
                   6233:     ;;
                   6234:   sequent)
                   6235:     lt_cv_file_magic_cmd='/bin/file'
                   6236:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6237:     ;;
                   6238:   sni)
                   6239:     lt_cv_file_magic_cmd='/bin/file'
                   6240:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6241:     lt_cv_file_magic_test_file=/lib/libc.so
                   6242:     ;;
                   6243:   siemens)
                   6244:     lt_cv_deplibs_check_method=pass_all
                   6245:     ;;
1.5       moko     6246:   pc)
                   6247:     lt_cv_deplibs_check_method=pass_all
                   6248:     ;;
1.4       paf      6249:   esac
                   6250:   ;;
1.5       moko     6251: 
                   6252: tpf*)
                   6253:   lt_cv_deplibs_check_method=pass_all
                   6254:   ;;
1.10    ! moko     6255: os2*)
        !          6256:   lt_cv_deplibs_check_method=pass_all
        !          6257:   ;;
        !          6258: esac
        !          6259:  ;;
1.4       paf      6260: esac
                   6261: fi
1.10    ! moko     6262: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
        !          6263: printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
1.5       moko     6264: 
                   6265: file_magic_glob=
                   6266: want_nocaseglob=no
                   6267: if test "$build" = "$host"; then
                   6268:   case $host_os in
1.10    ! moko     6269:   mingw* | windows* | pw32*)
1.5       moko     6270:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6271:       want_nocaseglob=yes
                   6272:     else
                   6273:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6274:     fi
                   6275:     ;;
                   6276:   esac
                   6277: fi
                   6278: 
1.4       paf      6279: file_magic_cmd=$lt_cv_file_magic_cmd
                   6280: deplibs_check_method=$lt_cv_deplibs_check_method
1.5       moko     6281: test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.4       paf      6282: 
                   6283: 
                   6284: 
                   6285: 
                   6286: 
                   6287: 
                   6288: 
                   6289: 
                   6290: 
                   6291: 
                   6292: 
                   6293: 
                   6294: 
                   6295: 
                   6296: 
                   6297: 
                   6298: 
                   6299: 
                   6300: 
                   6301: 
                   6302: 
                   6303: 
1.5       moko     6304: if test -n "$ac_tool_prefix"; then
                   6305:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6306: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.10    ! moko     6307: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6308: printf %s "checking for $ac_word... " >&6; }
        !          6309: if test ${ac_cv_prog_DLLTOOL+y}
        !          6310: then :
        !          6311:   printf %s "(cached) " >&6
        !          6312: else case e in #(
        !          6313:   e) if test -n "$DLLTOOL"; then
1.5       moko     6314:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6315: else
                   6316: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6317: for as_dir in $PATH
                   6318: do
                   6319:   IFS=$as_save_IFS
1.10    ! moko     6320:   case $as_dir in #(((
        !          6321:     '') as_dir=./ ;;
        !          6322:     */) ;;
        !          6323:     *) as_dir=$as_dir/ ;;
        !          6324:   esac
1.5       moko     6325:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6326:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6327:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.10    ! moko     6328:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6329:     break 2
1.4       paf      6330:   fi
                   6331: done
1.5       moko     6332:   done
                   6333: IFS=$as_save_IFS
1.4       paf      6334: 
1.10    ! moko     6335: fi ;;
        !          6336: esac
1.4       paf      6337: fi
1.5       moko     6338: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6339: if test -n "$DLLTOOL"; then
1.10    ! moko     6340:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          6341: printf "%s\n" "$DLLTOOL" >&6; }
1.4       paf      6342: else
1.10    ! moko     6343:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6344: printf "%s\n" "no" >&6; }
1.4       paf      6345: fi
                   6346: 
1.5       moko     6347: 
1.4       paf      6348: fi
1.5       moko     6349: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6350:   ac_ct_DLLTOOL=$DLLTOOL
                   6351:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6352: set dummy dlltool; ac_word=$2
1.10    ! moko     6353: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6354: printf %s "checking for $ac_word... " >&6; }
        !          6355: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
        !          6356: then :
        !          6357:   printf %s "(cached) " >&6
        !          6358: else case e in #(
        !          6359:   e) if test -n "$ac_ct_DLLTOOL"; then
1.5       moko     6360:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.4       paf      6361: else
1.5       moko     6362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6363: for as_dir in $PATH
1.4       paf      6364: do
1.5       moko     6365:   IFS=$as_save_IFS
1.10    ! moko     6366:   case $as_dir in #(((
        !          6367:     '') as_dir=./ ;;
        !          6368:     */) ;;
        !          6369:     *) as_dir=$as_dir/ ;;
        !          6370:   esac
1.5       moko     6371:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6372:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6373:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.10    ! moko     6374:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6375:     break 2
1.4       paf      6376:   fi
1.5       moko     6377: done
                   6378:   done
                   6379: IFS=$as_save_IFS
                   6380: 
1.10    ! moko     6381: fi ;;
        !          6382: esac
1.4       paf      6383: fi
1.5       moko     6384: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6385: if test -n "$ac_ct_DLLTOOL"; then
1.10    ! moko     6386:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          6387: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
1.4       paf      6388: else
1.10    ! moko     6389:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6390: printf "%s\n" "no" >&6; }
1.4       paf      6391: fi
                   6392: 
1.5       moko     6393:   if test "x$ac_ct_DLLTOOL" = x; then
                   6394:     DLLTOOL="false"
1.4       paf      6395:   else
1.5       moko     6396:     case $cross_compiling:$ac_tool_warned in
                   6397: yes:)
1.10    ! moko     6398: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6399: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     6400: ac_tool_warned=yes ;;
                   6401: esac
                   6402:     DLLTOOL=$ac_ct_DLLTOOL
1.4       paf      6403:   fi
                   6404: else
1.5       moko     6405:   DLLTOOL="$ac_cv_prog_DLLTOOL"
1.4       paf      6406: fi
1.5       moko     6407: 
                   6408: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6409: 
                   6410: 
                   6411: 
                   6412: 
                   6413: 
                   6414: 
                   6415: 
1.10    ! moko     6416: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          6417: printf %s "checking how to associate runtime and link libraries... " >&6; }
        !          6418: if test ${lt_cv_sharedlib_from_linklib_cmd+y}
        !          6419: then :
        !          6420:   printf %s "(cached) " >&6
        !          6421: else case e in #(
        !          6422:   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
1.5       moko     6423: 
                   6424: case $host_os in
1.10    ! moko     6425: cygwin* | mingw* | windows* | pw32* | cegcc*)
        !          6426:   # two different shell functions defined in ltmain.sh;
        !          6427:   # decide which one to use based on capabilities of $DLLTOOL
1.5       moko     6428:   case `$DLLTOOL --help 2>&1` in
                   6429:   *--identify-strict*)
                   6430:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6431:     ;;
                   6432:   *)
                   6433:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6434:     ;;
                   6435:   esac
                   6436:   ;;
                   6437: *)
                   6438:   # fallback: assume linklib IS sharedlib
1.10    ! moko     6439:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
1.5       moko     6440:   ;;
                   6441: esac
1.10    ! moko     6442:  ;;
        !          6443: esac
1.4       paf      6444: fi
1.10    ! moko     6445: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          6446: printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.5       moko     6447: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6448: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6449: 
                   6450: 
                   6451: 
                   6452: 
                   6453: 
1.4       paf      6454: 
                   6455: 
                   6456: 
1.5       moko     6457: if test -n "$ac_tool_prefix"; then
1.10    ! moko     6458:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          6459: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          6460: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6461: printf %s "checking for $ac_word... " >&6; }
        !          6462: if test ${ac_cv_prog_RANLIB+y}
        !          6463: then :
        !          6464:   printf %s "(cached) " >&6
        !          6465: else case e in #(
        !          6466:   e) if test -n "$RANLIB"; then
        !          6467:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          6468: else
        !          6469: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6470: for as_dir in $PATH
        !          6471: do
        !          6472:   IFS=$as_save_IFS
        !          6473:   case $as_dir in #(((
        !          6474:     '') as_dir=./ ;;
        !          6475:     */) ;;
        !          6476:     *) as_dir=$as_dir/ ;;
        !          6477:   esac
        !          6478:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6479:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          6480:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          6481:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          6482:     break 2
        !          6483:   fi
        !          6484: done
        !          6485:   done
        !          6486: IFS=$as_save_IFS
        !          6487: 
        !          6488: fi ;;
        !          6489: esac
        !          6490: fi
        !          6491: RANLIB=$ac_cv_prog_RANLIB
        !          6492: if test -n "$RANLIB"; then
        !          6493:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          6494: printf "%s\n" "$RANLIB" >&6; }
        !          6495: else
        !          6496:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6497: printf "%s\n" "no" >&6; }
        !          6498: fi
        !          6499: 
        !          6500: 
        !          6501: fi
        !          6502: if test -z "$ac_cv_prog_RANLIB"; then
        !          6503:   ac_ct_RANLIB=$RANLIB
        !          6504:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          6505: set dummy ranlib; ac_word=$2
        !          6506: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6507: printf %s "checking for $ac_word... " >&6; }
        !          6508: if test ${ac_cv_prog_ac_ct_RANLIB+y}
        !          6509: then :
        !          6510:   printf %s "(cached) " >&6
        !          6511: else case e in #(
        !          6512:   e) if test -n "$ac_ct_RANLIB"; then
        !          6513:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          6514: else
        !          6515: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6516: for as_dir in $PATH
        !          6517: do
        !          6518:   IFS=$as_save_IFS
        !          6519:   case $as_dir in #(((
        !          6520:     '') as_dir=./ ;;
        !          6521:     */) ;;
        !          6522:     *) as_dir=$as_dir/ ;;
        !          6523:   esac
        !          6524:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6525:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          6526:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          6527:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          6528:     break 2
        !          6529:   fi
        !          6530: done
        !          6531:   done
        !          6532: IFS=$as_save_IFS
        !          6533: 
        !          6534: fi ;;
        !          6535: esac
        !          6536: fi
        !          6537: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          6538: if test -n "$ac_ct_RANLIB"; then
        !          6539:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          6540: printf "%s\n" "$ac_ct_RANLIB" >&6; }
        !          6541: else
        !          6542:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6543: printf "%s\n" "no" >&6; }
        !          6544: fi
        !          6545: 
        !          6546:   if test "x$ac_ct_RANLIB" = x; then
        !          6547:     RANLIB=":"
        !          6548:   else
        !          6549:     case $cross_compiling:$ac_tool_warned in
        !          6550: yes:)
        !          6551: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6552: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6553: ac_tool_warned=yes ;;
        !          6554: esac
        !          6555:     RANLIB=$ac_ct_RANLIB
        !          6556:   fi
        !          6557: else
        !          6558:   RANLIB="$ac_cv_prog_RANLIB"
        !          6559: fi
        !          6560: 
        !          6561: if test -n "$ac_tool_prefix"; then
1.5       moko     6562:   for ac_prog in ar
                   6563:   do
                   6564:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6565: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.10    ! moko     6566: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6567: printf %s "checking for $ac_word... " >&6; }
        !          6568: if test ${ac_cv_prog_AR+y}
        !          6569: then :
        !          6570:   printf %s "(cached) " >&6
        !          6571: else case e in #(
        !          6572:   e) if test -n "$AR"; then
1.5       moko     6573:   ac_cv_prog_AR="$AR" # Let the user override the test.
1.4       paf      6574: else
1.5       moko     6575: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6576: for as_dir in $PATH
                   6577: do
                   6578:   IFS=$as_save_IFS
1.10    ! moko     6579:   case $as_dir in #(((
        !          6580:     '') as_dir=./ ;;
        !          6581:     */) ;;
        !          6582:     *) as_dir=$as_dir/ ;;
        !          6583:   esac
1.5       moko     6584:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6585:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6586:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.10    ! moko     6587:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6588:     break 2
                   6589:   fi
                   6590: done
                   6591:   done
                   6592: IFS=$as_save_IFS
                   6593: 
1.10    ! moko     6594: fi ;;
        !          6595: esac
1.5       moko     6596: fi
                   6597: AR=$ac_cv_prog_AR
                   6598: if test -n "$AR"; then
1.10    ! moko     6599:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          6600: printf "%s\n" "$AR" >&6; }
1.5       moko     6601: else
1.10    ! moko     6602:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6603: printf "%s\n" "no" >&6; }
1.5       moko     6604: fi
                   6605: 
                   6606: 
                   6607:     test -n "$AR" && break
                   6608:   done
1.4       paf      6609: fi
1.5       moko     6610: if test -z "$AR"; then
                   6611:   ac_ct_AR=$AR
                   6612:   for ac_prog in ar
                   6613: do
                   6614:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6615: set dummy $ac_prog; ac_word=$2
1.10    ! moko     6616: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6617: printf %s "checking for $ac_word... " >&6; }
        !          6618: if test ${ac_cv_prog_ac_ct_AR+y}
        !          6619: then :
        !          6620:   printf %s "(cached) " >&6
        !          6621: else case e in #(
        !          6622:   e) if test -n "$ac_ct_AR"; then
1.5       moko     6623:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6624: else
                   6625: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6626: for as_dir in $PATH
1.4       paf      6627: do
1.5       moko     6628:   IFS=$as_save_IFS
1.10    ! moko     6629:   case $as_dir in #(((
        !          6630:     '') as_dir=./ ;;
        !          6631:     */) ;;
        !          6632:     *) as_dir=$as_dir/ ;;
        !          6633:   esac
1.5       moko     6634:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6635:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6636:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.10    ! moko     6637:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6638:     break 2
1.4       paf      6639:   fi
1.5       moko     6640: done
                   6641:   done
                   6642: IFS=$as_save_IFS
                   6643: 
1.10    ! moko     6644: fi ;;
        !          6645: esac
1.5       moko     6646: fi
                   6647: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6648: if test -n "$ac_ct_AR"; then
1.10    ! moko     6649:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
        !          6650: printf "%s\n" "$ac_ct_AR" >&6; }
1.4       paf      6651: else
1.10    ! moko     6652:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6653: printf "%s\n" "no" >&6; }
1.4       paf      6654: fi
                   6655: 
                   6656: 
1.5       moko     6657:   test -n "$ac_ct_AR" && break
                   6658: done
                   6659: 
                   6660:   if test "x$ac_ct_AR" = x; then
                   6661:     AR="false"
1.4       paf      6662:   else
1.5       moko     6663:     case $cross_compiling:$ac_tool_warned in
                   6664: yes:)
1.10    ! moko     6665: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6666: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     6667: ac_tool_warned=yes ;;
                   6668: esac
                   6669:     AR=$ac_ct_AR
1.4       paf      6670:   fi
                   6671: fi
                   6672: 
1.5       moko     6673: : ${AR=ar}
                   6674: 
                   6675: 
                   6676: 
                   6677: 
                   6678: 
1.4       paf      6679: 
1.10    ! moko     6680: # Use ARFLAGS variable as AR's operation code to sync the variable naming with
        !          6681: # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
        !          6682: # higher priority because that's what people were doing historically (setting
        !          6683: # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
        !          6684: # variable obsoleted/removed.
        !          6685: 
        !          6686: test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
        !          6687: lt_ar_flags=$AR_FLAGS
        !          6688: 
        !          6689: 
        !          6690: 
        !          6691: 
        !          6692: 
1.4       paf      6693: 
1.10    ! moko     6694: # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
        !          6695: # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1.4       paf      6696: 
                   6697: 
                   6698: 
                   6699: 
1.10    ! moko     6700: 
        !          6701: 
        !          6702: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          6703: printf %s "checking for archiver @FILE support... " >&6; }
        !          6704: if test ${lt_cv_ar_at_file+y}
        !          6705: then :
        !          6706:   printf %s "(cached) " >&6
        !          6707: else case e in #(
        !          6708:   e) lt_cv_ar_at_file=no
1.5       moko     6709:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      6710: /* end confdefs.h.  */
                   6711: 
                   6712: int
1.10    ! moko     6713: main (void)
1.4       paf      6714: {
                   6715: 
                   6716:   ;
                   6717:   return 0;
                   6718: }
                   6719: _ACEOF
1.10    ! moko     6720: if ac_fn_c_try_compile "$LINENO"
        !          6721: then :
1.5       moko     6722:   echo conftest.$ac_objext > conftest.lst
                   6723:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   6724:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   6725:   (eval $lt_ar_try) 2>&5
                   6726:   ac_status=$?
1.10    ! moko     6727:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     6728:   test $ac_status = 0; }
1.10    ! moko     6729:       if test 0 -eq "$ac_status"; then
1.5       moko     6730:        # Ensure the archiver fails upon bogus file names.
                   6731:        rm -f conftest.$ac_objext libconftest.a
                   6732:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   6733:   (eval $lt_ar_try) 2>&5
                   6734:   ac_status=$?
1.10    ! moko     6735:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     6736:   test $ac_status = 0; }
1.10    ! moko     6737:        if test 0 -ne "$ac_status"; then
1.5       moko     6738:           lt_cv_ar_at_file=@
                   6739:         fi
                   6740:       fi
                   6741:       rm -f conftest.* libconftest.a
1.4       paf      6742: 
                   6743: fi
1.10    ! moko     6744: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          6745:    ;;
        !          6746: esac
1.5       moko     6747: fi
1.10    ! moko     6748: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          6749: printf "%s\n" "$lt_cv_ar_at_file" >&6; }
1.4       paf      6750: 
1.10    ! moko     6751: if test no = "$lt_cv_ar_at_file"; then
1.5       moko     6752:   archiver_list_spec=
1.4       paf      6753: else
1.5       moko     6754:   archiver_list_spec=$lt_cv_ar_at_file
1.4       paf      6755: fi
                   6756: 
                   6757: 
                   6758: 
                   6759: 
                   6760: 
1.5       moko     6761: 
                   6762: 
                   6763: if test -n "$ac_tool_prefix"; then
                   6764:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6765: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.10    ! moko     6766: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6767: printf %s "checking for $ac_word... " >&6; }
        !          6768: if test ${ac_cv_prog_STRIP+y}
        !          6769: then :
        !          6770:   printf %s "(cached) " >&6
        !          6771: else case e in #(
        !          6772:   e) if test -n "$STRIP"; then
1.5       moko     6773:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.4       paf      6774: else
1.5       moko     6775: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6776: for as_dir in $PATH
                   6777: do
                   6778:   IFS=$as_save_IFS
1.10    ! moko     6779:   case $as_dir in #(((
        !          6780:     '') as_dir=./ ;;
        !          6781:     */) ;;
        !          6782:     *) as_dir=$as_dir/ ;;
        !          6783:   esac
1.5       moko     6784:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6785:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6786:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.10    ! moko     6787:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6788:     break 2
                   6789:   fi
                   6790: done
                   6791:   done
                   6792: IFS=$as_save_IFS
1.4       paf      6793: 
1.10    ! moko     6794: fi ;;
        !          6795: esac
1.4       paf      6796: fi
1.5       moko     6797: STRIP=$ac_cv_prog_STRIP
                   6798: if test -n "$STRIP"; then
1.10    ! moko     6799:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          6800: printf "%s\n" "$STRIP" >&6; }
1.5       moko     6801: else
1.10    ! moko     6802:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6803: printf "%s\n" "no" >&6; }
1.4       paf      6804: fi
                   6805: 
                   6806: 
                   6807: fi
1.5       moko     6808: if test -z "$ac_cv_prog_STRIP"; then
                   6809:   ac_ct_STRIP=$STRIP
                   6810:   # Extract the first word of "strip", so it can be a program name with args.
                   6811: set dummy strip; ac_word=$2
1.10    ! moko     6812: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6813: printf %s "checking for $ac_word... " >&6; }
        !          6814: if test ${ac_cv_prog_ac_ct_STRIP+y}
        !          6815: then :
        !          6816:   printf %s "(cached) " >&6
        !          6817: else case e in #(
        !          6818:   e) if test -n "$ac_ct_STRIP"; then
1.5       moko     6819:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6820: else
                   6821: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6822: for as_dir in $PATH
                   6823: do
                   6824:   IFS=$as_save_IFS
1.10    ! moko     6825:   case $as_dir in #(((
        !          6826:     '') as_dir=./ ;;
        !          6827:     */) ;;
        !          6828:     *) as_dir=$as_dir/ ;;
        !          6829:   esac
1.5       moko     6830:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     6831:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     6832:     ac_cv_prog_ac_ct_STRIP="strip"
1.10    ! moko     6833:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     6834:     break 2
                   6835:   fi
                   6836: done
                   6837:   done
                   6838: IFS=$as_save_IFS
1.4       paf      6839: 
1.10    ! moko     6840: fi ;;
        !          6841: esac
1.5       moko     6842: fi
                   6843: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6844: if test -n "$ac_ct_STRIP"; then
1.10    ! moko     6845:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          6846: printf "%s\n" "$ac_ct_STRIP" >&6; }
1.5       moko     6847: else
1.10    ! moko     6848:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6849: printf "%s\n" "no" >&6; }
1.5       moko     6850: fi
1.4       paf      6851: 
1.5       moko     6852:   if test "x$ac_ct_STRIP" = x; then
                   6853:     STRIP=":"
                   6854:   else
                   6855:     case $cross_compiling:$ac_tool_warned in
                   6856: yes:)
1.10    ! moko     6857: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6858: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     6859: ac_tool_warned=yes ;;
                   6860: esac
                   6861:     STRIP=$ac_ct_STRIP
                   6862:   fi
                   6863: else
                   6864:   STRIP="$ac_cv_prog_STRIP"
                   6865: fi
1.4       paf      6866: 
1.5       moko     6867: test -z "$STRIP" && STRIP=:
1.4       paf      6868: 
                   6869: 
                   6870: 
                   6871: 
                   6872: 
                   6873: 
                   6874: 
1.10    ! moko     6875: test -z "$RANLIB" && RANLIB=:
        !          6876: 
        !          6877: 
        !          6878: 
        !          6879: 
1.4       paf      6880: 
                   6881: 
1.10    ! moko     6882: # Determine commands to create old-style static archives.
        !          6883: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
        !          6884: old_postinstall_cmds='chmod 644 $oldlib'
        !          6885: old_postuninstall_cmds=
1.4       paf      6886: 
1.10    ! moko     6887: if test -n "$RANLIB"; then
        !          6888:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
        !          6889:   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.4       paf      6890: fi
                   6891: 
1.5       moko     6892: case $host_os in
                   6893:   darwin*)
                   6894:     lock_old_archive_extraction=yes ;;
                   6895:   *)
                   6896:     lock_old_archive_extraction=no ;;
                   6897: esac
                   6898: 
1.4       paf      6899: 
                   6900: 
                   6901: 
                   6902: 
                   6903: 
                   6904: 
                   6905: 
                   6906: 
                   6907: 
                   6908: 
                   6909: 
                   6910: 
                   6911: 
                   6912: 
                   6913: 
                   6914: 
                   6915: 
                   6916: 
                   6917: 
                   6918: 
                   6919: 
                   6920: 
                   6921: 
                   6922: 
                   6923: 
                   6924: 
                   6925: 
                   6926: 
                   6927: 
                   6928: 
                   6929: 
                   6930: 
                   6931: 
                   6932: 
                   6933: 
                   6934: 
                   6935: 
                   6936: 
1.5       moko     6937: # If no C compiler was specified, use CC.
                   6938: LTCC=${LTCC-"$CC"}
1.4       paf      6939: 
1.5       moko     6940: # If no C compiler flags were specified, use CFLAGS.
                   6941: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.4       paf      6942: 
1.5       moko     6943: # Allow CC to be a program name with arguments.
                   6944: compiler=$CC
1.4       paf      6945: 
                   6946: 
1.5       moko     6947: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.10    ! moko     6948: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
        !          6949: printf %s "checking command to parse $NM output from $compiler object... " >&6; }
        !          6950: if test ${lt_cv_sys_global_symbol_pipe+y}
        !          6951: then :
        !          6952:   printf %s "(cached) " >&6
        !          6953: else case e in #(
        !          6954:   e)
1.5       moko     6955: # These are sane defaults that work on at least a few old systems.
                   6956: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.4       paf      6957: 
1.5       moko     6958: # Character class describing NM global symbol codes.
                   6959: symcode='[BCDEGRST]'
1.4       paf      6960: 
1.5       moko     6961: # Regexp to match symbols that can be accessed directly from C.
                   6962: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.4       paf      6963: 
1.5       moko     6964: # Define system-specific variables.
                   6965: case $host_os in
                   6966: aix*)
                   6967:   symcode='[BCDT]'
                   6968:   ;;
1.10    ! moko     6969: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.5       moko     6970:   symcode='[ABCDGISTW]'
                   6971:   ;;
                   6972: hpux*)
1.10    ! moko     6973:   if test ia64 = "$host_cpu"; then
1.5       moko     6974:     symcode='[ABCDEGRST]'
                   6975:   fi
                   6976:   ;;
                   6977: irix* | nonstopux*)
                   6978:   symcode='[BCDEGRST]'
                   6979:   ;;
                   6980: osf*)
                   6981:   symcode='[BCDEGQRST]'
                   6982:   ;;
                   6983: solaris*)
1.10    ! moko     6984:   symcode='[BCDRT]'
1.5       moko     6985:   ;;
                   6986: sco3.2v5*)
                   6987:   symcode='[DT]'
                   6988:   ;;
                   6989: sysv4.2uw2*)
                   6990:   symcode='[DT]'
                   6991:   ;;
                   6992: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6993:   symcode='[ABDT]'
                   6994:   ;;
                   6995: sysv4)
                   6996:   symcode='[DFNSTU]'
                   6997:   ;;
                   6998: esac
1.4       paf      6999: 
1.5       moko     7000: # If we're using GNU nm, then use its standard symbol codes.
                   7001: case `$NM -V 2>&1` in
                   7002: *GNU* | *'with BFD'*)
                   7003:   symcode='[ABCDGIRSTW]' ;;
                   7004: esac
1.4       paf      7005: 
1.10    ! moko     7006: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          7007:   # Gets list of data symbols to import.
        !          7008:   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
        !          7009:   # Adjust the below global symbol transforms to fixup imported variables.
        !          7010:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
        !          7011:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
        !          7012:   lt_c_name_lib_hook="\
        !          7013:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
        !          7014:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
        !          7015: else
        !          7016:   # Disable hooks by default.
        !          7017:   lt_cv_sys_global_symbol_to_import=
        !          7018:   lt_cdecl_hook=
        !          7019:   lt_c_name_hook=
        !          7020:   lt_c_name_lib_hook=
        !          7021: fi
        !          7022: 
1.5       moko     7023: # Transform an extracted symbol line into a proper C declaration.
                   7024: # Some systems (esp. on ia64) link data and code symbols differently,
                   7025: # so use this general approach.
1.10    ! moko     7026: lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
        !          7027: $lt_cdecl_hook\
        !          7028: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
        !          7029: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.4       paf      7030: 
1.5       moko     7031: # Transform an extracted symbol line into symbol name and symbol address
1.10    ! moko     7032: lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
        !          7033: $lt_c_name_hook\
        !          7034: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          7035: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
        !          7036: 
        !          7037: # Transform an extracted symbol line into symbol name with lib prefix and
        !          7038: # symbol address.
        !          7039: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
        !          7040: $lt_c_name_lib_hook\
        !          7041: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          7042: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
        !          7043: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.4       paf      7044: 
1.5       moko     7045: # Handle CRLF in mingw tool chain
                   7046: opt_cr=
                   7047: case $build_os in
1.10    ! moko     7048: mingw* | windows*)
1.5       moko     7049:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7050:   ;;
                   7051: esac
1.4       paf      7052: 
1.5       moko     7053: # Try without a prefix underscore, then with it.
                   7054: for ac_symprfx in "" "_"; do
1.4       paf      7055: 
1.5       moko     7056:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7057:   symxfrm="\\1 $ac_symprfx\\2 \\2"
1.4       paf      7058: 
1.5       moko     7059:   # Write the raw and C identifiers.
                   7060:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.10    ! moko     7061:     # Fake it for dumpbin and say T for any non-static function,
        !          7062:     # D for any global variable and I for any imported variable.
        !          7063:     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
1.5       moko     7064:     # which start with @ or ?.
                   7065:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7066: "     {last_section=section; section=\$ 3};"\
                   7067: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7068: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.10    ! moko     7069: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
        !          7070: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
        !          7071: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.5       moko     7072: "     \$ 0!~/External *\|/{next};"\
                   7073: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7074: "     {if(hide[section]) next};"\
1.10    ! moko     7075: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
        !          7076: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
        !          7077: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
        !          7078: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.5       moko     7079: "     ' prfx=^$ac_symprfx"
                   7080:   else
1.10    ! moko     7081:     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.5       moko     7082:   fi
1.10    ! moko     7083:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
1.4       paf      7084: 
1.5       moko     7085:   # Check to see that the pipe works correctly.
                   7086:   pipe_works=no
1.4       paf      7087: 
1.5       moko     7088:   rm -f conftest*
                   7089:   cat > conftest.$ac_ext <<_LT_EOF
                   7090: #ifdef __cplusplus
                   7091: extern "C" {
                   7092: #endif
                   7093: char nm_test_var;
                   7094: void nm_test_func(void);
                   7095: void nm_test_func(void){}
                   7096: #ifdef __cplusplus
1.4       paf      7097: }
1.5       moko     7098: #endif
1.10    ! moko     7099: int main(void){nm_test_var='a';nm_test_func();return(0);}
1.5       moko     7100: _LT_EOF
                   7101: 
                   7102:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.4       paf      7103:   (eval $ac_compile) 2>&5
                   7104:   ac_status=$?
1.10    ! moko     7105:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     7106:   test $ac_status = 0; }; then
                   7107:     # Now try to grab the symbols.
                   7108:     nlist=conftest.nm
1.10    ! moko     7109:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
        !          7110:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
1.5       moko     7111:       # Try sorting and uniquifying the output.
                   7112:       if sort "$nlist" | uniq > "$nlist"T; then
                   7113:        mv -f "$nlist"T "$nlist"
                   7114:       else
                   7115:        rm -f "$nlist"T
                   7116:       fi
                   7117: 
                   7118:       # Make sure that we snagged all the symbols we need.
                   7119:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7120:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7121:          cat <<_LT_EOF > conftest.$ac_ext
                   7122: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
1.10    ! moko     7123: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
        !          7124: /* DATA imports from DLLs on WIN32 can't be const, because runtime
1.5       moko     7125:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7126: # define LT_DLSYM_CONST
1.10    ! moko     7127: #elif defined __osf__
1.5       moko     7128: /* This system does not cope well with relocations in const data.  */
                   7129: # define LT_DLSYM_CONST
                   7130: #else
                   7131: # define LT_DLSYM_CONST const
                   7132: #endif
1.4       paf      7133: 
1.5       moko     7134: #ifdef __cplusplus
                   7135: extern "C" {
                   7136: #endif
1.4       paf      7137: 
1.5       moko     7138: _LT_EOF
                   7139:          # Now generate the symbol file.
                   7140:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.4       paf      7141: 
1.5       moko     7142:          cat <<_LT_EOF >> conftest.$ac_ext
1.4       paf      7143: 
1.5       moko     7144: /* The mapping between symbol names and symbols.  */
                   7145: LT_DLSYM_CONST struct {
                   7146:   const char *name;
                   7147:   void       *address;
                   7148: }
                   7149: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7150: {
                   7151:   { "@PROGRAM@", (void *) 0 },
                   7152: _LT_EOF
1.10    ! moko     7153:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.5       moko     7154:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7155:   {0, (void *) 0}
                   7156: };
1.4       paf      7157: 
1.5       moko     7158: /* This works around a problem in FreeBSD linker */
                   7159: #ifdef FREEBSD_WORKAROUND
                   7160: static const void *lt_preloaded_setup() {
                   7161:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7162: }
                   7163: #endif
1.4       paf      7164: 
1.5       moko     7165: #ifdef __cplusplus
                   7166: }
                   7167: #endif
                   7168: _LT_EOF
                   7169:          # Now try linking the two files.
                   7170:          mv conftest.$ac_objext conftstm.$ac_objext
                   7171:          lt_globsym_save_LIBS=$LIBS
                   7172:          lt_globsym_save_CFLAGS=$CFLAGS
1.10    ! moko     7173:          LIBS=conftstm.$ac_objext
1.5       moko     7174:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   7175:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   7176:   (eval $ac_link) 2>&5
                   7177:   ac_status=$?
1.10    ! moko     7178:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7179:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.5       moko     7180:            pipe_works=yes
                   7181:          fi
                   7182:          LIBS=$lt_globsym_save_LIBS
                   7183:          CFLAGS=$lt_globsym_save_CFLAGS
                   7184:        else
                   7185:          echo "cannot find nm_test_func in $nlist" >&5
                   7186:        fi
                   7187:       else
                   7188:        echo "cannot find nm_test_var in $nlist" >&5
                   7189:       fi
                   7190:     else
                   7191:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7192:     fi
1.4       paf      7193:   else
1.5       moko     7194:     echo "$progname: failed program was:" >&5
                   7195:     cat conftest.$ac_ext >&5
1.4       paf      7196:   fi
1.5       moko     7197:   rm -rf conftest* conftst*
1.4       paf      7198: 
1.5       moko     7199:   # Do not use the global_symbol_pipe unless it works.
1.10    ! moko     7200:   if test yes = "$pipe_works"; then
1.5       moko     7201:     break
1.4       paf      7202:   else
1.5       moko     7203:     lt_cv_sys_global_symbol_pipe=
1.4       paf      7204:   fi
1.5       moko     7205: done
1.10    ! moko     7206:  ;;
        !          7207: esac
1.4       paf      7208: fi
                   7209: 
1.5       moko     7210: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7211:   lt_cv_sys_global_symbol_to_cdecl=
                   7212: fi
                   7213: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.10    ! moko     7214:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
        !          7215: printf "%s\n" "failed" >&6; }
1.4       paf      7216: else
1.10    ! moko     7217:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
        !          7218: printf "%s\n" "ok" >&6; }
1.5       moko     7219: fi
                   7220: 
                   7221: # Response file support.
                   7222: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7223:   nm_file_list_spec='@'
                   7224: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7225:   nm_file_list_spec='@'
                   7226: fi
                   7227: 
                   7228: 
1.4       paf      7229: 
                   7230: 
                   7231: 
                   7232: 
                   7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
                   7238: 
                   7239: 
                   7240: 
                   7241: 
                   7242: 
                   7243: 
                   7244: 
                   7245: 
                   7246: 
                   7247: 
                   7248: 
                   7249: 
                   7250: 
                   7251: 
                   7252: 
                   7253: 
1.10    ! moko     7254: 
        !          7255: 
        !          7256: 
        !          7257: 
        !          7258: 
        !          7259: 
        !          7260: 
        !          7261: 
        !          7262: 
        !          7263: 
        !          7264: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          7265: printf %s "checking for sysroot... " >&6; }
1.4       paf      7266: 
1.5       moko     7267: # Check whether --with-sysroot was given.
1.10    ! moko     7268: if test ${with_sysroot+y}
        !          7269: then :
1.5       moko     7270:   withval=$with_sysroot;
1.10    ! moko     7271: else case e in #(
        !          7272:   e) with_sysroot=no ;;
        !          7273: esac
1.5       moko     7274: fi
1.4       paf      7275: 
                   7276: 
1.5       moko     7277: lt_sysroot=
1.10    ! moko     7278: case $with_sysroot in #(
1.5       moko     7279:  yes)
1.10    ! moko     7280:    if test yes = "$GCC"; then
        !          7281:      # Trim trailing / since we'll always append absolute paths and we want
        !          7282:      # to avoid //, if only for less confusing output for the user.
        !          7283:      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
1.5       moko     7284:    fi
                   7285:    ;; #(
                   7286:  /*)
1.10    ! moko     7287:    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1.5       moko     7288:    ;; #(
                   7289:  no|'')
                   7290:    ;; #(
                   7291:  *)
1.10    ! moko     7292:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
        !          7293: printf "%s\n" "$with_sysroot" >&6; }
1.5       moko     7294:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   7295:    ;;
                   7296: esac
1.4       paf      7297: 
1.10    ! moko     7298:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          7299: printf "%s\n" "${lt_sysroot:-no}" >&6; }
        !          7300: 
        !          7301: 
        !          7302: 
        !          7303: 
        !          7304: 
        !          7305: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
        !          7306: printf %s "checking for a working dd... " >&6; }
        !          7307: if test ${ac_cv_path_lt_DD+y}
        !          7308: then :
        !          7309:   printf %s "(cached) " >&6
        !          7310: else case e in #(
        !          7311:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
        !          7312: cat conftest.i conftest.i >conftest2.i
        !          7313: : ${lt_DD:=$DD}
        !          7314: if test -z "$lt_DD"; then
        !          7315:   ac_path_lt_DD_found=false
        !          7316:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7317:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7318: for as_dir in $PATH
        !          7319: do
        !          7320:   IFS=$as_save_IFS
        !          7321:   case $as_dir in #(((
        !          7322:     '') as_dir=./ ;;
        !          7323:     */) ;;
        !          7324:     *) as_dir=$as_dir/ ;;
        !          7325:   esac
        !          7326:     for ac_prog in dd
        !          7327:    do
        !          7328:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7329:       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
        !          7330:       as_fn_executable_p "$ac_path_lt_DD" || continue
        !          7331: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          7332:   cmp -s conftest.i conftest.out \
        !          7333:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
        !          7334: fi
        !          7335:       $ac_path_lt_DD_found && break 3
        !          7336:     done
        !          7337:   done
        !          7338:   done
        !          7339: IFS=$as_save_IFS
        !          7340:   if test -z "$ac_cv_path_lt_DD"; then
        !          7341:     :
        !          7342:   fi
        !          7343: else
        !          7344:   ac_cv_path_lt_DD=$lt_DD
        !          7345: fi
        !          7346: 
        !          7347: rm -f conftest.i conftest2.i conftest.out ;;
        !          7348: esac
        !          7349: fi
        !          7350: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
        !          7351: printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
        !          7352: 
        !          7353: 
        !          7354: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
        !          7355: printf %s "checking how to truncate binary pipes... " >&6; }
        !          7356: if test ${lt_cv_truncate_bin+y}
        !          7357: then :
        !          7358:   printf %s "(cached) " >&6
        !          7359: else case e in #(
        !          7360:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
        !          7361: cat conftest.i conftest.i >conftest2.i
        !          7362: lt_cv_truncate_bin=
        !          7363: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          7364:   cmp -s conftest.i conftest.out \
        !          7365:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
        !          7366: fi
        !          7367: rm -f conftest.i conftest2.i conftest.out
        !          7368: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
        !          7369: esac
        !          7370: fi
        !          7371: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
        !          7372: printf "%s\n" "$lt_cv_truncate_bin" >&6; }
        !          7373: 
        !          7374: 
        !          7375: 
1.4       paf      7376: 
                   7377: 
                   7378: 
                   7379: 
1.10    ! moko     7380: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          7381: func_cc_basename ()
        !          7382: {
        !          7383:     for cc_temp in $*""; do
        !          7384:       case $cc_temp in
        !          7385:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          7386:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          7387:         \-*) ;;
        !          7388:         *) break;;
        !          7389:       esac
        !          7390:     done
        !          7391:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          7392: }
1.4       paf      7393: 
1.5       moko     7394: # Check whether --enable-libtool-lock was given.
1.10    ! moko     7395: if test ${enable_libtool_lock+y}
        !          7396: then :
1.5       moko     7397:   enableval=$enable_libtool_lock;
                   7398: fi
1.4       paf      7399: 
1.10    ! moko     7400: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.4       paf      7401: 
1.5       moko     7402: # Some flags need to be propagated to the compiler or linker for good
                   7403: # libtool support.
                   7404: case $host in
                   7405: ia64-*-hpux*)
1.10    ! moko     7406:   # Find out what ABI is being produced by ac_compile, and set mode
        !          7407:   # options accordingly.
1.5       moko     7408:   echo 'int i;' > conftest.$ac_ext
                   7409:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7410:   (eval $ac_compile) 2>&5
                   7411:   ac_status=$?
1.10    ! moko     7412:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     7413:   test $ac_status = 0; }; then
1.10    ! moko     7414:     case `$FILECMD conftest.$ac_objext` in
1.5       moko     7415:       *ELF-32*)
1.10    ! moko     7416:        HPUX_IA64_MODE=32
1.5       moko     7417:        ;;
                   7418:       *ELF-64*)
1.10    ! moko     7419:        HPUX_IA64_MODE=64
1.5       moko     7420:        ;;
1.4       paf      7421:     esac
                   7422:   fi
1.5       moko     7423:   rm -rf conftest*
                   7424:   ;;
                   7425: *-*-irix6*)
1.10    ! moko     7426:   # Find out what ABI is being produced by ac_compile, and set linker
        !          7427:   # options accordingly.
1.5       moko     7428:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   7429:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7430:   (eval $ac_compile) 2>&5
                   7431:   ac_status=$?
1.10    ! moko     7432:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     7433:   test $ac_status = 0; }; then
1.10    ! moko     7434:     if test yes = "$lt_cv_prog_gnu_ld"; then
        !          7435:       case `$FILECMD conftest.$ac_objext` in
1.5       moko     7436:        *32-bit*)
                   7437:          LD="${LD-ld} -melf32bsmip"
                   7438:          ;;
                   7439:        *N32*)
                   7440:          LD="${LD-ld} -melf32bmipn32"
                   7441:          ;;
                   7442:        *64-bit*)
                   7443:          LD="${LD-ld} -melf64bmip"
                   7444:        ;;
                   7445:       esac
1.4       paf      7446:     else
1.10    ! moko     7447:       case `$FILECMD conftest.$ac_objext` in
1.5       moko     7448:        *32-bit*)
                   7449:          LD="${LD-ld} -32"
                   7450:          ;;
                   7451:        *N32*)
                   7452:          LD="${LD-ld} -n32"
                   7453:          ;;
                   7454:        *64-bit*)
                   7455:          LD="${LD-ld} -64"
1.4       paf      7456:          ;;
                   7457:       esac
1.5       moko     7458:     fi
                   7459:   fi
                   7460:   rm -rf conftest*
                   7461:   ;;
1.4       paf      7462: 
1.10    ! moko     7463: mips64*-*linux*)
        !          7464:   # Find out what ABI is being produced by ac_compile, and set linker
        !          7465:   # options accordingly.
        !          7466:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          7467:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          7468:   (eval $ac_compile) 2>&5
        !          7469:   ac_status=$?
        !          7470:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7471:   test $ac_status = 0; }; then
        !          7472:     emul=elf
        !          7473:     case `$FILECMD conftest.$ac_objext` in
        !          7474:       *32-bit*)
        !          7475:        emul="${emul}32"
        !          7476:        ;;
        !          7477:       *64-bit*)
        !          7478:        emul="${emul}64"
        !          7479:        ;;
        !          7480:     esac
        !          7481:     case `$FILECMD conftest.$ac_objext` in
        !          7482:       *MSB*)
        !          7483:        emul="${emul}btsmip"
        !          7484:        ;;
        !          7485:       *LSB*)
        !          7486:        emul="${emul}ltsmip"
        !          7487:        ;;
        !          7488:     esac
        !          7489:     case `$FILECMD conftest.$ac_objext` in
        !          7490:       *N32*)
        !          7491:        emul="${emul}n32"
        !          7492:        ;;
        !          7493:     esac
        !          7494:     LD="${LD-ld} -m $emul"
        !          7495:   fi
        !          7496:   rm -rf conftest*
        !          7497:   ;;
        !          7498: 
        !          7499: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
        !          7500: s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
        !          7501:   # Find out what ABI is being produced by ac_compile, and set linker
        !          7502:   # options accordingly.  Note that the listed cases only cover the
        !          7503:   # situations where additional linker options are needed (such as when
        !          7504:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
        !          7505:   # vice versa); the common cases where no linker options are needed do
        !          7506:   # not appear in the list.
1.5       moko     7507:   echo 'int i;' > conftest.$ac_ext
                   7508:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7509:   (eval $ac_compile) 2>&5
                   7510:   ac_status=$?
1.10    ! moko     7511:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     7512:   test $ac_status = 0; }; then
1.10    ! moko     7513:     case `$FILECMD conftest.o` in
1.5       moko     7514:       *32-bit*)
                   7515:        case $host in
                   7516:          x86_64-*kfreebsd*-gnu)
                   7517:            LD="${LD-ld} -m elf_i386_fbsd"
                   7518:            ;;
1.10    ! moko     7519:          x86_64-*linux*|x86_64-gnu*)
        !          7520:            case `$FILECMD conftest.o` in
        !          7521:              *x86-64*)
        !          7522:                LD="${LD-ld} -m elf32_x86_64"
        !          7523:                ;;
        !          7524:              *)
        !          7525:                LD="${LD-ld} -m elf_i386"
        !          7526:                ;;
        !          7527:            esac
        !          7528:            ;;
        !          7529:          powerpc64le-*linux*)
        !          7530:            LD="${LD-ld} -m elf32lppclinux"
1.5       moko     7531:            ;;
1.10    ! moko     7532:          powerpc64-*linux*)
1.5       moko     7533:            LD="${LD-ld} -m elf32ppclinux"
                   7534:            ;;
                   7535:          s390x-*linux*)
                   7536:            LD="${LD-ld} -m elf_s390"
                   7537:            ;;
                   7538:          sparc64-*linux*)
                   7539:            LD="${LD-ld} -m elf32_sparc"
                   7540:            ;;
                   7541:        esac
                   7542:        ;;
                   7543:       *64-bit*)
                   7544:        case $host in
                   7545:          x86_64-*kfreebsd*-gnu)
                   7546:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7547:            ;;
1.10    ! moko     7548:          x86_64-*linux*|x86_64-gnu*)
1.5       moko     7549:            LD="${LD-ld} -m elf_x86_64"
                   7550:            ;;
1.10    ! moko     7551:          powerpcle-*linux*)
        !          7552:            LD="${LD-ld} -m elf64lppc"
        !          7553:            ;;
        !          7554:          powerpc-*linux*)
1.5       moko     7555:            LD="${LD-ld} -m elf64ppc"
                   7556:            ;;
                   7557:          s390*-*linux*|s390*-*tpf*)
                   7558:            LD="${LD-ld} -m elf64_s390"
                   7559:            ;;
                   7560:          sparc*-*linux*)
                   7561:            LD="${LD-ld} -m elf64_sparc"
                   7562:            ;;
                   7563:        esac
                   7564:        ;;
                   7565:     esac
                   7566:   fi
                   7567:   rm -rf conftest*
                   7568:   ;;
1.4       paf      7569: 
1.5       moko     7570: *-*-sco3.2v5*)
                   7571:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.10    ! moko     7572:   SAVE_CFLAGS=$CFLAGS
1.5       moko     7573:   CFLAGS="$CFLAGS -belf"
1.10    ! moko     7574:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
        !          7575: printf %s "checking whether the C compiler needs -belf... " >&6; }
        !          7576: if test ${lt_cv_cc_needs_belf+y}
        !          7577: then :
        !          7578:   printf %s "(cached) " >&6
        !          7579: else case e in #(
        !          7580:   e) ac_ext=c
1.5       moko     7581: ac_cpp='$CPP $CPPFLAGS'
                   7582: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7583: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7584: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7585: 
                   7586:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7587: /* end confdefs.h.  */
                   7588: 
                   7589: int
1.10    ! moko     7590: main (void)
1.5       moko     7591: {
                   7592: 
                   7593:   ;
                   7594:   return 0;
                   7595: }
                   7596: _ACEOF
1.10    ! moko     7597: if ac_fn_c_try_link "$LINENO"
        !          7598: then :
1.5       moko     7599:   lt_cv_cc_needs_belf=yes
1.10    ! moko     7600: else case e in #(
        !          7601:   e) lt_cv_cc_needs_belf=no ;;
        !          7602: esac
1.5       moko     7603: fi
1.10    ! moko     7604: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     7605:     conftest$ac_exeext conftest.$ac_ext
                   7606:      ac_ext=c
                   7607: ac_cpp='$CPP $CPPFLAGS'
                   7608: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7609: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7610: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.10    ! moko     7611:  ;;
        !          7612: esac
1.5       moko     7613: fi
1.10    ! moko     7614: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
        !          7615: printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
        !          7616:   if test yes != "$lt_cv_cc_needs_belf"; then
1.5       moko     7617:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.10    ! moko     7618:     CFLAGS=$SAVE_CFLAGS
1.5       moko     7619:   fi
                   7620:   ;;
                   7621: *-*solaris*)
1.10    ! moko     7622:   # Find out what ABI is being produced by ac_compile, and set linker
        !          7623:   # options accordingly.
1.5       moko     7624:   echo 'int i;' > conftest.$ac_ext
                   7625:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7626:   (eval $ac_compile) 2>&5
                   7627:   ac_status=$?
1.10    ! moko     7628:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     7629:   test $ac_status = 0; }; then
1.10    ! moko     7630:     case `$FILECMD conftest.o` in
1.5       moko     7631:     *64-bit*)
                   7632:       case $lt_cv_prog_gnu_ld in
                   7633:       yes*)
                   7634:         case $host in
1.10    ! moko     7635:         i?86-*-solaris*|x86_64-*-solaris*)
1.5       moko     7636:           LD="${LD-ld} -m elf_x86_64"
                   7637:           ;;
                   7638:         sparc*-*-solaris*)
                   7639:           LD="${LD-ld} -m elf64_sparc"
                   7640:           ;;
                   7641:         esac
                   7642:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7643:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1.10    ! moko     7644:           LD=${LD-ld}_sol2
1.5       moko     7645:         fi
                   7646:         ;;
                   7647:       *)
                   7648:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7649:          LD="${LD-ld} -64"
                   7650:        fi
                   7651:        ;;
                   7652:       esac
                   7653:       ;;
                   7654:     esac
                   7655:   fi
                   7656:   rm -rf conftest*
                   7657:   ;;
                   7658: esac
                   7659: 
1.10    ! moko     7660: need_locks=$enable_libtool_lock
1.5       moko     7661: 
                   7662: if test -n "$ac_tool_prefix"; then
                   7663:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7664: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.10    ! moko     7665: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7666: printf %s "checking for $ac_word... " >&6; }
        !          7667: if test ${ac_cv_prog_MANIFEST_TOOL+y}
        !          7668: then :
        !          7669:   printf %s "(cached) " >&6
        !          7670: else case e in #(
        !          7671:   e) if test -n "$MANIFEST_TOOL"; then
1.5       moko     7672:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7673: else
                   7674: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7675: for as_dir in $PATH
                   7676: do
                   7677:   IFS=$as_save_IFS
1.10    ! moko     7678:   case $as_dir in #(((
        !          7679:     '') as_dir=./ ;;
        !          7680:     */) ;;
        !          7681:     *) as_dir=$as_dir/ ;;
        !          7682:   esac
1.5       moko     7683:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     7684:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     7685:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.10    ! moko     7686:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     7687:     break 2
                   7688:   fi
                   7689: done
                   7690:   done
                   7691: IFS=$as_save_IFS
                   7692: 
1.10    ! moko     7693: fi ;;
        !          7694: esac
1.5       moko     7695: fi
                   7696: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7697: if test -n "$MANIFEST_TOOL"; then
1.10    ! moko     7698:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          7699: printf "%s\n" "$MANIFEST_TOOL" >&6; }
1.5       moko     7700: else
1.10    ! moko     7701:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7702: printf "%s\n" "no" >&6; }
1.5       moko     7703: fi
                   7704: 
                   7705: 
                   7706: fi
                   7707: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7708:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7709:   # Extract the first word of "mt", so it can be a program name with args.
                   7710: set dummy mt; ac_word=$2
1.10    ! moko     7711: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7712: printf %s "checking for $ac_word... " >&6; }
        !          7713: if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
        !          7714: then :
        !          7715:   printf %s "(cached) " >&6
        !          7716: else case e in #(
        !          7717:   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
1.5       moko     7718:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7719: else
                   7720: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7721: for as_dir in $PATH
                   7722: do
                   7723:   IFS=$as_save_IFS
1.10    ! moko     7724:   case $as_dir in #(((
        !          7725:     '') as_dir=./ ;;
        !          7726:     */) ;;
        !          7727:     *) as_dir=$as_dir/ ;;
        !          7728:   esac
1.5       moko     7729:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     7730:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     7731:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.10    ! moko     7732:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     7733:     break 2
                   7734:   fi
                   7735: done
                   7736:   done
                   7737: IFS=$as_save_IFS
                   7738: 
1.10    ! moko     7739: fi ;;
        !          7740: esac
1.5       moko     7741: fi
                   7742: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7743: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.10    ! moko     7744:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          7745: printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
1.5       moko     7746: else
1.10    ! moko     7747:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7748: printf "%s\n" "no" >&6; }
1.5       moko     7749: fi
                   7750: 
                   7751:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7752:     MANIFEST_TOOL=":"
                   7753:   else
                   7754:     case $cross_compiling:$ac_tool_warned in
                   7755: yes:)
1.10    ! moko     7756: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7757: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     7758: ac_tool_warned=yes ;;
                   7759: esac
                   7760:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7761:   fi
                   7762: else
                   7763:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7764: fi
                   7765: 
                   7766: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.10    ! moko     7767: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          7768: printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          7769: if test ${lt_cv_path_manifest_tool+y}
        !          7770: then :
        !          7771:   printf %s "(cached) " >&6
        !          7772: else case e in #(
        !          7773:   e) lt_cv_path_manifest_tool=no
1.5       moko     7774:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7775:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7776:   cat conftest.err >&5
                   7777:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
1.10    ! moko     7778:     lt_cv_path_manifest_tool=yes
1.5       moko     7779:   fi
1.10    ! moko     7780:   rm -f conftest* ;;
        !          7781: esac
1.5       moko     7782: fi
1.10    ! moko     7783: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
        !          7784: printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
        !          7785: if test yes != "$lt_cv_path_manifest_tool"; then
1.5       moko     7786:   MANIFEST_TOOL=:
                   7787: fi
                   7788: 
                   7789: 
                   7790: 
                   7791: 
                   7792: 
                   7793: 
                   7794:   case $host_os in
                   7795:     rhapsody* | darwin*)
                   7796:     if test -n "$ac_tool_prefix"; then
                   7797:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7798: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.10    ! moko     7799: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7800: printf %s "checking for $ac_word... " >&6; }
        !          7801: if test ${ac_cv_prog_DSYMUTIL+y}
        !          7802: then :
        !          7803:   printf %s "(cached) " >&6
        !          7804: else case e in #(
        !          7805:   e) if test -n "$DSYMUTIL"; then
1.5       moko     7806:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7807: else
                   7808: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7809: for as_dir in $PATH
                   7810: do
                   7811:   IFS=$as_save_IFS
1.10    ! moko     7812:   case $as_dir in #(((
        !          7813:     '') as_dir=./ ;;
        !          7814:     */) ;;
        !          7815:     *) as_dir=$as_dir/ ;;
        !          7816:   esac
1.5       moko     7817:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     7818:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     7819:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.10    ! moko     7820:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     7821:     break 2
                   7822:   fi
                   7823: done
                   7824:   done
                   7825: IFS=$as_save_IFS
                   7826: 
1.10    ! moko     7827: fi ;;
        !          7828: esac
1.5       moko     7829: fi
                   7830: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7831: if test -n "$DSYMUTIL"; then
1.10    ! moko     7832:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
        !          7833: printf "%s\n" "$DSYMUTIL" >&6; }
1.5       moko     7834: else
1.10    ! moko     7835:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7836: printf "%s\n" "no" >&6; }
1.5       moko     7837: fi
                   7838: 
                   7839: 
                   7840: fi
                   7841: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7842:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7843:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7844: set dummy dsymutil; ac_word=$2
1.10    ! moko     7845: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7846: printf %s "checking for $ac_word... " >&6; }
        !          7847: if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
        !          7848: then :
        !          7849:   printf %s "(cached) " >&6
        !          7850: else case e in #(
        !          7851:   e) if test -n "$ac_ct_DSYMUTIL"; then
1.5       moko     7852:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7853: else
                   7854: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7855: for as_dir in $PATH
                   7856: do
                   7857:   IFS=$as_save_IFS
1.10    ! moko     7858:   case $as_dir in #(((
        !          7859:     '') as_dir=./ ;;
        !          7860:     */) ;;
        !          7861:     *) as_dir=$as_dir/ ;;
        !          7862:   esac
1.5       moko     7863:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     7864:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     7865:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.10    ! moko     7866:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     7867:     break 2
                   7868:   fi
                   7869: done
                   7870:   done
                   7871: IFS=$as_save_IFS
                   7872: 
1.10    ! moko     7873: fi ;;
        !          7874: esac
1.5       moko     7875: fi
                   7876: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7877: if test -n "$ac_ct_DSYMUTIL"; then
1.10    ! moko     7878:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
        !          7879: printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
1.5       moko     7880: else
1.10    ! moko     7881:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7882: printf "%s\n" "no" >&6; }
1.5       moko     7883: fi
                   7884: 
                   7885:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7886:     DSYMUTIL=":"
                   7887:   else
                   7888:     case $cross_compiling:$ac_tool_warned in
                   7889: yes:)
1.10    ! moko     7890: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7891: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     7892: ac_tool_warned=yes ;;
                   7893: esac
                   7894:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7895:   fi
                   7896: else
                   7897:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7898: fi
                   7899: 
                   7900:     if test -n "$ac_tool_prefix"; then
                   7901:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7902: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.10    ! moko     7903: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7904: printf %s "checking for $ac_word... " >&6; }
        !          7905: if test ${ac_cv_prog_NMEDIT+y}
        !          7906: then :
        !          7907:   printf %s "(cached) " >&6
        !          7908: else case e in #(
        !          7909:   e) if test -n "$NMEDIT"; then
1.5       moko     7910:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7911: else
                   7912: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7913: for as_dir in $PATH
                   7914: do
                   7915:   IFS=$as_save_IFS
1.10    ! moko     7916:   case $as_dir in #(((
        !          7917:     '') as_dir=./ ;;
        !          7918:     */) ;;
        !          7919:     *) as_dir=$as_dir/ ;;
        !          7920:   esac
1.5       moko     7921:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     7922:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     7923:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.10    ! moko     7924:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     7925:     break 2
                   7926:   fi
                   7927: done
                   7928:   done
                   7929: IFS=$as_save_IFS
                   7930: 
1.10    ! moko     7931: fi ;;
        !          7932: esac
1.5       moko     7933: fi
                   7934: NMEDIT=$ac_cv_prog_NMEDIT
                   7935: if test -n "$NMEDIT"; then
1.10    ! moko     7936:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
        !          7937: printf "%s\n" "$NMEDIT" >&6; }
1.5       moko     7938: else
1.10    ! moko     7939:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7940: printf "%s\n" "no" >&6; }
1.5       moko     7941: fi
                   7942: 
                   7943: 
                   7944: fi
                   7945: if test -z "$ac_cv_prog_NMEDIT"; then
                   7946:   ac_ct_NMEDIT=$NMEDIT
                   7947:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7948: set dummy nmedit; ac_word=$2
1.10    ! moko     7949: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7950: printf %s "checking for $ac_word... " >&6; }
        !          7951: if test ${ac_cv_prog_ac_ct_NMEDIT+y}
        !          7952: then :
        !          7953:   printf %s "(cached) " >&6
        !          7954: else case e in #(
        !          7955:   e) if test -n "$ac_ct_NMEDIT"; then
1.5       moko     7956:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7957: else
                   7958: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7959: for as_dir in $PATH
                   7960: do
                   7961:   IFS=$as_save_IFS
1.10    ! moko     7962:   case $as_dir in #(((
        !          7963:     '') as_dir=./ ;;
        !          7964:     */) ;;
        !          7965:     *) as_dir=$as_dir/ ;;
        !          7966:   esac
1.5       moko     7967:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     7968:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     7969:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.10    ! moko     7970:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     7971:     break 2
                   7972:   fi
                   7973: done
                   7974:   done
                   7975: IFS=$as_save_IFS
                   7976: 
1.10    ! moko     7977: fi ;;
        !          7978: esac
1.5       moko     7979: fi
                   7980: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7981: if test -n "$ac_ct_NMEDIT"; then
1.10    ! moko     7982:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
        !          7983: printf "%s\n" "$ac_ct_NMEDIT" >&6; }
1.5       moko     7984: else
1.10    ! moko     7985:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7986: printf "%s\n" "no" >&6; }
1.5       moko     7987: fi
                   7988: 
                   7989:   if test "x$ac_ct_NMEDIT" = x; then
                   7990:     NMEDIT=":"
                   7991:   else
                   7992:     case $cross_compiling:$ac_tool_warned in
                   7993: yes:)
1.10    ! moko     7994: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7995: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     7996: ac_tool_warned=yes ;;
                   7997: esac
                   7998:     NMEDIT=$ac_ct_NMEDIT
                   7999:   fi
                   8000: else
                   8001:   NMEDIT="$ac_cv_prog_NMEDIT"
                   8002: fi
                   8003: 
                   8004:     if test -n "$ac_tool_prefix"; then
                   8005:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   8006: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.10    ! moko     8007: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8008: printf %s "checking for $ac_word... " >&6; }
        !          8009: if test ${ac_cv_prog_LIPO+y}
        !          8010: then :
        !          8011:   printf %s "(cached) " >&6
        !          8012: else case e in #(
        !          8013:   e) if test -n "$LIPO"; then
1.5       moko     8014:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   8015: else
                   8016: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8017: for as_dir in $PATH
                   8018: do
                   8019:   IFS=$as_save_IFS
1.10    ! moko     8020:   case $as_dir in #(((
        !          8021:     '') as_dir=./ ;;
        !          8022:     */) ;;
        !          8023:     *) as_dir=$as_dir/ ;;
        !          8024:   esac
1.5       moko     8025:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8026:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8027:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.10    ! moko     8028:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8029:     break 2
                   8030:   fi
                   8031: done
                   8032:   done
                   8033: IFS=$as_save_IFS
                   8034: 
1.10    ! moko     8035: fi ;;
        !          8036: esac
1.5       moko     8037: fi
                   8038: LIPO=$ac_cv_prog_LIPO
                   8039: if test -n "$LIPO"; then
1.10    ! moko     8040:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
        !          8041: printf "%s\n" "$LIPO" >&6; }
1.5       moko     8042: else
1.10    ! moko     8043:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8044: printf "%s\n" "no" >&6; }
1.5       moko     8045: fi
                   8046: 
                   8047: 
                   8048: fi
                   8049: if test -z "$ac_cv_prog_LIPO"; then
                   8050:   ac_ct_LIPO=$LIPO
                   8051:   # Extract the first word of "lipo", so it can be a program name with args.
                   8052: set dummy lipo; ac_word=$2
1.10    ! moko     8053: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8054: printf %s "checking for $ac_word... " >&6; }
        !          8055: if test ${ac_cv_prog_ac_ct_LIPO+y}
        !          8056: then :
        !          8057:   printf %s "(cached) " >&6
        !          8058: else case e in #(
        !          8059:   e) if test -n "$ac_ct_LIPO"; then
1.5       moko     8060:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   8061: else
                   8062: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8063: for as_dir in $PATH
                   8064: do
                   8065:   IFS=$as_save_IFS
1.10    ! moko     8066:   case $as_dir in #(((
        !          8067:     '') as_dir=./ ;;
        !          8068:     */) ;;
        !          8069:     *) as_dir=$as_dir/ ;;
        !          8070:   esac
1.5       moko     8071:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8072:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8073:     ac_cv_prog_ac_ct_LIPO="lipo"
1.10    ! moko     8074:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8075:     break 2
                   8076:   fi
                   8077: done
                   8078:   done
                   8079: IFS=$as_save_IFS
                   8080: 
1.10    ! moko     8081: fi ;;
        !          8082: esac
1.5       moko     8083: fi
                   8084: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8085: if test -n "$ac_ct_LIPO"; then
1.10    ! moko     8086:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
        !          8087: printf "%s\n" "$ac_ct_LIPO" >&6; }
1.5       moko     8088: else
1.10    ! moko     8089:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8090: printf "%s\n" "no" >&6; }
1.5       moko     8091: fi
                   8092: 
                   8093:   if test "x$ac_ct_LIPO" = x; then
                   8094:     LIPO=":"
                   8095:   else
                   8096:     case $cross_compiling:$ac_tool_warned in
                   8097: yes:)
1.10    ! moko     8098: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8099: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     8100: ac_tool_warned=yes ;;
                   8101: esac
                   8102:     LIPO=$ac_ct_LIPO
                   8103:   fi
                   8104: else
                   8105:   LIPO="$ac_cv_prog_LIPO"
                   8106: fi
                   8107: 
                   8108:     if test -n "$ac_tool_prefix"; then
                   8109:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8110: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.10    ! moko     8111: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8112: printf %s "checking for $ac_word... " >&6; }
        !          8113: if test ${ac_cv_prog_OTOOL+y}
        !          8114: then :
        !          8115:   printf %s "(cached) " >&6
        !          8116: else case e in #(
        !          8117:   e) if test -n "$OTOOL"; then
1.5       moko     8118:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8119: else
                   8120: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8121: for as_dir in $PATH
                   8122: do
                   8123:   IFS=$as_save_IFS
1.10    ! moko     8124:   case $as_dir in #(((
        !          8125:     '') as_dir=./ ;;
        !          8126:     */) ;;
        !          8127:     *) as_dir=$as_dir/ ;;
        !          8128:   esac
1.5       moko     8129:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8130:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8131:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.10    ! moko     8132:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8133:     break 2
                   8134:   fi
                   8135: done
                   8136:   done
                   8137: IFS=$as_save_IFS
                   8138: 
1.10    ! moko     8139: fi ;;
        !          8140: esac
1.5       moko     8141: fi
                   8142: OTOOL=$ac_cv_prog_OTOOL
                   8143: if test -n "$OTOOL"; then
1.10    ! moko     8144:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
        !          8145: printf "%s\n" "$OTOOL" >&6; }
1.5       moko     8146: else
1.10    ! moko     8147:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8148: printf "%s\n" "no" >&6; }
1.5       moko     8149: fi
                   8150: 
                   8151: 
                   8152: fi
                   8153: if test -z "$ac_cv_prog_OTOOL"; then
                   8154:   ac_ct_OTOOL=$OTOOL
                   8155:   # Extract the first word of "otool", so it can be a program name with args.
                   8156: set dummy otool; ac_word=$2
1.10    ! moko     8157: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8158: printf %s "checking for $ac_word... " >&6; }
        !          8159: if test ${ac_cv_prog_ac_ct_OTOOL+y}
        !          8160: then :
        !          8161:   printf %s "(cached) " >&6
        !          8162: else case e in #(
        !          8163:   e) if test -n "$ac_ct_OTOOL"; then
1.5       moko     8164:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8165: else
                   8166: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8167: for as_dir in $PATH
                   8168: do
                   8169:   IFS=$as_save_IFS
1.10    ! moko     8170:   case $as_dir in #(((
        !          8171:     '') as_dir=./ ;;
        !          8172:     */) ;;
        !          8173:     *) as_dir=$as_dir/ ;;
        !          8174:   esac
1.5       moko     8175:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8176:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8177:     ac_cv_prog_ac_ct_OTOOL="otool"
1.10    ! moko     8178:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8179:     break 2
                   8180:   fi
                   8181: done
                   8182:   done
                   8183: IFS=$as_save_IFS
                   8184: 
1.10    ! moko     8185: fi ;;
        !          8186: esac
1.5       moko     8187: fi
                   8188: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8189: if test -n "$ac_ct_OTOOL"; then
1.10    ! moko     8190:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
        !          8191: printf "%s\n" "$ac_ct_OTOOL" >&6; }
1.5       moko     8192: else
1.10    ! moko     8193:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8194: printf "%s\n" "no" >&6; }
1.5       moko     8195: fi
                   8196: 
                   8197:   if test "x$ac_ct_OTOOL" = x; then
                   8198:     OTOOL=":"
                   8199:   else
                   8200:     case $cross_compiling:$ac_tool_warned in
                   8201: yes:)
1.10    ! moko     8202: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8203: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     8204: ac_tool_warned=yes ;;
                   8205: esac
                   8206:     OTOOL=$ac_ct_OTOOL
                   8207:   fi
                   8208: else
                   8209:   OTOOL="$ac_cv_prog_OTOOL"
                   8210: fi
                   8211: 
                   8212:     if test -n "$ac_tool_prefix"; then
                   8213:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8214: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.10    ! moko     8215: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8216: printf %s "checking for $ac_word... " >&6; }
        !          8217: if test ${ac_cv_prog_OTOOL64+y}
        !          8218: then :
        !          8219:   printf %s "(cached) " >&6
        !          8220: else case e in #(
        !          8221:   e) if test -n "$OTOOL64"; then
1.5       moko     8222:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8223: else
                   8224: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8225: for as_dir in $PATH
                   8226: do
                   8227:   IFS=$as_save_IFS
1.10    ! moko     8228:   case $as_dir in #(((
        !          8229:     '') as_dir=./ ;;
        !          8230:     */) ;;
        !          8231:     *) as_dir=$as_dir/ ;;
        !          8232:   esac
1.5       moko     8233:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8234:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8235:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.10    ! moko     8236:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8237:     break 2
                   8238:   fi
                   8239: done
                   8240:   done
                   8241: IFS=$as_save_IFS
                   8242: 
1.10    ! moko     8243: fi ;;
        !          8244: esac
1.5       moko     8245: fi
                   8246: OTOOL64=$ac_cv_prog_OTOOL64
                   8247: if test -n "$OTOOL64"; then
1.10    ! moko     8248:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
        !          8249: printf "%s\n" "$OTOOL64" >&6; }
1.5       moko     8250: else
1.10    ! moko     8251:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8252: printf "%s\n" "no" >&6; }
1.5       moko     8253: fi
                   8254: 
                   8255: 
                   8256: fi
                   8257: if test -z "$ac_cv_prog_OTOOL64"; then
                   8258:   ac_ct_OTOOL64=$OTOOL64
                   8259:   # Extract the first word of "otool64", so it can be a program name with args.
                   8260: set dummy otool64; ac_word=$2
1.10    ! moko     8261: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8262: printf %s "checking for $ac_word... " >&6; }
        !          8263: if test ${ac_cv_prog_ac_ct_OTOOL64+y}
        !          8264: then :
        !          8265:   printf %s "(cached) " >&6
        !          8266: else case e in #(
        !          8267:   e) if test -n "$ac_ct_OTOOL64"; then
1.5       moko     8268:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8269: else
                   8270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8271: for as_dir in $PATH
                   8272: do
                   8273:   IFS=$as_save_IFS
1.10    ! moko     8274:   case $as_dir in #(((
        !          8275:     '') as_dir=./ ;;
        !          8276:     */) ;;
        !          8277:     *) as_dir=$as_dir/ ;;
        !          8278:   esac
1.5       moko     8279:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8280:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8281:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.10    ! moko     8282:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8283:     break 2
                   8284:   fi
                   8285: done
                   8286:   done
                   8287: IFS=$as_save_IFS
                   8288: 
1.10    ! moko     8289: fi ;;
        !          8290: esac
1.5       moko     8291: fi
                   8292: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8293: if test -n "$ac_ct_OTOOL64"; then
1.10    ! moko     8294:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
        !          8295: printf "%s\n" "$ac_ct_OTOOL64" >&6; }
1.5       moko     8296: else
1.10    ! moko     8297:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8298: printf "%s\n" "no" >&6; }
1.5       moko     8299: fi
                   8300: 
                   8301:   if test "x$ac_ct_OTOOL64" = x; then
                   8302:     OTOOL64=":"
                   8303:   else
                   8304:     case $cross_compiling:$ac_tool_warned in
                   8305: yes:)
1.10    ! moko     8306: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8307: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     8308: ac_tool_warned=yes ;;
                   8309: esac
                   8310:     OTOOL64=$ac_ct_OTOOL64
                   8311:   fi
                   8312: else
                   8313:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8314: fi
                   8315: 
                   8316: 
                   8317: 
                   8318: 
                   8319: 
                   8320: 
                   8321: 
                   8322: 
                   8323: 
                   8324: 
                   8325: 
                   8326: 
                   8327: 
                   8328: 
                   8329: 
                   8330: 
                   8331: 
                   8332: 
                   8333: 
                   8334: 
                   8335: 
                   8336: 
                   8337: 
                   8338: 
                   8339: 
                   8340: 
                   8341: 
1.10    ! moko     8342:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
        !          8343: printf %s "checking for -single_module linker flag... " >&6; }
        !          8344: if test ${lt_cv_apple_cc_single_mod+y}
        !          8345: then :
        !          8346:   printf %s "(cached) " >&6
        !          8347: else case e in #(
        !          8348:   e) lt_cv_apple_cc_single_mod=no
        !          8349:       if test -z "$LT_MULTI_MODULE"; then
1.5       moko     8350:        # By default we will add the -single_module flag. You can override
                   8351:        # by either setting the environment variable LT_MULTI_MODULE
                   8352:        # non-empty at configure time, or by adding -multi_module to the
                   8353:        # link flags.
                   8354:        rm -rf libconftest.dylib*
                   8355:        echo "int foo(void){return 1;}" > conftest.c
                   8356:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8357: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8358:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8359:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8360:         _lt_result=$?
                   8361:        # If there is a non-empty error log, and "single_module"
                   8362:        # appears in it, assume the flag caused a linker warning
                   8363:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8364:          cat conftest.err >&5
                   8365:        # Otherwise, if the output was created with a 0 exit code from
                   8366:        # the compiler, it worked.
1.10    ! moko     8367:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.5       moko     8368:          lt_cv_apple_cc_single_mod=yes
                   8369:        else
                   8370:          cat conftest.err >&5
                   8371:        fi
                   8372:        rm -rf libconftest.dylib*
                   8373:        rm -f conftest.*
1.10    ! moko     8374:       fi ;;
        !          8375: esac
        !          8376: fi
        !          8377: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
        !          8378: printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
        !          8379: 
        !          8380:     # Feature test to disable chained fixups since it is not
        !          8381:     # compatible with '-undefined dynamic_lookup'
        !          8382:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
        !          8383: printf %s "checking for -no_fixup_chains linker flag... " >&6; }
        !          8384: if test ${lt_cv_support_no_fixup_chains+y}
        !          8385: then :
        !          8386:   printf %s "(cached) " >&6
        !          8387: else case e in #(
        !          8388:   e)  save_LDFLAGS=$LDFLAGS
        !          8389:         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
        !          8390:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8391: /* end confdefs.h.  */
        !          8392: 
        !          8393: int
        !          8394: main (void)
        !          8395: {
        !          8396: 
        !          8397:   ;
        !          8398:   return 0;
        !          8399: }
        !          8400: _ACEOF
        !          8401: if ac_fn_c_try_link "$LINENO"
        !          8402: then :
        !          8403:   lt_cv_support_no_fixup_chains=yes
        !          8404: else case e in #(
        !          8405:   e) lt_cv_support_no_fixup_chains=no
        !          8406:          ;;
        !          8407: esac
        !          8408: fi
        !          8409: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          8410:     conftest$ac_exeext conftest.$ac_ext
        !          8411:         LDFLAGS=$save_LDFLAGS
        !          8412: 
        !          8413:      ;;
        !          8414: esac
1.5       moko     8415: fi
1.10    ! moko     8416: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
        !          8417: printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
1.5       moko     8418: 
1.10    ! moko     8419:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
        !          8420: printf %s "checking for -exported_symbols_list linker flag... " >&6; }
        !          8421: if test ${lt_cv_ld_exported_symbols_list+y}
        !          8422: then :
        !          8423:   printf %s "(cached) " >&6
        !          8424: else case e in #(
        !          8425:   e) lt_cv_ld_exported_symbols_list=no
1.5       moko     8426:       save_LDFLAGS=$LDFLAGS
                   8427:       echo "_main" > conftest.sym
                   8428:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   8429:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8430: /* end confdefs.h.  */
                   8431: 
                   8432: int
1.10    ! moko     8433: main (void)
1.5       moko     8434: {
                   8435: 
                   8436:   ;
                   8437:   return 0;
                   8438: }
                   8439: _ACEOF
1.10    ! moko     8440: if ac_fn_c_try_link "$LINENO"
        !          8441: then :
1.5       moko     8442:   lt_cv_ld_exported_symbols_list=yes
1.10    ! moko     8443: else case e in #(
        !          8444:   e) lt_cv_ld_exported_symbols_list=no ;;
        !          8445: esac
1.5       moko     8446: fi
1.10    ! moko     8447: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     8448:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     8449:        LDFLAGS=$save_LDFLAGS
        !          8450:      ;;
        !          8451: esac
1.5       moko     8452: fi
1.10    ! moko     8453: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
        !          8454: printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
1.5       moko     8455: 
1.10    ! moko     8456:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          8457: printf %s "checking for -force_load linker flag... " >&6; }
        !          8458: if test ${lt_cv_ld_force_load+y}
        !          8459: then :
        !          8460:   printf %s "(cached) " >&6
        !          8461: else case e in #(
        !          8462:   e) lt_cv_ld_force_load=no
1.5       moko     8463:       cat > conftest.c << _LT_EOF
                   8464: int forced_loaded() { return 2;}
                   8465: _LT_EOF
                   8466:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8467:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
1.10    ! moko     8468:       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
        !          8469:       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
1.5       moko     8470:       echo "$RANLIB libconftest.a" >&5
                   8471:       $RANLIB libconftest.a 2>&5
                   8472:       cat > conftest.c << _LT_EOF
1.10    ! moko     8473: int main(void) { return 0;}
1.5       moko     8474: _LT_EOF
                   8475:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8476:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8477:       _lt_result=$?
                   8478:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8479:        cat conftest.err >&5
1.10    ! moko     8480:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1.5       moko     8481:        lt_cv_ld_force_load=yes
                   8482:       else
                   8483:        cat conftest.err >&5
                   8484:       fi
                   8485:         rm -f conftest.err libconftest.a conftest conftest.c
                   8486:         rm -rf conftest.dSYM
1.10    ! moko     8487:      ;;
        !          8488: esac
1.5       moko     8489: fi
1.10    ! moko     8490: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          8491: printf "%s\n" "$lt_cv_ld_force_load" >&6; }
1.5       moko     8492:     case $host_os in
                   8493:     rhapsody* | darwin1.[012])
1.10    ! moko     8494:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.5       moko     8495:     darwin1.*)
1.10    ! moko     8496:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
        !          8497:     darwin*)
        !          8498:       case $MACOSX_DEPLOYMENT_TARGET,$host in
        !          8499:         10.[012],*|,*powerpc*-darwin[5-8]*)
        !          8500:           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
        !          8501:         *)
        !          8502:           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
        !          8503:           if test yes = "$lt_cv_support_no_fixup_chains"; then
        !          8504:             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
        !          8505:           fi
        !          8506:         ;;
1.5       moko     8507:       esac
                   8508:     ;;
                   8509:   esac
1.10    ! moko     8510:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.5       moko     8511:       _lt_dar_single_mod='$single_module'
                   8512:     fi
1.10    ! moko     8513:     _lt_dar_needs_single_mod=no
        !          8514:     case $host_os in
        !          8515:     rhapsody* | darwin1.*)
        !          8516:       _lt_dar_needs_single_mod=yes ;;
        !          8517:     darwin*)
        !          8518:       # When targeting Mac OS X 10.4 (darwin 8) or later,
        !          8519:       # -single_module is the default and -multi_module is unsupported.
        !          8520:       # The toolchain on macOS 10.14 (darwin 18) and later cannot
        !          8521:       # target any OS version that needs -single_module.
        !          8522:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
        !          8523:       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
        !          8524:         _lt_dar_needs_single_mod=yes ;;
        !          8525:       esac
        !          8526:     ;;
        !          8527:     esac
        !          8528:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
        !          8529:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.5       moko     8530:     else
1.10    ! moko     8531:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.5       moko     8532:     fi
1.10    ! moko     8533:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.5       moko     8534:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8535:     else
                   8536:       _lt_dsymutil=
                   8537:     fi
                   8538:     ;;
                   8539:   esac
                   8540: 
1.10    ! moko     8541: # func_munge_path_list VARIABLE PATH
        !          8542: # -----------------------------------
        !          8543: # VARIABLE is name of variable containing _space_ separated list of
        !          8544: # directories to be munged by the contents of PATH, which is string
        !          8545: # having a format:
        !          8546: # "DIR[:DIR]:"
        !          8547: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          8548: # ":DIR[:DIR]"
        !          8549: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          8550: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          8551: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          8552: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          8553: # "DIR[:DIR]"
        !          8554: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          8555: func_munge_path_list ()
        !          8556: {
        !          8557:     case x$2 in
        !          8558:     x)
        !          8559:         ;;
        !          8560:     *:)
        !          8561:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          8562:         ;;
        !          8563:     x:*)
        !          8564:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          8565:         ;;
        !          8566:     *::*)
        !          8567:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          8568:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          8569:         ;;
        !          8570:     *)
        !          8571:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          8572:         ;;
        !          8573:     esac
        !          8574: }
        !          8575: 
        !          8576: ac_header= ac_cache=
        !          8577: for ac_item in $ac_header_c_list
1.5       moko     8578: do
1.10    ! moko     8579:   if test $ac_cache; then
        !          8580:     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
        !          8581:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
        !          8582:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
        !          8583:     fi
        !          8584:     ac_header= ac_cache=
        !          8585:   elif test $ac_header; then
        !          8586:     ac_cache=$ac_item
        !          8587:   else
        !          8588:     ac_header=$ac_item
        !          8589:   fi
        !          8590: done
        !          8591: 
        !          8592: 
        !          8593: 
        !          8594: 
        !          8595: 
        !          8596: 
        !          8597: 
        !          8598: 
        !          8599: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
        !          8600: then :
        !          8601: 
        !          8602: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
1.5       moko     8603: 
                   8604: fi
1.10    ! moko     8605: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
        !          8606: "
        !          8607: if test "x$ac_cv_header_dlfcn_h" = xyes
        !          8608: then :
        !          8609:   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
1.5       moko     8610: 
                   8611: fi
                   8612: 
                   8613: 
                   8614: 
                   8615: 
1.10    ! moko     8616: 
1.5       moko     8617: # Set options
                   8618: enable_dlopen=yes
                   8619: enable_win32_dll=yes
                   8620: 
                   8621: case $host in
1.10    ! moko     8622: *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
1.5       moko     8623:   if test -n "$ac_tool_prefix"; then
                   8624:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8625: set dummy ${ac_tool_prefix}as; ac_word=$2
1.10    ! moko     8626: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8627: printf %s "checking for $ac_word... " >&6; }
        !          8628: if test ${ac_cv_prog_AS+y}
        !          8629: then :
        !          8630:   printf %s "(cached) " >&6
        !          8631: else case e in #(
        !          8632:   e) if test -n "$AS"; then
1.5       moko     8633:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8634: else
                   8635: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8636: for as_dir in $PATH
                   8637: do
                   8638:   IFS=$as_save_IFS
1.10    ! moko     8639:   case $as_dir in #(((
        !          8640:     '') as_dir=./ ;;
        !          8641:     */) ;;
        !          8642:     *) as_dir=$as_dir/ ;;
        !          8643:   esac
1.5       moko     8644:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8645:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8646:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.10    ! moko     8647:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8648:     break 2
                   8649:   fi
                   8650: done
                   8651:   done
                   8652: IFS=$as_save_IFS
                   8653: 
1.10    ! moko     8654: fi ;;
        !          8655: esac
1.5       moko     8656: fi
                   8657: AS=$ac_cv_prog_AS
                   8658: if test -n "$AS"; then
1.10    ! moko     8659:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
        !          8660: printf "%s\n" "$AS" >&6; }
1.5       moko     8661: else
1.10    ! moko     8662:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8663: printf "%s\n" "no" >&6; }
1.5       moko     8664: fi
                   8665: 
                   8666: 
                   8667: fi
                   8668: if test -z "$ac_cv_prog_AS"; then
                   8669:   ac_ct_AS=$AS
                   8670:   # Extract the first word of "as", so it can be a program name with args.
                   8671: set dummy as; ac_word=$2
1.10    ! moko     8672: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8673: printf %s "checking for $ac_word... " >&6; }
        !          8674: if test ${ac_cv_prog_ac_ct_AS+y}
        !          8675: then :
        !          8676:   printf %s "(cached) " >&6
        !          8677: else case e in #(
        !          8678:   e) if test -n "$ac_ct_AS"; then
1.5       moko     8679:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8680: else
                   8681: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8682: for as_dir in $PATH
                   8683: do
                   8684:   IFS=$as_save_IFS
1.10    ! moko     8685:   case $as_dir in #(((
        !          8686:     '') as_dir=./ ;;
        !          8687:     */) ;;
        !          8688:     *) as_dir=$as_dir/ ;;
        !          8689:   esac
1.5       moko     8690:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8691:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8692:     ac_cv_prog_ac_ct_AS="as"
1.10    ! moko     8693:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8694:     break 2
                   8695:   fi
                   8696: done
                   8697:   done
                   8698: IFS=$as_save_IFS
                   8699: 
1.10    ! moko     8700: fi ;;
        !          8701: esac
1.5       moko     8702: fi
                   8703: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8704: if test -n "$ac_ct_AS"; then
1.10    ! moko     8705:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
        !          8706: printf "%s\n" "$ac_ct_AS" >&6; }
1.5       moko     8707: else
1.10    ! moko     8708:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8709: printf "%s\n" "no" >&6; }
1.5       moko     8710: fi
                   8711: 
                   8712:   if test "x$ac_ct_AS" = x; then
                   8713:     AS="false"
                   8714:   else
                   8715:     case $cross_compiling:$ac_tool_warned in
                   8716: yes:)
1.10    ! moko     8717: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8718: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     8719: ac_tool_warned=yes ;;
                   8720: esac
                   8721:     AS=$ac_ct_AS
                   8722:   fi
                   8723: else
                   8724:   AS="$ac_cv_prog_AS"
                   8725: fi
                   8726: 
                   8727:   if test -n "$ac_tool_prefix"; then
                   8728:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8729: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.10    ! moko     8730: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8731: printf %s "checking for $ac_word... " >&6; }
        !          8732: if test ${ac_cv_prog_DLLTOOL+y}
        !          8733: then :
        !          8734:   printf %s "(cached) " >&6
        !          8735: else case e in #(
        !          8736:   e) if test -n "$DLLTOOL"; then
1.5       moko     8737:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8738: else
                   8739: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8740: for as_dir in $PATH
                   8741: do
                   8742:   IFS=$as_save_IFS
1.10    ! moko     8743:   case $as_dir in #(((
        !          8744:     '') as_dir=./ ;;
        !          8745:     */) ;;
        !          8746:     *) as_dir=$as_dir/ ;;
        !          8747:   esac
1.5       moko     8748:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8749:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8750:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.10    ! moko     8751:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8752:     break 2
                   8753:   fi
                   8754: done
                   8755:   done
                   8756: IFS=$as_save_IFS
                   8757: 
1.10    ! moko     8758: fi ;;
        !          8759: esac
1.5       moko     8760: fi
                   8761: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8762: if test -n "$DLLTOOL"; then
1.10    ! moko     8763:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          8764: printf "%s\n" "$DLLTOOL" >&6; }
1.5       moko     8765: else
1.10    ! moko     8766:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8767: printf "%s\n" "no" >&6; }
1.5       moko     8768: fi
                   8769: 
                   8770: 
                   8771: fi
                   8772: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8773:   ac_ct_DLLTOOL=$DLLTOOL
                   8774:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8775: set dummy dlltool; ac_word=$2
1.10    ! moko     8776: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8777: printf %s "checking for $ac_word... " >&6; }
        !          8778: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
        !          8779: then :
        !          8780:   printf %s "(cached) " >&6
        !          8781: else case e in #(
        !          8782:   e) if test -n "$ac_ct_DLLTOOL"; then
1.5       moko     8783:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8784: else
                   8785: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8786: for as_dir in $PATH
                   8787: do
                   8788:   IFS=$as_save_IFS
1.10    ! moko     8789:   case $as_dir in #(((
        !          8790:     '') as_dir=./ ;;
        !          8791:     */) ;;
        !          8792:     *) as_dir=$as_dir/ ;;
        !          8793:   esac
1.5       moko     8794:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8795:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8796:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.10    ! moko     8797:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8798:     break 2
                   8799:   fi
                   8800: done
                   8801:   done
                   8802: IFS=$as_save_IFS
                   8803: 
1.10    ! moko     8804: fi ;;
        !          8805: esac
1.5       moko     8806: fi
                   8807: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8808: if test -n "$ac_ct_DLLTOOL"; then
1.10    ! moko     8809:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          8810: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
1.5       moko     8811: else
1.10    ! moko     8812:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8813: printf "%s\n" "no" >&6; }
1.5       moko     8814: fi
                   8815: 
                   8816:   if test "x$ac_ct_DLLTOOL" = x; then
                   8817:     DLLTOOL="false"
                   8818:   else
                   8819:     case $cross_compiling:$ac_tool_warned in
                   8820: yes:)
1.10    ! moko     8821: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8822: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     8823: ac_tool_warned=yes ;;
                   8824: esac
                   8825:     DLLTOOL=$ac_ct_DLLTOOL
                   8826:   fi
                   8827: else
                   8828:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8829: fi
                   8830: 
                   8831:   if test -n "$ac_tool_prefix"; then
                   8832:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8833: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.10    ! moko     8834: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8835: printf %s "checking for $ac_word... " >&6; }
        !          8836: if test ${ac_cv_prog_OBJDUMP+y}
        !          8837: then :
        !          8838:   printf %s "(cached) " >&6
        !          8839: else case e in #(
        !          8840:   e) if test -n "$OBJDUMP"; then
1.5       moko     8841:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8842: else
                   8843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8844: for as_dir in $PATH
                   8845: do
                   8846:   IFS=$as_save_IFS
1.10    ! moko     8847:   case $as_dir in #(((
        !          8848:     '') as_dir=./ ;;
        !          8849:     */) ;;
        !          8850:     *) as_dir=$as_dir/ ;;
        !          8851:   esac
1.5       moko     8852:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8853:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8854:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.10    ! moko     8855:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8856:     break 2
                   8857:   fi
                   8858: done
                   8859:   done
                   8860: IFS=$as_save_IFS
                   8861: 
1.10    ! moko     8862: fi ;;
        !          8863: esac
1.5       moko     8864: fi
                   8865: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8866: if test -n "$OBJDUMP"; then
1.10    ! moko     8867:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          8868: printf "%s\n" "$OBJDUMP" >&6; }
1.5       moko     8869: else
1.10    ! moko     8870:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8871: printf "%s\n" "no" >&6; }
1.5       moko     8872: fi
                   8873: 
                   8874: 
                   8875: fi
                   8876: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8877:   ac_ct_OBJDUMP=$OBJDUMP
                   8878:   # Extract the first word of "objdump", so it can be a program name with args.
                   8879: set dummy objdump; ac_word=$2
1.10    ! moko     8880: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8881: printf %s "checking for $ac_word... " >&6; }
        !          8882: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
        !          8883: then :
        !          8884:   printf %s "(cached) " >&6
        !          8885: else case e in #(
        !          8886:   e) if test -n "$ac_ct_OBJDUMP"; then
1.5       moko     8887:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8888: else
                   8889: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8890: for as_dir in $PATH
                   8891: do
                   8892:   IFS=$as_save_IFS
1.10    ! moko     8893:   case $as_dir in #(((
        !          8894:     '') as_dir=./ ;;
        !          8895:     */) ;;
        !          8896:     *) as_dir=$as_dir/ ;;
        !          8897:   esac
1.5       moko     8898:     for ac_exec_ext in '' $ac_executable_extensions; do
1.10    ! moko     8899:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.5       moko     8900:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.10    ! moko     8901:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.5       moko     8902:     break 2
                   8903:   fi
                   8904: done
                   8905:   done
                   8906: IFS=$as_save_IFS
                   8907: 
1.10    ! moko     8908: fi ;;
        !          8909: esac
1.5       moko     8910: fi
                   8911: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8912: if test -n "$ac_ct_OBJDUMP"; then
1.10    ! moko     8913:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          8914: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.5       moko     8915: else
1.10    ! moko     8916:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8917: printf "%s\n" "no" >&6; }
1.5       moko     8918: fi
                   8919: 
                   8920:   if test "x$ac_ct_OBJDUMP" = x; then
                   8921:     OBJDUMP="false"
                   8922:   else
                   8923:     case $cross_compiling:$ac_tool_warned in
                   8924: yes:)
1.10    ! moko     8925: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8926: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.5       moko     8927: ac_tool_warned=yes ;;
                   8928: esac
                   8929:     OBJDUMP=$ac_ct_OBJDUMP
                   8930:   fi
                   8931: else
                   8932:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8933: fi
                   8934: 
                   8935:   ;;
                   8936: esac
                   8937: 
                   8938: test -z "$AS" && AS=as
                   8939: 
                   8940: 
                   8941: 
                   8942: 
                   8943: 
                   8944: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8945: 
                   8946: 
                   8947: 
                   8948: 
                   8949: 
                   8950: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8951: 
                   8952: 
                   8953: 
                   8954: 
                   8955: 
                   8956: 
                   8957: 
                   8958: 
                   8959: 
                   8960:             # Check whether --enable-shared was given.
1.10    ! moko     8961: if test ${enable_shared+y}
        !          8962: then :
1.5       moko     8963:   enableval=$enable_shared; p=${PACKAGE-default}
                   8964:     case $enableval in
                   8965:     yes) enable_shared=yes ;;
                   8966:     no) enable_shared=no ;;
                   8967:     *)
                   8968:       enable_shared=no
                   8969:       # Look at the argument we got.  We use all the common list separators.
1.10    ! moko     8970:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.5       moko     8971:       for pkg in $enableval; do
1.10    ! moko     8972:        IFS=$lt_save_ifs
1.5       moko     8973:        if test "X$pkg" = "X$p"; then
                   8974:          enable_shared=yes
                   8975:        fi
                   8976:       done
1.10    ! moko     8977:       IFS=$lt_save_ifs
1.5       moko     8978:       ;;
                   8979:     esac
1.10    ! moko     8980: else case e in #(
        !          8981:   e) enable_shared=yes ;;
        !          8982: esac
1.5       moko     8983: fi
                   8984: 
                   8985: 
                   8986: 
                   8987: 
                   8988: 
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993:   # Check whether --enable-static was given.
1.10    ! moko     8994: if test ${enable_static+y}
        !          8995: then :
1.5       moko     8996:   enableval=$enable_static; p=${PACKAGE-default}
                   8997:     case $enableval in
                   8998:     yes) enable_static=yes ;;
                   8999:     no) enable_static=no ;;
                   9000:     *)
                   9001:      enable_static=no
                   9002:       # Look at the argument we got.  We use all the common list separators.
1.10    ! moko     9003:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.5       moko     9004:       for pkg in $enableval; do
1.10    ! moko     9005:        IFS=$lt_save_ifs
1.5       moko     9006:        if test "X$pkg" = "X$p"; then
                   9007:          enable_static=yes
                   9008:        fi
                   9009:       done
1.10    ! moko     9010:       IFS=$lt_save_ifs
1.5       moko     9011:       ;;
                   9012:     esac
1.10    ! moko     9013: else case e in #(
        !          9014:   e) enable_static=yes ;;
        !          9015: esac
1.5       moko     9016: fi
                   9017: 
                   9018: 
                   9019: 
                   9020: 
                   9021: 
                   9022: 
                   9023: 
                   9024: 
                   9025: 
1.10    ! moko     9026:   # Check whether --enable-pic was given.
        !          9027: if test ${enable_pic+y}
        !          9028: then :
        !          9029:   enableval=$enable_pic; lt_p=${PACKAGE-default}
        !          9030:      case $enableval in
        !          9031:      yes|no) pic_mode=$enableval ;;
        !          9032:      *)
        !          9033:        pic_mode=default
        !          9034:        # Look at the argument we got.  We use all the common list separators.
        !          9035:        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          9036:        for lt_pkg in $enableval; do
        !          9037:         IFS=$lt_save_ifs
        !          9038:         if test "X$lt_pkg" = "X$lt_p"; then
        !          9039:           pic_mode=yes
        !          9040:         fi
        !          9041:        done
        !          9042:        IFS=$lt_save_ifs
        !          9043:        ;;
        !          9044:      esac
        !          9045: else case e in #(
        !          9046:   e)           # Check whether --with-pic was given.
        !          9047: if test ${with_pic+y}
        !          9048: then :
1.5       moko     9049:   withval=$with_pic; lt_p=${PACKAGE-default}
1.10    ! moko     9050:         case $withval in
        !          9051:         yes|no) pic_mode=$withval ;;
        !          9052:         *)
        !          9053:           pic_mode=default
        !          9054:           # Look at the argument we got.  We use all the common list separators.
        !          9055:           lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          9056:           for lt_pkg in $withval; do
        !          9057:             IFS=$lt_save_ifs
        !          9058:             if test "X$lt_pkg" = "X$lt_p"; then
        !          9059:               pic_mode=yes
        !          9060:             fi
        !          9061:           done
        !          9062:           IFS=$lt_save_ifs
        !          9063:           ;;
        !          9064:         esac
        !          9065: else case e in #(
        !          9066:   e) pic_mode=default ;;
        !          9067: esac
1.5       moko     9068: fi
                   9069: 
1.10    ! moko     9070:      ;;
        !          9071: esac
        !          9072: fi
1.5       moko     9073: 
                   9074: 
                   9075: 
                   9076: 
                   9077: 
                   9078: 
                   9079: 
                   9080: 
                   9081:   # Check whether --enable-fast-install was given.
1.10    ! moko     9082: if test ${enable_fast_install+y}
        !          9083: then :
1.5       moko     9084:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   9085:     case $enableval in
                   9086:     yes) enable_fast_install=yes ;;
                   9087:     no) enable_fast_install=no ;;
                   9088:     *)
                   9089:       enable_fast_install=no
                   9090:       # Look at the argument we got.  We use all the common list separators.
1.10    ! moko     9091:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.5       moko     9092:       for pkg in $enableval; do
1.10    ! moko     9093:        IFS=$lt_save_ifs
1.5       moko     9094:        if test "X$pkg" = "X$p"; then
                   9095:          enable_fast_install=yes
                   9096:        fi
                   9097:       done
1.10    ! moko     9098:       IFS=$lt_save_ifs
1.5       moko     9099:       ;;
                   9100:     esac
1.10    ! moko     9101: else case e in #(
        !          9102:   e) enable_fast_install=yes ;;
        !          9103: esac
        !          9104: fi
        !          9105: 
        !          9106: 
        !          9107: 
        !          9108: 
        !          9109: 
        !          9110: 
        !          9111: 
        !          9112: 
        !          9113:   shared_archive_member_spec=
        !          9114: case $host,$enable_shared in
        !          9115: power*-*-aix[5-9]*,yes)
        !          9116:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
        !          9117: printf %s "checking which variant of shared library versioning to provide... " >&6; }
        !          9118:   # Check whether --enable-aix-soname was given.
        !          9119: if test ${enable_aix_soname+y}
        !          9120: then :
        !          9121:   enableval=$enable_aix_soname; case $enableval in
        !          9122:      aix|svr4|both)
        !          9123:        ;;
        !          9124:      *)
        !          9125:        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
        !          9126:        ;;
        !          9127:      esac
        !          9128:      lt_cv_with_aix_soname=$enable_aix_soname
        !          9129: else case e in #(
        !          9130:   e) # Check whether --with-aix-soname was given.
        !          9131: if test ${with_aix_soname+y}
        !          9132: then :
        !          9133:   withval=$with_aix_soname; case $withval in
        !          9134:          aix|svr4|both)
        !          9135:            ;;
        !          9136:          *)
        !          9137:            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
        !          9138:            ;;
        !          9139:          esac
        !          9140:          lt_cv_with_aix_soname=$with_aix_soname
        !          9141: else case e in #(
        !          9142:   e) if test ${lt_cv_with_aix_soname+y}
        !          9143: then :
        !          9144:   printf %s "(cached) " >&6
        !          9145: else case e in #(
        !          9146:   e) lt_cv_with_aix_soname=aix ;;
        !          9147: esac
        !          9148: fi
        !          9149:  ;;
        !          9150: esac
        !          9151: fi
        !          9152: 
        !          9153:      enable_aix_soname=$lt_cv_with_aix_soname ;;
        !          9154: esac
1.5       moko     9155: fi
                   9156: 
1.10    ! moko     9157:   with_aix_soname=$enable_aix_soname
        !          9158:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
        !          9159: printf "%s\n" "$with_aix_soname" >&6; }
        !          9160:   if test aix != "$with_aix_soname"; then
        !          9161:     # For the AIX way of multilib, we name the shared archive member
        !          9162:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
        !          9163:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
        !          9164:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
        !          9165:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
        !          9166:     if test 64 = "${OBJECT_MODE-32}"; then
        !          9167:       shared_archive_member_spec=shr_64
        !          9168:     else
        !          9169:       shared_archive_member_spec=shr
        !          9170:     fi
        !          9171:   fi
        !          9172:   ;;
        !          9173: *)
        !          9174:   with_aix_soname=aix
        !          9175:   ;;
        !          9176: esac
1.5       moko     9177: 
                   9178: 
                   9179: 
                   9180: 
                   9181: 
                   9182: 
                   9183: 
                   9184: 
                   9185: 
                   9186: 
                   9187: # This can be used to rebuild libtool when needed
1.10    ! moko     9188: LIBTOOL_DEPS=$ltmain
1.5       moko     9189: 
                   9190: # Always use our own libtool.
                   9191: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9192: 
                   9193: 
                   9194: 
                   9195: 
                   9196: 
                   9197: 
                   9198: 
                   9199: 
                   9200: 
                   9201: 
                   9202: 
                   9203: 
                   9204: 
                   9205: 
                   9206: 
                   9207: 
                   9208: 
                   9209: 
                   9210: 
                   9211: 
                   9212: 
                   9213: 
                   9214: 
                   9215: 
                   9216: 
                   9217: 
                   9218: 
                   9219: 
                   9220: 
                   9221: 
                   9222: test -z "$LN_S" && LN_S="ln -s"
                   9223: 
                   9224: 
                   9225: 
                   9226: 
                   9227: 
                   9228: 
                   9229: 
                   9230: 
                   9231: 
                   9232: 
                   9233: 
                   9234: 
                   9235: 
                   9236: 
1.10    ! moko     9237: if test -n "${ZSH_VERSION+set}"; then
1.5       moko     9238:    setopt NO_GLOB_SUBST
                   9239: fi
                   9240: 
1.10    ! moko     9241: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
        !          9242: printf %s "checking for objdir... " >&6; }
        !          9243: if test ${lt_cv_objdir+y}
        !          9244: then :
        !          9245:   printf %s "(cached) " >&6
        !          9246: else case e in #(
        !          9247:   e) rm -f .libs 2>/dev/null
1.5       moko     9248: mkdir .libs 2>/dev/null
                   9249: if test -d .libs; then
                   9250:   lt_cv_objdir=.libs
                   9251: else
                   9252:   # MS-DOS does not allow filenames that begin with a dot.
                   9253:   lt_cv_objdir=_libs
                   9254: fi
1.10    ! moko     9255: rmdir .libs 2>/dev/null ;;
        !          9256: esac
1.5       moko     9257: fi
1.10    ! moko     9258: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
        !          9259: printf "%s\n" "$lt_cv_objdir" >&6; }
1.5       moko     9260: objdir=$lt_cv_objdir
                   9261: 
                   9262: 
                   9263: 
                   9264: 
                   9265: 
1.10    ! moko     9266: printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
1.5       moko     9267: 
                   9268: 
                   9269: 
                   9270: 
                   9271: case $host_os in
                   9272: aix3*)
                   9273:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9274:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9275:   # vanish in a puff of smoke.
1.10    ! moko     9276:   if test set != "${COLLECT_NAMES+set}"; then
1.5       moko     9277:     COLLECT_NAMES=
                   9278:     export COLLECT_NAMES
                   9279:   fi
                   9280:   ;;
                   9281: esac
                   9282: 
                   9283: # Global variables:
                   9284: ofile=libtool
                   9285: can_build_shared=yes
                   9286: 
1.10    ! moko     9287: # All known linkers require a '.a' archive for static linking (except MSVC and
        !          9288: # ICC, which need '.lib').
1.5       moko     9289: libext=a
                   9290: 
1.10    ! moko     9291: with_gnu_ld=$lt_cv_prog_gnu_ld
1.5       moko     9292: 
1.10    ! moko     9293: old_CC=$CC
        !          9294: old_CFLAGS=$CFLAGS
1.5       moko     9295: 
                   9296: # Set sane defaults for various variables
                   9297: test -z "$CC" && CC=cc
                   9298: test -z "$LTCC" && LTCC=$CC
                   9299: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9300: test -z "$LD" && LD=ld
                   9301: test -z "$ac_objext" && ac_objext=o
                   9302: 
1.10    ! moko     9303: func_cc_basename $compiler
        !          9304: cc_basename=$func_cc_basename_result
1.5       moko     9305: 
                   9306: 
                   9307: # Only perform the check for file, if the check method requires it
                   9308: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9309: case $deplibs_check_method in
                   9310: file_magic*)
                   9311:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.10    ! moko     9312:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
        !          9313: printf %s "checking for ${ac_tool_prefix}file... " >&6; }
        !          9314: if test ${lt_cv_path_MAGIC_CMD+y}
        !          9315: then :
        !          9316:   printf %s "(cached) " >&6
        !          9317: else case e in #(
        !          9318:   e) case $MAGIC_CMD in
1.5       moko     9319: [\\/*] |  ?:[\\/]*)
1.10    ! moko     9320:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.5       moko     9321:   ;;
                   9322: *)
1.10    ! moko     9323:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          9324:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.5       moko     9325:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9326:   for ac_dir in $ac_dummy; do
1.10    ! moko     9327:     IFS=$lt_save_ifs
1.5       moko     9328:     test -z "$ac_dir" && ac_dir=.
1.10    ! moko     9329:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
        !          9330:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.5       moko     9331:       if test -n "$file_magic_test_file"; then
                   9332:        case $deplibs_check_method in
                   9333:        "file_magic "*)
                   9334:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.10    ! moko     9335:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.5       moko     9336:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9337:            $EGREP "$file_magic_regex" > /dev/null; then
                   9338:            :
                   9339:          else
                   9340:            cat <<_LT_EOF 1>&2
                   9341: 
                   9342: *** Warning: the command libtool uses to detect shared libraries,
                   9343: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9344: *** The result is that libtool may fail to recognize shared libraries
                   9345: *** as such.  This will affect the creation of libtool libraries that
                   9346: *** depend on shared libraries, but programs linked with such libtool
                   9347: *** libraries will work regardless of this problem.  Nevertheless, you
                   9348: *** may want to report the problem to your system manager and/or to
                   9349: *** bug-libtool@gnu.org
                   9350: 
                   9351: _LT_EOF
                   9352:          fi ;;
                   9353:        esac
                   9354:       fi
                   9355:       break
                   9356:     fi
                   9357:   done
1.10    ! moko     9358:   IFS=$lt_save_ifs
        !          9359:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.5       moko     9360:   ;;
1.10    ! moko     9361: esac ;;
1.5       moko     9362: esac
                   9363: fi
                   9364: 
1.10    ! moko     9365: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.5       moko     9366: if test -n "$MAGIC_CMD"; then
1.10    ! moko     9367:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
        !          9368: printf "%s\n" "$MAGIC_CMD" >&6; }
1.5       moko     9369: else
1.10    ! moko     9370:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9371: printf "%s\n" "no" >&6; }
1.5       moko     9372: fi
                   9373: 
                   9374: 
                   9375: 
                   9376: 
                   9377: 
                   9378: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9379:   if test -n "$ac_tool_prefix"; then
1.10    ! moko     9380:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
        !          9381: printf %s "checking for file... " >&6; }
        !          9382: if test ${lt_cv_path_MAGIC_CMD+y}
        !          9383: then :
        !          9384:   printf %s "(cached) " >&6
        !          9385: else case e in #(
        !          9386:   e) case $MAGIC_CMD in
1.5       moko     9387: [\\/*] |  ?:[\\/]*)
1.10    ! moko     9388:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.5       moko     9389:   ;;
                   9390: *)
1.10    ! moko     9391:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          9392:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.5       moko     9393:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9394:   for ac_dir in $ac_dummy; do
1.10    ! moko     9395:     IFS=$lt_save_ifs
1.5       moko     9396:     test -z "$ac_dir" && ac_dir=.
1.10    ! moko     9397:     if test -f "$ac_dir/file"; then
        !          9398:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.5       moko     9399:       if test -n "$file_magic_test_file"; then
                   9400:        case $deplibs_check_method in
                   9401:        "file_magic "*)
                   9402:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.10    ! moko     9403:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.5       moko     9404:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9405:            $EGREP "$file_magic_regex" > /dev/null; then
                   9406:            :
                   9407:          else
                   9408:            cat <<_LT_EOF 1>&2
                   9409: 
                   9410: *** Warning: the command libtool uses to detect shared libraries,
                   9411: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9412: *** The result is that libtool may fail to recognize shared libraries
                   9413: *** as such.  This will affect the creation of libtool libraries that
                   9414: *** depend on shared libraries, but programs linked with such libtool
                   9415: *** libraries will work regardless of this problem.  Nevertheless, you
                   9416: *** may want to report the problem to your system manager and/or to
                   9417: *** bug-libtool@gnu.org
                   9418: 
                   9419: _LT_EOF
                   9420:          fi ;;
                   9421:        esac
                   9422:       fi
                   9423:       break
                   9424:     fi
                   9425:   done
1.10    ! moko     9426:   IFS=$lt_save_ifs
        !          9427:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.5       moko     9428:   ;;
1.10    ! moko     9429: esac ;;
1.5       moko     9430: esac
                   9431: fi
                   9432: 
1.10    ! moko     9433: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.5       moko     9434: if test -n "$MAGIC_CMD"; then
1.10    ! moko     9435:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
        !          9436: printf "%s\n" "$MAGIC_CMD" >&6; }
1.5       moko     9437: else
1.10    ! moko     9438:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9439: printf "%s\n" "no" >&6; }
1.5       moko     9440: fi
                   9441: 
                   9442: 
                   9443:   else
                   9444:     MAGIC_CMD=:
                   9445:   fi
                   9446: fi
                   9447: 
                   9448:   fi
                   9449:   ;;
                   9450: esac
                   9451: 
                   9452: # Use C for the default configuration in the libtool script
                   9453: 
1.10    ! moko     9454: lt_save_CC=$CC
1.5       moko     9455: ac_ext=c
                   9456: ac_cpp='$CPP $CPPFLAGS'
                   9457: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9458: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9459: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9460: 
                   9461: 
                   9462: # Source file extension for C test sources.
                   9463: ac_ext=c
                   9464: 
                   9465: # Object file extension for compiled C test sources.
                   9466: objext=o
                   9467: objext=$objext
                   9468: 
                   9469: # Code to be used in simple compile tests
                   9470: lt_simple_compile_test_code="int some_variable = 0;"
                   9471: 
                   9472: # Code to be used in simple link tests
1.10    ! moko     9473: lt_simple_link_test_code='int main(void){return(0);}'
1.5       moko     9474: 
                   9475: 
                   9476: 
                   9477: 
                   9478: 
                   9479: 
                   9480: 
                   9481: # If no C compiler was specified, use CC.
                   9482: LTCC=${LTCC-"$CC"}
                   9483: 
                   9484: # If no C compiler flags were specified, use CFLAGS.
                   9485: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9486: 
                   9487: # Allow CC to be a program name with arguments.
                   9488: compiler=$CC
                   9489: 
                   9490: # Save the default compiler, since it gets overwritten when the other
                   9491: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9492: compiler_DEFAULT=$CC
                   9493: 
                   9494: # save warnings/boilerplate of simple test code
                   9495: ac_outfile=conftest.$ac_objext
                   9496: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9497: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9498: _lt_compiler_boilerplate=`cat conftest.err`
                   9499: $RM conftest*
                   9500: 
                   9501: ac_outfile=conftest.$ac_objext
                   9502: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9503: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9504: _lt_linker_boilerplate=`cat conftest.err`
                   9505: $RM -r conftest*
                   9506: 
                   9507: 
                   9508: ## CAVEAT EMPTOR:
                   9509: ## There is no encapsulation within the following macros, do not change
                   9510: ## the running order or otherwise move them around unless you know exactly
                   9511: ## what you are doing...
                   9512: if test -n "$compiler"; then
                   9513: 
                   9514: lt_prog_compiler_no_builtin_flag=
                   9515: 
1.10    ! moko     9516: if test yes = "$GCC"; then
1.5       moko     9517:   case $cc_basename in
                   9518:   nvcc*)
                   9519:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9520:   *)
                   9521:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9522:   esac
                   9523: 
1.10    ! moko     9524:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
        !          9525: printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
        !          9526: if test ${lt_cv_prog_compiler_rtti_exceptions+y}
        !          9527: then :
        !          9528:   printf %s "(cached) " >&6
        !          9529: else case e in #(
        !          9530:   e) lt_cv_prog_compiler_rtti_exceptions=no
1.5       moko     9531:    ac_outfile=conftest.$ac_objext
                   9532:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.10    ! moko     9533:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.5       moko     9534:    # Insert the option either (1) after the last *FLAGS variable, or
                   9535:    # (2) before a word containing "conftest.", or (3) at the end.
                   9536:    # Note that $ac_compile itself does not contain backslashes and begins
                   9537:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9538:    # The option is referenced via a variable to avoid confusing sed.
                   9539:    lt_compile=`echo "$ac_compile" | $SED \
                   9540:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9541:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9542:    -e 's:$: $lt_compiler_flag:'`
                   9543:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9544:    (eval "$lt_compile" 2>conftest.err)
                   9545:    ac_status=$?
                   9546:    cat conftest.err >&5
                   9547:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9548:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9549:      # The compiler can only warn and ignore the option if not recognized
                   9550:      # So say no if there are warnings other than the usual output.
                   9551:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9552:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9553:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9554:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9555:      fi
                   9556:    fi
                   9557:    $RM conftest*
1.10    ! moko     9558:  ;;
        !          9559: esac
1.5       moko     9560: fi
1.10    ! moko     9561: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
        !          9562: printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.5       moko     9563: 
1.10    ! moko     9564: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.5       moko     9565:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9566: else
                   9567:     :
                   9568: fi
                   9569: 
                   9570: fi
                   9571: 
                   9572: 
                   9573: 
                   9574: 
                   9575: 
                   9576: 
                   9577:   lt_prog_compiler_wl=
                   9578: lt_prog_compiler_pic=
                   9579: lt_prog_compiler_static=
                   9580: 
                   9581: 
1.10    ! moko     9582:   if test yes = "$GCC"; then
1.5       moko     9583:     lt_prog_compiler_wl='-Wl,'
                   9584:     lt_prog_compiler_static='-static'
                   9585: 
                   9586:     case $host_os in
                   9587:       aix*)
                   9588:       # All AIX code is PIC.
1.10    ! moko     9589:       if test ia64 = "$host_cpu"; then
1.5       moko     9590:        # AIX 5 now supports IA64 processor
                   9591:        lt_prog_compiler_static='-Bstatic'
                   9592:       fi
1.10    ! moko     9593:       lt_prog_compiler_pic='-fPIC'
1.5       moko     9594:       ;;
                   9595: 
                   9596:     amigaos*)
                   9597:       case $host_cpu in
                   9598:       powerpc)
                   9599:             # see comment about AmigaOS4 .so support
                   9600:             lt_prog_compiler_pic='-fPIC'
                   9601:         ;;
                   9602:       m68k)
                   9603:             # FIXME: we need at least 68020 code to build shared libraries, but
1.10    ! moko     9604:             # adding the '-m68020' flag to GCC prevents building anything better,
        !          9605:             # like '-m68040'.
1.5       moko     9606:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9607:         ;;
                   9608:       esac
                   9609:       ;;
                   9610: 
                   9611:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9612:       # PIC is the default for these OSes.
                   9613:       ;;
                   9614: 
1.10    ! moko     9615:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.5       moko     9616:       # This hack is so that the source file can tell whether it is being
                   9617:       # built for inclusion in a dll (and should export symbols for example).
                   9618:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9619:       # (--disable-auto-import) libraries
                   9620:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.10    ! moko     9621:       case $host_os in
        !          9622:       os2*)
        !          9623:        lt_prog_compiler_static='$wl-static'
        !          9624:        ;;
        !          9625:       esac
1.5       moko     9626:       ;;
                   9627: 
                   9628:     darwin* | rhapsody*)
                   9629:       # PIC is the default on this platform
                   9630:       # Common symbols not allowed in MH_DYLIB files
                   9631:       lt_prog_compiler_pic='-fno-common'
                   9632:       ;;
                   9633: 
                   9634:     haiku*)
                   9635:       # PIC is the default for Haiku.
                   9636:       # The "-static" flag exists, but is broken.
                   9637:       lt_prog_compiler_static=
                   9638:       ;;
                   9639: 
                   9640:     hpux*)
                   9641:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9642:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9643:       # sets the default TLS model and affects inlining.
                   9644:       case $host_cpu in
                   9645:       hppa*64*)
                   9646:        # +Z the default
                   9647:        ;;
                   9648:       *)
                   9649:        lt_prog_compiler_pic='-fPIC'
                   9650:        ;;
                   9651:       esac
                   9652:       ;;
                   9653: 
                   9654:     interix[3-9]*)
                   9655:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9656:       # Instead, we relocate shared libraries at runtime.
                   9657:       ;;
                   9658: 
                   9659:     msdosdjgpp*)
                   9660:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9661:       # on systems that don't support them.
                   9662:       lt_prog_compiler_can_build_shared=no
                   9663:       enable_shared=no
                   9664:       ;;
                   9665: 
                   9666:     *nto* | *qnx*)
                   9667:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9668:       # it will coredump.
                   9669:       lt_prog_compiler_pic='-fPIC -shared'
                   9670:       ;;
                   9671: 
                   9672:     sysv4*MP*)
                   9673:       if test -d /usr/nec; then
                   9674:        lt_prog_compiler_pic=-Kconform_pic
                   9675:       fi
                   9676:       ;;
                   9677: 
                   9678:     *)
                   9679:       lt_prog_compiler_pic='-fPIC'
                   9680:       ;;
                   9681:     esac
                   9682: 
                   9683:     case $cc_basename in
                   9684:     nvcc*) # Cuda Compiler Driver 2.2
                   9685:       lt_prog_compiler_wl='-Xlinker '
                   9686:       if test -n "$lt_prog_compiler_pic"; then
                   9687:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9688:       fi
                   9689:       ;;
                   9690:     esac
                   9691:   else
                   9692:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9693:     case $host_os in
                   9694:     aix*)
                   9695:       lt_prog_compiler_wl='-Wl,'
1.10    ! moko     9696:       if test ia64 = "$host_cpu"; then
1.5       moko     9697:        # AIX 5 now supports IA64 processor
                   9698:        lt_prog_compiler_static='-Bstatic'
                   9699:       else
                   9700:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9701:       fi
                   9702:       ;;
                   9703: 
1.10    ! moko     9704:     darwin* | rhapsody*)
        !          9705:       # PIC is the default on this platform
        !          9706:       # Common symbols not allowed in MH_DYLIB files
        !          9707:       lt_prog_compiler_pic='-fno-common'
        !          9708:       case $cc_basename in
        !          9709:       nagfor*)
        !          9710:         # NAG Fortran compiler
        !          9711:         lt_prog_compiler_wl='-Wl,-Wl,,'
        !          9712:         lt_prog_compiler_pic='-PIC'
        !          9713:         lt_prog_compiler_static='-Bstatic'
        !          9714:         ;;
        !          9715:       esac
        !          9716:       ;;
        !          9717: 
        !          9718:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.5       moko     9719:       # This hack is so that the source file can tell whether it is being
                   9720:       # built for inclusion in a dll (and should export symbols for example).
                   9721:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.10    ! moko     9722:       case $host_os in
        !          9723:       os2*)
        !          9724:        lt_prog_compiler_static='$wl-static'
        !          9725:        ;;
        !          9726:       esac
1.5       moko     9727:       ;;
                   9728: 
                   9729:     hpux9* | hpux10* | hpux11*)
                   9730:       lt_prog_compiler_wl='-Wl,'
                   9731:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9732:       # not for PA HP-UX.
                   9733:       case $host_cpu in
                   9734:       hppa*64*|ia64*)
                   9735:        # +Z the default
                   9736:        ;;
                   9737:       *)
                   9738:        lt_prog_compiler_pic='+Z'
                   9739:        ;;
                   9740:       esac
                   9741:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.10    ! moko     9742:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.5       moko     9743:       ;;
                   9744: 
                   9745:     irix5* | irix6* | nonstopux*)
                   9746:       lt_prog_compiler_wl='-Wl,'
                   9747:       # PIC (with -KPIC) is the default.
                   9748:       lt_prog_compiler_static='-non_shared'
                   9749:       ;;
                   9750: 
1.10    ! moko     9751:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.5       moko     9752:       case $cc_basename in
1.10    ! moko     9753:       # old Intel for x86_64, which still supported -KPIC.
1.5       moko     9754:       ecc*)
                   9755:        lt_prog_compiler_wl='-Wl,'
                   9756:        lt_prog_compiler_pic='-KPIC'
                   9757:        lt_prog_compiler_static='-static'
                   9758:         ;;
1.10    ! moko     9759:       *flang* | ftn | f18* | f95*)
        !          9760:         # Flang compiler.
        !          9761:        lt_prog_compiler_wl='-Wl,'
        !          9762:        lt_prog_compiler_pic='-fPIC'
        !          9763:        lt_prog_compiler_static='-static'
        !          9764:         ;;
        !          9765:       # flang / f18. f95 an alias for gfortran or flang on Debian
        !          9766:       flang* | f18* | f95*)
        !          9767:        lt_prog_compiler_wl='-Wl,'
        !          9768:        lt_prog_compiler_pic='-fPIC'
        !          9769:        lt_prog_compiler_static='-static'
        !          9770:         ;;
1.5       moko     9771:       # icc used to be incompatible with GCC.
                   9772:       # ICC 10 doesn't accept -KPIC any more.
                   9773:       icc* | ifort*)
                   9774:        lt_prog_compiler_wl='-Wl,'
                   9775:        lt_prog_compiler_pic='-fPIC'
                   9776:        lt_prog_compiler_static='-static'
                   9777:         ;;
                   9778:       # Lahey Fortran 8.1.
                   9779:       lf95*)
                   9780:        lt_prog_compiler_wl='-Wl,'
                   9781:        lt_prog_compiler_pic='--shared'
                   9782:        lt_prog_compiler_static='--static'
                   9783:        ;;
                   9784:       nagfor*)
                   9785:        # NAG Fortran compiler
                   9786:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9787:        lt_prog_compiler_pic='-PIC'
                   9788:        lt_prog_compiler_static='-Bstatic'
                   9789:        ;;
1.10    ! moko     9790:       tcc*)
        !          9791:        # Fabrice Bellard et al's Tiny C Compiler
        !          9792:        lt_prog_compiler_wl='-Wl,'
        !          9793:        lt_prog_compiler_pic='-fPIC'
        !          9794:        lt_prog_compiler_static='-static'
        !          9795:        ;;
1.5       moko     9796:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9797:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9798:        # which looks to be a dead project)
                   9799:        lt_prog_compiler_wl='-Wl,'
                   9800:        lt_prog_compiler_pic='-fpic'
                   9801:        lt_prog_compiler_static='-Bstatic'
                   9802:         ;;
                   9803:       ccc*)
                   9804:         lt_prog_compiler_wl='-Wl,'
                   9805:         # All Alpha code is PIC.
                   9806:         lt_prog_compiler_static='-non_shared'
                   9807:         ;;
                   9808:       xl* | bgxl* | bgf* | mpixl*)
                   9809:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9810:        lt_prog_compiler_wl='-Wl,'
                   9811:        lt_prog_compiler_pic='-qpic'
                   9812:        lt_prog_compiler_static='-qstaticlink'
                   9813:        ;;
                   9814:       *)
1.10    ! moko     9815:        case `$CC -V 2>&1 | $SED 5q` in
1.5       moko     9816:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9817:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9818:          lt_prog_compiler_pic='-KPIC'
                   9819:          lt_prog_compiler_static='-Bstatic'
                   9820:          lt_prog_compiler_wl=''
                   9821:          ;;
                   9822:        *Sun\ F* | *Sun*Fortran*)
                   9823:          lt_prog_compiler_pic='-KPIC'
                   9824:          lt_prog_compiler_static='-Bstatic'
                   9825:          lt_prog_compiler_wl='-Qoption ld '
                   9826:          ;;
                   9827:        *Sun\ C*)
                   9828:          # Sun C 5.9
                   9829:          lt_prog_compiler_pic='-KPIC'
                   9830:          lt_prog_compiler_static='-Bstatic'
                   9831:          lt_prog_compiler_wl='-Wl,'
                   9832:          ;;
                   9833:         *Intel*\ [CF]*Compiler*)
                   9834:          lt_prog_compiler_wl='-Wl,'
                   9835:          lt_prog_compiler_pic='-fPIC'
                   9836:          lt_prog_compiler_static='-static'
                   9837:          ;;
                   9838:        *Portland\ Group*)
                   9839:          lt_prog_compiler_wl='-Wl,'
                   9840:          lt_prog_compiler_pic='-fpic'
                   9841:          lt_prog_compiler_static='-Bstatic'
                   9842:          ;;
                   9843:        esac
                   9844:        ;;
                   9845:       esac
                   9846:       ;;
                   9847: 
                   9848:     newsos6)
                   9849:       lt_prog_compiler_pic='-KPIC'
                   9850:       lt_prog_compiler_static='-Bstatic'
                   9851:       ;;
                   9852: 
1.10    ! moko     9853:     *-mlibc)
        !          9854:       lt_prog_compiler_wl='-Wl,'
        !          9855:       lt_prog_compiler_pic='-fPIC'
        !          9856:       lt_prog_compiler_static='-static'
        !          9857:       ;;
        !          9858: 
1.5       moko     9859:     *nto* | *qnx*)
                   9860:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9861:       # it will coredump.
                   9862:       lt_prog_compiler_pic='-fPIC -shared'
                   9863:       ;;
                   9864: 
                   9865:     osf3* | osf4* | osf5*)
                   9866:       lt_prog_compiler_wl='-Wl,'
                   9867:       # All OSF/1 code is PIC.
                   9868:       lt_prog_compiler_static='-non_shared'
                   9869:       ;;
                   9870: 
                   9871:     rdos*)
                   9872:       lt_prog_compiler_static='-non_shared'
                   9873:       ;;
                   9874: 
1.10    ! moko     9875:     serenity*)
        !          9876:       ;;
        !          9877: 
1.5       moko     9878:     solaris*)
                   9879:       lt_prog_compiler_pic='-KPIC'
                   9880:       lt_prog_compiler_static='-Bstatic'
                   9881:       case $cc_basename in
                   9882:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9883:        lt_prog_compiler_wl='-Qoption ld ';;
                   9884:       *)
                   9885:        lt_prog_compiler_wl='-Wl,';;
                   9886:       esac
                   9887:       ;;
                   9888: 
                   9889:     sunos4*)
                   9890:       lt_prog_compiler_wl='-Qoption ld '
                   9891:       lt_prog_compiler_pic='-PIC'
                   9892:       lt_prog_compiler_static='-Bstatic'
                   9893:       ;;
                   9894: 
                   9895:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9896:       lt_prog_compiler_wl='-Wl,'
                   9897:       lt_prog_compiler_pic='-KPIC'
                   9898:       lt_prog_compiler_static='-Bstatic'
                   9899:       ;;
                   9900: 
                   9901:     sysv4*MP*)
1.10    ! moko     9902:       if test -d /usr/nec; then
1.5       moko     9903:        lt_prog_compiler_pic='-Kconform_pic'
                   9904:        lt_prog_compiler_static='-Bstatic'
                   9905:       fi
                   9906:       ;;
                   9907: 
                   9908:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9909:       lt_prog_compiler_wl='-Wl,'
                   9910:       lt_prog_compiler_pic='-KPIC'
                   9911:       lt_prog_compiler_static='-Bstatic'
                   9912:       ;;
                   9913: 
                   9914:     unicos*)
                   9915:       lt_prog_compiler_wl='-Wl,'
                   9916:       lt_prog_compiler_can_build_shared=no
                   9917:       ;;
                   9918: 
                   9919:     uts4*)
                   9920:       lt_prog_compiler_pic='-pic'
                   9921:       lt_prog_compiler_static='-Bstatic'
                   9922:       ;;
                   9923: 
                   9924:     *)
                   9925:       lt_prog_compiler_can_build_shared=no
                   9926:       ;;
                   9927:     esac
                   9928:   fi
                   9929: 
                   9930: case $host_os in
1.10    ! moko     9931:   # For platforms that do not support PIC, -DPIC is meaningless:
1.5       moko     9932:   *djgpp*)
                   9933:     lt_prog_compiler_pic=
                   9934:     ;;
                   9935:   *)
                   9936:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9937:     ;;
                   9938: esac
                   9939: 
1.10    ! moko     9940: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          9941: printf %s "checking for $compiler option to produce PIC... " >&6; }
        !          9942: if test ${lt_cv_prog_compiler_pic+y}
        !          9943: then :
        !          9944:   printf %s "(cached) " >&6
        !          9945: else case e in #(
        !          9946:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
        !          9947: esac
1.5       moko     9948: fi
1.10    ! moko     9949: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          9950: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
1.5       moko     9951: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9952: 
                   9953: #
                   9954: # Check to make sure the PIC flag actually works.
                   9955: #
                   9956: if test -n "$lt_prog_compiler_pic"; then
1.10    ! moko     9957:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
        !          9958: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
        !          9959: if test ${lt_cv_prog_compiler_pic_works+y}
        !          9960: then :
        !          9961:   printf %s "(cached) " >&6
        !          9962: else case e in #(
        !          9963:   e) lt_cv_prog_compiler_pic_works=no
1.5       moko     9964:    ac_outfile=conftest.$ac_objext
                   9965:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.10    ! moko     9966:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.5       moko     9967:    # Insert the option either (1) after the last *FLAGS variable, or
                   9968:    # (2) before a word containing "conftest.", or (3) at the end.
                   9969:    # Note that $ac_compile itself does not contain backslashes and begins
                   9970:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9971:    # The option is referenced via a variable to avoid confusing sed.
                   9972:    lt_compile=`echo "$ac_compile" | $SED \
                   9973:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9974:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9975:    -e 's:$: $lt_compiler_flag:'`
                   9976:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9977:    (eval "$lt_compile" 2>conftest.err)
                   9978:    ac_status=$?
                   9979:    cat conftest.err >&5
                   9980:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9981:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9982:      # The compiler can only warn and ignore the option if not recognized
                   9983:      # So say no if there are warnings other than the usual output.
                   9984:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9985:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9986:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9987:        lt_cv_prog_compiler_pic_works=yes
                   9988:      fi
                   9989:    fi
                   9990:    $RM conftest*
1.10    ! moko     9991:  ;;
        !          9992: esac
1.5       moko     9993: fi
1.10    ! moko     9994: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
        !          9995: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
1.5       moko     9996: 
1.10    ! moko     9997: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.5       moko     9998:     case $lt_prog_compiler_pic in
                   9999:      "" | " "*) ;;
                   10000:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10001:      esac
                   10002: else
                   10003:     lt_prog_compiler_pic=
                   10004:      lt_prog_compiler_can_build_shared=no
                   10005: fi
                   10006: 
                   10007: fi
                   10008: 
                   10009: 
                   10010: 
                   10011: 
                   10012: 
                   10013: 
                   10014: 
                   10015: 
                   10016: 
                   10017: 
                   10018: 
                   10019: #
                   10020: # Check to make sure the static flag actually works.
                   10021: #
                   10022: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.10    ! moko     10023: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        !          10024: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
        !          10025: if test ${lt_cv_prog_compiler_static_works+y}
        !          10026: then :
        !          10027:   printf %s "(cached) " >&6
        !          10028: else case e in #(
        !          10029:   e) lt_cv_prog_compiler_static_works=no
        !          10030:    save_LDFLAGS=$LDFLAGS
1.5       moko     10031:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10032:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10033:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10034:      # The linker can only warn and ignore the option if not recognized
                   10035:      # So say no if there are warnings
                   10036:      if test -s conftest.err; then
                   10037:        # Append any errors to the config.log.
                   10038:        cat conftest.err 1>&5
                   10039:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10040:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10041:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10042:          lt_cv_prog_compiler_static_works=yes
                   10043:        fi
                   10044:      else
                   10045:        lt_cv_prog_compiler_static_works=yes
                   10046:      fi
                   10047:    fi
                   10048:    $RM -r conftest*
1.10    ! moko     10049:    LDFLAGS=$save_LDFLAGS
        !          10050:  ;;
        !          10051: esac
1.5       moko     10052: fi
1.10    ! moko     10053: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
        !          10054: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
1.5       moko     10055: 
1.10    ! moko     10056: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.5       moko     10057:     :
                   10058: else
                   10059:     lt_prog_compiler_static=
                   10060: fi
                   10061: 
                   10062: 
                   10063: 
                   10064: 
                   10065: 
                   10066: 
                   10067: 
1.10    ! moko     10068:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          10069: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          10070: if test ${lt_cv_prog_compiler_c_o+y}
        !          10071: then :
        !          10072:   printf %s "(cached) " >&6
        !          10073: else case e in #(
        !          10074:   e) lt_cv_prog_compiler_c_o=no
1.5       moko     10075:    $RM -r conftest 2>/dev/null
                   10076:    mkdir conftest
                   10077:    cd conftest
                   10078:    mkdir out
                   10079:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10080: 
                   10081:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10082:    # Insert the option either (1) after the last *FLAGS variable, or
                   10083:    # (2) before a word containing "conftest.", or (3) at the end.
                   10084:    # Note that $ac_compile itself does not contain backslashes and begins
                   10085:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10086:    lt_compile=`echo "$ac_compile" | $SED \
                   10087:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10088:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10089:    -e 's:$: $lt_compiler_flag:'`
                   10090:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10091:    (eval "$lt_compile" 2>out/conftest.err)
                   10092:    ac_status=$?
                   10093:    cat out/conftest.err >&5
                   10094:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10095:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10096:    then
                   10097:      # The compiler can only warn and ignore the option if not recognized
                   10098:      # So say no if there are warnings
                   10099:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10100:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10101:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10102:        lt_cv_prog_compiler_c_o=yes
                   10103:      fi
                   10104:    fi
                   10105:    chmod u+w . 2>&5
                   10106:    $RM conftest*
                   10107:    # SGI C++ compiler will create directory out/ii_files/ for
                   10108:    # template instantiation
                   10109:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10110:    $RM out/* && rmdir out
                   10111:    cd ..
                   10112:    $RM -r conftest
                   10113:    $RM conftest*
1.10    ! moko     10114:  ;;
        !          10115: esac
1.5       moko     10116: fi
1.10    ! moko     10117: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
        !          10118: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.5       moko     10119: 
                   10120: 
                   10121: 
                   10122: 
                   10123: 
                   10124: 
1.10    ! moko     10125:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          10126: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          10127: if test ${lt_cv_prog_compiler_c_o+y}
        !          10128: then :
        !          10129:   printf %s "(cached) " >&6
        !          10130: else case e in #(
        !          10131:   e) lt_cv_prog_compiler_c_o=no
1.5       moko     10132:    $RM -r conftest 2>/dev/null
                   10133:    mkdir conftest
                   10134:    cd conftest
                   10135:    mkdir out
                   10136:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10137: 
                   10138:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10139:    # Insert the option either (1) after the last *FLAGS variable, or
                   10140:    # (2) before a word containing "conftest.", or (3) at the end.
                   10141:    # Note that $ac_compile itself does not contain backslashes and begins
                   10142:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10143:    lt_compile=`echo "$ac_compile" | $SED \
                   10144:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10145:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10146:    -e 's:$: $lt_compiler_flag:'`
                   10147:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10148:    (eval "$lt_compile" 2>out/conftest.err)
                   10149:    ac_status=$?
                   10150:    cat out/conftest.err >&5
                   10151:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10152:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10153:    then
                   10154:      # The compiler can only warn and ignore the option if not recognized
                   10155:      # So say no if there are warnings
                   10156:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10157:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10158:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10159:        lt_cv_prog_compiler_c_o=yes
                   10160:      fi
                   10161:    fi
                   10162:    chmod u+w . 2>&5
                   10163:    $RM conftest*
                   10164:    # SGI C++ compiler will create directory out/ii_files/ for
                   10165:    # template instantiation
                   10166:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10167:    $RM out/* && rmdir out
                   10168:    cd ..
                   10169:    $RM -r conftest
                   10170:    $RM conftest*
1.10    ! moko     10171:  ;;
        !          10172: esac
1.5       moko     10173: fi
1.10    ! moko     10174: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
        !          10175: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.5       moko     10176: 
                   10177: 
                   10178: 
                   10179: 
1.10    ! moko     10180: hard_links=nottested
        !          10181: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.5       moko     10182:   # do not overwrite the value of need_locks provided by the user
1.10    ! moko     10183:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
        !          10184: printf %s "checking if we can lock with hard links... " >&6; }
1.5       moko     10185:   hard_links=yes
                   10186:   $RM conftest*
                   10187:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10188:   touch conftest.a
                   10189:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10190:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.10    ! moko     10191:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
        !          10192: printf "%s\n" "$hard_links" >&6; }
        !          10193:   if test no = "$hard_links"; then
        !          10194:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
        !          10195: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.5       moko     10196:     need_locks=warn
                   10197:   fi
                   10198: else
                   10199:   need_locks=no
                   10200: fi
                   10201: 
                   10202: 
                   10203: 
                   10204: 
                   10205: 
                   10206: 
1.10    ! moko     10207:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        !          10208: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.5       moko     10209: 
                   10210:   runpath_var=
                   10211:   allow_undefined_flag=
                   10212:   always_export_symbols=no
                   10213:   archive_cmds=
                   10214:   archive_expsym_cmds=
                   10215:   compiler_needs_object=no
                   10216:   enable_shared_with_static_runtimes=no
                   10217:   export_dynamic_flag_spec=
                   10218:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10219:   hardcode_automatic=no
                   10220:   hardcode_direct=no
                   10221:   hardcode_direct_absolute=no
                   10222:   hardcode_libdir_flag_spec=
                   10223:   hardcode_libdir_separator=
                   10224:   hardcode_minus_L=no
                   10225:   hardcode_shlibpath_var=unsupported
                   10226:   inherit_rpath=no
                   10227:   link_all_deplibs=unknown
                   10228:   module_cmds=
                   10229:   module_expsym_cmds=
                   10230:   old_archive_from_new_cmds=
                   10231:   old_archive_from_expsyms_cmds=
                   10232:   thread_safe_flag_spec=
                   10233:   whole_archive_flag_spec=
                   10234:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10235:   # included in the symbol list
                   10236:   include_expsyms=
                   10237:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.10    ! moko     10238:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
        !          10239:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
        !          10240:   # as well as any symbol that contains 'd'.
1.5       moko     10241:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10242:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10243:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10244:   # the symbol is explicitly referenced.  Since portable code cannot
                   10245:   # rely on this symbol name, it's probably fine to never include it in
                   10246:   # preloaded symbol tables.
                   10247:   # Exclude shared library initialization/finalization symbols.
                   10248:   extract_expsyms_cmds=
                   10249: 
                   10250:   case $host_os in
1.10    ! moko     10251:   cygwin* | mingw* | windows* | pw32* | cegcc*)
        !          10252:     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
1.5       moko     10253:     # When not using gcc, we currently assume that we are using
1.10    ! moko     10254:     # Microsoft Visual C++ or Intel C++ Compiler.
        !          10255:     if test yes != "$GCC"; then
1.5       moko     10256:       with_gnu_ld=no
                   10257:     fi
                   10258:     ;;
                   10259:   interix*)
1.10    ! moko     10260:     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
1.5       moko     10261:     with_gnu_ld=yes
                   10262:     ;;
1.10    ! moko     10263:   linux* | k*bsd*-gnu | gnu*)
        !          10264:     link_all_deplibs=no
1.5       moko     10265:     ;;
                   10266:   esac
                   10267: 
                   10268:   ld_shlibs=yes
                   10269: 
                   10270:   # On some targets, GNU ld is compatible enough with the native linker
                   10271:   # that we're better off using the native interface for both.
                   10272:   lt_use_gnu_ld_interface=no
1.10    ! moko     10273:   if test yes = "$with_gnu_ld"; then
1.5       moko     10274:     case $host_os in
                   10275:       aix*)
                   10276:        # The AIX port of GNU ld has always aspired to compatibility
                   10277:        # with the native linker.  However, as the warning in the GNU ld
                   10278:        # block says, versions before 2.19.5* couldn't really create working
                   10279:        # shared libraries, regardless of the interface used.
                   10280:        case `$LD -v 2>&1` in
                   10281:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10282:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10283:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10284:          *)
                   10285:            lt_use_gnu_ld_interface=yes
                   10286:            ;;
                   10287:        esac
                   10288:        ;;
                   10289:       *)
                   10290:        lt_use_gnu_ld_interface=yes
                   10291:        ;;
                   10292:     esac
                   10293:   fi
                   10294: 
1.10    ! moko     10295:   if test yes = "$lt_use_gnu_ld_interface"; then
1.5       moko     10296:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.10    ! moko     10297:     wlarc='$wl'
1.5       moko     10298: 
                   10299:     # Set some defaults for GNU ld with shared library support. These
                   10300:     # are reset later if shared libraries are not supported. Putting them
                   10301:     # here allows them to be overridden if necessary.
                   10302:     runpath_var=LD_RUN_PATH
1.10    ! moko     10303:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          10304:     export_dynamic_flag_spec='$wl--export-dynamic'
1.5       moko     10305:     # ancient GNU ld didn't support --whole-archive et. al.
                   10306:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.10    ! moko     10307:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.5       moko     10308:     else
                   10309:       whole_archive_flag_spec=
                   10310:     fi
                   10311:     supports_anon_versioning=no
1.10    ! moko     10312:     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
1.5       moko     10313:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10314:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10315:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10316:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10317:       *\ 2.11.*) ;; # other 2.11 versions
                   10318:       *) supports_anon_versioning=yes ;;
                   10319:     esac
                   10320: 
                   10321:     # See if GNU ld supports shared libraries.
                   10322:     case $host_os in
                   10323:     aix[3-9]*)
                   10324:       # On AIX/PPC, the GNU linker is very broken
1.10    ! moko     10325:       if test ia64 != "$host_cpu"; then
1.5       moko     10326:        ld_shlibs=no
                   10327:        cat <<_LT_EOF 1>&2
                   10328: 
                   10329: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10330: *** to be unable to reliably create shared libraries on AIX.
                   10331: *** Therefore, libtool is disabling shared libraries support.  If you
                   10332: *** really care for shared libraries, you may want to install binutils
                   10333: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10334: *** You will then need to restart the configuration process.
                   10335: 
                   10336: _LT_EOF
                   10337:       fi
                   10338:       ;;
                   10339: 
                   10340:     amigaos*)
                   10341:       case $host_cpu in
                   10342:       powerpc)
                   10343:             # see comment about AmigaOS4 .so support
1.10    ! moko     10344:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.5       moko     10345:             archive_expsym_cmds=''
                   10346:         ;;
                   10347:       m68k)
                   10348:             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)'
                   10349:             hardcode_libdir_flag_spec='-L$libdir'
                   10350:             hardcode_minus_L=yes
                   10351:         ;;
                   10352:       esac
                   10353:       ;;
                   10354: 
                   10355:     beos*)
                   10356:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10357:        allow_undefined_flag=unsupported
                   10358:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10359:        # support --undefined.  This deserves some investigation.  FIXME
1.10    ! moko     10360:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.5       moko     10361:       else
                   10362:        ld_shlibs=no
                   10363:       fi
                   10364:       ;;
                   10365: 
1.10    ! moko     10366:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.5       moko     10367:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10368:       # as there is no search path for DLLs.
                   10369:       hardcode_libdir_flag_spec='-L$libdir'
1.10    ! moko     10370:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.5       moko     10371:       allow_undefined_flag=unsupported
                   10372:       always_export_symbols=no
                   10373:       enable_shared_with_static_runtimes=yes
                   10374:       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'
                   10375:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.10    ! moko     10376:       file_list_spec='@'
1.5       moko     10377: 
                   10378:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.10    ! moko     10379:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
        !          10380:        # If the export-symbols file already is a .def file, use it as
        !          10381:        # is; otherwise, prepend EXPORTS...
        !          10382:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          10383:           cp $export_symbols $output_objdir/$soname.def;
        !          10384:         else
        !          10385:           echo EXPORTS > $output_objdir/$soname.def;
        !          10386:           cat $export_symbols >> $output_objdir/$soname.def;
        !          10387:         fi~
        !          10388:         $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.5       moko     10389:       else
                   10390:        ld_shlibs=no
                   10391:       fi
                   10392:       ;;
                   10393: 
                   10394:     haiku*)
1.10    ! moko     10395:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          10396:       link_all_deplibs=no
        !          10397:       ;;
        !          10398: 
        !          10399:     os2*)
        !          10400:       hardcode_libdir_flag_spec='-L$libdir'
        !          10401:       hardcode_minus_L=yes
        !          10402:       allow_undefined_flag=unsupported
        !          10403:       shrext_cmds=.dll
        !          10404:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10405:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10406:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10407:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10408:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          10409:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10410:        emximp -o $lib $output_objdir/$libname.def'
        !          10411:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10412:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10413:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10414:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10415:        prefix_cmds="$SED"~
        !          10416:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          10417:          prefix_cmds="$prefix_cmds -e 1d";
        !          10418:        fi~
        !          10419:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          10420:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          10421:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10422:        emximp -o $lib $output_objdir/$libname.def'
        !          10423:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          10424:       enable_shared_with_static_runtimes=yes
        !          10425:       file_list_spec='@'
1.5       moko     10426:       ;;
                   10427: 
                   10428:     interix[3-9]*)
                   10429:       hardcode_direct=no
                   10430:       hardcode_shlibpath_var=no
1.10    ! moko     10431:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          10432:       export_dynamic_flag_spec='$wl-E'
1.5       moko     10433:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10434:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10435:       # default) and relocated if they conflict, which is a slow very memory
                   10436:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10437:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10438:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.10    ! moko     10439:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        !          10440:       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.5       moko     10441:       ;;
                   10442: 
                   10443:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10444:       tmp_diet=no
1.10    ! moko     10445:       if test linux-dietlibc = "$host_os"; then
1.5       moko     10446:        case $cc_basename in
                   10447:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10448:        esac
                   10449:       fi
                   10450:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.10    ! moko     10451:         && test no = "$tmp_diet"
1.5       moko     10452:       then
                   10453:        tmp_addflag=' $pic_flag'
                   10454:        tmp_sharedflag='-shared'
                   10455:        case $cc_basename,$host_cpu in
                   10456:         pgcc*)                         # Portland Group C compiler
1.10    ! moko     10457:          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.5       moko     10458:          tmp_addflag=' $pic_flag'
                   10459:          ;;
                   10460:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10461:                                        # Portland Group f77 and f90 compilers
1.10    ! moko     10462:          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.5       moko     10463:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10464:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10465:          tmp_addflag=' -i_dynamic' ;;
                   10466:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10467:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10468:        ifc* | ifort*)                  # Intel Fortran compiler
                   10469:          tmp_addflag=' -nofor_main' ;;
                   10470:        lf95*)                          # Lahey Fortran 8.1
                   10471:          whole_archive_flag_spec=
                   10472:          tmp_sharedflag='--shared' ;;
1.10    ! moko     10473:         nagfor*)                        # NAGFOR 5.3
        !          10474:           tmp_sharedflag='-Wl,-shared' ;;
1.5       moko     10475:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10476:          tmp_sharedflag='-qmkshrobj'
                   10477:          tmp_addflag= ;;
                   10478:        nvcc*)  # Cuda Compiler Driver 2.2
1.10    ! moko     10479:          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.5       moko     10480:          compiler_needs_object=yes
                   10481:          ;;
                   10482:        esac
1.10    ! moko     10483:        case `$CC -V 2>&1 | $SED 5q` in
1.5       moko     10484:        *Sun\ C*)                       # Sun C 5.9
1.10    ! moko     10485:          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.5       moko     10486:          compiler_needs_object=yes
                   10487:          tmp_sharedflag='-G' ;;
                   10488:        *Sun\ F*)                       # Sun Fortran 8.3
                   10489:          tmp_sharedflag='-G' ;;
                   10490:        esac
1.10    ! moko     10491:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.5       moko     10492: 
1.10    ! moko     10493:         if test yes = "$supports_anon_versioning"; then
1.5       moko     10494:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.10    ! moko     10495:             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          10496:             echo "local: *; };" >> $output_objdir/$libname.ver~
        !          10497:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.5       moko     10498:         fi
                   10499: 
                   10500:        case $cc_basename in
1.10    ! moko     10501:        tcc*)
        !          10502:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          10503:          export_dynamic_flag_spec='-rdynamic'
        !          10504:          ;;
1.5       moko     10505:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10506:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10507:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.10    ! moko     10508:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.5       moko     10509:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.10    ! moko     10510:          if test yes = "$supports_anon_versioning"; then
1.5       moko     10511:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.10    ! moko     10512:               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          10513:               echo "local: *; };" >> $output_objdir/$libname.ver~
        !          10514:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.5       moko     10515:          fi
                   10516:          ;;
                   10517:        esac
                   10518:       else
                   10519:         ld_shlibs=no
                   10520:       fi
                   10521:       ;;
                   10522: 
1.10    ! moko     10523:     *-mlibc)
        !          10524:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          10525:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
        !          10526:       ;;
        !          10527: 
        !          10528:     netbsd* | netbsdelf*-gnu)
1.5       moko     10529:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10530:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10531:        wlarc=
                   10532:       else
1.10    ! moko     10533:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          10534:        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.5       moko     10535:       fi
                   10536:       ;;
                   10537: 
                   10538:     solaris*)
                   10539:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10540:        ld_shlibs=no
                   10541:        cat <<_LT_EOF 1>&2
                   10542: 
                   10543: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10544: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10545: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10546: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10547: *** your PATH or compiler configuration so that the native linker is
                   10548: *** used, and then restart.
                   10549: 
                   10550: _LT_EOF
                   10551:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.10    ! moko     10552:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          10553:        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.5       moko     10554:       else
                   10555:        ld_shlibs=no
                   10556:       fi
                   10557:       ;;
                   10558: 
                   10559:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10560:       case `$LD -v 2>&1` in
                   10561:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10562:        ld_shlibs=no
                   10563:        cat <<_LT_EOF 1>&2
                   10564: 
1.10    ! moko     10565: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.5       moko     10566: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10567: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10568: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10569: *** your PATH or compiler configuration so that the native linker is
                   10570: *** used, and then restart.
                   10571: 
                   10572: _LT_EOF
                   10573:        ;;
                   10574:        *)
                   10575:          # For security reasons, it is highly recommended that you always
                   10576:          # use absolute paths for naming shared libraries, and exclude the
                   10577:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10578:          # requires that you compile everything twice, which is a pain.
                   10579:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.10    ! moko     10580:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          10581:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          10582:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.5       moko     10583:          else
                   10584:            ld_shlibs=no
                   10585:          fi
                   10586:        ;;
                   10587:       esac
                   10588:       ;;
                   10589: 
                   10590:     sunos4*)
                   10591:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10592:       wlarc=
                   10593:       hardcode_direct=yes
                   10594:       hardcode_shlibpath_var=no
                   10595:       ;;
                   10596: 
                   10597:     *)
                   10598:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.10    ! moko     10599:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          10600:        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.5       moko     10601:       else
                   10602:        ld_shlibs=no
                   10603:       fi
                   10604:       ;;
                   10605:     esac
                   10606: 
1.10    ! moko     10607:     if test no = "$ld_shlibs"; then
1.5       moko     10608:       runpath_var=
                   10609:       hardcode_libdir_flag_spec=
                   10610:       export_dynamic_flag_spec=
                   10611:       whole_archive_flag_spec=
                   10612:     fi
                   10613:   else
                   10614:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10615:     case $host_os in
                   10616:     aix3*)
                   10617:       allow_undefined_flag=unsupported
                   10618:       always_export_symbols=yes
                   10619:       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'
                   10620:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10621:       # are no directories specified by -L.
                   10622:       hardcode_minus_L=yes
1.10    ! moko     10623:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.5       moko     10624:        # Neither direct hardcoding nor static linking is supported with a
                   10625:        # broken collect2.
                   10626:        hardcode_direct=unsupported
                   10627:       fi
                   10628:       ;;
                   10629: 
                   10630:     aix[4-9]*)
1.10    ! moko     10631:       if test ia64 = "$host_cpu"; then
1.5       moko     10632:        # On IA64, the linker does run time linking by default, so we don't
                   10633:        # have to do anything special.
                   10634:        aix_use_runtimelinking=no
                   10635:        exp_sym_flag='-Bexport'
1.10    ! moko     10636:        no_entry_flag=
1.5       moko     10637:       else
                   10638:        # If we're using GNU nm, then we don't want the "-C" option.
1.10    ! moko     10639:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
        !          10640:        # Without the "-l" option, or with the "-B" option, AIX nm treats
        !          10641:        # weak defined symbols like other global defined symbols, whereas
        !          10642:        # GNU nm marks them as "W".
        !          10643:        # While the 'weak' keyword is ignored in the Export File, we need
        !          10644:        # it in the Import File for the 'aix-soname' feature, so we have
        !          10645:        # to replace the "-B" option with "-P" for AIX nm.
1.5       moko     10646:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.10    ! moko     10647:          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.5       moko     10648:        else
1.10    ! moko     10649:          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.5       moko     10650:        fi
                   10651:        aix_use_runtimelinking=no
                   10652: 
                   10653:        # Test if we are trying to use run time linking or normal
                   10654:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.10    ! moko     10655:        # have runtime linking enabled, and use it for executables.
        !          10656:        # For shared libraries, we enable/disable runtime linking
        !          10657:        # depending on the kind of the shared library created -
        !          10658:        # when "with_aix_soname,aix_use_runtimelinking" is:
        !          10659:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
        !          10660:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
        !          10661:        #            lib.a           static archive
        !          10662:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
        !          10663:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
        !          10664:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
        !          10665:        #            lib.a(lib.so.V) shared, rtl:no
        !          10666:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
        !          10667:        #            lib.a           static archive
1.5       moko     10668:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10669:          for ld_flag in $LDFLAGS; do
1.10    ! moko     10670:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.5       moko     10671:            aix_use_runtimelinking=yes
                   10672:            break
                   10673:          fi
                   10674:          done
1.10    ! moko     10675:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
        !          10676:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
        !          10677:            # so we don't have lib.a shared libs to link our executables.
        !          10678:            # We have to force runtime linking in this case.
        !          10679:            aix_use_runtimelinking=yes
        !          10680:            LDFLAGS="$LDFLAGS -Wl,-brtl"
        !          10681:          fi
1.5       moko     10682:          ;;
                   10683:        esac
                   10684: 
                   10685:        exp_sym_flag='-bexport'
                   10686:        no_entry_flag='-bnoentry'
                   10687:       fi
                   10688: 
                   10689:       # When large executables or shared objects are built, AIX ld can
                   10690:       # have problems creating the table of contents.  If linking a library
                   10691:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10692:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10693:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10694: 
                   10695:       archive_cmds=''
                   10696:       hardcode_direct=yes
                   10697:       hardcode_direct_absolute=yes
                   10698:       hardcode_libdir_separator=':'
                   10699:       link_all_deplibs=yes
1.10    ! moko     10700:       file_list_spec='$wl-f,'
        !          10701:       case $with_aix_soname,$aix_use_runtimelinking in
        !          10702:       aix,*) ;; # traditional, no import file
        !          10703:       svr4,* | *,yes) # use import file
        !          10704:        # The Import File defines what to hardcode.
        !          10705:        hardcode_direct=no
        !          10706:        hardcode_direct_absolute=no
        !          10707:        ;;
        !          10708:       esac
1.5       moko     10709: 
1.10    ! moko     10710:       if test yes = "$GCC"; then
1.5       moko     10711:        case $host_os in aix4.[012]|aix4.[012].*)
                   10712:        # We only want to do this on AIX 4.2 and lower, the check
                   10713:        # below for broken collect2 doesn't work under 4.3+
1.10    ! moko     10714:          collect2name=`$CC -print-prog-name=collect2`
1.5       moko     10715:          if test -f "$collect2name" &&
                   10716:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10717:          then
                   10718:          # We have reworked collect2
                   10719:          :
                   10720:          else
                   10721:          # We have old collect2
                   10722:          hardcode_direct=unsupported
                   10723:          # It fails to find uninstalled libraries when the uninstalled
                   10724:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10725:          # to unsupported forces relinking
                   10726:          hardcode_minus_L=yes
                   10727:          hardcode_libdir_flag_spec='-L$libdir'
                   10728:          hardcode_libdir_separator=
                   10729:          fi
                   10730:          ;;
                   10731:        esac
                   10732:        shared_flag='-shared'
1.10    ! moko     10733:        if test yes = "$aix_use_runtimelinking"; then
        !          10734:          shared_flag="$shared_flag "'$wl-G'
1.5       moko     10735:        fi
1.10    ! moko     10736:        # Need to ensure runtime linking is disabled for the traditional
        !          10737:        # shared library, or the linker may eventually find shared libraries
        !          10738:        # /with/ Import File - we do not want to mix them.
        !          10739:        shared_flag_aix='-shared'
        !          10740:        shared_flag_svr4='-shared $wl-G'
1.5       moko     10741:       else
                   10742:        # not using gcc
1.10    ! moko     10743:        if test ia64 = "$host_cpu"; then
1.5       moko     10744:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10745:        # chokes on -Wl,-G. The following line is correct:
                   10746:          shared_flag='-G'
                   10747:        else
1.10    ! moko     10748:          if test yes = "$aix_use_runtimelinking"; then
        !          10749:            shared_flag='$wl-G'
1.5       moko     10750:          else
1.10    ! moko     10751:            shared_flag='$wl-bM:SRE'
1.5       moko     10752:          fi
1.10    ! moko     10753:          shared_flag_aix='$wl-bM:SRE'
        !          10754:          shared_flag_svr4='$wl-G'
1.5       moko     10755:        fi
                   10756:       fi
                   10757: 
1.10    ! moko     10758:       export_dynamic_flag_spec='$wl-bexpall'
1.5       moko     10759:       # It seems that -bexpall does not export symbols beginning with
                   10760:       # underscore (_), so it is better to generate a list of symbols to export.
                   10761:       always_export_symbols=yes
1.10    ! moko     10762:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.5       moko     10763:        # Warning - without using the other runtime loading flags (-brtl),
                   10764:        # -berok will link without error, but may produce a broken library.
                   10765:        allow_undefined_flag='-berok'
                   10766:         # Determine the default libpath from the value encoded in an
                   10767:         # empty executable.
1.10    ! moko     10768:         if test set = "${lt_cv_aix_libpath+set}"; then
1.5       moko     10769:   aix_libpath=$lt_cv_aix_libpath
                   10770: else
1.10    ! moko     10771:   if test ${lt_cv_aix_libpath_+y}
        !          10772: then :
        !          10773:   printf %s "(cached) " >&6
        !          10774: else case e in #(
        !          10775:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.5       moko     10776: /* end confdefs.h.  */
                   10777: 
                   10778: int
1.10    ! moko     10779: main (void)
1.5       moko     10780: {
                   10781: 
                   10782:   ;
                   10783:   return 0;
                   10784: }
                   10785: _ACEOF
1.10    ! moko     10786: if ac_fn_c_try_link "$LINENO"
        !          10787: then :
1.5       moko     10788: 
                   10789:   lt_aix_libpath_sed='
                   10790:       /Import File Strings/,/^$/ {
                   10791:          /^0/ {
                   10792:              s/^0  *\([^ ]*\) *$/\1/
                   10793:              p
                   10794:          }
                   10795:       }'
                   10796:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10797:   # Check for a 64-bit object if we didn't find anything.
                   10798:   if test -z "$lt_cv_aix_libpath_"; then
                   10799:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10800:   fi
                   10801: fi
1.10    ! moko     10802: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     10803:     conftest$ac_exeext conftest.$ac_ext
                   10804:   if test -z "$lt_cv_aix_libpath_"; then
1.10    ! moko     10805:     lt_cv_aix_libpath_=/usr/lib:/lib
1.5       moko     10806:   fi
1.10    ! moko     10807:    ;;
        !          10808: esac
1.5       moko     10809: fi
                   10810: 
                   10811:   aix_libpath=$lt_cv_aix_libpath_
                   10812: fi
                   10813: 
1.10    ! moko     10814:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
        !          10815:         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.5       moko     10816:       else
1.10    ! moko     10817:        if test ia64 = "$host_cpu"; then
        !          10818:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.5       moko     10819:          allow_undefined_flag="-z nodefs"
1.10    ! moko     10820:          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.5       moko     10821:        else
                   10822:         # Determine the default libpath from the value encoded in an
                   10823:         # empty executable.
1.10    ! moko     10824:         if test set = "${lt_cv_aix_libpath+set}"; then
1.5       moko     10825:   aix_libpath=$lt_cv_aix_libpath
                   10826: else
1.10    ! moko     10827:   if test ${lt_cv_aix_libpath_+y}
        !          10828: then :
        !          10829:   printf %s "(cached) " >&6
        !          10830: else case e in #(
        !          10831:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.5       moko     10832: /* end confdefs.h.  */
                   10833: 
                   10834: int
1.10    ! moko     10835: main (void)
1.5       moko     10836: {
                   10837: 
                   10838:   ;
                   10839:   return 0;
                   10840: }
                   10841: _ACEOF
1.10    ! moko     10842: if ac_fn_c_try_link "$LINENO"
        !          10843: then :
1.5       moko     10844: 
                   10845:   lt_aix_libpath_sed='
                   10846:       /Import File Strings/,/^$/ {
                   10847:          /^0/ {
                   10848:              s/^0  *\([^ ]*\) *$/\1/
                   10849:              p
                   10850:          }
                   10851:       }'
                   10852:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10853:   # Check for a 64-bit object if we didn't find anything.
                   10854:   if test -z "$lt_cv_aix_libpath_"; then
                   10855:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10856:   fi
                   10857: fi
1.10    ! moko     10858: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     10859:     conftest$ac_exeext conftest.$ac_ext
                   10860:   if test -z "$lt_cv_aix_libpath_"; then
1.10    ! moko     10861:     lt_cv_aix_libpath_=/usr/lib:/lib
1.5       moko     10862:   fi
1.10    ! moko     10863:    ;;
        !          10864: esac
1.5       moko     10865: fi
                   10866: 
                   10867:   aix_libpath=$lt_cv_aix_libpath_
                   10868: fi
                   10869: 
1.10    ! moko     10870:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.5       moko     10871:          # Warning - without using the other run time loading flags,
                   10872:          # -berok will link without error, but may produce a broken library.
1.10    ! moko     10873:          no_undefined_flag=' $wl-bernotok'
        !          10874:          allow_undefined_flag=' $wl-berok'
        !          10875:          if test yes = "$with_gnu_ld"; then
1.5       moko     10876:            # We only use this code for GNU lds that support --whole-archive.
1.10    ! moko     10877:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
1.5       moko     10878:          else
                   10879:            # Exported symbols can be pulled into shared objects from archives
                   10880:            whole_archive_flag_spec='$convenience'
                   10881:          fi
                   10882:          archive_cmds_need_lc=yes
1.10    ! moko     10883:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
        !          10884:          # -brtl affects multiple linker settings, -berok does not and is overridden later
        !          10885:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
        !          10886:          if test svr4 != "$with_aix_soname"; then
        !          10887:            # This is similar to how AIX traditionally builds its shared libraries.
        !          10888:            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'
        !          10889:          fi
        !          10890:          if test aix != "$with_aix_soname"; then
        !          10891:            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'
        !          10892:          else
        !          10893:            # used by -dlpreopen to get the symbols
        !          10894:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
        !          10895:          fi
        !          10896:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.5       moko     10897:        fi
                   10898:       fi
                   10899:       ;;
                   10900: 
                   10901:     amigaos*)
                   10902:       case $host_cpu in
                   10903:       powerpc)
                   10904:             # see comment about AmigaOS4 .so support
1.10    ! moko     10905:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.5       moko     10906:             archive_expsym_cmds=''
                   10907:         ;;
                   10908:       m68k)
                   10909:             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)'
                   10910:             hardcode_libdir_flag_spec='-L$libdir'
                   10911:             hardcode_minus_L=yes
                   10912:         ;;
                   10913:       esac
                   10914:       ;;
                   10915: 
                   10916:     bsdi[45]*)
                   10917:       export_dynamic_flag_spec=-rdynamic
                   10918:       ;;
                   10919: 
1.10    ! moko     10920:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.5       moko     10921:       # When not using gcc, we currently assume that we are using
1.10    ! moko     10922:       # Microsoft Visual C++ or Intel C++ Compiler.
1.5       moko     10923:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10924:       # no search path for DLLs.
                   10925:       case $cc_basename in
1.10    ! moko     10926:       cl* | icl*)
        !          10927:        # Native MSVC or ICC
1.5       moko     10928:        hardcode_libdir_flag_spec=' '
                   10929:        allow_undefined_flag=unsupported
                   10930:        always_export_symbols=yes
                   10931:        file_list_spec='@'
                   10932:        # Tell ltmain to make .lib files, not .a files.
                   10933:        libext=lib
                   10934:        # Tell ltmain to make .dll files, not .so files.
1.10    ! moko     10935:        shrext_cmds=.dll
1.5       moko     10936:        # FIXME: Setting linknames here is a bad hack.
1.10    ! moko     10937:        archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
        !          10938:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          10939:             cp "$export_symbols" "$output_objdir/$soname.def";
        !          10940:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
        !          10941:           else
        !          10942:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
        !          10943:           fi~
        !          10944:           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          10945:           linknames='
1.5       moko     10946:        # The linker will not automatically build a static lib if we build a DLL.
                   10947:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10948:        enable_shared_with_static_runtimes=yes
                   10949:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10950:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10951:        # Don't use ranlib
                   10952:        old_postinstall_cmds='chmod 644 $oldlib'
                   10953:        postlink_cmds='lt_outputfile="@OUTPUT@"~
1.10    ! moko     10954:           lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          10955:           case $lt_outputfile in
        !          10956:             *.exe|*.EXE) ;;
        !          10957:             *)
        !          10958:               lt_outputfile=$lt_outputfile.exe
        !          10959:               lt_tool_outputfile=$lt_tool_outputfile.exe
        !          10960:               ;;
        !          10961:           esac~
        !          10962:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
        !          10963:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          10964:             $RM "$lt_outputfile.manifest";
        !          10965:           fi'
1.5       moko     10966:        ;;
                   10967:       *)
1.10    ! moko     10968:        # Assume MSVC and ICC wrapper
1.5       moko     10969:        hardcode_libdir_flag_spec=' '
                   10970:        allow_undefined_flag=unsupported
                   10971:        # Tell ltmain to make .lib files, not .a files.
                   10972:        libext=lib
                   10973:        # Tell ltmain to make .dll files, not .so files.
1.10    ! moko     10974:        shrext_cmds=.dll
1.5       moko     10975:        # FIXME: Setting linknames here is a bad hack.
                   10976:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10977:        # The linker will automatically build a .lib file if we build a DLL.
                   10978:        old_archive_from_new_cmds='true'
                   10979:        # FIXME: Should let the user specify the lib program.
                   10980:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10981:        enable_shared_with_static_runtimes=yes
                   10982:        ;;
                   10983:       esac
                   10984:       ;;
                   10985: 
                   10986:     darwin* | rhapsody*)
                   10987: 
                   10988: 
                   10989:   archive_cmds_need_lc=no
                   10990:   hardcode_direct=no
                   10991:   hardcode_automatic=yes
                   10992:   hardcode_shlibpath_var=unsupported
1.10    ! moko     10993:   if test yes = "$lt_cv_ld_force_load"; then
        !          10994:     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.5       moko     10995: 
                   10996:   else
                   10997:     whole_archive_flag_spec=''
                   10998:   fi
                   10999:   link_all_deplibs=yes
1.10    ! moko     11000:   allow_undefined_flag=$_lt_dar_allow_undefined
1.5       moko     11001:   case $cc_basename in
1.10    ! moko     11002:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.5       moko     11003:      *) _lt_dar_can_shared=$GCC ;;
                   11004:   esac
1.10    ! moko     11005:   if test yes = "$_lt_dar_can_shared"; then
1.5       moko     11006:     output_verbose_link_cmd=func_echo_all
1.10    ! moko     11007:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
        !          11008:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
        !          11009:     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"
        !          11010:     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.5       moko     11011: 
                   11012:   else
                   11013:   ld_shlibs=no
                   11014:   fi
                   11015: 
                   11016:       ;;
                   11017: 
                   11018:     dgux*)
                   11019:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11020:       hardcode_libdir_flag_spec='-L$libdir'
                   11021:       hardcode_shlibpath_var=no
                   11022:       ;;
                   11023: 
                   11024:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11025:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11026:     # does not break anything, and helps significantly (at the cost of a little
                   11027:     # extra space).
                   11028:     freebsd2.2*)
                   11029:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11030:       hardcode_libdir_flag_spec='-R$libdir'
                   11031:       hardcode_direct=yes
                   11032:       hardcode_shlibpath_var=no
                   11033:       ;;
                   11034: 
                   11035:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   11036:     freebsd2.*)
                   11037:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11038:       hardcode_direct=yes
                   11039:       hardcode_minus_L=yes
                   11040:       hardcode_shlibpath_var=no
                   11041:       ;;
                   11042: 
                   11043:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.10    ! moko     11044:     freebsd* | dragonfly* | midnightbsd*)
1.5       moko     11045:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11046:       hardcode_libdir_flag_spec='-R$libdir'
                   11047:       hardcode_direct=yes
                   11048:       hardcode_shlibpath_var=no
                   11049:       ;;
                   11050: 
                   11051:     hpux9*)
1.10    ! moko     11052:       if test yes = "$GCC"; then
        !          11053:        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.5       moko     11054:       else
1.10    ! moko     11055:        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.5       moko     11056:       fi
1.10    ! moko     11057:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.5       moko     11058:       hardcode_libdir_separator=:
                   11059:       hardcode_direct=yes
                   11060: 
                   11061:       # hardcode_minus_L: Not really in the search PATH,
                   11062:       # but as the default location of the library.
                   11063:       hardcode_minus_L=yes
1.10    ! moko     11064:       export_dynamic_flag_spec='$wl-E'
1.5       moko     11065:       ;;
                   11066: 
                   11067:     hpux10*)
1.10    ! moko     11068:       if test yes,no = "$GCC,$with_gnu_ld"; then
        !          11069:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11070:       else
                   11071:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11072:       fi
1.10    ! moko     11073:       if test no = "$with_gnu_ld"; then
        !          11074:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.5       moko     11075:        hardcode_libdir_separator=:
                   11076:        hardcode_direct=yes
                   11077:        hardcode_direct_absolute=yes
1.10    ! moko     11078:        export_dynamic_flag_spec='$wl-E'
1.5       moko     11079:        # hardcode_minus_L: Not really in the search PATH,
                   11080:        # but as the default location of the library.
                   11081:        hardcode_minus_L=yes
                   11082:       fi
                   11083:       ;;
                   11084: 
                   11085:     hpux11*)
1.10    ! moko     11086:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.5       moko     11087:        case $host_cpu in
                   11088:        hppa*64*)
1.10    ! moko     11089:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11090:          ;;
                   11091:        ia64*)
1.10    ! moko     11092:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11093:          ;;
                   11094:        *)
1.10    ! moko     11095:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11096:          ;;
                   11097:        esac
                   11098:       else
                   11099:        case $host_cpu in
                   11100:        hppa*64*)
1.10    ! moko     11101:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11102:          ;;
                   11103:        ia64*)
1.10    ! moko     11104:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11105:          ;;
                   11106:        *)
                   11107: 
                   11108:          # Older versions of the 11.00 compiler do not understand -b yet
                   11109:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.10    ! moko     11110:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
        !          11111: printf %s "checking if $CC understands -b... " >&6; }
        !          11112: if test ${lt_cv_prog_compiler__b+y}
        !          11113: then :
        !          11114:   printf %s "(cached) " >&6
        !          11115: else case e in #(
        !          11116:   e) lt_cv_prog_compiler__b=no
        !          11117:    save_LDFLAGS=$LDFLAGS
1.5       moko     11118:    LDFLAGS="$LDFLAGS -b"
                   11119:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11120:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11121:      # The linker can only warn and ignore the option if not recognized
                   11122:      # So say no if there are warnings
                   11123:      if test -s conftest.err; then
                   11124:        # Append any errors to the config.log.
                   11125:        cat conftest.err 1>&5
                   11126:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11127:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11128:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11129:          lt_cv_prog_compiler__b=yes
                   11130:        fi
                   11131:      else
                   11132:        lt_cv_prog_compiler__b=yes
                   11133:      fi
                   11134:    fi
                   11135:    $RM -r conftest*
1.10    ! moko     11136:    LDFLAGS=$save_LDFLAGS
        !          11137:  ;;
        !          11138: esac
1.5       moko     11139: fi
1.10    ! moko     11140: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
        !          11141: printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1.5       moko     11142: 
1.10    ! moko     11143: if test yes = "$lt_cv_prog_compiler__b"; then
        !          11144:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11145: else
                   11146:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11147: fi
                   11148: 
                   11149:          ;;
                   11150:        esac
                   11151:       fi
1.10    ! moko     11152:       if test no = "$with_gnu_ld"; then
        !          11153:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.5       moko     11154:        hardcode_libdir_separator=:
                   11155: 
                   11156:        case $host_cpu in
                   11157:        hppa*64*|ia64*)
                   11158:          hardcode_direct=no
                   11159:          hardcode_shlibpath_var=no
                   11160:          ;;
                   11161:        *)
                   11162:          hardcode_direct=yes
                   11163:          hardcode_direct_absolute=yes
1.10    ! moko     11164:          export_dynamic_flag_spec='$wl-E'
1.5       moko     11165: 
                   11166:          # hardcode_minus_L: Not really in the search PATH,
                   11167:          # but as the default location of the library.
                   11168:          hardcode_minus_L=yes
                   11169:          ;;
                   11170:        esac
                   11171:       fi
                   11172:       ;;
                   11173: 
                   11174:     irix5* | irix6* | nonstopux*)
1.10    ! moko     11175:       if test yes = "$GCC"; then
        !          11176:        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.5       moko     11177:        # Try to use the -exported_symbol ld option, if it does not
                   11178:        # work, assume that -exports_file does not work either and
                   11179:        # implicitly export all symbols.
                   11180:        # This should be the same for all languages, so no per-tag cache variable.
1.10    ! moko     11181:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        !          11182: printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
        !          11183: if test ${lt_cv_irix_exported_symbol+y}
        !          11184: then :
        !          11185:   printf %s "(cached) " >&6
        !          11186: else case e in #(
        !          11187:   e) save_LDFLAGS=$LDFLAGS
        !          11188:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1.5       moko     11189:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11190: /* end confdefs.h.  */
                   11191: int foo (void) { return 0; }
                   11192: _ACEOF
1.10    ! moko     11193: if ac_fn_c_try_link "$LINENO"
        !          11194: then :
1.5       moko     11195:   lt_cv_irix_exported_symbol=yes
1.10    ! moko     11196: else case e in #(
        !          11197:   e) lt_cv_irix_exported_symbol=no ;;
        !          11198: esac
1.5       moko     11199: fi
1.10    ! moko     11200: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     11201:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     11202:            LDFLAGS=$save_LDFLAGS ;;
        !          11203: esac
1.5       moko     11204: fi
1.10    ! moko     11205: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
        !          11206: printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
        !          11207:        if test yes = "$lt_cv_irix_exported_symbol"; then
        !          11208:           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.5       moko     11209:        fi
1.10    ! moko     11210:        link_all_deplibs=no
1.5       moko     11211:       else
1.10    ! moko     11212:        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'
        !          11213:        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.5       moko     11214:       fi
                   11215:       archive_cmds_need_lc='no'
1.10    ! moko     11216:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.5       moko     11217:       hardcode_libdir_separator=:
                   11218:       inherit_rpath=yes
                   11219:       link_all_deplibs=yes
                   11220:       ;;
                   11221: 
1.10    ! moko     11222:     linux*)
        !          11223:       case $cc_basename in
        !          11224:       tcc*)
        !          11225:        # Fabrice Bellard et al's Tiny C Compiler
        !          11226:        ld_shlibs=yes
        !          11227:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          11228:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          11229:        ;;
        !          11230:       esac
        !          11231:       ;;
        !          11232: 
        !          11233:     *-mlibc)
        !          11234:       ;;
        !          11235: 
        !          11236:     netbsd* | netbsdelf*-gnu)
1.5       moko     11237:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11238:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11239:       else
                   11240:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11241:       fi
                   11242:       hardcode_libdir_flag_spec='-R$libdir'
                   11243:       hardcode_direct=yes
                   11244:       hardcode_shlibpath_var=no
                   11245:       ;;
                   11246: 
                   11247:     newsos6)
                   11248:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11249:       hardcode_direct=yes
1.10    ! moko     11250:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.5       moko     11251:       hardcode_libdir_separator=:
                   11252:       hardcode_shlibpath_var=no
                   11253:       ;;
                   11254: 
                   11255:     *nto* | *qnx*)
                   11256:       ;;
                   11257: 
                   11258:     openbsd*)
                   11259:       if test -f /usr/libexec/ld.so; then
                   11260:        hardcode_direct=yes
                   11261:        hardcode_shlibpath_var=no
                   11262:        hardcode_direct_absolute=yes
1.10    ! moko     11263:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.5       moko     11264:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.10    ! moko     11265:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
        !          11266:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          11267:          export_dynamic_flag_spec='$wl-E'
1.5       moko     11268:        else
1.10    ! moko     11269:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          11270:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.5       moko     11271:        fi
                   11272:       else
                   11273:        ld_shlibs=no
                   11274:       fi
                   11275:       ;;
                   11276: 
                   11277:     os2*)
                   11278:       hardcode_libdir_flag_spec='-L$libdir'
                   11279:       hardcode_minus_L=yes
                   11280:       allow_undefined_flag=unsupported
1.10    ! moko     11281:       shrext_cmds=.dll
        !          11282:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          11283:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          11284:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          11285:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          11286:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          11287:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          11288:        emximp -o $lib $output_objdir/$libname.def'
        !          11289:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          11290:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          11291:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          11292:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          11293:        prefix_cmds="$SED"~
        !          11294:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          11295:          prefix_cmds="$prefix_cmds -e 1d";
        !          11296:        fi~
        !          11297:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          11298:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          11299:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          11300:        emximp -o $lib $output_objdir/$libname.def'
        !          11301:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          11302:       enable_shared_with_static_runtimes=yes
        !          11303:       file_list_spec='@'
1.5       moko     11304:       ;;
                   11305: 
                   11306:     osf3*)
1.10    ! moko     11307:       if test yes = "$GCC"; then
        !          11308:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          11309:        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.5       moko     11310:       else
                   11311:        allow_undefined_flag=' -expect_unresolved \*'
1.10    ! moko     11312:        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.5       moko     11313:       fi
                   11314:       archive_cmds_need_lc='no'
1.10    ! moko     11315:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.5       moko     11316:       hardcode_libdir_separator=:
                   11317:       ;;
                   11318: 
                   11319:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.10    ! moko     11320:       if test yes = "$GCC"; then
        !          11321:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          11322:        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'
        !          11323:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.5       moko     11324:       else
                   11325:        allow_undefined_flag=' -expect_unresolved \*'
1.10    ! moko     11326:        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.5       moko     11327:        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.10    ! moko     11328:           $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.5       moko     11329: 
                   11330:        # Both c and cxx compiler support -rpath directly
                   11331:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11332:       fi
                   11333:       archive_cmds_need_lc='no'
                   11334:       hardcode_libdir_separator=:
                   11335:       ;;
                   11336: 
1.10    ! moko     11337:     serenity*)
        !          11338:       ;;
        !          11339: 
1.5       moko     11340:     solaris*)
                   11341:       no_undefined_flag=' -z defs'
1.10    ! moko     11342:       if test yes = "$GCC"; then
        !          11343:        wlarc='$wl'
        !          11344:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11345:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.10    ! moko     11346:           $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.5       moko     11347:       else
                   11348:        case `$CC -V 2>&1` in
                   11349:        *"Compilers 5.0"*)
                   11350:          wlarc=''
1.10    ! moko     11351:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.5       moko     11352:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.10    ! moko     11353:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.5       moko     11354:          ;;
                   11355:        *)
1.10    ! moko     11356:          wlarc='$wl'
        !          11357:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11358:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.10    ! moko     11359:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.5       moko     11360:          ;;
                   11361:        esac
                   11362:       fi
                   11363:       hardcode_libdir_flag_spec='-R$libdir'
                   11364:       hardcode_shlibpath_var=no
                   11365:       case $host_os in
                   11366:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11367:       *)
                   11368:        # The compiler driver will combine and reorder linker options,
1.10    ! moko     11369:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.5       moko     11370:        # but is careful enough not to reorder.
                   11371:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.10    ! moko     11372:        if test yes = "$GCC"; then
        !          11373:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.4       paf      11374:        else
1.5       moko     11375:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
1.4       paf      11376:        fi
1.5       moko     11377:        ;;
                   11378:       esac
                   11379:       link_all_deplibs=yes
                   11380:       ;;
                   11381: 
                   11382:     sunos4*)
1.10    ! moko     11383:       if test sequent = "$host_vendor"; then
1.5       moko     11384:        # Use $CC to link under sequent, because it throws in some extra .o
                   11385:        # files that make .init and .fini sections work.
1.10    ! moko     11386:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.5       moko     11387:       else
                   11388:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11389:       fi
                   11390:       hardcode_libdir_flag_spec='-L$libdir'
                   11391:       hardcode_direct=yes
                   11392:       hardcode_minus_L=yes
                   11393:       hardcode_shlibpath_var=no
                   11394:       ;;
                   11395: 
                   11396:     sysv4)
                   11397:       case $host_vendor in
                   11398:        sni)
                   11399:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11400:          hardcode_direct=yes # is this really true???
                   11401:        ;;
                   11402:        siemens)
                   11403:          ## LD is ld it makes a PLAMLIB
                   11404:          ## CC just makes a GrossModule.
                   11405:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11406:          reload_cmds='$CC -r -o $output$reload_objs'
                   11407:          hardcode_direct=no
                   11408:         ;;
                   11409:        motorola)
                   11410:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11411:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11412:        ;;
1.4       paf      11413:       esac
1.5       moko     11414:       runpath_var='LD_RUN_PATH'
                   11415:       hardcode_shlibpath_var=no
                   11416:       ;;
                   11417: 
                   11418:     sysv4.3*)
                   11419:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11420:       hardcode_shlibpath_var=no
                   11421:       export_dynamic_flag_spec='-Bexport'
                   11422:       ;;
                   11423: 
                   11424:     sysv4*MP*)
                   11425:       if test -d /usr/nec; then
                   11426:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11427:        hardcode_shlibpath_var=no
                   11428:        runpath_var=LD_RUN_PATH
                   11429:        hardcode_runpath_var=yes
                   11430:        ld_shlibs=yes
                   11431:       fi
                   11432:       ;;
                   11433: 
                   11434:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.10    ! moko     11435:       no_undefined_flag='$wl-z,text'
1.5       moko     11436:       archive_cmds_need_lc=no
                   11437:       hardcode_shlibpath_var=no
                   11438:       runpath_var='LD_RUN_PATH'
1.4       paf      11439: 
1.10    ! moko     11440:       if test yes = "$GCC"; then
        !          11441:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          11442:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.4       paf      11443:       else
1.10    ! moko     11444:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          11445:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.4       paf      11446:       fi
1.5       moko     11447:       ;;
1.4       paf      11448: 
1.5       moko     11449:     sysv5* | sco3.2v5* | sco5v6*)
1.10    ! moko     11450:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.5       moko     11451:       # link with -lc, and that would cause any symbols used from libc to
                   11452:       # always be unresolved, which means just about no library would
                   11453:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11454:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11455:       # as -z defs.
1.10    ! moko     11456:       no_undefined_flag='$wl-z,text'
        !          11457:       allow_undefined_flag='$wl-z,nodefs'
1.5       moko     11458:       archive_cmds_need_lc=no
                   11459:       hardcode_shlibpath_var=no
1.10    ! moko     11460:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.5       moko     11461:       hardcode_libdir_separator=':'
                   11462:       link_all_deplibs=yes
1.10    ! moko     11463:       export_dynamic_flag_spec='$wl-Bexport'
1.5       moko     11464:       runpath_var='LD_RUN_PATH'
                   11465: 
1.10    ! moko     11466:       if test yes = "$GCC"; then
        !          11467:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          11468:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.4       paf      11469:       else
1.10    ! moko     11470:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          11471:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.4       paf      11472:       fi
1.5       moko     11473:       ;;
                   11474: 
                   11475:     uts4*)
                   11476:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11477:       hardcode_libdir_flag_spec='-L$libdir'
                   11478:       hardcode_shlibpath_var=no
                   11479:       ;;
                   11480: 
                   11481:     *)
                   11482:       ld_shlibs=no
                   11483:       ;;
                   11484:     esac
                   11485: 
1.10    ! moko     11486:     if test sni = "$host_vendor"; then
1.5       moko     11487:       case $host in
                   11488:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.10    ! moko     11489:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.5       moko     11490:        ;;
                   11491:       esac
1.4       paf      11492:     fi
1.5       moko     11493:   fi
                   11494: 
1.10    ! moko     11495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
        !          11496: printf "%s\n" "$ld_shlibs" >&6; }
        !          11497: test no = "$ld_shlibs" && can_build_shared=no
1.5       moko     11498: 
                   11499: with_gnu_ld=$with_gnu_ld
                   11500: 
                   11501: 
                   11502: 
                   11503: 
                   11504: 
                   11505: 
                   11506: 
                   11507: 
                   11508: 
                   11509: 
                   11510: 
                   11511: 
                   11512: 
1.4       paf      11513: 
                   11514: 
1.5       moko     11515: #
                   11516: # Do we need to explicitly link libc?
                   11517: #
                   11518: case "x$archive_cmds_need_lc" in
                   11519: x|xyes)
                   11520:   # Assume -lc should be added
                   11521:   archive_cmds_need_lc=yes
1.4       paf      11522: 
1.10    ! moko     11523:   if test yes,yes = "$GCC,$enable_shared"; then
1.5       moko     11524:     case $archive_cmds in
                   11525:     *'~'*)
                   11526:       # FIXME: we may have to deal with multi-command sequences.
1.4       paf      11527:       ;;
1.5       moko     11528:     '$CC '*)
                   11529:       # Test whether the compiler implicitly links with -lc since on some
                   11530:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11531:       # to ld, don't add -lc before -lgcc.
1.10    ! moko     11532:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
        !          11533: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
        !          11534: if test ${lt_cv_archive_cmds_need_lc+y}
        !          11535: then :
        !          11536:   printf %s "(cached) " >&6
        !          11537: else case e in #(
        !          11538:   e) $RM conftest*
1.5       moko     11539:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11540: 
                   11541:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   11542:   (eval $ac_compile) 2>&5
                   11543:   ac_status=$?
1.10    ! moko     11544:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     11545:   test $ac_status = 0; } 2>conftest.err; then
                   11546:          soname=conftest
                   11547:          lib=conftest
                   11548:          libobjs=conftest.$ac_objext
                   11549:          deplibs=
                   11550:          wl=$lt_prog_compiler_wl
                   11551:          pic_flag=$lt_prog_compiler_pic
                   11552:          compiler_flags=-v
                   11553:          linker_flags=-v
                   11554:          verstring=
                   11555:          output_objdir=.
                   11556:          libname=conftest
                   11557:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11558:          allow_undefined_flag=
                   11559:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   11560:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11561:   ac_status=$?
1.10    ! moko     11562:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     11563:   test $ac_status = 0; }
                   11564:          then
                   11565:            lt_cv_archive_cmds_need_lc=no
                   11566:          else
                   11567:            lt_cv_archive_cmds_need_lc=yes
                   11568:          fi
                   11569:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11570:        else
                   11571:          cat conftest.err 1>&5
                   11572:        fi
                   11573:        $RM conftest*
1.10    ! moko     11574:         ;;
        !          11575: esac
1.5       moko     11576: fi
1.10    ! moko     11577: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
        !          11578: printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1.5       moko     11579:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1.4       paf      11580:       ;;
                   11581:     esac
1.5       moko     11582:   fi
                   11583:   ;;
                   11584: esac
                   11585: 
                   11586: 
                   11587: 
                   11588: 
                   11589: 
                   11590: 
                   11591: 
                   11592: 
                   11593: 
                   11594: 
                   11595: 
                   11596: 
                   11597: 
                   11598: 
                   11599: 
                   11600: 
                   11601: 
                   11602: 
                   11603: 
                   11604: 
                   11605: 
                   11606: 
                   11607: 
                   11608: 
                   11609: 
                   11610: 
                   11611: 
                   11612: 
                   11613: 
                   11614: 
                   11615: 
                   11616: 
                   11617: 
                   11618: 
                   11619: 
                   11620: 
                   11621: 
                   11622: 
                   11623: 
                   11624: 
                   11625: 
                   11626: 
                   11627: 
                   11628: 
                   11629: 
                   11630: 
                   11631: 
                   11632: 
                   11633: 
                   11634: 
                   11635: 
                   11636: 
                   11637: 
                   11638: 
                   11639: 
                   11640: 
                   11641: 
                   11642: 
                   11643: 
                   11644: 
                   11645: 
                   11646: 
                   11647: 
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: 
                   11654: 
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: 
                   11666: 
                   11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: 
                   11672: 
                   11673: 
                   11674: 
                   11675: 
                   11676: 
                   11677: 
                   11678: 
                   11679: 
                   11680: 
                   11681: 
                   11682: 
                   11683: 
                   11684: 
                   11685: 
                   11686: 
                   11687: 
                   11688: 
                   11689: 
                   11690: 
                   11691: 
                   11692: 
                   11693: 
                   11694: 
                   11695: 
                   11696: 
                   11697: 
                   11698: 
                   11699: 
                   11700: 
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706: 
                   11707: 
                   11708: 
                   11709: 
                   11710: 
                   11711: 
                   11712: 
1.4       paf      11713: 
                   11714: 
                   11715: 
                   11716: 
                   11717: 
                   11718: 
                   11719: 
                   11720: 
                   11721: 
                   11722: 
                   11723: 
                   11724: 
                   11725: 
                   11726: 
                   11727: 
                   11728: 
                   11729: 
                   11730: 
                   11731: 
                   11732: 
                   11733: 
                   11734: 
                   11735: 
                   11736: 
1.10    ! moko     11737:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
        !          11738: printf %s "checking dynamic linker characteristics... " >&6; }
1.4       paf      11739: 
1.10    ! moko     11740: if test yes = "$GCC"; then
1.5       moko     11741:   case $host_os in
1.10    ! moko     11742:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
        !          11743:     *) lt_awk_arg='/^libraries:/' ;;
1.5       moko     11744:   esac
                   11745:   case $host_os in
1.10    ! moko     11746:     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
        !          11747:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.5       moko     11748:   esac
                   11749:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11750:   case $lt_search_path_spec in
                   11751:   *\;*)
                   11752:     # if the path contains ";" then we assume it to be the separator
                   11753:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11754:     # assumed that no part of a normal pathname contains ";" but that should
                   11755:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11756:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
1.4       paf      11757:     ;;
                   11758:   *)
1.5       moko     11759:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
1.4       paf      11760:     ;;
                   11761:   esac
1.5       moko     11762:   # Ok, now we have the path, separated by spaces, we can step through it
1.10    ! moko     11763:   # and add multilib dir if necessary...
1.5       moko     11764:   lt_tmp_lt_search_path_spec=
1.10    ! moko     11765:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
        !          11766:   # ...but if some path component already ends with the multilib dir we assume
        !          11767:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
        !          11768:   case "$lt_multi_os_dir; $lt_search_path_spec " in
        !          11769:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
        !          11770:     lt_multi_os_dir=
        !          11771:     ;;
        !          11772:   esac
1.5       moko     11773:   for lt_sys_path in $lt_search_path_spec; do
1.10    ! moko     11774:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
        !          11775:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
        !          11776:     elif test -n "$lt_multi_os_dir"; then
1.5       moko     11777:       test -d "$lt_sys_path" && \
                   11778:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11779:     fi
                   11780:   done
                   11781:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.10    ! moko     11782: BEGIN {RS = " "; FS = "/|\n";} {
        !          11783:   lt_foo = "";
        !          11784:   lt_count = 0;
1.5       moko     11785:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11786:     if ($lt_i != "" && $lt_i != ".") {
                   11787:       if ($lt_i == "..") {
                   11788:         lt_count++;
                   11789:       } else {
                   11790:         if (lt_count == 0) {
1.10    ! moko     11791:           lt_foo = "/" $lt_i lt_foo;
1.5       moko     11792:         } else {
                   11793:           lt_count--;
                   11794:         }
                   11795:       }
                   11796:     }
                   11797:   }
                   11798:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11799:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11800: }'`
                   11801:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11802:   # for these hosts.
                   11803:   case $host_os in
1.10    ! moko     11804:     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
        !          11805:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
1.5       moko     11806:   esac
                   11807:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.4       paf      11808: else
1.5       moko     11809:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.4       paf      11810: fi
                   11811: library_names_spec=
                   11812: libname_spec='lib$name'
                   11813: soname_spec=
1.10    ! moko     11814: shrext_cmds=.so
1.4       paf      11815: postinstall_cmds=
                   11816: postuninstall_cmds=
                   11817: finish_cmds=
                   11818: finish_eval=
                   11819: shlibpath_var=
                   11820: shlibpath_overrides_runpath=unknown
                   11821: version_type=none
                   11822: dynamic_linker="$host_os ld.so"
                   11823: sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.5       moko     11824: need_lib_prefix=unknown
                   11825: hardcode_into_libs=no
                   11826: 
                   11827: # when you set need_version to no, make sure it does not cause -set_version
                   11828: # flags to be left without arguments
                   11829: need_version=unknown
1.4       paf      11830: 
1.10    ! moko     11831: 
        !          11832: 
1.4       paf      11833: case $host_os in
                   11834: aix3*)
1.5       moko     11835:   version_type=linux # correct to gnu/linux during the next big refactor
1.10    ! moko     11836:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.4       paf      11837:   shlibpath_var=LIBPATH
                   11838: 
1.5       moko     11839:   # AIX 3 has no versioning support, so we append a major version to the name.
1.10    ! moko     11840:   soname_spec='$libname$release$shared_ext$major'
1.4       paf      11841:   ;;
                   11842: 
1.5       moko     11843: aix[4-9]*)
                   11844:   version_type=linux # correct to gnu/linux during the next big refactor
1.4       paf      11845:   need_lib_prefix=no
                   11846:   need_version=no
                   11847:   hardcode_into_libs=yes
1.10    ! moko     11848:   if test ia64 = "$host_cpu"; then
1.4       paf      11849:     # AIX 5 supports IA64
1.10    ! moko     11850:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.4       paf      11851:     shlibpath_var=LD_LIBRARY_PATH
                   11852:   else
                   11853:     # With GCC up to 2.95.x, collect2 would create an import file
                   11854:     # for dependence libraries.  The import file would start with
1.10    ! moko     11855:     # the line '#! .'.  This would cause the generated library to
        !          11856:     # depend on '.', always an invalid library.  This was fixed in
1.4       paf      11857:     # development snapshots of GCC prior to 3.0.
                   11858:     case $host_os in
                   11859:       aix4 | aix4.[01] | aix4.[01].*)
1.5       moko     11860:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11861:           echo ' yes '
1.10    ! moko     11862:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.5       moko     11863:        :
                   11864:       else
                   11865:        can_build_shared=no
                   11866:       fi
                   11867:       ;;
1.4       paf      11868:     esac
1.10    ! moko     11869:     # Using Import Files as archive members, it is possible to support
        !          11870:     # filename-based versioning of shared library archives on AIX. While
        !          11871:     # this would work for both with and without runtime linking, it will
        !          11872:     # prevent static linking of such archives. So we do filename-based
        !          11873:     # shared library versioning with .so extension only, which is used
        !          11874:     # when both runtime linking and shared linking is enabled.
        !          11875:     # Unfortunately, runtime linking may impact performance, so we do
        !          11876:     # not want this to be the default eventually. Also, we use the
        !          11877:     # versioned .so libs for executables only if there is the -brtl
        !          11878:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
        !          11879:     # To allow for filename-based versioning support, we need to create
        !          11880:     # libNAME.so.V as an archive file, containing:
        !          11881:     # *) an Import File, referring to the versioned filename of the
        !          11882:     #    archive as well as the shared archive member, telling the
        !          11883:     #    bitwidth (32 or 64) of that shared object, and providing the
        !          11884:     #    list of exported symbols of that shared object, eventually
        !          11885:     #    decorated with the 'weak' keyword
        !          11886:     # *) the shared object with the F_LOADONLY flag set, to really avoid
        !          11887:     #    it being seen by the linker.
        !          11888:     # At run time we better use the real file rather than another symlink,
        !          11889:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
        !          11890: 
        !          11891:     case $with_aix_soname,$aix_use_runtimelinking in
        !          11892:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.5       moko     11893:     # soname into executable. Probably we can add versioning support to
                   11894:     # collect2, so additional links can be useful in future.
1.10    ! moko     11895:     aix,yes) # traditional libtool
        !          11896:       dynamic_linker='AIX unversionable lib.so'
1.4       paf      11897:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11898:       # instead of lib<name>.a to let people know that these are not
                   11899:       # typical AIX shared libraries.
1.10    ! moko     11900:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11901:       ;;
        !          11902:     aix,no) # traditional AIX only
        !          11903:       dynamic_linker='AIX lib.a(lib.so.V)'
1.4       paf      11904:       # We preserve .a as extension for shared libraries through AIX4.2
                   11905:       # and later when we are not doing run time linking.
1.10    ! moko     11906:       library_names_spec='$libname$release.a $libname.a'
        !          11907:       soname_spec='$libname$release$shared_ext$major'
        !          11908:       ;;
        !          11909:     svr4,*) # full svr4 only
        !          11910:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
        !          11911:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          11912:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          11913:       shlibpath_overrides_runpath=yes
        !          11914:       ;;
        !          11915:     *,yes) # both, prefer svr4
        !          11916:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
        !          11917:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          11918:       # unpreferred sharedlib libNAME.a needs extra handling
        !          11919:       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"'
        !          11920:       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"'
        !          11921:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          11922:       shlibpath_overrides_runpath=yes
        !          11923:       ;;
        !          11924:     *,no) # both, prefer aix
        !          11925:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
        !          11926:       library_names_spec='$libname$release.a $libname.a'
        !          11927:       soname_spec='$libname$release$shared_ext$major'
        !          11928:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
        !          11929:       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)'
        !          11930:       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"'
        !          11931:       ;;
        !          11932:     esac
1.4       paf      11933:     shlibpath_var=LIBPATH
                   11934:   fi
                   11935:   ;;
                   11936: 
                   11937: amigaos*)
1.5       moko     11938:   case $host_cpu in
                   11939:   powerpc)
                   11940:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11941:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.10    ! moko     11942:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.5       moko     11943:     ;;
                   11944:   m68k)
                   11945:     library_names_spec='$libname.ixlibrary $libname.a'
                   11946:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.10    ! moko     11947:     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.5       moko     11948:     ;;
                   11949:   esac
1.4       paf      11950:   ;;
                   11951: 
                   11952: beos*)
1.10    ! moko     11953:   library_names_spec='$libname$shared_ext'
1.4       paf      11954:   dynamic_linker="$host_os ld.so"
                   11955:   shlibpath_var=LIBRARY_PATH
                   11956:   ;;
                   11957: 
1.5       moko     11958: bsdi[45]*)
                   11959:   version_type=linux # correct to gnu/linux during the next big refactor
1.4       paf      11960:   need_version=no
1.10    ! moko     11961:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11962:   soname_spec='$libname$release$shared_ext$major'
1.4       paf      11963:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11964:   shlibpath_var=LD_LIBRARY_PATH
                   11965:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11966:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11967:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11968:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11969:   # libtool to hard-code these into programs
                   11970:   ;;
                   11971: 
1.10    ! moko     11972: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.4       paf      11973:   version_type=windows
1.10    ! moko     11974:   shrext_cmds=.dll
1.4       paf      11975:   need_version=no
                   11976:   need_lib_prefix=no
1.5       moko     11977: 
                   11978:   case $GCC,$cc_basename in
                   11979:   yes,*)
                   11980:     # gcc
1.4       paf      11981:     library_names_spec='$libname.dll.a'
1.5       moko     11982:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.10    ! moko     11983:     # If user builds GCC with multilib enabled,
        !          11984:     # it should just install on $(libdir)
        !          11985:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
        !          11986:     if test xyes = x"$multilib"; then
        !          11987:       postinstall_cmds='base_file=`basename \$file`~
        !          11988:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
        !          11989:         dldir=$destdir/`dirname \$dlpath`~
        !          11990:         $install_prog $dir/$dlname $destdir/$dlname~
        !          11991:         chmod a+x $destdir/$dlname~
        !          11992:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          11993:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
        !          11994:         fi'
        !          11995:     else
        !          11996:       postinstall_cmds='base_file=`basename \$file`~
        !          11997:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
        !          11998:         dldir=$destdir/`dirname \$dlpath`~
        !          11999:         test -d \$dldir || mkdir -p \$dldir~
        !          12000:         $install_prog $dir/$dlname \$dldir/$dlname~
        !          12001:         chmod a+x \$dldir/$dlname~
        !          12002:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          12003:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          12004:         fi'
        !          12005:     fi
1.5       moko     12006:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.4       paf      12007:       dlpath=$dir/\$dldll~
1.5       moko     12008:        $RM \$dlpath'
                   12009:     shlibpath_overrides_runpath=yes
                   12010: 
                   12011:     case $host_os in
                   12012:     cygwin*)
                   12013:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.10    ! moko     12014:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.5       moko     12015: 
                   12016:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   12017:       ;;
1.10    ! moko     12018:     mingw* | windows* | cegcc*)
1.5       moko     12019:       # MinGW DLLs use traditional 'lib' prefix
1.10    ! moko     12020:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.5       moko     12021:       ;;
                   12022:     pw32*)
                   12023:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.10    ! moko     12024:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.5       moko     12025:       ;;
                   12026:     esac
                   12027:     dynamic_linker='Win32 ld.exe'
1.4       paf      12028:     ;;
1.5       moko     12029: 
1.10    ! moko     12030:   *,cl* | *,icl*)
        !          12031:     # Native MSVC or ICC
1.5       moko     12032:     libname_spec='$name'
1.10    ! moko     12033:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          12034:     library_names_spec='$libname.dll.lib'
1.5       moko     12035: 
                   12036:     case $build_os in
1.10    ! moko     12037:     mingw* | windows*)
1.5       moko     12038:       sys_lib_search_path_spec=
                   12039:       lt_save_ifs=$IFS
                   12040:       IFS=';'
                   12041:       for lt_path in $LIB
                   12042:       do
                   12043:         IFS=$lt_save_ifs
                   12044:         # Let DOS variable expansion print the short 8.3 style file name.
                   12045:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   12046:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   12047:       done
                   12048:       IFS=$lt_save_ifs
                   12049:       # Convert to MSYS style.
1.10    ! moko     12050:       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.5       moko     12051:       ;;
                   12052:     cygwin*)
                   12053:       # Convert to unix form, then to dos form, then back to unix form
                   12054:       # but this time dos style (no spaces!) so that the unix form looks
                   12055:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   12056:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   12057:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   12058:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12059:       ;;
                   12060:     *)
1.10    ! moko     12061:       sys_lib_search_path_spec=$LIB
1.5       moko     12062:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   12063:         # It is most probably a Windows format PATH.
                   12064:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   12065:       else
                   12066:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12067:       fi
                   12068:       # FIXME: find the short name or the path components, as spaces are
                   12069:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   12070:       ;;
                   12071:     esac
                   12072: 
                   12073:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.10    ! moko     12074:     postinstall_cmds='base_file=`basename \$file`~
        !          12075:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.5       moko     12076:       dldir=$destdir/`dirname \$dlpath`~
                   12077:       test -d \$dldir || mkdir -p \$dldir~
                   12078:       $install_prog $dir/$dlname \$dldir/$dlname'
                   12079:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12080:       dlpath=$dir/\$dldll~
                   12081:        $RM \$dlpath'
                   12082:     shlibpath_overrides_runpath=yes
                   12083:     dynamic_linker='Win32 link.exe'
1.4       paf      12084:     ;;
1.5       moko     12085: 
1.4       paf      12086:   *)
1.10    ! moko     12087:     # Assume MSVC and ICC wrapper
        !          12088:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.5       moko     12089:     dynamic_linker='Win32 ld.exe'
1.4       paf      12090:     ;;
                   12091:   esac
                   12092:   # FIXME: first we should search . and the directory the executable is in
                   12093:   shlibpath_var=PATH
                   12094:   ;;
                   12095: 
                   12096: darwin* | rhapsody*)
                   12097:   dynamic_linker="$host_os dyld"
                   12098:   version_type=darwin
                   12099:   need_lib_prefix=no
                   12100:   need_version=no
1.10    ! moko     12101:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
        !          12102:   soname_spec='$libname$release$major$shared_ext'
1.4       paf      12103:   shlibpath_overrides_runpath=yes
                   12104:   shlibpath_var=DYLD_LIBRARY_PATH
1.5       moko     12105:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   12106: 
                   12107:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   12108:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.4       paf      12109:   ;;
                   12110: 
1.5       moko     12111: dgux*)
                   12112:   version_type=linux # correct to gnu/linux during the next big refactor
                   12113:   need_lib_prefix=no
                   12114:   need_version=no
1.10    ! moko     12115:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12116:   soname_spec='$libname$release$shared_ext$major'
1.5       moko     12117:   shlibpath_var=LD_LIBRARY_PATH
1.4       paf      12118:   ;;
                   12119: 
1.10    ! moko     12120: freebsd* | dragonfly* | midnightbsd*)
1.5       moko     12121:   # DragonFly does not have aout.  When/if they implement a new
                   12122:   # versioning mechanism, adjust this.
                   12123:   if test -x /usr/bin/objformat; then
                   12124:     objformat=`/usr/bin/objformat`
                   12125:   else
                   12126:     case $host_os in
                   12127:     freebsd[23].*) objformat=aout ;;
                   12128:     *) objformat=elf ;;
                   12129:     esac
                   12130:   fi
1.4       paf      12131:   version_type=freebsd-$objformat
                   12132:   case $version_type in
                   12133:     freebsd-elf*)
1.10    ! moko     12134:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12135:       soname_spec='$libname$release$shared_ext$major'
1.4       paf      12136:       need_version=no
                   12137:       need_lib_prefix=no
                   12138:       ;;
                   12139:     freebsd-*)
1.10    ! moko     12140:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.4       paf      12141:       need_version=yes
                   12142:       ;;
                   12143:   esac
1.10    ! moko     12144:   case $host_cpu in
        !          12145:     powerpc64)
        !          12146:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
        !          12147:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
        !          12148:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          12149: /* end confdefs.h.  */
        !          12150: int test_pointer_size[sizeof (void *) - 5];
        !          12151: 
        !          12152: _ACEOF
        !          12153: if ac_fn_c_try_compile "$LINENO"
        !          12154: then :
1.4       paf      12155:   shlibpath_var=LD_LIBRARY_PATH
1.10    ! moko     12156: else case e in #(
        !          12157:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
        !          12158: esac
        !          12159: fi
        !          12160: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          12161:       ;;
        !          12162:     *)
        !          12163:       shlibpath_var=LD_LIBRARY_PATH
        !          12164:       ;;
        !          12165:   esac
1.4       paf      12166:   case $host_os in
1.5       moko     12167:   freebsd2.*)
                   12168:     shlibpath_overrides_runpath=yes
                   12169:     ;;
                   12170:   freebsd3.[01]* | freebsdelf3.[01]*)
1.4       paf      12171:     shlibpath_overrides_runpath=yes
1.5       moko     12172:     hardcode_into_libs=yes
1.4       paf      12173:     ;;
1.5       moko     12174:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12175:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1.4       paf      12176:     shlibpath_overrides_runpath=no
                   12177:     hardcode_into_libs=yes
                   12178:     ;;
1.5       moko     12179:   *) # from 4.6 on, and DragonFly
                   12180:     shlibpath_overrides_runpath=yes
                   12181:     hardcode_into_libs=yes
                   12182:     ;;
1.4       paf      12183:   esac
                   12184:   ;;
                   12185: 
1.5       moko     12186: haiku*)
                   12187:   version_type=linux # correct to gnu/linux during the next big refactor
                   12188:   need_lib_prefix=no
                   12189:   need_version=no
                   12190:   dynamic_linker="$host_os runtime_loader"
1.10    ! moko     12191:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12192:   soname_spec='$libname$release$shared_ext$major'
1.5       moko     12193:   shlibpath_var=LIBRARY_PATH
1.10    ! moko     12194:   shlibpath_overrides_runpath=no
        !          12195:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
        !          12196:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
        !          12197:   hardcode_into_libs=no
1.4       paf      12198:   ;;
                   12199: 
                   12200: hpux9* | hpux10* | hpux11*)
                   12201:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12202:   # link against other versions.
                   12203:   version_type=sunos
                   12204:   need_lib_prefix=no
                   12205:   need_version=no
1.5       moko     12206:   case $host_cpu in
                   12207:   ia64*)
                   12208:     shrext_cmds='.so'
                   12209:     hardcode_into_libs=yes
                   12210:     dynamic_linker="$host_os dld.so"
                   12211:     shlibpath_var=LD_LIBRARY_PATH
                   12212:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.10    ! moko     12213:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12214:     soname_spec='$libname$release$shared_ext$major'
        !          12215:     if test 32 = "$HPUX_IA64_MODE"; then
1.5       moko     12216:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.10    ! moko     12217:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.5       moko     12218:     else
                   12219:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.10    ! moko     12220:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.5       moko     12221:     fi
                   12222:     ;;
                   12223:   hppa*64*)
                   12224:     shrext_cmds='.sl'
                   12225:     hardcode_into_libs=yes
                   12226:     dynamic_linker="$host_os dld.sl"
                   12227:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12228:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.10    ! moko     12229:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12230:     soname_spec='$libname$release$shared_ext$major'
1.5       moko     12231:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12232:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12233:     ;;
                   12234:   *)
                   12235:     shrext_cmds='.sl'
                   12236:     dynamic_linker="$host_os dld.sl"
                   12237:     shlibpath_var=SHLIB_PATH
                   12238:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.10    ! moko     12239:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12240:     soname_spec='$libname$release$shared_ext$major'
1.5       moko     12241:     ;;
                   12242:   esac
                   12243:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.4       paf      12244:   postinstall_cmds='chmod 555 $lib'
1.5       moko     12245:   # or fails outright, so override atomically:
                   12246:   install_override_mode=555
                   12247:   ;;
                   12248: 
                   12249: interix[3-9]*)
                   12250:   version_type=linux # correct to gnu/linux during the next big refactor
                   12251:   need_lib_prefix=no
                   12252:   need_version=no
1.10    ! moko     12253:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12254:   soname_spec='$libname$release$shared_ext$major'
1.5       moko     12255:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12256:   shlibpath_var=LD_LIBRARY_PATH
                   12257:   shlibpath_overrides_runpath=no
                   12258:   hardcode_into_libs=yes
1.4       paf      12259:   ;;
                   12260: 
                   12261: irix5* | irix6* | nonstopux*)
                   12262:   case $host_os in
                   12263:     nonstopux*) version_type=nonstopux ;;
1.5       moko     12264:     *)
1.10    ! moko     12265:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.5       moko     12266:                version_type=linux # correct to gnu/linux during the next big refactor
                   12267:        else
                   12268:                version_type=irix
                   12269:        fi ;;
1.4       paf      12270:   esac
                   12271:   need_lib_prefix=no
                   12272:   need_version=no
1.10    ! moko     12273:   soname_spec='$libname$release$shared_ext$major'
        !          12274:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.4       paf      12275:   case $host_os in
                   12276:   irix5* | nonstopux*)
                   12277:     libsuff= shlibsuff=
                   12278:     ;;
                   12279:   *)
                   12280:     case $LD in # libtool.m4 will add one of these switches to LD
1.5       moko     12281:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12282:       libsuff= shlibsuff= libmagic=32-bit;;
                   12283:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12284:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12285:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12286:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.4       paf      12287:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12288:     esac
                   12289:     ;;
                   12290:   esac
                   12291:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12292:   shlibpath_overrides_runpath=no
1.10    ! moko     12293:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
        !          12294:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.5       moko     12295:   hardcode_into_libs=yes
1.4       paf      12296:   ;;
                   12297: 
                   12298: # No shared lib support for Linux oldld, aout, or coff.
1.5       moko     12299: linux*oldld* | linux*aout* | linux*coff*)
1.4       paf      12300:   dynamic_linker=no
                   12301:   ;;
                   12302: 
1.10    ! moko     12303: linux*android*)
        !          12304:   version_type=none # Android doesn't support versioned libraries.
        !          12305:   need_lib_prefix=no
        !          12306:   need_version=no
        !          12307:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
        !          12308:   soname_spec='$libname$release$shared_ext'
        !          12309:   finish_cmds=
        !          12310:   shlibpath_var=LD_LIBRARY_PATH
        !          12311:   shlibpath_overrides_runpath=yes
        !          12312: 
        !          12313:   # This implies no fast_install, which is unacceptable.
        !          12314:   # Some rework will be needed to allow for fast_install
        !          12315:   # before this can be enabled.
        !          12316:   hardcode_into_libs=yes
        !          12317: 
        !          12318:   dynamic_linker='Android linker'
        !          12319:   # -rpath works at least for libraries that are not overridden by
        !          12320:   # libraries installed in system locations.
        !          12321:   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          12322:   ;;
        !          12323: 
1.5       moko     12324: # This must be glibc/ELF.
1.10    ! moko     12325: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.5       moko     12326:   version_type=linux # correct to gnu/linux during the next big refactor
1.4       paf      12327:   need_lib_prefix=no
                   12328:   need_version=no
1.10    ! moko     12329:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12330:   soname_spec='$libname$release$shared_ext$major'
1.4       paf      12331:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12332:   shlibpath_var=LD_LIBRARY_PATH
                   12333:   shlibpath_overrides_runpath=no
1.5       moko     12334: 
                   12335:   # Some binutils ld are patched to set DT_RUNPATH
1.10    ! moko     12336:   if test ${lt_cv_shlibpath_overrides_runpath+y}
        !          12337: then :
        !          12338:   printf %s "(cached) " >&6
        !          12339: else case e in #(
        !          12340:   e) lt_cv_shlibpath_overrides_runpath=no
1.5       moko     12341:     save_LDFLAGS=$LDFLAGS
                   12342:     save_libdir=$libdir
                   12343:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12344:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   12345:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12346: /* end confdefs.h.  */
                   12347: 
                   12348: int
1.10    ! moko     12349: main (void)
1.5       moko     12350: {
                   12351: 
                   12352:   ;
                   12353:   return 0;
                   12354: }
                   12355: _ACEOF
1.10    ! moko     12356: if ac_fn_c_try_link "$LINENO"
        !          12357: then :
        !          12358:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
        !          12359: then :
1.5       moko     12360:   lt_cv_shlibpath_overrides_runpath=yes
                   12361: fi
                   12362: fi
1.10    ! moko     12363: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     12364:     conftest$ac_exeext conftest.$ac_ext
                   12365:     LDFLAGS=$save_LDFLAGS
                   12366:     libdir=$save_libdir
1.10    ! moko     12367:      ;;
        !          12368: esac
1.5       moko     12369: fi
                   12370: 
                   12371:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12372: 
1.4       paf      12373:   # This implies no fast_install, which is unacceptable.
                   12374:   # Some rework will be needed to allow for fast_install
                   12375:   # before this can be enabled.
                   12376:   hardcode_into_libs=yes
                   12377: 
1.10    ! moko     12378:   # Ideally, we could use ldconfig to report *all* directories which are
        !          12379:   # searched for libraries, however this is still not possible.  Aside from not
        !          12380:   # being certain /sbin/ldconfig is available, command
        !          12381:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
        !          12382:   # even though it is searched at run-time.  Try to do the best guess by
        !          12383:   # appending ld.so.conf contents (and includes) to the search path.
1.5       moko     12384:   if test -f /etc/ld.so.conf; then
                   12385:     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' ' '`
                   12386:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12387:   fi
                   12388: 
1.4       paf      12389:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12390:   # powerpc, because MkLinux only supported shared libraries with the
                   12391:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12392:   # most powerpc-linux boxes support dynamic linking these days and
                   12393:   # people can always --disable-shared, the test was removed, and we
                   12394:   # assume the GNU/Linux dynamic linker is in use.
                   12395:   dynamic_linker='GNU/Linux ld.so'
                   12396:   ;;
                   12397: 
1.10    ! moko     12398: netbsdelf*-gnu)
        !          12399:   version_type=linux
        !          12400:   need_lib_prefix=no
        !          12401:   need_version=no
        !          12402:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12403:   soname_spec='$libname$release$shared_ext$major'
        !          12404:   shlibpath_var=LD_LIBRARY_PATH
        !          12405:   shlibpath_overrides_runpath=no
        !          12406:   hardcode_into_libs=yes
        !          12407:   dynamic_linker='NetBSD ld.elf_so'
        !          12408:   ;;
        !          12409: 
        !          12410: netbsdelf*-gnu)
        !          12411:   version_type=linux
        !          12412:   need_lib_prefix=no
        !          12413:   need_version=no
        !          12414:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
        !          12415:   soname_spec='${libname}${release}${shared_ext}$major'
        !          12416:   shlibpath_var=LD_LIBRARY_PATH
        !          12417:   shlibpath_overrides_runpath=no
        !          12418:   hardcode_into_libs=yes
        !          12419:   dynamic_linker='NetBSD ld.elf_so'
        !          12420:   ;;
        !          12421: 
1.4       paf      12422: netbsd*)
                   12423:   version_type=sunos
                   12424:   need_lib_prefix=no
                   12425:   need_version=no
1.5       moko     12426:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.10    ! moko     12427:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.4       paf      12428:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12429:     dynamic_linker='NetBSD (a.out) ld.so'
                   12430:   else
1.10    ! moko     12431:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12432:     soname_spec='$libname$release$shared_ext$major'
1.4       paf      12433:     dynamic_linker='NetBSD ld.elf_so'
                   12434:   fi
                   12435:   shlibpath_var=LD_LIBRARY_PATH
                   12436:   shlibpath_overrides_runpath=yes
                   12437:   hardcode_into_libs=yes
                   12438:   ;;
                   12439: 
1.10    ! moko     12440: *-mlibc)
        !          12441:   version_type=linux # correct to gnu/linux during the next big refactor
        !          12442:   need_lib_prefix=no
        !          12443:   need_version=no
        !          12444:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12445:   soname_spec='$libname$release$shared_ext$major'
        !          12446:   dynamic_linker='mlibc ld.so'
        !          12447:   shlibpath_var=LD_LIBRARY_PATH
        !          12448:   shlibpath_overrides_runpath=no
        !          12449:   hardcode_into_libs=yes
        !          12450:   ;;
        !          12451: 
1.4       paf      12452: newsos6)
1.5       moko     12453:   version_type=linux # correct to gnu/linux during the next big refactor
1.10    ! moko     12454:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.4       paf      12455:   shlibpath_var=LD_LIBRARY_PATH
                   12456:   shlibpath_overrides_runpath=yes
                   12457:   ;;
                   12458: 
1.5       moko     12459: *nto* | *qnx*)
                   12460:   version_type=qnx
                   12461:   need_lib_prefix=no
                   12462:   need_version=no
1.10    ! moko     12463:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12464:   soname_spec='$libname$release$shared_ext$major'
1.5       moko     12465:   shlibpath_var=LD_LIBRARY_PATH
                   12466:   shlibpath_overrides_runpath=no
                   12467:   hardcode_into_libs=yes
                   12468:   dynamic_linker='ldqnx.so'
                   12469:   ;;
                   12470: 
1.4       paf      12471: openbsd*)
                   12472:   version_type=sunos
1.10    ! moko     12473:   sys_lib_dlsearch_path_spec=/usr/lib
1.4       paf      12474:   need_lib_prefix=no
1.10    ! moko     12475:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          12476:     need_version=no
        !          12477:   else
        !          12478:     need_version=yes
        !          12479:   fi
        !          12480:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.5       moko     12481:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12482:   shlibpath_var=LD_LIBRARY_PATH
1.10    ! moko     12483:   shlibpath_overrides_runpath=yes
1.4       paf      12484:   ;;
                   12485: 
                   12486: os2*)
                   12487:   libname_spec='$name'
1.10    ! moko     12488:   version_type=windows
        !          12489:   shrext_cmds=.dll
        !          12490:   need_version=no
1.4       paf      12491:   need_lib_prefix=no
1.10    ! moko     12492:   # OS/2 can only load a DLL with a base name of 8 characters or less.
        !          12493:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
        !          12494:     v=$($ECHO $release$versuffix | tr -d .-);
        !          12495:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
        !          12496:     $ECHO $n$v`$shared_ext'
        !          12497:   library_names_spec='${libname}_dll.$libext'
1.4       paf      12498:   dynamic_linker='OS/2 ld.exe'
1.10    ! moko     12499:   shlibpath_var=BEGINLIBPATH
        !          12500:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
        !          12501:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          12502:   postinstall_cmds='base_file=`basename \$file`~
        !          12503:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
        !          12504:     dldir=$destdir/`dirname \$dlpath`~
        !          12505:     test -d \$dldir || mkdir -p \$dldir~
        !          12506:     $install_prog $dir/$dlname \$dldir/$dlname~
        !          12507:     chmod a+x \$dldir/$dlname~
        !          12508:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          12509:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          12510:     fi'
        !          12511:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
        !          12512:     dlpath=$dir/\$dldll~
        !          12513:     $RM \$dlpath'
1.4       paf      12514:   ;;
                   12515: 
                   12516: osf3* | osf4* | osf5*)
                   12517:   version_type=osf
1.5       moko     12518:   need_lib_prefix=no
1.4       paf      12519:   need_version=no
1.10    ! moko     12520:   soname_spec='$libname$release$shared_ext$major'
        !          12521:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.4       paf      12522:   shlibpath_var=LD_LIBRARY_PATH
                   12523:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.10    ! moko     12524:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.4       paf      12525:   ;;
                   12526: 
1.5       moko     12527: rdos*)
                   12528:   dynamic_linker=no
1.4       paf      12529:   ;;
                   12530: 
1.10    ! moko     12531: serenity*)
        !          12532:   version_type=linux # correct to gnu/linux during the next big refactor
        !          12533:   need_lib_prefix=no
        !          12534:   need_version=no
        !          12535:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12536:   soname_spec='$libname$release$shared_ext$major'
        !          12537:   shlibpath_var=LD_LIBRARY_PATH
        !          12538:   shlibpath_overrides_runpath=no
        !          12539:   dynamic_linker='SerenityOS LibELF'
        !          12540:   ;;
        !          12541: 
        !          12542: solaris*)
        !          12543:   version_type=linux # correct to gnu/linux during the next big refactor
        !          12544:   need_lib_prefix=no
        !          12545:   need_version=no
        !          12546:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12547:   soname_spec='$libname$release$shared_ext$major'
        !          12548:   shlibpath_var=LD_LIBRARY_PATH
        !          12549:   shlibpath_overrides_runpath=yes
        !          12550:   hardcode_into_libs=yes
        !          12551:   # ldd complains unless libraries are executable
        !          12552:   postinstall_cmds='chmod +x $lib'
        !          12553:   ;;
        !          12554: 
        !          12555: sunos4*)
        !          12556:   version_type=sunos
        !          12557:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          12558:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
        !          12559:   shlibpath_var=LD_LIBRARY_PATH
        !          12560:   shlibpath_overrides_runpath=yes
        !          12561:   if test yes = "$with_gnu_ld"; then
        !          12562:     need_lib_prefix=no
        !          12563:   fi
        !          12564:   need_version=yes
        !          12565:   ;;
        !          12566: 
        !          12567: sysv4 | sysv4.3*)
        !          12568:   version_type=linux # correct to gnu/linux during the next big refactor
        !          12569:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12570:   soname_spec='$libname$release$shared_ext$major'
        !          12571:   shlibpath_var=LD_LIBRARY_PATH
        !          12572:   case $host_vendor in
        !          12573:     sni)
        !          12574:       shlibpath_overrides_runpath=no
        !          12575:       need_lib_prefix=no
        !          12576:       runpath_var=LD_RUN_PATH
        !          12577:       ;;
        !          12578:     siemens)
        !          12579:       need_lib_prefix=no
        !          12580:       ;;
        !          12581:     motorola)
        !          12582:       need_lib_prefix=no
        !          12583:       need_version=no
        !          12584:       shlibpath_overrides_runpath=no
        !          12585:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
        !          12586:       ;;
        !          12587:   esac
        !          12588:   ;;
        !          12589: 
        !          12590: sysv4*MP*)
        !          12591:   if test -d /usr/nec; then
        !          12592:     version_type=linux # correct to gnu/linux during the next big refactor
        !          12593:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
        !          12594:     soname_spec='$libname$shared_ext.$major'
        !          12595:     shlibpath_var=LD_LIBRARY_PATH
        !          12596:   fi
        !          12597:   ;;
        !          12598: 
        !          12599: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
        !          12600:   version_type=sco
        !          12601:   need_lib_prefix=no
        !          12602:   need_version=no
        !          12603:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
        !          12604:   soname_spec='$libname$release$shared_ext$major'
        !          12605:   shlibpath_var=LD_LIBRARY_PATH
        !          12606:   shlibpath_overrides_runpath=yes
        !          12607:   hardcode_into_libs=yes
        !          12608:   if test yes = "$with_gnu_ld"; then
        !          12609:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
        !          12610:   else
        !          12611:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
        !          12612:     case $host_os in
        !          12613:       sco3.2v5*)
        !          12614:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
        !          12615:        ;;
        !          12616:     esac
        !          12617:   fi
        !          12618:   sys_lib_dlsearch_path_spec='/usr/lib'
        !          12619:   ;;
        !          12620: 
        !          12621: tpf*)
        !          12622:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
        !          12623:   version_type=linux # correct to gnu/linux during the next big refactor
        !          12624:   need_lib_prefix=no
        !          12625:   need_version=no
        !          12626:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12627:   shlibpath_var=LD_LIBRARY_PATH
        !          12628:   shlibpath_overrides_runpath=no
        !          12629:   hardcode_into_libs=yes
        !          12630:   ;;
        !          12631: 
        !          12632: uts4*)
        !          12633:   version_type=linux # correct to gnu/linux during the next big refactor
        !          12634:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          12635:   soname_spec='$libname$release$shared_ext$major'
        !          12636:   shlibpath_var=LD_LIBRARY_PATH
        !          12637:   ;;
        !          12638: 
        !          12639: emscripten*)
        !          12640:   version_type=none
        !          12641:   need_lib_prefix=no
        !          12642:   need_version=no
        !          12643:   library_names_spec='$libname$release$shared_ext'
        !          12644:   soname_spec='$libname$release$shared_ext'
        !          12645:   finish_cmds=
        !          12646:   dynamic_linker="Emscripten linker"
        !          12647:   lt_prog_compiler_wl=
        !          12648: lt_prog_compiler_pic=
        !          12649: lt_prog_compiler_static=
        !          12650: 
        !          12651: 
        !          12652:   if test yes = "$GCC"; then
        !          12653:     lt_prog_compiler_wl='-Wl,'
        !          12654:     lt_prog_compiler_static='-static'
        !          12655: 
        !          12656:     case $host_os in
        !          12657:       aix*)
        !          12658:       # All AIX code is PIC.
        !          12659:       if test ia64 = "$host_cpu"; then
        !          12660:        # AIX 5 now supports IA64 processor
        !          12661:        lt_prog_compiler_static='-Bstatic'
        !          12662:       fi
        !          12663:       lt_prog_compiler_pic='-fPIC'
        !          12664:       ;;
        !          12665: 
        !          12666:     amigaos*)
        !          12667:       case $host_cpu in
        !          12668:       powerpc)
        !          12669:             # see comment about AmigaOS4 .so support
        !          12670:             lt_prog_compiler_pic='-fPIC'
        !          12671:         ;;
        !          12672:       m68k)
        !          12673:             # FIXME: we need at least 68020 code to build shared libraries, but
        !          12674:             # adding the '-m68020' flag to GCC prevents building anything better,
        !          12675:             # like '-m68040'.
        !          12676:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
        !          12677:         ;;
        !          12678:       esac
        !          12679:       ;;
        !          12680: 
        !          12681:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
        !          12682:       # PIC is the default for these OSes.
        !          12683:       ;;
        !          12684: 
        !          12685:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
        !          12686:       # This hack is so that the source file can tell whether it is being
        !          12687:       # built for inclusion in a dll (and should export symbols for example).
        !          12688:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
        !          12689:       # (--disable-auto-import) libraries
        !          12690:       lt_prog_compiler_pic='-DDLL_EXPORT'
        !          12691:       case $host_os in
        !          12692:       os2*)
        !          12693:        lt_prog_compiler_static='$wl-static'
        !          12694:        ;;
        !          12695:       esac
        !          12696:       ;;
        !          12697: 
        !          12698:     darwin* | rhapsody*)
        !          12699:       # PIC is the default on this platform
        !          12700:       # Common symbols not allowed in MH_DYLIB files
        !          12701:       lt_prog_compiler_pic='-fno-common'
        !          12702:       ;;
        !          12703: 
        !          12704:     haiku*)
        !          12705:       # PIC is the default for Haiku.
        !          12706:       # The "-static" flag exists, but is broken.
        !          12707:       lt_prog_compiler_static=
        !          12708:       ;;
        !          12709: 
        !          12710:     hpux*)
        !          12711:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
        !          12712:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
        !          12713:       # sets the default TLS model and affects inlining.
        !          12714:       case $host_cpu in
        !          12715:       hppa*64*)
        !          12716:        # +Z the default
        !          12717:        ;;
        !          12718:       *)
        !          12719:        lt_prog_compiler_pic='-fPIC'
        !          12720:        ;;
        !          12721:       esac
        !          12722:       ;;
        !          12723: 
        !          12724:     interix[3-9]*)
        !          12725:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        !          12726:       # Instead, we relocate shared libraries at runtime.
        !          12727:       ;;
        !          12728: 
        !          12729:     msdosdjgpp*)
        !          12730:       # Just because we use GCC doesn't mean we suddenly get shared libraries
        !          12731:       # on systems that don't support them.
        !          12732:       lt_prog_compiler_can_build_shared=no
        !          12733:       enable_shared=no
        !          12734:       ;;
        !          12735: 
        !          12736:     *nto* | *qnx*)
        !          12737:       # QNX uses GNU C++, but need to define -shared option too, otherwise
        !          12738:       # it will coredump.
        !          12739:       lt_prog_compiler_pic='-fPIC -shared'
        !          12740:       ;;
        !          12741: 
        !          12742:     sysv4*MP*)
        !          12743:       if test -d /usr/nec; then
        !          12744:        lt_prog_compiler_pic=-Kconform_pic
        !          12745:       fi
        !          12746:       ;;
        !          12747: 
        !          12748:     *)
        !          12749:       lt_prog_compiler_pic='-fPIC'
        !          12750:       ;;
        !          12751:     esac
        !          12752: 
        !          12753:     case $cc_basename in
        !          12754:     nvcc*) # Cuda Compiler Driver 2.2
        !          12755:       lt_prog_compiler_wl='-Xlinker '
        !          12756:       if test -n "$lt_prog_compiler_pic"; then
        !          12757:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
        !          12758:       fi
        !          12759:       ;;
        !          12760:     esac
        !          12761:   else
        !          12762:     # PORTME Check for flag to pass linker flags through the system compiler.
        !          12763:     case $host_os in
        !          12764:     aix*)
        !          12765:       lt_prog_compiler_wl='-Wl,'
        !          12766:       if test ia64 = "$host_cpu"; then
        !          12767:        # AIX 5 now supports IA64 processor
        !          12768:        lt_prog_compiler_static='-Bstatic'
        !          12769:       else
        !          12770:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
        !          12771:       fi
        !          12772:       ;;
        !          12773: 
        !          12774:     darwin* | rhapsody*)
        !          12775:       # PIC is the default on this platform
        !          12776:       # Common symbols not allowed in MH_DYLIB files
        !          12777:       lt_prog_compiler_pic='-fno-common'
        !          12778:       case $cc_basename in
        !          12779:       nagfor*)
        !          12780:         # NAG Fortran compiler
        !          12781:         lt_prog_compiler_wl='-Wl,-Wl,,'
        !          12782:         lt_prog_compiler_pic='-PIC'
        !          12783:         lt_prog_compiler_static='-Bstatic'
        !          12784:         ;;
        !          12785:       esac
        !          12786:       ;;
        !          12787: 
        !          12788:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
        !          12789:       # This hack is so that the source file can tell whether it is being
        !          12790:       # built for inclusion in a dll (and should export symbols for example).
        !          12791:       lt_prog_compiler_pic='-DDLL_EXPORT'
        !          12792:       case $host_os in
        !          12793:       os2*)
        !          12794:        lt_prog_compiler_static='$wl-static'
        !          12795:        ;;
        !          12796:       esac
        !          12797:       ;;
        !          12798: 
        !          12799:     hpux9* | hpux10* | hpux11*)
        !          12800:       lt_prog_compiler_wl='-Wl,'
        !          12801:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
        !          12802:       # not for PA HP-UX.
        !          12803:       case $host_cpu in
        !          12804:       hppa*64*|ia64*)
        !          12805:        # +Z the default
        !          12806:        ;;
        !          12807:       *)
        !          12808:        lt_prog_compiler_pic='+Z'
        !          12809:        ;;
        !          12810:       esac
        !          12811:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
        !          12812:       lt_prog_compiler_static='$wl-a ${wl}archive'
        !          12813:       ;;
        !          12814: 
        !          12815:     irix5* | irix6* | nonstopux*)
        !          12816:       lt_prog_compiler_wl='-Wl,'
        !          12817:       # PIC (with -KPIC) is the default.
        !          12818:       lt_prog_compiler_static='-non_shared'
        !          12819:       ;;
        !          12820: 
        !          12821:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          12822:       case $cc_basename in
        !          12823:       # old Intel for x86_64, which still supported -KPIC.
        !          12824:       ecc*)
        !          12825:        lt_prog_compiler_wl='-Wl,'
        !          12826:        lt_prog_compiler_pic='-KPIC'
        !          12827:        lt_prog_compiler_static='-static'
        !          12828:         ;;
        !          12829:       *flang* | ftn | f18* | f95*)
        !          12830:         # Flang compiler.
        !          12831:        lt_prog_compiler_wl='-Wl,'
        !          12832:        lt_prog_compiler_pic='-fPIC'
        !          12833:        lt_prog_compiler_static='-static'
        !          12834:         ;;
        !          12835:       # flang / f18. f95 an alias for gfortran or flang on Debian
        !          12836:       flang* | f18* | f95*)
        !          12837:        lt_prog_compiler_wl='-Wl,'
        !          12838:        lt_prog_compiler_pic='-fPIC'
        !          12839:        lt_prog_compiler_static='-static'
        !          12840:         ;;
        !          12841:       # icc used to be incompatible with GCC.
        !          12842:       # ICC 10 doesn't accept -KPIC any more.
        !          12843:       icc* | ifort*)
        !          12844:        lt_prog_compiler_wl='-Wl,'
        !          12845:        lt_prog_compiler_pic='-fPIC'
        !          12846:        lt_prog_compiler_static='-static'
        !          12847:         ;;
        !          12848:       # Lahey Fortran 8.1.
        !          12849:       lf95*)
        !          12850:        lt_prog_compiler_wl='-Wl,'
        !          12851:        lt_prog_compiler_pic='--shared'
        !          12852:        lt_prog_compiler_static='--static'
        !          12853:        ;;
        !          12854:       nagfor*)
        !          12855:        # NAG Fortran compiler
        !          12856:        lt_prog_compiler_wl='-Wl,-Wl,,'
        !          12857:        lt_prog_compiler_pic='-PIC'
        !          12858:        lt_prog_compiler_static='-Bstatic'
        !          12859:        ;;
        !          12860:       tcc*)
        !          12861:        # Fabrice Bellard et al's Tiny C Compiler
        !          12862:        lt_prog_compiler_wl='-Wl,'
        !          12863:        lt_prog_compiler_pic='-fPIC'
        !          12864:        lt_prog_compiler_static='-static'
        !          12865:        ;;
        !          12866:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
        !          12867:         # Portland Group compilers (*not* the Pentium gcc compiler,
        !          12868:        # which looks to be a dead project)
        !          12869:        lt_prog_compiler_wl='-Wl,'
        !          12870:        lt_prog_compiler_pic='-fpic'
        !          12871:        lt_prog_compiler_static='-Bstatic'
        !          12872:         ;;
        !          12873:       ccc*)
        !          12874:         lt_prog_compiler_wl='-Wl,'
        !          12875:         # All Alpha code is PIC.
        !          12876:         lt_prog_compiler_static='-non_shared'
        !          12877:         ;;
        !          12878:       xl* | bgxl* | bgf* | mpixl*)
        !          12879:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
        !          12880:        lt_prog_compiler_wl='-Wl,'
        !          12881:        lt_prog_compiler_pic='-qpic'
        !          12882:        lt_prog_compiler_static='-qstaticlink'
        !          12883:        ;;
        !          12884:       *)
        !          12885:        case `$CC -V 2>&1 | $SED 5q` in
        !          12886:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
        !          12887:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
        !          12888:          lt_prog_compiler_pic='-KPIC'
        !          12889:          lt_prog_compiler_static='-Bstatic'
        !          12890:          lt_prog_compiler_wl=''
        !          12891:          ;;
        !          12892:        *Sun\ F* | *Sun*Fortran*)
        !          12893:          lt_prog_compiler_pic='-KPIC'
        !          12894:          lt_prog_compiler_static='-Bstatic'
        !          12895:          lt_prog_compiler_wl='-Qoption ld '
        !          12896:          ;;
        !          12897:        *Sun\ C*)
        !          12898:          # Sun C 5.9
        !          12899:          lt_prog_compiler_pic='-KPIC'
        !          12900:          lt_prog_compiler_static='-Bstatic'
        !          12901:          lt_prog_compiler_wl='-Wl,'
        !          12902:          ;;
        !          12903:         *Intel*\ [CF]*Compiler*)
        !          12904:          lt_prog_compiler_wl='-Wl,'
        !          12905:          lt_prog_compiler_pic='-fPIC'
        !          12906:          lt_prog_compiler_static='-static'
        !          12907:          ;;
        !          12908:        *Portland\ Group*)
        !          12909:          lt_prog_compiler_wl='-Wl,'
        !          12910:          lt_prog_compiler_pic='-fpic'
        !          12911:          lt_prog_compiler_static='-Bstatic'
        !          12912:          ;;
        !          12913:        esac
        !          12914:        ;;
        !          12915:       esac
        !          12916:       ;;
        !          12917: 
        !          12918:     newsos6)
        !          12919:       lt_prog_compiler_pic='-KPIC'
        !          12920:       lt_prog_compiler_static='-Bstatic'
        !          12921:       ;;
        !          12922: 
        !          12923:     *-mlibc)
        !          12924:       lt_prog_compiler_wl='-Wl,'
        !          12925:       lt_prog_compiler_pic='-fPIC'
        !          12926:       lt_prog_compiler_static='-static'
        !          12927:       ;;
        !          12928: 
        !          12929:     *nto* | *qnx*)
        !          12930:       # QNX uses GNU C++, but need to define -shared option too, otherwise
        !          12931:       # it will coredump.
        !          12932:       lt_prog_compiler_pic='-fPIC -shared'
        !          12933:       ;;
        !          12934: 
        !          12935:     osf3* | osf4* | osf5*)
        !          12936:       lt_prog_compiler_wl='-Wl,'
        !          12937:       # All OSF/1 code is PIC.
        !          12938:       lt_prog_compiler_static='-non_shared'
        !          12939:       ;;
        !          12940: 
        !          12941:     rdos*)
        !          12942:       lt_prog_compiler_static='-non_shared'
        !          12943:       ;;
        !          12944: 
        !          12945:     serenity*)
        !          12946:       ;;
        !          12947: 
        !          12948:     solaris*)
        !          12949:       lt_prog_compiler_pic='-KPIC'
        !          12950:       lt_prog_compiler_static='-Bstatic'
        !          12951:       case $cc_basename in
        !          12952:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
        !          12953:        lt_prog_compiler_wl='-Qoption ld ';;
        !          12954:       *)
        !          12955:        lt_prog_compiler_wl='-Wl,';;
        !          12956:       esac
        !          12957:       ;;
        !          12958: 
        !          12959:     sunos4*)
        !          12960:       lt_prog_compiler_wl='-Qoption ld '
        !          12961:       lt_prog_compiler_pic='-PIC'
        !          12962:       lt_prog_compiler_static='-Bstatic'
        !          12963:       ;;
        !          12964: 
        !          12965:     sysv4 | sysv4.2uw2* | sysv4.3*)
        !          12966:       lt_prog_compiler_wl='-Wl,'
        !          12967:       lt_prog_compiler_pic='-KPIC'
        !          12968:       lt_prog_compiler_static='-Bstatic'
        !          12969:       ;;
        !          12970: 
        !          12971:     sysv4*MP*)
        !          12972:       if test -d /usr/nec; then
        !          12973:        lt_prog_compiler_pic='-Kconform_pic'
        !          12974:        lt_prog_compiler_static='-Bstatic'
        !          12975:       fi
        !          12976:       ;;
        !          12977: 
        !          12978:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
        !          12979:       lt_prog_compiler_wl='-Wl,'
        !          12980:       lt_prog_compiler_pic='-KPIC'
        !          12981:       lt_prog_compiler_static='-Bstatic'
        !          12982:       ;;
        !          12983: 
        !          12984:     unicos*)
        !          12985:       lt_prog_compiler_wl='-Wl,'
        !          12986:       lt_prog_compiler_can_build_shared=no
        !          12987:       ;;
        !          12988: 
        !          12989:     uts4*)
        !          12990:       lt_prog_compiler_pic='-pic'
        !          12991:       lt_prog_compiler_static='-Bstatic'
        !          12992:       ;;
        !          12993: 
        !          12994:     *)
        !          12995:       lt_prog_compiler_can_build_shared=no
        !          12996:       ;;
        !          12997:     esac
        !          12998:   fi
        !          12999: 
        !          13000: case $host_os in
        !          13001:   # For platforms that do not support PIC, -DPIC is meaningless:
        !          13002:   *djgpp*)
        !          13003:     lt_prog_compiler_pic=
        !          13004:     ;;
        !          13005:   *)
        !          13006:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
        !          13007:     ;;
        !          13008: esac
        !          13009: 
        !          13010: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          13011: printf %s "checking for $compiler option to produce PIC... " >&6; }
        !          13012: if test ${lt_cv_prog_compiler_pic+y}
        !          13013: then :
        !          13014:   printf %s "(cached) " >&6
        !          13015: else case e in #(
        !          13016:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
        !          13017: esac
        !          13018: fi
        !          13019: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          13020: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
        !          13021: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
        !          13022: 
        !          13023: #
        !          13024: # Check to make sure the PIC flag actually works.
        !          13025: #
        !          13026: if test -n "$lt_prog_compiler_pic"; then
        !          13027:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
        !          13028: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
        !          13029: if test ${lt_cv_prog_compiler_pic_works+y}
        !          13030: then :
        !          13031:   printf %s "(cached) " >&6
        !          13032: else case e in #(
        !          13033:   e) lt_cv_prog_compiler_pic_works=no
        !          13034:    ac_outfile=conftest.$ac_objext
        !          13035:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
        !          13036:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
        !          13037:    # Insert the option either (1) after the last *FLAGS variable, or
        !          13038:    # (2) before a word containing "conftest.", or (3) at the end.
        !          13039:    # Note that $ac_compile itself does not contain backslashes and begins
        !          13040:    # with a dollar sign (not a hyphen), so the echo should work correctly.
        !          13041:    # The option is referenced via a variable to avoid confusing sed.
        !          13042:    lt_compile=`echo "$ac_compile" | $SED \
        !          13043:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
        !          13044:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
        !          13045:    -e 's:$: $lt_compiler_flag:'`
        !          13046:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
        !          13047:    (eval "$lt_compile" 2>conftest.err)
        !          13048:    ac_status=$?
        !          13049:    cat conftest.err >&5
        !          13050:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13051:    if (exit $ac_status) && test -s "$ac_outfile"; then
        !          13052:      # The compiler can only warn and ignore the option if not recognized
        !          13053:      # So say no if there are warnings other than the usual output.
        !          13054:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
        !          13055:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          13056:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        !          13057:        lt_cv_prog_compiler_pic_works=yes
        !          13058:      fi
        !          13059:    fi
        !          13060:    $RM conftest*
        !          13061:  ;;
        !          13062: esac
        !          13063: fi
        !          13064: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
        !          13065: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
        !          13066: 
        !          13067: if test yes = "$lt_cv_prog_compiler_pic_works"; then
        !          13068:     case $lt_prog_compiler_pic in
        !          13069:      "" | " "*) ;;
        !          13070:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
        !          13071:      esac
        !          13072: else
        !          13073:     lt_prog_compiler_pic=
        !          13074:      lt_prog_compiler_can_build_shared=no
        !          13075: fi
        !          13076: 
        !          13077: fi
        !          13078: 
        !          13079: 
        !          13080: 
        !          13081: 
        !          13082: 
        !          13083: #
        !          13084: # Check to make sure the static flag actually works.
        !          13085: #
        !          13086: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
        !          13087: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        !          13088: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
        !          13089: if test ${lt_cv_prog_compiler_static_works+y}
        !          13090: then :
        !          13091:   printf %s "(cached) " >&6
        !          13092: else case e in #(
        !          13093:   e) lt_cv_prog_compiler_static_works=no
        !          13094:    save_LDFLAGS=$LDFLAGS
        !          13095:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
        !          13096:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
        !          13097:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        !          13098:      # The linker can only warn and ignore the option if not recognized
        !          13099:      # So say no if there are warnings
        !          13100:      if test -s conftest.err; then
        !          13101:        # Append any errors to the config.log.
        !          13102:        cat conftest.err 1>&5
        !          13103:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        !          13104:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          13105:        if diff conftest.exp conftest.er2 >/dev/null; then
        !          13106:          lt_cv_prog_compiler_static_works=yes
        !          13107:        fi
        !          13108:      else
        !          13109:        lt_cv_prog_compiler_static_works=yes
        !          13110:      fi
        !          13111:    fi
        !          13112:    $RM -r conftest*
        !          13113:    LDFLAGS=$save_LDFLAGS
        !          13114:  ;;
        !          13115: esac
        !          13116: fi
        !          13117: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
        !          13118: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
1.4       paf      13119: 
1.10    ! moko     13120: if test yes = "$lt_cv_prog_compiler_static_works"; then
        !          13121:     :
        !          13122: else
        !          13123:     lt_prog_compiler_static=
        !          13124: fi
1.4       paf      13125: 
1.5       moko     13126: 
1.4       paf      13127: 
1.10    ! moko     13128: ='-fPIC'
        !          13129:   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
        !          13130:   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'
        !          13131:   archive_cmds_need_lc=no
        !          13132:   no_undefined_flag=
1.4       paf      13133:   ;;
                   13134: 
                   13135: *)
                   13136:   dynamic_linker=no
                   13137:   ;;
                   13138: esac
1.10    ! moko     13139: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
        !          13140: printf "%s\n" "$dynamic_linker" >&6; }
        !          13141: test no = "$dynamic_linker" && can_build_shared=no
1.4       paf      13142: 
1.5       moko     13143: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.10    ! moko     13144: if test yes = "$GCC"; then
1.5       moko     13145:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   13146: fi
                   13147: 
1.10    ! moko     13148: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
        !          13149:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.5       moko     13150: fi
1.10    ! moko     13151: 
        !          13152: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
        !          13153:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.5       moko     13154: fi
                   13155: 
1.10    ! moko     13156: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
        !          13157: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
        !          13158: 
        !          13159: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
        !          13160: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
        !          13161: 
        !          13162: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
        !          13163: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
        !          13164: 
1.5       moko     13165: 
                   13166: 
                   13167: 
                   13168: 
                   13169: 
                   13170: 
                   13171: 
                   13172: 
                   13173: 
                   13174: 
                   13175: 
                   13176: 
                   13177: 
                   13178: 
                   13179: 
                   13180: 
                   13181: 
                   13182: 
                   13183: 
                   13184: 
                   13185: 
                   13186: 
                   13187: 
                   13188: 
                   13189: 
                   13190: 
                   13191: 
                   13192: 
                   13193: 
                   13194: 
                   13195: 
                   13196: 
                   13197: 
                   13198: 
                   13199: 
                   13200: 
                   13201: 
                   13202: 
                   13203: 
                   13204: 
                   13205: 
                   13206: 
                   13207: 
                   13208: 
                   13209: 
                   13210: 
                   13211: 
                   13212: 
                   13213: 
                   13214: 
                   13215: 
                   13216: 
                   13217: 
                   13218: 
                   13219: 
                   13220: 
                   13221: 
                   13222: 
                   13223: 
                   13224: 
                   13225: 
                   13226: 
                   13227: 
                   13228: 
                   13229: 
                   13230: 
                   13231: 
                   13232: 
                   13233: 
                   13234: 
                   13235: 
                   13236: 
                   13237: 
                   13238: 
                   13239: 
                   13240: 
                   13241: 
                   13242: 
                   13243: 
                   13244: 
                   13245: 
                   13246: 
                   13247: 
                   13248: 
                   13249: 
                   13250: 
                   13251: 
                   13252: 
                   13253: 
                   13254: 
                   13255: 
1.10    ! moko     13256: 
        !          13257: 
        !          13258: 
        !          13259: 
        !          13260: 
        !          13261:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
        !          13262: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.5       moko     13263: hardcode_action=
                   13264: if test -n "$hardcode_libdir_flag_spec" ||
                   13265:    test -n "$runpath_var" ||
1.10    ! moko     13266:    test yes = "$hardcode_automatic"; then
1.4       paf      13267: 
1.5       moko     13268:   # We can hardcode non-existent directories.
1.10    ! moko     13269:   if test no != "$hardcode_direct" &&
1.5       moko     13270:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   13271:      # have to relink, otherwise we might link with an installed library
                   13272:      # when we should be linking with a yet-to-be-installed one
1.10    ! moko     13273:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
        !          13274:      test no != "$hardcode_minus_L"; then
1.5       moko     13275:     # Linking always hardcodes the temporary library directory.
                   13276:     hardcode_action=relink
                   13277:   else
                   13278:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   13279:     hardcode_action=immediate
1.4       paf      13280:   fi
1.5       moko     13281: else
                   13282:   # We cannot hardcode anything, or else we can only hardcode existing
                   13283:   # directories.
                   13284:   hardcode_action=unsupported
                   13285: fi
1.10    ! moko     13286: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
        !          13287: printf "%s\n" "$hardcode_action" >&6; }
1.4       paf      13288: 
1.10    ! moko     13289: if test relink = "$hardcode_action" ||
        !          13290:    test yes = "$inherit_rpath"; then
1.4       paf      13291:   # Fast installation is not supported
                   13292:   enable_fast_install=no
1.10    ! moko     13293: elif test yes = "$shlibpath_overrides_runpath" ||
        !          13294:      test no = "$enable_shared"; then
1.4       paf      13295:   # Fast installation is not necessary
                   13296:   enable_fast_install=needless
                   13297: fi
                   13298: 
                   13299: 
1.5       moko     13300: 
                   13301: 
                   13302: 
                   13303: 
1.10    ! moko     13304:   if test yes != "$enable_dlopen"; then
1.4       paf      13305:   enable_dlopen=unknown
                   13306:   enable_dlopen_self=unknown
                   13307:   enable_dlopen_self_static=unknown
                   13308: else
                   13309:   lt_cv_dlopen=no
                   13310:   lt_cv_dlopen_libs=
                   13311: 
                   13312:   case $host_os in
                   13313:   beos*)
1.10    ! moko     13314:     lt_cv_dlopen=load_add_on
1.4       paf      13315:     lt_cv_dlopen_libs=
                   13316:     lt_cv_dlopen_self=yes
                   13317:     ;;
                   13318: 
1.10    ! moko     13319:   mingw* | windows* | pw32* | cegcc*)
        !          13320:     lt_cv_dlopen=LoadLibrary
1.4       paf      13321:     lt_cv_dlopen_libs=
1.5       moko     13322:     ;;
                   13323: 
                   13324:   cygwin*)
1.10    ! moko     13325:     lt_cv_dlopen=dlopen
1.5       moko     13326:     lt_cv_dlopen_libs=
                   13327:     ;;
1.4       paf      13328: 
1.5       moko     13329:   darwin*)
1.10    ! moko     13330:     # if libdl is installed we need to link against it
        !          13331:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          13332: printf %s "checking for dlopen in -ldl... " >&6; }
        !          13333: if test ${ac_cv_lib_dl_dlopen+y}
        !          13334: then :
        !          13335:   printf %s "(cached) " >&6
        !          13336: else case e in #(
        !          13337:   e) ac_check_lib_save_LIBS=$LIBS
1.5       moko     13338: LIBS="-ldl  $LIBS"
                   13339: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      13340: /* end confdefs.h.  */
1.5       moko     13341: 
                   13342: /* Override any GCC internal prototype to avoid an error.
                   13343:    Use char because int might match the return type of a GCC
1.10    ! moko     13344:    builtin and then its argument prototype would still apply.
        !          13345:    The 'extern "C"' is for builds by C++ compilers;
        !          13346:    although this is not generally supported in C code supporting it here
        !          13347:    has little cost and some practical benefit (sr 110532).  */
1.4       paf      13348: #ifdef __cplusplus
                   13349: extern "C"
                   13350: #endif
1.10    ! moko     13351: char dlopen (void);
1.4       paf      13352: int
1.10    ! moko     13353: main (void)
1.4       paf      13354: {
1.5       moko     13355: return dlopen ();
1.4       paf      13356:   ;
                   13357:   return 0;
                   13358: }
                   13359: _ACEOF
1.10    ! moko     13360: if ac_fn_c_try_link "$LINENO"
        !          13361: then :
1.5       moko     13362:   ac_cv_lib_dl_dlopen=yes
1.10    ! moko     13363: else case e in #(
        !          13364:   e) ac_cv_lib_dl_dlopen=no ;;
        !          13365: esac
1.5       moko     13366: fi
1.10    ! moko     13367: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     13368:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     13369: LIBS=$ac_check_lib_save_LIBS ;;
        !          13370: esac
1.5       moko     13371: fi
1.10    ! moko     13372: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          13373: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
        !          13374: if test "x$ac_cv_lib_dl_dlopen" = xyes
        !          13375: then :
        !          13376:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
        !          13377: else case e in #(
        !          13378:   e)
        !          13379:     lt_cv_dlopen=dyld
1.5       moko     13380:     lt_cv_dlopen_libs=
                   13381:     lt_cv_dlopen_self=yes
1.10    ! moko     13382:      ;;
        !          13383: esac
        !          13384: fi
1.5       moko     13385: 
1.10    ! moko     13386:     ;;
1.5       moko     13387: 
1.10    ! moko     13388:   tpf*)
        !          13389:     # Don't try to run any link tests for TPF.  We know it's impossible
        !          13390:     # because TPF is a cross-compiler, and we know how we open DSOs.
        !          13391:     lt_cv_dlopen=dlopen
        !          13392:     lt_cv_dlopen_libs=
        !          13393:     lt_cv_dlopen_self=no
1.5       moko     13394:     ;;
                   13395: 
                   13396:   *)
                   13397:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.10    ! moko     13398: if test "x$ac_cv_func_shl_load" = xyes
        !          13399: then :
        !          13400:   lt_cv_dlopen=shl_load
        !          13401: else case e in #(
        !          13402:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
        !          13403: printf %s "checking for shl_load in -ldld... " >&6; }
        !          13404: if test ${ac_cv_lib_dld_shl_load+y}
        !          13405: then :
        !          13406:   printf %s "(cached) " >&6
        !          13407: else case e in #(
        !          13408:   e) ac_check_lib_save_LIBS=$LIBS
1.4       paf      13409: LIBS="-ldld  $LIBS"
1.5       moko     13410: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      13411: /* end confdefs.h.  */
                   13412: 
1.5       moko     13413: /* Override any GCC internal prototype to avoid an error.
                   13414:    Use char because int might match the return type of a GCC
1.10    ! moko     13415:    builtin and then its argument prototype would still apply.
        !          13416:    The 'extern "C"' is for builds by C++ compilers;
        !          13417:    although this is not generally supported in C code supporting it here
        !          13418:    has little cost and some practical benefit (sr 110532).  */
1.4       paf      13419: #ifdef __cplusplus
                   13420: extern "C"
                   13421: #endif
1.10    ! moko     13422: char shl_load (void);
1.4       paf      13423: int
1.10    ! moko     13424: main (void)
1.4       paf      13425: {
1.5       moko     13426: return shl_load ();
1.4       paf      13427:   ;
                   13428:   return 0;
                   13429: }
                   13430: _ACEOF
1.10    ! moko     13431: if ac_fn_c_try_link "$LINENO"
        !          13432: then :
1.5       moko     13433:   ac_cv_lib_dld_shl_load=yes
1.10    ! moko     13434: else case e in #(
        !          13435:   e) ac_cv_lib_dld_shl_load=no ;;
        !          13436: esac
1.4       paf      13437: fi
1.10    ! moko     13438: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     13439:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     13440: LIBS=$ac_check_lib_save_LIBS ;;
        !          13441: esac
1.4       paf      13442: fi
1.10    ! moko     13443: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
        !          13444: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
        !          13445: if test "x$ac_cv_lib_dld_shl_load" = xyes
        !          13446: then :
        !          13447:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
        !          13448: else case e in #(
        !          13449:   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
        !          13450: if test "x$ac_cv_func_dlopen" = xyes
        !          13451: then :
        !          13452:   lt_cv_dlopen=dlopen
        !          13453: else case e in #(
        !          13454:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          13455: printf %s "checking for dlopen in -ldl... " >&6; }
        !          13456: if test ${ac_cv_lib_dl_dlopen+y}
        !          13457: then :
        !          13458:   printf %s "(cached) " >&6
        !          13459: else case e in #(
        !          13460:   e) ac_check_lib_save_LIBS=$LIBS
1.4       paf      13461: LIBS="-ldl  $LIBS"
1.5       moko     13462: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      13463: /* end confdefs.h.  */
                   13464: 
1.5       moko     13465: /* Override any GCC internal prototype to avoid an error.
                   13466:    Use char because int might match the return type of a GCC
1.10    ! moko     13467:    builtin and then its argument prototype would still apply.
        !          13468:    The 'extern "C"' is for builds by C++ compilers;
        !          13469:    although this is not generally supported in C code supporting it here
        !          13470:    has little cost and some practical benefit (sr 110532).  */
1.4       paf      13471: #ifdef __cplusplus
                   13472: extern "C"
                   13473: #endif
1.10    ! moko     13474: char dlopen (void);
1.4       paf      13475: int
1.10    ! moko     13476: main (void)
1.4       paf      13477: {
1.5       moko     13478: return dlopen ();
1.4       paf      13479:   ;
                   13480:   return 0;
                   13481: }
                   13482: _ACEOF
1.10    ! moko     13483: if ac_fn_c_try_link "$LINENO"
        !          13484: then :
1.4       paf      13485:   ac_cv_lib_dl_dlopen=yes
1.10    ! moko     13486: else case e in #(
        !          13487:   e) ac_cv_lib_dl_dlopen=no ;;
        !          13488: esac
1.4       paf      13489: fi
1.10    ! moko     13490: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     13491:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     13492: LIBS=$ac_check_lib_save_LIBS ;;
        !          13493: esac
1.4       paf      13494: fi
1.10    ! moko     13495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          13496: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
        !          13497: if test "x$ac_cv_lib_dl_dlopen" = xyes
        !          13498: then :
        !          13499:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
        !          13500: else case e in #(
        !          13501:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
        !          13502: printf %s "checking for dlopen in -lsvld... " >&6; }
        !          13503: if test ${ac_cv_lib_svld_dlopen+y}
        !          13504: then :
        !          13505:   printf %s "(cached) " >&6
        !          13506: else case e in #(
        !          13507:   e) ac_check_lib_save_LIBS=$LIBS
1.4       paf      13508: LIBS="-lsvld  $LIBS"
1.5       moko     13509: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      13510: /* end confdefs.h.  */
                   13511: 
1.5       moko     13512: /* Override any GCC internal prototype to avoid an error.
                   13513:    Use char because int might match the return type of a GCC
1.10    ! moko     13514:    builtin and then its argument prototype would still apply.
        !          13515:    The 'extern "C"' is for builds by C++ compilers;
        !          13516:    although this is not generally supported in C code supporting it here
        !          13517:    has little cost and some practical benefit (sr 110532).  */
1.4       paf      13518: #ifdef __cplusplus
                   13519: extern "C"
                   13520: #endif
1.10    ! moko     13521: char dlopen (void);
1.4       paf      13522: int
1.10    ! moko     13523: main (void)
1.4       paf      13524: {
1.5       moko     13525: return dlopen ();
1.4       paf      13526:   ;
                   13527:   return 0;
                   13528: }
                   13529: _ACEOF
1.10    ! moko     13530: if ac_fn_c_try_link "$LINENO"
        !          13531: then :
1.4       paf      13532:   ac_cv_lib_svld_dlopen=yes
1.10    ! moko     13533: else case e in #(
        !          13534:   e) ac_cv_lib_svld_dlopen=no ;;
        !          13535: esac
1.4       paf      13536: fi
1.10    ! moko     13537: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     13538:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     13539: LIBS=$ac_check_lib_save_LIBS ;;
        !          13540: esac
1.4       paf      13541: fi
1.10    ! moko     13542: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
        !          13543: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
        !          13544: if test "x$ac_cv_lib_svld_dlopen" = xyes
        !          13545: then :
        !          13546:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
        !          13547: else case e in #(
        !          13548:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
        !          13549: printf %s "checking for dld_link in -ldld... " >&6; }
        !          13550: if test ${ac_cv_lib_dld_dld_link+y}
        !          13551: then :
        !          13552:   printf %s "(cached) " >&6
        !          13553: else case e in #(
        !          13554:   e) ac_check_lib_save_LIBS=$LIBS
1.4       paf      13555: LIBS="-ldld  $LIBS"
1.5       moko     13556: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      13557: /* end confdefs.h.  */
                   13558: 
1.5       moko     13559: /* Override any GCC internal prototype to avoid an error.
                   13560:    Use char because int might match the return type of a GCC
1.10    ! moko     13561:    builtin and then its argument prototype would still apply.
        !          13562:    The 'extern "C"' is for builds by C++ compilers;
        !          13563:    although this is not generally supported in C code supporting it here
        !          13564:    has little cost and some practical benefit (sr 110532).  */
1.4       paf      13565: #ifdef __cplusplus
                   13566: extern "C"
                   13567: #endif
1.10    ! moko     13568: char dld_link (void);
1.4       paf      13569: int
1.10    ! moko     13570: main (void)
1.4       paf      13571: {
1.5       moko     13572: return dld_link ();
1.4       paf      13573:   ;
                   13574:   return 0;
                   13575: }
                   13576: _ACEOF
1.10    ! moko     13577: if ac_fn_c_try_link "$LINENO"
        !          13578: then :
1.4       paf      13579:   ac_cv_lib_dld_dld_link=yes
1.10    ! moko     13580: else case e in #(
        !          13581:   e) ac_cv_lib_dld_dld_link=no ;;
        !          13582: esac
1.4       paf      13583: fi
1.10    ! moko     13584: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     13585:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     13586: LIBS=$ac_check_lib_save_LIBS ;;
        !          13587: esac
1.4       paf      13588: fi
1.10    ! moko     13589: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
        !          13590: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
        !          13591: if test "x$ac_cv_lib_dld_dld_link" = xyes
        !          13592: then :
        !          13593:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.4       paf      13594: fi
                   13595: 
1.10    ! moko     13596:               ;;
        !          13597: esac
1.4       paf      13598: fi
                   13599: 
1.10    ! moko     13600:             ;;
        !          13601: esac
1.4       paf      13602: fi
                   13603: 
1.10    ! moko     13604:           ;;
        !          13605: esac
1.4       paf      13606: fi
                   13607: 
1.10    ! moko     13608:         ;;
        !          13609: esac
1.4       paf      13610: fi
                   13611: 
1.10    ! moko     13612:        ;;
        !          13613: esac
1.4       paf      13614: fi
                   13615: 
                   13616:     ;;
                   13617:   esac
                   13618: 
1.10    ! moko     13619:   if test no = "$lt_cv_dlopen"; then
        !          13620:     enable_dlopen=no
        !          13621:   else
1.4       paf      13622:     enable_dlopen=yes
                   13623:   fi
                   13624: 
                   13625:   case $lt_cv_dlopen in
                   13626:   dlopen)
1.10    ! moko     13627:     save_CPPFLAGS=$CPPFLAGS
        !          13628:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.4       paf      13629: 
1.10    ! moko     13630:     save_LDFLAGS=$LDFLAGS
1.5       moko     13631:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.4       paf      13632: 
1.10    ! moko     13633:     save_LIBS=$LIBS
1.4       paf      13634:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   13635: 
1.10    ! moko     13636:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
        !          13637: printf %s "checking whether a program can dlopen itself... " >&6; }
        !          13638: if test ${lt_cv_dlopen_self+y}
        !          13639: then :
        !          13640:   printf %s "(cached) " >&6
        !          13641: else case e in #(
        !          13642:   e)     if test yes = "$cross_compiling"; then :
1.4       paf      13643:   lt_cv_dlopen_self=cross
                   13644: else
1.5       moko     13645:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.4       paf      13646:   lt_status=$lt_dlunknown
1.5       moko     13647:   cat > conftest.$ac_ext <<_LT_EOF
                   13648: #line $LINENO "configure"
1.4       paf      13649: #include "confdefs.h"
                   13650: 
                   13651: #if HAVE_DLFCN_H
                   13652: #include <dlfcn.h>
                   13653: #endif
                   13654: 
                   13655: #include <stdio.h>
                   13656: 
                   13657: #ifdef RTLD_GLOBAL
                   13658: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13659: #else
                   13660: #  ifdef DL_GLOBAL
                   13661: #    define LT_DLGLOBAL                DL_GLOBAL
                   13662: #  else
                   13663: #    define LT_DLGLOBAL                0
                   13664: #  endif
                   13665: #endif
                   13666: 
                   13667: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13668:    find out it does not work in some platform. */
                   13669: #ifndef LT_DLLAZY_OR_NOW
                   13670: #  ifdef RTLD_LAZY
                   13671: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13672: #  else
                   13673: #    ifdef DL_LAZY
                   13674: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13675: #    else
                   13676: #      ifdef RTLD_NOW
                   13677: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13678: #      else
                   13679: #        ifdef DL_NOW
                   13680: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13681: #        else
                   13682: #          define LT_DLLAZY_OR_NOW     0
                   13683: #        endif
                   13684: #      endif
                   13685: #    endif
                   13686: #  endif
                   13687: #endif
                   13688: 
1.10    ! moko     13689: /* When -fvisibility=hidden is used, assume the code has been annotated
1.5       moko     13690:    correspondingly for the symbols needed.  */
1.10    ! moko     13691: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          13692: int fnord (void) __attribute__((visibility("default")));
1.4       paf      13693: #endif
                   13694: 
1.10    ! moko     13695: int fnord (void) { return 42; }
        !          13696: int main (void)
1.4       paf      13697: {
                   13698:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13699:   int status = $lt_dlunknown;
                   13700: 
                   13701:   if (self)
                   13702:     {
                   13703:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.5       moko     13704:       else
                   13705:         {
                   13706:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13707:           else puts (dlerror ());
                   13708:        }
1.4       paf      13709:       /* dlclose (self); */
                   13710:     }
1.5       moko     13711:   else
                   13712:     puts (dlerror ());
1.4       paf      13713: 
1.5       moko     13714:   return status;
1.4       paf      13715: }
1.5       moko     13716: _LT_EOF
                   13717:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.4       paf      13718:   (eval $ac_link) 2>&5
                   13719:   ac_status=$?
1.10    ! moko     13720:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          13721:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.5       moko     13722:     (./conftest; exit; ) >&5 2>/dev/null
1.4       paf      13723:     lt_status=$?
                   13724:     case x$lt_status in
                   13725:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   13726:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.5       moko     13727:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
1.4       paf      13728:     esac
                   13729:   else :
                   13730:     # compilation failed
                   13731:     lt_cv_dlopen_self=no
                   13732:   fi
                   13733: fi
                   13734: rm -fr conftest*
                   13735: 
1.10    ! moko     13736:      ;;
        !          13737: esac
1.4       paf      13738: fi
1.10    ! moko     13739: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
        !          13740: printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1.4       paf      13741: 
1.10    ! moko     13742:     if test yes = "$lt_cv_dlopen_self"; then
1.5       moko     13743:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.10    ! moko     13744:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
        !          13745: printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
        !          13746: if test ${lt_cv_dlopen_self_static+y}
        !          13747: then :
        !          13748:   printf %s "(cached) " >&6
        !          13749: else case e in #(
        !          13750:   e)     if test yes = "$cross_compiling"; then :
1.4       paf      13751:   lt_cv_dlopen_self_static=cross
                   13752: else
1.5       moko     13753:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.4       paf      13754:   lt_status=$lt_dlunknown
1.5       moko     13755:   cat > conftest.$ac_ext <<_LT_EOF
                   13756: #line $LINENO "configure"
1.4       paf      13757: #include "confdefs.h"
                   13758: 
                   13759: #if HAVE_DLFCN_H
                   13760: #include <dlfcn.h>
                   13761: #endif
                   13762: 
                   13763: #include <stdio.h>
                   13764: 
                   13765: #ifdef RTLD_GLOBAL
                   13766: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13767: #else
                   13768: #  ifdef DL_GLOBAL
                   13769: #    define LT_DLGLOBAL                DL_GLOBAL
                   13770: #  else
                   13771: #    define LT_DLGLOBAL                0
                   13772: #  endif
                   13773: #endif
                   13774: 
                   13775: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13776:    find out it does not work in some platform. */
                   13777: #ifndef LT_DLLAZY_OR_NOW
                   13778: #  ifdef RTLD_LAZY
                   13779: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13780: #  else
                   13781: #    ifdef DL_LAZY
                   13782: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13783: #    else
                   13784: #      ifdef RTLD_NOW
                   13785: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13786: #      else
                   13787: #        ifdef DL_NOW
                   13788: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13789: #        else
                   13790: #          define LT_DLLAZY_OR_NOW     0
                   13791: #        endif
                   13792: #      endif
                   13793: #    endif
                   13794: #  endif
                   13795: #endif
                   13796: 
1.10    ! moko     13797: /* When -fvisibility=hidden is used, assume the code has been annotated
1.5       moko     13798:    correspondingly for the symbols needed.  */
1.10    ! moko     13799: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          13800: int fnord (void) __attribute__((visibility("default")));
1.4       paf      13801: #endif
                   13802: 
1.10    ! moko     13803: int fnord (void) { return 42; }
        !          13804: int main (void)
1.4       paf      13805: {
                   13806:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13807:   int status = $lt_dlunknown;
                   13808: 
                   13809:   if (self)
                   13810:     {
                   13811:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.5       moko     13812:       else
                   13813:         {
                   13814:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13815:           else puts (dlerror ());
                   13816:        }
1.4       paf      13817:       /* dlclose (self); */
                   13818:     }
1.5       moko     13819:   else
                   13820:     puts (dlerror ());
1.4       paf      13821: 
1.5       moko     13822:   return status;
1.4       paf      13823: }
1.5       moko     13824: _LT_EOF
                   13825:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.4       paf      13826:   (eval $ac_link) 2>&5
                   13827:   ac_status=$?
1.10    ! moko     13828:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          13829:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.5       moko     13830:     (./conftest; exit; ) >&5 2>/dev/null
1.4       paf      13831:     lt_status=$?
                   13832:     case x$lt_status in
                   13833:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13834:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.5       moko     13835:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
1.4       paf      13836:     esac
                   13837:   else :
                   13838:     # compilation failed
                   13839:     lt_cv_dlopen_self_static=no
                   13840:   fi
                   13841: fi
                   13842: rm -fr conftest*
                   13843: 
1.10    ! moko     13844:        ;;
        !          13845: esac
1.4       paf      13846: fi
1.10    ! moko     13847: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
        !          13848: printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1.4       paf      13849:     fi
                   13850: 
1.10    ! moko     13851:     CPPFLAGS=$save_CPPFLAGS
        !          13852:     LDFLAGS=$save_LDFLAGS
        !          13853:     LIBS=$save_LIBS
1.4       paf      13854:     ;;
                   13855:   esac
                   13856: 
                   13857:   case $lt_cv_dlopen_self in
                   13858:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13859:   *) enable_dlopen_self=unknown ;;
                   13860:   esac
                   13861: 
                   13862:   case $lt_cv_dlopen_self_static in
                   13863:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13864:   *) enable_dlopen_self_static=unknown ;;
                   13865:   esac
                   13866: fi
                   13867: 
                   13868: 
                   13869: 
                   13870: 
                   13871: 
                   13872: 
                   13873: 
                   13874: 
                   13875: 
                   13876: 
                   13877: 
                   13878: 
                   13879: 
                   13880: 
                   13881: 
                   13882: 
                   13883: 
1.5       moko     13884: striplib=
                   13885: old_striplib=
1.10    ! moko     13886: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
        !          13887: printf %s "checking whether stripping libraries is possible... " >&6; }
        !          13888: if test -z "$STRIP"; then
        !          13889:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13890: printf "%s\n" "no" >&6; }
        !          13891: else
        !          13892:   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
        !          13893:     old_striplib="$STRIP --strip-debug"
        !          13894:     striplib="$STRIP --strip-unneeded"
        !          13895:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          13896: printf "%s\n" "yes" >&6; }
        !          13897:   else
        !          13898:     case $host_os in
        !          13899:     darwin*)
        !          13900:       # FIXME - insert some real tests, host_os isn't really good enough
1.5       moko     13901:       striplib="$STRIP -x"
                   13902:       old_striplib="$STRIP -S"
1.10    ! moko     13903:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          13904: printf "%s\n" "yes" >&6; }
        !          13905:       ;;
        !          13906:     freebsd*)
        !          13907:       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
        !          13908:         old_striplib="$STRIP --strip-debug"
        !          13909:         striplib="$STRIP --strip-unneeded"
        !          13910:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          13911: printf "%s\n" "yes" >&6; }
        !          13912:       else
        !          13913:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13914: printf "%s\n" "no" >&6; }
        !          13915:       fi
        !          13916:       ;;
        !          13917:     *)
        !          13918:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13919: printf "%s\n" "no" >&6; }
        !          13920:       ;;
        !          13921:     esac
        !          13922:   fi
1.5       moko     13923: fi
1.4       paf      13924: 
                   13925: 
                   13926: 
                   13927: 
                   13928: 
                   13929: 
                   13930: 
                   13931: 
                   13932: 
                   13933: 
                   13934: 
                   13935: 
1.10    ! moko     13936:   # Report what library types will actually be built
        !          13937:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
        !          13938: printf %s "checking if libtool supports shared libraries... " >&6; }
        !          13939:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
        !          13940: printf "%s\n" "$can_build_shared" >&6; }
        !          13941: 
        !          13942:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
        !          13943: printf %s "checking whether to build shared libraries... " >&6; }
        !          13944:   test no = "$can_build_shared" && enable_shared=no
1.4       paf      13945: 
1.5       moko     13946:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13947:   # are all built from PIC.
                   13948:   case $host_os in
                   13949:   aix3*)
1.10    ! moko     13950:     test yes = "$enable_shared" && enable_static=no
1.5       moko     13951:     if test -n "$RANLIB"; then
                   13952:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13953:       postinstall_cmds='$RANLIB $lib'
                   13954:     fi
                   13955:     ;;
1.4       paf      13956: 
1.5       moko     13957:   aix[4-9]*)
1.10    ! moko     13958:     if test ia64 != "$host_cpu"; then
        !          13959:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
        !          13960:       yes,aix,yes) ;;                  # shared object as lib.so file only
        !          13961:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
        !          13962:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
        !          13963:       esac
1.5       moko     13964:     fi
                   13965:     ;;
                   13966:   esac
1.10    ! moko     13967:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
        !          13968: printf "%s\n" "$enable_shared" >&6; }
1.4       paf      13969: 
1.10    ! moko     13970:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
        !          13971: printf %s "checking whether to build static libraries... " >&6; }
1.5       moko     13972:   # Make sure either enable_shared or enable_static is yes.
1.10    ! moko     13973:   test yes = "$enable_shared" || enable_static=yes
        !          13974:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
        !          13975: printf "%s\n" "$enable_static" >&6; }
1.4       paf      13976: 
                   13977: 
                   13978: 
                   13979: 
1.5       moko     13980: fi
                   13981: ac_ext=c
                   13982: ac_cpp='$CPP $CPPFLAGS'
                   13983: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13984: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13985: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4       paf      13986: 
1.10    ! moko     13987: CC=$lt_save_CC
1.4       paf      13988: 
                   13989: 
                   13990: 
                   13991: 
                   13992: 
                   13993: 
                   13994: 
                   13995: 
                   13996: 
                   13997: 
                   13998: 
                   13999: 
                   14000: 
                   14001: 
                   14002: 
1.5       moko     14003:         ac_config_commands="$ac_config_commands libtool"
1.4       paf      14004: 
                   14005: 
                   14006: 
                   14007: 
1.5       moko     14008: # Only expand once:
1.4       paf      14009: 
                   14010: 
1.10    ! moko     14011: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
        !          14012: printf %s "checking what extension is used for runtime loadable modules... " >&6; }
        !          14013: if test ${libltdl_cv_shlibext+y}
        !          14014: then :
        !          14015:   printf %s "(cached) " >&6
        !          14016: else case e in #(
        !          14017:   e)
1.5       moko     14018: module=yes
                   14019: eval libltdl_cv_shlibext=$shrext_cmds
                   14020: module=no
                   14021: eval libltdl_cv_shrext=$shrext_cmds
1.10    ! moko     14022:    ;;
        !          14023: esac
1.5       moko     14024: fi
1.10    ! moko     14025: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
        !          14026: printf "%s\n" "$libltdl_cv_shlibext" >&6; }
1.5       moko     14027: if test -n "$libltdl_cv_shlibext"; then
1.4       paf      14028: 
1.10    ! moko     14029: printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h
1.4       paf      14030: 
1.5       moko     14031: fi
                   14032: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1.4       paf      14033: 
1.10    ! moko     14034: printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h
        !          14035: 
        !          14036: fi
        !          14037: if test -n "$shared_archive_member_spec"; then
        !          14038: 
        !          14039: printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h
1.4       paf      14040: 
1.5       moko     14041: fi
1.4       paf      14042: 
1.10    ! moko     14043: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
        !          14044: printf %s "checking what variable specifies run-time module search path... " >&6; }
        !          14045: if test ${lt_cv_module_path_var+y}
        !          14046: then :
        !          14047:   printf %s "(cached) " >&6
        !          14048: else case e in #(
        !          14049:   e) lt_cv_module_path_var=$shlibpath_var ;;
        !          14050: esac
1.5       moko     14051: fi
1.10    ! moko     14052: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
        !          14053: printf "%s\n" "$lt_cv_module_path_var" >&6; }
1.5       moko     14054: if test -n "$lt_cv_module_path_var"; then
1.4       paf      14055: 
1.10    ! moko     14056: printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h
1.4       paf      14057: 
1.5       moko     14058: fi
1.4       paf      14059: 
1.10    ! moko     14060: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
        !          14061: printf %s "checking for the default library search path... " >&6; }
        !          14062: if test ${lt_cv_sys_dlsearch_path+y}
        !          14063: then :
        !          14064:   printf %s "(cached) " >&6
        !          14065: else case e in #(
        !          14066:   e) lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec ;;
        !          14067: esac
1.5       moko     14068: fi
1.10    ! moko     14069: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
        !          14070: printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; }
1.5       moko     14071: if test -n "$lt_cv_sys_dlsearch_path"; then
                   14072:   sys_dlsearch_path=
                   14073:   for dir in $lt_cv_sys_dlsearch_path; do
                   14074:     if test -z "$sys_dlsearch_path"; then
1.10    ! moko     14075:       sys_dlsearch_path=$dir
1.5       moko     14076:     else
1.10    ! moko     14077:       sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
1.5       moko     14078:     fi
                   14079:   done
1.4       paf      14080: 
1.10    ! moko     14081: printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h
        !          14082: 
        !          14083: fi
        !          14084: 
        !          14085: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
        !          14086: printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
        !          14087: if test ${ac_cv_c_undeclared_builtin_options+y}
        !          14088: then :
        !          14089:   printf %s "(cached) " >&6
        !          14090: else case e in #(
        !          14091:   e) ac_save_CFLAGS=$CFLAGS
        !          14092:    ac_cv_c_undeclared_builtin_options='cannot detect'
        !          14093:    for ac_arg in '' -fno-builtin; do
        !          14094:      CFLAGS="$ac_save_CFLAGS $ac_arg"
        !          14095:      # This test program should *not* compile successfully.
        !          14096:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14097: /* end confdefs.h.  */
        !          14098: 
        !          14099: int
        !          14100: main (void)
        !          14101: {
        !          14102: (void) strchr;
        !          14103:   ;
        !          14104:   return 0;
        !          14105: }
1.5       moko     14106: _ACEOF
1.10    ! moko     14107: if ac_fn_c_try_compile "$LINENO"
        !          14108: then :
        !          14109: 
        !          14110: else case e in #(
        !          14111:   e) # This test program should compile successfully.
        !          14112:         # No library function is consistently available on
        !          14113:         # freestanding implementations, so test against a dummy
        !          14114:         # declaration.  Include always-available headers on the
        !          14115:         # off chance that they somehow elicit warnings.
        !          14116:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14117: /* end confdefs.h.  */
        !          14118: #include <float.h>
        !          14119: #include <limits.h>
        !          14120: #include <stdarg.h>
        !          14121: #include <stddef.h>
        !          14122: extern void ac_decl (int, char *);
        !          14123: 
        !          14124: int
        !          14125: main (void)
        !          14126: {
        !          14127: (void) ac_decl (0, (char *) 0);
        !          14128:   (void) ac_decl;
1.4       paf      14129: 
1.10    ! moko     14130:   ;
        !          14131:   return 0;
        !          14132: }
        !          14133: _ACEOF
        !          14134: if ac_fn_c_try_compile "$LINENO"
        !          14135: then :
        !          14136:   if test x"$ac_arg" = x
        !          14137: then :
        !          14138:   ac_cv_c_undeclared_builtin_options='none needed'
        !          14139: else case e in #(
        !          14140:   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
        !          14141: esac
        !          14142: fi
        !          14143:           break
1.5       moko     14144: fi
1.10    ! moko     14145: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          14146: esac
        !          14147: fi
        !          14148: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          14149:     done
        !          14150:     CFLAGS=$ac_save_CFLAGS
        !          14151:    ;;
        !          14152: esac
        !          14153: fi
        !          14154: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
        !          14155: printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
        !          14156:   case $ac_cv_c_undeclared_builtin_options in #(
        !          14157:   'cannot detect') :
        !          14158:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          14159: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          14160: as_fn_error $? "cannot make $CC report undeclared builtins
        !          14161: See 'config.log' for more details" "$LINENO" 5; } ;; #(
        !          14162:   'none needed') :
        !          14163:     ac_c_undeclared_builtin_options='' ;; #(
        !          14164:   *) :
        !          14165:     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
        !          14166: esac
1.4       paf      14167: 
                   14168: 
1.5       moko     14169: LT_DLLOADERS=
1.4       paf      14170: 
                   14171: 
1.5       moko     14172: ac_ext=c
                   14173: ac_cpp='$CPP $CPPFLAGS'
                   14174: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   14175: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   14176: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4       paf      14177: 
1.10    ! moko     14178: lt_dlload_save_LIBS=$LIBS
1.4       paf      14179: 
1.5       moko     14180: LIBADD_DLOPEN=
1.10    ! moko     14181: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
        !          14182: printf %s "checking for library containing dlopen... " >&6; }
        !          14183: if test ${ac_cv_search_dlopen+y}
        !          14184: then :
        !          14185:   printf %s "(cached) " >&6
        !          14186: else case e in #(
        !          14187:   e) ac_func_search_save_LIBS=$LIBS
1.5       moko     14188: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14189: /* end confdefs.h.  */
1.4       paf      14190: 
1.5       moko     14191: /* Override any GCC internal prototype to avoid an error.
                   14192:    Use char because int might match the return type of a GCC
1.10    ! moko     14193:    builtin and then its argument prototype would still apply.
        !          14194:    The 'extern "C"' is for builds by C++ compilers;
        !          14195:    although this is not generally supported in C code supporting it here
        !          14196:    has little cost and some practical benefit (sr 110532).  */
1.5       moko     14197: #ifdef __cplusplus
                   14198: extern "C"
                   14199: #endif
1.10    ! moko     14200: char dlopen (void);
1.5       moko     14201: int
1.10    ! moko     14202: main (void)
1.5       moko     14203: {
                   14204: return dlopen ();
                   14205:   ;
                   14206:   return 0;
                   14207: }
                   14208: _ACEOF
1.10    ! moko     14209: for ac_lib in '' dl
        !          14210: do
1.5       moko     14211:   if test -z "$ac_lib"; then
                   14212:     ac_res="none required"
                   14213:   else
                   14214:     ac_res=-l$ac_lib
                   14215:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   14216:   fi
1.10    ! moko     14217:   if ac_fn_c_try_link "$LINENO"
        !          14218: then :
1.5       moko     14219:   ac_cv_search_dlopen=$ac_res
                   14220: fi
1.10    ! moko     14221: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     14222:     conftest$ac_exeext
1.10    ! moko     14223:   if test ${ac_cv_search_dlopen+y}
        !          14224: then :
1.5       moko     14225:   break
1.4       paf      14226: fi
1.5       moko     14227: done
1.10    ! moko     14228: if test ${ac_cv_search_dlopen+y}
        !          14229: then :
1.4       paf      14230: 
1.10    ! moko     14231: else case e in #(
        !          14232:   e) ac_cv_search_dlopen=no ;;
        !          14233: esac
1.5       moko     14234: fi
                   14235: rm conftest.$ac_ext
1.10    ! moko     14236: LIBS=$ac_func_search_save_LIBS ;;
        !          14237: esac
1.5       moko     14238: fi
1.10    ! moko     14239: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
        !          14240: printf "%s\n" "$ac_cv_search_dlopen" >&6; }
1.5       moko     14241: ac_res=$ac_cv_search_dlopen
1.10    ! moko     14242: if test "$ac_res" != no
        !          14243: then :
1.5       moko     14244:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.4       paf      14245: 
1.10    ! moko     14246: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.4       paf      14247: 
1.10    ! moko     14248:        if test "$ac_cv_search_dlopen" != "none required"; then
        !          14249:          LIBADD_DLOPEN=-ldl
1.5       moko     14250:        fi
1.10    ! moko     14251:        libltdl_cv_lib_dl_dlopen=yes
1.5       moko     14252:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.10    ! moko     14253: else case e in #(
        !          14254:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.5       moko     14255: /* end confdefs.h.  */
                   14256: #if HAVE_DLFCN_H
                   14257: #  include <dlfcn.h>
                   14258: #endif
1.4       paf      14259: 
1.5       moko     14260: int
1.10    ! moko     14261: main (void)
1.5       moko     14262: {
                   14263: dlopen(0, 0);
                   14264:   ;
                   14265:   return 0;
                   14266: }
                   14267: _ACEOF
1.10    ! moko     14268: if ac_fn_c_try_link "$LINENO"
        !          14269: then :
1.4       paf      14270: 
1.10    ! moko     14271: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.4       paf      14272: 
1.10    ! moko     14273:            libltdl_cv_func_dlopen=yes
1.5       moko     14274:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.10    ! moko     14275: else case e in #(
        !          14276:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
        !          14277: printf %s "checking for dlopen in -lsvld... " >&6; }
        !          14278: if test ${ac_cv_lib_svld_dlopen+y}
        !          14279: then :
        !          14280:   printf %s "(cached) " >&6
        !          14281: else case e in #(
        !          14282:   e) ac_check_lib_save_LIBS=$LIBS
1.5       moko     14283: LIBS="-lsvld  $LIBS"
                   14284: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14285: /* end confdefs.h.  */
1.4       paf      14286: 
1.5       moko     14287: /* Override any GCC internal prototype to avoid an error.
                   14288:    Use char because int might match the return type of a GCC
1.10    ! moko     14289:    builtin and then its argument prototype would still apply.
        !          14290:    The 'extern "C"' is for builds by C++ compilers;
        !          14291:    although this is not generally supported in C code supporting it here
        !          14292:    has little cost and some practical benefit (sr 110532).  */
1.5       moko     14293: #ifdef __cplusplus
                   14294: extern "C"
                   14295: #endif
1.10    ! moko     14296: char dlopen (void);
1.5       moko     14297: int
1.10    ! moko     14298: main (void)
1.5       moko     14299: {
                   14300: return dlopen ();
                   14301:   ;
                   14302:   return 0;
                   14303: }
                   14304: _ACEOF
1.10    ! moko     14305: if ac_fn_c_try_link "$LINENO"
        !          14306: then :
1.5       moko     14307:   ac_cv_lib_svld_dlopen=yes
1.10    ! moko     14308: else case e in #(
        !          14309:   e) ac_cv_lib_svld_dlopen=no ;;
        !          14310: esac
1.5       moko     14311: fi
1.10    ! moko     14312: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     14313:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     14314: LIBS=$ac_check_lib_save_LIBS ;;
        !          14315: esac
1.5       moko     14316: fi
1.10    ! moko     14317: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
        !          14318: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
        !          14319: if test "x$ac_cv_lib_svld_dlopen" = xyes
        !          14320: then :
1.4       paf      14321: 
1.10    ! moko     14322: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.4       paf      14323: 
1.10    ! moko     14324:                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
1.5       moko     14325:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   14326: fi
1.10    ! moko     14327:  ;;
        !          14328: esac
1.5       moko     14329: fi
1.10    ! moko     14330: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          14331:     conftest$ac_exeext conftest.$ac_ext ;;
        !          14332: esac
1.5       moko     14333: fi
1.4       paf      14334: 
1.10    ! moko     14335: if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
1.5       moko     14336: then
1.10    ! moko     14337:   lt_save_LIBS=$LIBS
1.5       moko     14338:   LIBS="$LIBS $LIBADD_DLOPEN"
                   14339:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
1.10    ! moko     14340: if test "x$ac_cv_func_dlerror" = xyes
        !          14341: then :
        !          14342:   printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h
1.4       paf      14343: 
1.5       moko     14344: fi
1.4       paf      14345: 
1.10    ! moko     14346:   LIBS=$lt_save_LIBS
1.5       moko     14347: fi
1.4       paf      14348: 
                   14349: 
1.5       moko     14350: LIBADD_SHL_LOAD=
                   14351: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.10    ! moko     14352: if test "x$ac_cv_func_shl_load" = xyes
        !          14353: then :
1.4       paf      14354: 
1.10    ! moko     14355: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.4       paf      14356: 
1.5       moko     14357:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.10    ! moko     14358: else case e in #(
        !          14359:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
        !          14360: printf %s "checking for shl_load in -ldld... " >&6; }
        !          14361: if test ${ac_cv_lib_dld_shl_load+y}
        !          14362: then :
        !          14363:   printf %s "(cached) " >&6
        !          14364: else case e in #(
        !          14365:   e) ac_check_lib_save_LIBS=$LIBS
1.5       moko     14366: LIBS="-ldld  $LIBS"
                   14367: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      14368: /* end confdefs.h.  */
                   14369: 
1.5       moko     14370: /* Override any GCC internal prototype to avoid an error.
                   14371:    Use char because int might match the return type of a GCC
1.10    ! moko     14372:    builtin and then its argument prototype would still apply.
        !          14373:    The 'extern "C"' is for builds by C++ compilers;
        !          14374:    although this is not generally supported in C code supporting it here
        !          14375:    has little cost and some practical benefit (sr 110532).  */
1.5       moko     14376: #ifdef __cplusplus
                   14377: extern "C"
                   14378: #endif
1.10    ! moko     14379: char shl_load (void);
1.4       paf      14380: int
1.10    ! moko     14381: main (void)
1.4       paf      14382: {
1.5       moko     14383: return shl_load ();
1.4       paf      14384:   ;
                   14385:   return 0;
                   14386: }
                   14387: _ACEOF
1.10    ! moko     14388: if ac_fn_c_try_link "$LINENO"
        !          14389: then :
1.5       moko     14390:   ac_cv_lib_dld_shl_load=yes
1.10    ! moko     14391: else case e in #(
        !          14392:   e) ac_cv_lib_dld_shl_load=no ;;
        !          14393: esac
1.5       moko     14394: fi
1.10    ! moko     14395: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     14396:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     14397: LIBS=$ac_check_lib_save_LIBS ;;
        !          14398: esac
1.5       moko     14399: fi
1.10    ! moko     14400: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
        !          14401: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
        !          14402: if test "x$ac_cv_lib_dld_shl_load" = xyes
        !          14403: then :
1.5       moko     14404: 
1.10    ! moko     14405: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.4       paf      14406: 
1.5       moko     14407:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.10    ! moko     14408:            LIBADD_SHL_LOAD=-ldld
1.4       paf      14409: fi
1.10    ! moko     14410:  ;;
        !          14411: esac
1.4       paf      14412: fi
                   14413: 
1.5       moko     14414: 
                   14415: 
                   14416: case $host_os in
                   14417: darwin[1567].*)
                   14418: # We only want this for pre-Mac OS X 10.4.
                   14419:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
1.10    ! moko     14420: if test "x$ac_cv_func__dyld_func_lookup" = xyes
        !          14421: then :
1.5       moko     14422: 
1.10    ! moko     14423: printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h
1.5       moko     14424: 
                   14425:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
1.4       paf      14426: fi
                   14427: 
1.5       moko     14428:   ;;
                   14429: beos*)
                   14430:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   14431:   ;;
1.10    ! moko     14432: cygwin* | mingw* | windows* | pw32*)
        !          14433:   ac_fn_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
        !          14434: " "$ac_c_undeclared_builtin_options" "CFLAGS"
        !          14435: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
        !          14436: then :
1.5       moko     14437:   ac_have_decl=1
1.10    ! moko     14438: else case e in #(
        !          14439:   e) ac_have_decl=0 ;;
        !          14440: esac
1.5       moko     14441: fi
1.10    ! moko     14442: printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h
1.5       moko     14443: 
                   14444:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   14445:   ;;
                   14446: esac
                   14447: 
1.10    ! moko     14448: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
        !          14449: printf %s "checking for dld_link in -ldld... " >&6; }
        !          14450: if test ${ac_cv_lib_dld_dld_link+y}
        !          14451: then :
        !          14452:   printf %s "(cached) " >&6
        !          14453: else case e in #(
        !          14454:   e) ac_check_lib_save_LIBS=$LIBS
1.5       moko     14455: LIBS="-ldld  $LIBS"
                   14456: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.4       paf      14457: /* end confdefs.h.  */
                   14458: 
1.5       moko     14459: /* Override any GCC internal prototype to avoid an error.
                   14460:    Use char because int might match the return type of a GCC
1.10    ! moko     14461:    builtin and then its argument prototype would still apply.
        !          14462:    The 'extern "C"' is for builds by C++ compilers;
        !          14463:    although this is not generally supported in C code supporting it here
        !          14464:    has little cost and some practical benefit (sr 110532).  */
1.4       paf      14465: #ifdef __cplusplus
                   14466: extern "C"
                   14467: #endif
1.10    ! moko     14468: char dld_link (void);
1.4       paf      14469: int
1.10    ! moko     14470: main (void)
1.4       paf      14471: {
1.5       moko     14472: return dld_link ();
1.4       paf      14473:   ;
                   14474:   return 0;
                   14475: }
                   14476: _ACEOF
1.10    ! moko     14477: if ac_fn_c_try_link "$LINENO"
        !          14478: then :
1.5       moko     14479:   ac_cv_lib_dld_dld_link=yes
1.10    ! moko     14480: else case e in #(
        !          14481:   e) ac_cv_lib_dld_dld_link=no ;;
        !          14482: esac
1.5       moko     14483: fi
1.10    ! moko     14484: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.5       moko     14485:     conftest$ac_exeext conftest.$ac_ext
1.10    ! moko     14486: LIBS=$ac_check_lib_save_LIBS ;;
        !          14487: esac
1.5       moko     14488: fi
1.10    ! moko     14489: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
        !          14490: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
        !          14491: if test "x$ac_cv_lib_dld_dld_link" = xyes
        !          14492: then :
1.5       moko     14493: 
1.10    ! moko     14494: printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h
1.5       moko     14495: 
                   14496:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   14497: fi
                   14498: 
                   14499: 
                   14500: 
                   14501: 
                   14502: LT_DLPREOPEN=
                   14503: if test -n "$LT_DLLOADERS"
                   14504: then
                   14505:   for lt_loader in $LT_DLLOADERS; do
                   14506:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   14507:   done
                   14508: 
1.10    ! moko     14509: printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.5       moko     14510: 
                   14511: fi
                   14512: 
                   14513: 
                   14514: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   14515: 
                   14516: 
1.10    ! moko     14517: LIBS=$lt_dlload_save_LIBS
1.5       moko     14518: ac_ext=c
                   14519: ac_cpp='$CPP $CPPFLAGS'
                   14520: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   14521: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   14522: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   14523: 
                   14524: 
1.10    ! moko     14525: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
        !          14526: printf %s "checking for _ prefix in compiled symbols... " >&6; }
        !          14527: if test ${lt_cv_sys_symbol_underscore+y}
        !          14528: then :
        !          14529:   printf %s "(cached) " >&6
        !          14530: else case e in #(
        !          14531:   e) lt_cv_sys_symbol_underscore=no
1.5       moko     14532:   cat > conftest.$ac_ext <<_LT_EOF
                   14533: void nm_test_func(){}
1.10    ! moko     14534: int main(void){nm_test_func;return 0;}
1.5       moko     14535: _LT_EOF
                   14536:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   14537:   (eval $ac_compile) 2>&5
1.4       paf      14538:   ac_status=$?
1.10    ! moko     14539:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     14540:   test $ac_status = 0; }; then
                   14541:     # Now try to grab the symbols.
                   14542:     ac_nlist=conftest.nm
                   14543:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
                   14544:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   14545:   ac_status=$?
1.10    ! moko     14546:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5       moko     14547:   test $ac_status = 0; } && test -s "$ac_nlist"; then
                   14548:       # See whether the symbols have a leading underscore.
                   14549:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   14550:         lt_cv_sys_symbol_underscore=yes
                   14551:       else
                   14552:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   14553:          :
                   14554:         else
                   14555:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   14556:         fi
                   14557:       fi
                   14558:     else
                   14559:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   14560:     fi
                   14561:   else
                   14562:     echo "configure: failed program was:" >&5
                   14563:     cat conftest.c >&5
                   14564:   fi
                   14565:   rm -rf conftest*
1.10    ! moko     14566:    ;;
        !          14567: esac
1.5       moko     14568: fi
1.10    ! moko     14569: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
        !          14570: printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; }
1.5       moko     14571:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   14572: 
                   14573: 
1.10    ! moko     14574: if test yes = "$lt_cv_sys_symbol_underscore"; then
        !          14575:   if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
        !          14576:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
        !          14577: printf %s "checking whether we have to add an underscore for dlsym... " >&6; }
        !          14578: if test ${libltdl_cv_need_uscore+y}
        !          14579: then :
        !          14580:   printf %s "(cached) " >&6
        !          14581: else case e in #(
        !          14582:   e) libltdl_cv_need_uscore=unknown
        !          14583:       dlsym_uscore_save_LIBS=$LIBS
        !          14584:       LIBS="$LIBS $LIBADD_DLOPEN"
        !          14585:       libname=conftmod # stay within 8.3 filename limits!
        !          14586:       cat >$libname.$ac_ext <<_LT_EOF
1.5       moko     14587: #line $LINENO "configure"
                   14588: #include "confdefs.h"
1.10    ! moko     14589: /* When -fvisibility=hidden is used, assume the code has been annotated
        !          14590:    correspondingly for the symbols needed.  */
        !          14591: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          14592: int fnord () __attribute__((visibility("default")));
        !          14593: #endif
        !          14594: int fnord () { return 42; }
        !          14595: _LT_EOF
1.5       moko     14596: 
1.10    ! moko     14597:       # ltfn_module_cmds module_cmds
        !          14598:       # Execute tilde-delimited MODULE_CMDS with environment primed for
        !          14599:       # $module_cmds or $archive_cmds type content.
        !          14600:       ltfn_module_cmds ()
        !          14601:       {( # subshell avoids polluting parent global environment
        !          14602:           module_cmds_save_ifs=$IFS; IFS='~'
        !          14603:           for cmd in $1; do
        !          14604:             IFS=$module_cmds_save_ifs
        !          14605:             libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
        !          14606:             rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
        !          14607:             major=; versuffix=; verstring=; deplibs=
        !          14608:             ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
        !          14609:             eval $cmd
        !          14610:           done
        !          14611:           IFS=$module_cmds_save_ifs
        !          14612:       )}
        !          14613: 
        !          14614:       # Compile a loadable module using libtool macro expansion results.
        !          14615:       $CC $pic_flag -c $libname.$ac_ext
        !          14616:       ltfn_module_cmds "${module_cmds:-$archive_cmds}"
        !          14617: 
        !          14618:       # Try to fetch fnord with dlsym().
        !          14619:       libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
        !          14620:       cat >conftest.$ac_ext <<_LT_EOF
        !          14621: #line $LINENO "configure"
        !          14622: #include "confdefs.h"
1.5       moko     14623: #if HAVE_DLFCN_H
                   14624: #include <dlfcn.h>
                   14625: #endif
                   14626: #include <stdio.h>
1.10    ! moko     14627: #ifndef RTLD_GLOBAL
1.5       moko     14628: #  ifdef DL_GLOBAL
1.10    ! moko     14629: #    define RTLD_GLOBAL DL_GLOBAL
1.5       moko     14630: #  else
1.10    ! moko     14631: #    define RTLD_GLOBAL 0
1.5       moko     14632: #  endif
                   14633: #endif
1.10    ! moko     14634: #ifndef RTLD_NOW
        !          14635: #  ifdef DL_NOW
        !          14636: #    define RTLD_NOW DL_NOW
1.5       moko     14637: #  else
1.10    ! moko     14638: #    define RTLD_NOW 0
1.5       moko     14639: #  endif
                   14640: #endif
1.10    ! moko     14641: int main (void) {
        !          14642:   void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
        !          14643:   int status = $libltdl_dlunknown;
        !          14644:   if (handle) {
        !          14645:     if (dlsym (handle, "fnord"))
        !          14646:       status = $libltdl_dlnouscore;
        !          14647:     else {
        !          14648:       if (dlsym (handle, "_fnord"))
        !          14649:         status = $libltdl_dluscore;
1.5       moko     14650:       else
1.10    ! moko     14651:        puts (dlerror ());
1.5       moko     14652:     }
1.10    ! moko     14653:     dlclose (handle);
        !          14654:   } else
1.5       moko     14655:     puts (dlerror ());
                   14656:   return status;
1.4       paf      14657: }
1.5       moko     14658: _LT_EOF
1.10    ! moko     14659:       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.4       paf      14660:   (eval $ac_link) 2>&5
                   14661:   ac_status=$?
1.10    ! moko     14662:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          14663:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
        !          14664:         (./conftest; exit; ) >&5 2>/dev/null
        !          14665:         libltdl_status=$?
        !          14666:         case x$libltdl_status in
        !          14667:           x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
        !          14668:          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
        !          14669:          x*) libltdl_cv_need_uscore=unknown ;;
        !          14670:         esac
        !          14671:       fi
        !          14672:       rm -rf conftest* $libname*
        !          14673:       LIBS=$dlsym_uscore_save_LIBS
        !          14674:      ;;
        !          14675: esac
1.4       paf      14676: fi
1.10    ! moko     14677: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
        !          14678: printf "%s\n" "$libltdl_cv_need_uscore" >&6; }
1.5       moko     14679:   fi
1.4       paf      14680: fi
                   14681: 
1.10    ! moko     14682: if test yes = "$libltdl_cv_need_uscore"; then
1.5       moko     14683: 
1.10    ! moko     14684: printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h
1.4       paf      14685: 
                   14686: fi
                   14687: 
1.10    ! moko     14688: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
        !          14689: printf %s "checking whether deplibs are loaded by dlopen... " >&6; }
        !          14690: if test ${lt_cv_sys_dlopen_deplibs+y}
        !          14691: then :
        !          14692:   printf %s "(cached) " >&6
        !          14693: else case e in #(
        !          14694:   e) # PORTME does your system automatically load deplibs for dlopen?
1.5       moko     14695:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   14696:   # For now, we just catch OSes we know something about -- in the
                   14697:   # future, we'll try test this programmatically.
                   14698:   lt_cv_sys_dlopen_deplibs=unknown
                   14699:   case $host_os in
                   14700:   aix3*|aix4.1.*|aix4.2.*)
                   14701:     # Unknown whether this is true for these versions of AIX, but
1.10    ! moko     14702:     # we want this 'case' here to explicitly catch those versions.
1.5       moko     14703:     lt_cv_sys_dlopen_deplibs=unknown
                   14704:     ;;
                   14705:   aix[4-9]*)
                   14706:     lt_cv_sys_dlopen_deplibs=yes
                   14707:     ;;
                   14708:   amigaos*)
                   14709:     case $host_cpu in
                   14710:     powerpc)
                   14711:       lt_cv_sys_dlopen_deplibs=no
1.4       paf      14712:       ;;
                   14713:     esac
1.5       moko     14714:     ;;
                   14715:   darwin*)
                   14716:     # Assuming the user has installed a libdl from somewhere, this is true
                   14717:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   14718:     lt_cv_sys_dlopen_deplibs=yes
                   14719:     ;;
1.10    ! moko     14720:   freebsd* | dragonfly* | midnightbsd*)
1.5       moko     14721:     lt_cv_sys_dlopen_deplibs=yes
                   14722:     ;;
                   14723:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14724:     # GNU and its variants, using gnu ld.so (Glibc)
                   14725:     lt_cv_sys_dlopen_deplibs=yes
                   14726:     ;;
                   14727:   hpux10*|hpux11*)
                   14728:     lt_cv_sys_dlopen_deplibs=yes
                   14729:     ;;
                   14730:   interix*)
                   14731:     lt_cv_sys_dlopen_deplibs=yes
                   14732:     ;;
                   14733:   irix[12345]*|irix6.[01]*)
                   14734:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   14735:     # know how it worked for any of those versions.
                   14736:     lt_cv_sys_dlopen_deplibs=unknown
                   14737:     ;;
                   14738:   irix*)
                   14739:     # The case above catches anything before 6.2, and it's known that
                   14740:     # at 6.2 and later dlopen does load deplibs.
                   14741:     lt_cv_sys_dlopen_deplibs=yes
                   14742:     ;;
1.10    ! moko     14743:   *-mlibc)
        !          14744:     lt_cv_sys_dlopen_deplibs=yes
        !          14745:     ;;
        !          14746:   netbsd* | netbsdelf*-gnu)
1.5       moko     14747:     lt_cv_sys_dlopen_deplibs=yes
                   14748:     ;;
                   14749:   openbsd*)
                   14750:     lt_cv_sys_dlopen_deplibs=yes
                   14751:     ;;
                   14752:   osf[1234]*)
                   14753:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   14754:     # it did *not* use an RPATH in a shared library to find objects the
1.10    ! moko     14755:     # library depends on, so we explicitly say 'no'.
1.5       moko     14756:     lt_cv_sys_dlopen_deplibs=no
                   14757:     ;;
                   14758:   osf5.0|osf5.0a|osf5.1)
                   14759:     # dlopen *does* load deplibs and with the right loader patch applied
                   14760:     # it even uses RPATH in a shared library to search for shared objects
                   14761:     # that the library depends on, but there's no easy way to know if that
                   14762:     # patch is installed.  Since this is the case, all we can really
                   14763:     # say is unknown -- it depends on the patch being installed.  If
1.10    ! moko     14764:     # it is, this changes to 'yes'.  Without it, it would be 'no'.
1.5       moko     14765:     lt_cv_sys_dlopen_deplibs=unknown
                   14766:     ;;
                   14767:   osf*)
                   14768:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   14769:     # the comments above for what we know about them.
                   14770:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1.10    ! moko     14771:     # is used to find them so we can finally say 'yes'.
1.5       moko     14772:     lt_cv_sys_dlopen_deplibs=yes
                   14773:     ;;
                   14774:   qnx*)
                   14775:     lt_cv_sys_dlopen_deplibs=yes
                   14776:     ;;
                   14777:   solaris*)
                   14778:     lt_cv_sys_dlopen_deplibs=yes
                   14779:     ;;
                   14780:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   14781:     libltdl_cv_sys_dlopen_deplibs=yes
                   14782:     ;;
                   14783:   esac
1.10    ! moko     14784:    ;;
        !          14785: esac
1.4       paf      14786: fi
1.10    ! moko     14787: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
        !          14788: printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; }
        !          14789: if test yes != "$lt_cv_sys_dlopen_deplibs"; then
1.4       paf      14790: 
1.10    ! moko     14791: printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.1       paf      14792: 
                   14793: fi
                   14794: 
1.4       paf      14795: 
1.10    ! moko     14796: ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
1.5       moko     14797: "
1.10    ! moko     14798: if test "x$ac_cv_header_argz_h" = xyes
        !          14799: then :
        !          14800:   printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h
1.4       paf      14801: 
                   14802: fi
1.1       paf      14803: 
1.4       paf      14804: 
1.5       moko     14805: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
                   14806: #  include <argz.h>
                   14807: #endif
                   14808: "
1.10    ! moko     14809: if test "x$ac_cv_type_error_t" = xyes
        !          14810: then :
1.4       paf      14811: 
1.10    ! moko     14812: printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h
1.4       paf      14813: 
                   14814: 
1.10    ! moko     14815: else case e in #(
        !          14816:   e)
        !          14817: printf "%s\n" "#define error_t int" >>confdefs.h
1.4       paf      14818: 
                   14819: 
1.10    ! moko     14820: printf "%s\n" "#define __error_t_defined 1" >>confdefs.h
        !          14821:  ;;
        !          14822: esac
        !          14823: fi
1.4       paf      14824: 
                   14825: 
1.10    ! moko     14826: LT_ARGZ_H=
1.4       paf      14827: 
1.10    ! moko     14828:   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify
1.5       moko     14829: do :
1.10    ! moko     14830:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.5       moko     14831: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.10    ! moko     14832: if eval test \"x\$"$as_ac_var"\" = x"yes"
        !          14833: then :
1.5       moko     14834:   cat >>confdefs.h <<_ACEOF
1.10    ! moko     14835: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.5       moko     14836: _ACEOF
1.4       paf      14837: 
1.10    ! moko     14838: else case e in #(
        !          14839:   e) LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
        !          14840:   *" lt__argz.$ac_objext "* ) ;;
        !          14841:   *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
        !          14842:  ;;
        !          14843: esac
1.5       moko     14844:  ;;
                   14845: esac
1.10    ! moko     14846: fi
1.4       paf      14847: 
1.5       moko     14848: done
1.4       paf      14849: 
1.10    ! moko     14850: if test -z "$LT_ARGZ_H"
        !          14851: then :
        !          14852:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
        !          14853: printf %s "checking if argz actually works... " >&6; }
        !          14854: if test ${lt_cv_sys_argz_works+y}
        !          14855: then :
        !          14856:   printf %s "(cached) " >&6
        !          14857: else case e in #(
        !          14858:   e) case $host_os in #(
1.5       moko     14859:         *cygwin*)
                   14860:           lt_cv_sys_argz_works=no
1.10    ! moko     14861:           if test no != "$cross_compiling"; then
1.5       moko     14862:             lt_cv_sys_argz_works="guessing no"
                   14863:           else
                   14864:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   14865:             save_IFS=$IFS
                   14866:             IFS=-.
1.10    ! moko     14867:             set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
1.5       moko     14868:             IFS=$save_IFS
                   14869:             lt_os_major=${2-0}
                   14870:             lt_os_minor=${3-0}
                   14871:             lt_os_micro=${4-0}
1.10    ! moko     14872:             if test 1 -lt "$lt_os_major" \
        !          14873:                || { test 1 -eq "$lt_os_major" \
        !          14874:                  && { test 5 -lt "$lt_os_minor" \
        !          14875:                    || { test 5 -eq "$lt_os_minor" \
        !          14876:                      && test 24 -lt "$lt_os_micro"; }; }; }; then
1.5       moko     14877:               lt_cv_sys_argz_works=yes
                   14878:             fi
                   14879:           fi
                   14880:           ;; #(
                   14881:         *) lt_cv_sys_argz_works=yes ;;
1.10    ! moko     14882:         esac ;;
        !          14883: esac
1.4       paf      14884: fi
1.10    ! moko     14885: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
        !          14886: printf "%s\n" "$lt_cv_sys_argz_works" >&6; }
        !          14887:      if test yes = "$lt_cv_sys_argz_works"
        !          14888: then :
1.4       paf      14889: 
1.10    ! moko     14890: printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.4       paf      14891: 
1.10    ! moko     14892: else case e in #(
        !          14893:   e) LT_ARGZ_H=lt__argz.h
1.5       moko     14894:         case " $LIBOBJS " in
1.10    ! moko     14895:   *" lt__argz.$ac_objext "* ) ;;
        !          14896:   *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
        !          14897:  ;;
        !          14898: esac
1.5       moko     14899:  ;;
                   14900: esac
1.4       paf      14901: fi
1.5       moko     14902: fi
                   14903: 
1.4       paf      14904: 
1.5       moko     14905: 
1.10    ! moko     14906: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
        !          14907: printf %s "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
        !          14908: if test ${libltdl_cv_preloaded_symbols+y}
        !          14909: then :
        !          14910:   printf %s "(cached) " >&6
        !          14911: else case e in #(
        !          14912:   e) if test -n "$lt_cv_sys_global_symbol_pipe"; then
1.5       moko     14913:     libltdl_cv_preloaded_symbols=yes
                   14914:   else
                   14915:     libltdl_cv_preloaded_symbols=no
                   14916:   fi
1.10    ! moko     14917:    ;;
        !          14918: esac
1.1       paf      14919: fi
1.10    ! moko     14920: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
        !          14921: printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; }
        !          14922: if test yes = "$libltdl_cv_preloaded_symbols"; then
1.1       paf      14923: 
1.10    ! moko     14924: printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.1       paf      14925: 
1.4       paf      14926: fi
                   14927: 
                   14928: 
1.5       moko     14929: 
                   14930: # Check whether --enable-ltdl-install was given.
1.10    ! moko     14931: if test ${enable_ltdl_install+y}
        !          14932: then :
1.5       moko     14933:   enableval=$enable_ltdl_install;
1.4       paf      14934: fi
                   14935: 
1.5       moko     14936: 
1.10    ! moko     14937: case ,$enable_ltdl_install,$enable_ltdl_convenience in
1.5       moko     14938:   *yes*) ;;
                   14939:   *) enable_ltdl_convenience=yes ;;
                   14940: esac
                   14941: 
1.10    ! moko     14942:  if test no != "${enable_ltdl_install-no}"; then
1.5       moko     14943:   INSTALL_LTDL_TRUE=
                   14944:   INSTALL_LTDL_FALSE='#'
1.4       paf      14945: else
1.5       moko     14946:   INSTALL_LTDL_TRUE='#'
                   14947:   INSTALL_LTDL_FALSE=
                   14948: fi
                   14949: 
1.10    ! moko     14950:   if test no != "${enable_ltdl_convenience-no}"; then
1.5       moko     14951:   CONVENIENCE_LTDL_TRUE=
                   14952:   CONVENIENCE_LTDL_FALSE='#'
1.4       paf      14953: else
1.5       moko     14954:   CONVENIENCE_LTDL_TRUE='#'
                   14955:   CONVENIENCE_LTDL_FALSE=
1.1       paf      14956: fi
1.4       paf      14957: 
1.10    ! moko     14958:   if test -n "$LT_ARGZ_H"; then
        !          14959:   LTARGZH_EXISTS_TRUE=
        !          14960:   LTARGZH_EXISTS_FALSE='#'
        !          14961: else
        !          14962:   LTARGZH_EXISTS_TRUE='#'
        !          14963:   LTARGZH_EXISTS_FALSE=
        !          14964: fi
        !          14965: 
1.4       paf      14966: 
                   14967: 
                   14968: 
                   14969: 
                   14970: 
1.5       moko     14971: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   14972: # the user used.  This is so that ltdl.h can pick up the parent projects
                   14973: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   14974: # definitions required by ltdl.c.
                   14975: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1.4       paf      14976: 
                   14977: 
                   14978: 
1.10    ! moko     14979: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
        !          14980: "
        !          14981: if test "x$ac_cv_header_unistd_h" = xyes
        !          14982: then :
        !          14983:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
        !          14984: 
        !          14985: fi
        !          14986: ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default
        !          14987: "
        !          14988: if test "x$ac_cv_header_dl_h" = xyes
        !          14989: then :
        !          14990:   printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
        !          14991: 
        !          14992: fi
        !          14993: ac_fn_c_check_header_compile "$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default
        !          14994: "
        !          14995: if test "x$ac_cv_header_sys_dl_h" = xyes
        !          14996: then :
        !          14997:   printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h
        !          14998: 
        !          14999: fi
        !          15000: ac_fn_c_check_header_compile "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default
        !          15001: "
        !          15002: if test "x$ac_cv_header_dld_h" = xyes
        !          15003: then :
        !          15004:   printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h
        !          15005: 
        !          15006: fi
        !          15007: ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default
        !          15008: "
        !          15009: if test "x$ac_cv_header_mach_o_dyld_h" = xyes
        !          15010: then :
        !          15011:   printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h
        !          15012: 
        !          15013: fi
        !          15014: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default
1.5       moko     15015: "
1.10    ! moko     15016: if test "x$ac_cv_header_dirent_h" = xyes
        !          15017: then :
        !          15018:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
1.2       paf      15019: 
1.4       paf      15020: fi
                   15021: 
1.5       moko     15022: 
                   15023: 
1.10    ! moko     15024:   for ac_func in closedir opendir readdir
1.5       moko     15025: do :
1.10    ! moko     15026:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.5       moko     15027: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.10    ! moko     15028: if eval test \"x\$"$as_ac_var"\" = x"yes"
        !          15029: then :
1.5       moko     15030:   cat >>confdefs.h <<_ACEOF
1.10    ! moko     15031: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.4       paf      15032: _ACEOF
1.2       paf      15033: 
1.10    ! moko     15034: else case e in #(
        !          15035:   e) case " $LIBOBJS " in
1.5       moko     15036:   *" lt__dirent.$ac_objext "* ) ;;
                   15037:   *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
                   15038:  ;;
                   15039: esac
1.10    ! moko     15040:  ;;
        !          15041: esac
        !          15042: fi
1.5       moko     15043: 
                   15044: done
                   15045: 
1.10    ! moko     15046:   for ac_func in strlcat strlcpy
1.5       moko     15047: do :
1.10    ! moko     15048:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.5       moko     15049: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.10    ! moko     15050: if eval test \"x\$"$as_ac_var"\" = x"yes"
        !          15051: then :
1.5       moko     15052:   cat >>confdefs.h <<_ACEOF
1.10    ! moko     15053: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.2       paf      15054: _ACEOF
1.4       paf      15055: 
1.10    ! moko     15056: else case e in #(
        !          15057:   e) case " $LIBOBJS " in
1.5       moko     15058:   *" lt__strl.$ac_objext "* ) ;;
                   15059:   *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
                   15060:  ;;
                   15061: esac
1.10    ! moko     15062:  ;;
        !          15063: esac
        !          15064: fi
1.2       paf      15065: 
1.5       moko     15066: done
                   15067: 
                   15068: 
1.10    ! moko     15069: printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h
1.2       paf      15070: 
1.5       moko     15071: 
                   15072: name=
                   15073: eval "lt_libprefix=\"$libname_spec\""
                   15074: 
1.10    ! moko     15075: printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h
1.2       paf      15076: 
1.5       moko     15077: 
                   15078: name=ltdl
                   15079: eval "LTDLOPEN=\"$libname_spec\""
                   15080: 
                   15081: 
                   15082: 
                   15083: 
                   15084: ## -------- ##
                   15085: ## Outputs. ##
                   15086: ## -------- ##
                   15087: ac_config_files="$ac_config_files Makefile"
                   15088: 
                   15089: cat >confcache <<\_ACEOF
                   15090: # This file is a shell script that caches the results of configure
                   15091: # tests run on this system so they can be shared between configure
                   15092: # scripts and configure runs, see configure's option --config-cache.
                   15093: # It is not useful on other systems.  If it contains results you don't
                   15094: # want to keep, you may remove or edit it.
                   15095: #
                   15096: # config.status only pays attention to the cache file if you give it
                   15097: # the --recheck option to rerun configure.
                   15098: #
1.10    ! moko     15099: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
        !          15100: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.5       moko     15101: # following values.
                   15102: 
1.2       paf      15103: _ACEOF
                   15104: 
1.5       moko     15105: # The following way of writing the cache mishandles newlines in values,
                   15106: # but we know of no workaround that is simple, portable, and efficient.
                   15107: # So, we kill variables containing newlines.
                   15108: # Ultrix sh set writes to stderr and can't be redirected directly,
                   15109: # and sets the high bit in the cache file unless we assign to the vars.
                   15110: (
                   15111:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   15112:     eval ac_val=\$$ac_var
                   15113:     case $ac_val in #(
                   15114:     *${as_nl}*)
                   15115:       case $ac_var in #(
1.10    ! moko     15116:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          15117: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.5       moko     15118:       esac
                   15119:       case $ac_var in #(
                   15120:       _ | IFS | as_nl) ;; #(
                   15121:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   15122:       *) { eval $ac_var=; unset $ac_var;} ;;
                   15123:       esac ;;
                   15124:     esac
                   15125:   done
                   15126: 
                   15127:   (set) 2>&1 |
                   15128:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   15129:     *${as_nl}ac_space=\ *)
1.10    ! moko     15130:       # 'set' does not quote correctly, so add quotes: double-quote
1.5       moko     15131:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   15132:       sed -n \
                   15133:        "s/'/'\\\\''/g;
                   15134:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   15135:       ;; #(
                   15136:     *)
1.10    ! moko     15137:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.5       moko     15138:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   15139:       ;;
                   15140:     esac |
                   15141:     sort
                   15142: ) |
                   15143:   sed '
                   15144:      /^ac_cv_env_/b end
                   15145:      t clear
                   15146:      :clear
1.10    ! moko     15147:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.5       moko     15148:      t end
                   15149:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   15150:      :end' >>confcache
                   15151: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   15152:   if test -w "$cache_file"; then
                   15153:     if test "x$cache_file" != "x/dev/null"; then
1.10    ! moko     15154:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          15155: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.5       moko     15156:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   15157:        cat confcache >"$cache_file"
                   15158:       else
                   15159:         case $cache_file in #(
                   15160:         */* | ?:*)
                   15161:          mv -f confcache "$cache_file"$$ &&
                   15162:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   15163:         *)
                   15164:          mv -f confcache "$cache_file" ;;
                   15165:        esac
                   15166:       fi
                   15167:     fi
                   15168:   else
1.10    ! moko     15169:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          15170: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.5       moko     15171:   fi
1.4       paf      15172: fi
1.5       moko     15173: rm -f confcache
                   15174: 
                   15175: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   15176: # Let make expand exec_prefix.
                   15177: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   15178: 
                   15179: DEFS=-DHAVE_CONFIG_H
                   15180: 
                   15181: ac_libobjs=
                   15182: ac_ltlibobjs=
                   15183: U=
                   15184: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   15185:   # 1. Remove the extension, and $U if already installed.
                   15186:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.10    ! moko     15187:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.5       moko     15188:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   15189:   #    will be set to the directory where LIBOBJS objects are built.
                   15190:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   15191:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   15192: done
                   15193: LIBOBJS=$ac_libobjs
                   15194: 
                   15195: LTLIBOBJS=$ac_ltlibobjs
1.4       paf      15196: 
1.1       paf      15197: 
1.10    ! moko     15198: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          15199: printf %s "checking that generated files are newer than configure... " >&6; }
1.8       moko     15200:    if test -n "$am_sleep_pid"; then
                   15201:      # Hide warnings about reused PIDs.
                   15202:      wait $am_sleep_pid 2>/dev/null
                   15203:    fi
1.10    ! moko     15204:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          15205: printf "%s\n" "done" >&6; }
        !          15206: case $enable_silent_rules in # (((
        !          15207:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          15208:    no) AM_DEFAULT_VERBOSITY=1;;
        !          15209: esac
        !          15210: if test $am_cv_make_support_nested_variables = yes; then
        !          15211:     AM_V='$(V)'
        !          15212:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          15213: else
        !          15214:   AM_V=$AM_DEFAULT_VERBOSITY
        !          15215:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          15216: fi
        !          15217: 
1.5       moko     15218:  if test -n "$EXEEXT"; then
                   15219:   am__EXEEXT_TRUE=
                   15220:   am__EXEEXT_FALSE='#'
1.4       paf      15221: else
1.5       moko     15222:   am__EXEEXT_TRUE='#'
                   15223:   am__EXEEXT_FALSE=
                   15224: fi
1.4       paf      15225: 
1.5       moko     15226: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   15227:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   15228: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15229: fi
                   15230: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   15231:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   15232: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15233: fi
                   15234: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   15235:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   15236: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15237: fi
                   15238: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   15239:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   15240: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15241: fi
1.10    ! moko     15242: if test -z "${LTARGZH_EXISTS_TRUE}" && test -z "${LTARGZH_EXISTS_FALSE}"; then
        !          15243:   as_fn_error $? "conditional \"LTARGZH_EXISTS\" was never defined.
        !          15244: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          15245: fi
1.5       moko     15246: LT_CONFIG_H=config.h
1.2       paf      15247: 
1.5       moko     15248: : "${CONFIG_STATUS=./config.status}"
                   15249: ac_write_fail=0
                   15250: ac_clean_files_save=$ac_clean_files
                   15251: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.10    ! moko     15252: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          15253: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.5       moko     15254: as_write_fail=0
                   15255: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   15256: #! $SHELL
                   15257: # Generated by $as_me.
                   15258: # Run this file to recreate the current configuration.
                   15259: # Compiler output produced by configure, useful for debugging
                   15260: # configure, is in config.log if it exists.
1.4       paf      15261: 
1.5       moko     15262: debug=false
                   15263: ac_cs_recheck=false
                   15264: ac_cs_silent=false
1.1       paf      15265: 
1.5       moko     15266: SHELL=\${CONFIG_SHELL-$SHELL}
                   15267: export SHELL
                   15268: _ASEOF
                   15269: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   15270: ## -------------------- ##
                   15271: ## M4sh Initialization. ##
                   15272: ## -------------------- ##
                   15273: 
                   15274: # Be more Bourne compatible
                   15275: DUALCASE=1; export DUALCASE # for MKS sh
1.10    ! moko     15276: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
        !          15277: then :
1.5       moko     15278:   emulate sh
                   15279:   NULLCMD=:
                   15280:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   15281:   # is contrary to our usage.  Disable this feature.
                   15282:   alias -g '${1+"$@"}'='"$@"'
                   15283:   setopt NO_GLOB_SUBST
1.10    ! moko     15284: else case e in #(
        !          15285:   e) case `(set -o) 2>/dev/null` in #(
1.5       moko     15286:   *posix*) :
                   15287:     set -o posix ;; #(
                   15288:   *) :
                   15289:      ;;
1.10    ! moko     15290: esac ;;
1.5       moko     15291: esac
                   15292: fi
1.2       paf      15293: 
1.4       paf      15294: 
1.10    ! moko     15295: 
        !          15296: # Reset variables that may have inherited troublesome values from
        !          15297: # the environment.
        !          15298: 
        !          15299: # IFS needs to be set, to space, tab, and newline, in precisely that order.
        !          15300: # (If _AS_PATH_WALK were called with IFS unset, it would have the
        !          15301: # side effect of setting IFS to empty, thus disabling word splitting.)
        !          15302: # Quoting is to prevent editors from complaining about space-tab.
1.5       moko     15303: as_nl='
                   15304: '
                   15305: export as_nl
1.10    ! moko     15306: IFS=" ""       $as_nl"
        !          15307: 
        !          15308: PS1='$ '
        !          15309: PS2='> '
        !          15310: PS4='+ '
        !          15311: 
        !          15312: # Ensure predictable behavior from utilities with locale-dependent output.
        !          15313: LC_ALL=C
        !          15314: export LC_ALL
        !          15315: LANGUAGE=C
        !          15316: export LANGUAGE
        !          15317: 
        !          15318: # We cannot yet rely on "unset" to work, but we need these variables
        !          15319: # to be unset--not just set to an empty or harmless value--now, to
        !          15320: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
        !          15321: # also avoids known problems related to "unset" and subshell syntax
        !          15322: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
        !          15323: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
        !          15324: do eval test \${$as_var+y} \
        !          15325:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !          15326: done
        !          15327: 
        !          15328: # Ensure that fds 0, 1, and 2 are open.
        !          15329: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
        !          15330: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
        !          15331: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.5       moko     15332: 
                   15333: # The user is always right.
1.10    ! moko     15334: if ${PATH_SEPARATOR+false} :; then
1.5       moko     15335:   PATH_SEPARATOR=:
                   15336:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   15337:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   15338:       PATH_SEPARATOR=';'
                   15339:   }
1.1       paf      15340: fi
1.4       paf      15341: 
1.1       paf      15342: 
1.5       moko     15343: # Find who we are.  Look in the path if we contain no directory separator.
                   15344: as_myself=
                   15345: case $0 in #((
                   15346:   *[\\/]* ) as_myself=$0 ;;
                   15347:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15348: for as_dir in $PATH
                   15349: do
                   15350:   IFS=$as_save_IFS
1.10    ! moko     15351:   case $as_dir in #(((
        !          15352:     '') as_dir=./ ;;
        !          15353:     */) ;;
        !          15354:     *) as_dir=$as_dir/ ;;
        !          15355:   esac
        !          15356:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.5       moko     15357:   done
                   15358: IFS=$as_save_IFS
                   15359: 
                   15360:      ;;
                   15361: esac
1.10    ! moko     15362: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.5       moko     15363: # in which case we are not to be found in the path.
                   15364: if test "x$as_myself" = x; then
                   15365:   as_myself=$0
                   15366: fi
                   15367: if test ! -f "$as_myself"; then
1.10    ! moko     15368:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.5       moko     15369:   exit 1
                   15370: fi
                   15371: 
1.1       paf      15372: 
1.2       paf      15373: 
1.5       moko     15374: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   15375: # ----------------------------------------
                   15376: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   15377: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   15378: # script with STATUS, using 1 if that was 0.
                   15379: as_fn_error ()
                   15380: {
                   15381:   as_status=$1; test $as_status -eq 0 && as_status=1
                   15382:   if test "$4"; then
                   15383:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.10    ! moko     15384:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.5       moko     15385:   fi
1.10    ! moko     15386:   printf "%s\n" "$as_me: error: $2" >&2
1.5       moko     15387:   as_fn_exit $as_status
                   15388: } # as_fn_error
                   15389: 
                   15390: 
                   15391: # as_fn_set_status STATUS
                   15392: # -----------------------
                   15393: # Set $? to STATUS, without forking.
                   15394: as_fn_set_status ()
                   15395: {
                   15396:   return $1
                   15397: } # as_fn_set_status
                   15398: 
                   15399: # as_fn_exit STATUS
                   15400: # -----------------
                   15401: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   15402: as_fn_exit ()
                   15403: {
                   15404:   set +e
                   15405:   as_fn_set_status $1
                   15406:   exit $1
                   15407: } # as_fn_exit
                   15408: 
                   15409: # as_fn_unset VAR
                   15410: # ---------------
                   15411: # Portably unset VAR.
                   15412: as_fn_unset ()
                   15413: {
                   15414:   { eval $1=; unset $1;}
                   15415: }
                   15416: as_unset=as_fn_unset
1.10    ! moko     15417: 
1.5       moko     15418: # as_fn_append VAR VALUE
                   15419: # ----------------------
                   15420: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   15421: # advantage of any shell optimizations that allow amortized linear growth over
                   15422: # repeated appends, instead of the typical quadratic growth present in naive
                   15423: # implementations.
1.10    ! moko     15424: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
        !          15425: then :
1.5       moko     15426:   eval 'as_fn_append ()
                   15427:   {
                   15428:     eval $1+=\$2
                   15429:   }'
1.10    ! moko     15430: else case e in #(
        !          15431:   e) as_fn_append ()
1.5       moko     15432:   {
                   15433:     eval $1=\$$1\$2
1.10    ! moko     15434:   } ;;
        !          15435: esac
1.5       moko     15436: fi # as_fn_append
1.4       paf      15437: 
1.5       moko     15438: # as_fn_arith ARG...
                   15439: # ------------------
                   15440: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   15441: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   15442: # must be portable across $(()) and expr.
1.10    ! moko     15443: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
        !          15444: then :
1.5       moko     15445:   eval 'as_fn_arith ()
                   15446:   {
                   15447:     as_val=$(( $* ))
                   15448:   }'
1.10    ! moko     15449: else case e in #(
        !          15450:   e) as_fn_arith ()
1.5       moko     15451:   {
                   15452:     as_val=`expr "$@" || test $? -eq 1`
1.10    ! moko     15453:   } ;;
        !          15454: esac
1.5       moko     15455: fi # as_fn_arith
1.4       paf      15456: 
                   15457: 
1.5       moko     15458: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   15459:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   15460:   as_expr=expr
                   15461: else
                   15462:   as_expr=false
1.2       paf      15463: fi
                   15464: 
1.5       moko     15465: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   15466:   as_basename=basename
                   15467: else
                   15468:   as_basename=false
1.4       paf      15469: fi
1.2       paf      15470: 
1.5       moko     15471: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   15472:   as_dirname=dirname
                   15473: else
                   15474:   as_dirname=false
1.4       paf      15475: fi
1.2       paf      15476: 
1.5       moko     15477: as_me=`$as_basename -- "$0" ||
                   15478: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   15479:         X"$0" : 'X\(//\)$' \| \
                   15480:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     15481: printf "%s\n" X/"$0" |
1.5       moko     15482:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   15483:            s//\1/
                   15484:            q
                   15485:          }
                   15486:          /^X\/\(\/\/\)$/{
                   15487:            s//\1/
                   15488:            q
                   15489:          }
                   15490:          /^X\/\(\/\).*/{
                   15491:            s//\1/
                   15492:            q
                   15493:          }
                   15494:          s/.*/./; q'`
1.2       paf      15495: 
1.5       moko     15496: # Avoid depending upon Character Ranges.
                   15497: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   15498: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   15499: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   15500: as_cr_digits='0123456789'
                   15501: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.2       paf      15502: 
1.10    ! moko     15503: 
        !          15504: # Determine whether it's possible to make 'echo' print without a newline.
        !          15505: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
        !          15506: # for compatibility with existing Makefiles.
1.5       moko     15507: ECHO_C= ECHO_N= ECHO_T=
                   15508: case `echo -n x` in #(((((
                   15509: -n*)
                   15510:   case `echo 'xy\c'` in
                   15511:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   15512:   xy)  ECHO_C='\c';;
                   15513:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   15514:        ECHO_T='        ';;
                   15515:   esac;;
                   15516: *)
                   15517:   ECHO_N='-n';;
                   15518: esac
1.2       paf      15519: 
1.10    ! moko     15520: # For backward compatibility with old third-party macros, we provide
        !          15521: # the shell variables $as_echo and $as_echo_n.  New code should use
        !          15522: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
        !          15523: as_echo='printf %s\n'
        !          15524: as_echo_n='printf %s'
        !          15525: 
1.5       moko     15526: rm -f conf$$ conf$$.exe conf$$.file
                   15527: if test -d conf$$.dir; then
                   15528:   rm -f conf$$.dir/conf$$.file
                   15529: else
                   15530:   rm -f conf$$.dir
                   15531:   mkdir conf$$.dir 2>/dev/null
                   15532: fi
                   15533: if (echo >conf$$.file) 2>/dev/null; then
                   15534:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   15535:     as_ln_s='ln -s'
                   15536:     # ... but there are two gotchas:
1.10    ! moko     15537:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
        !          15538:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
        !          15539:     # In both cases, we have to default to 'cp -pR'.
1.5       moko     15540:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.7       moko     15541:       as_ln_s='cp -pR'
1.5       moko     15542:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   15543:     as_ln_s=ln
                   15544:   else
1.7       moko     15545:     as_ln_s='cp -pR'
1.5       moko     15546:   fi
                   15547: else
1.7       moko     15548:   as_ln_s='cp -pR'
1.4       paf      15549: fi
1.5       moko     15550: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   15551: rmdir conf$$.dir 2>/dev/null
1.2       paf      15552: 
                   15553: 
1.5       moko     15554: # as_fn_mkdir_p
                   15555: # -------------
                   15556: # Create "$as_dir" as a directory, including parents if necessary.
                   15557: as_fn_mkdir_p ()
1.4       paf      15558: {
1.2       paf      15559: 
1.5       moko     15560:   case $as_dir in #(
                   15561:   -*) as_dir=./$as_dir;;
                   15562:   esac
                   15563:   test -d "$as_dir" || eval $as_mkdir_p || {
                   15564:     as_dirs=
                   15565:     while :; do
                   15566:       case $as_dir in #(
1.10    ! moko     15567:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.5       moko     15568:       *) as_qdir=$as_dir;;
                   15569:       esac
                   15570:       as_dirs="'$as_qdir' $as_dirs"
                   15571:       as_dir=`$as_dirname -- "$as_dir" ||
                   15572: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15573:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   15574:         X"$as_dir" : 'X\(//\)$' \| \
                   15575:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     15576: printf "%s\n" X"$as_dir" |
1.5       moko     15577:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   15578:            s//\1/
                   15579:            q
                   15580:          }
                   15581:          /^X\(\/\/\)[^/].*/{
                   15582:            s//\1/
                   15583:            q
                   15584:          }
                   15585:          /^X\(\/\/\)$/{
                   15586:            s//\1/
                   15587:            q
                   15588:          }
                   15589:          /^X\(\/\).*/{
                   15590:            s//\1/
                   15591:            q
                   15592:          }
                   15593:          s/.*/./; q'`
                   15594:       test -d "$as_dir" && break
                   15595:     done
                   15596:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   15597:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       paf      15598: 
1.4       paf      15599: 
1.5       moko     15600: } # as_fn_mkdir_p
                   15601: if mkdir -p . 2>/dev/null; then
                   15602:   as_mkdir_p='mkdir -p "$as_dir"'
                   15603: else
                   15604:   test -d ./-p && rmdir ./-p
                   15605:   as_mkdir_p=false
1.4       paf      15606: fi
                   15607: 
1.7       moko     15608: 
                   15609: # as_fn_executable_p FILE
                   15610: # -----------------------
                   15611: # Test if FILE is an executable regular file.
                   15612: as_fn_executable_p ()
                   15613: {
                   15614:   test -f "$1" && test -x "$1"
                   15615: } # as_fn_executable_p
                   15616: as_test_x='test -x'
                   15617: as_executable_p=as_fn_executable_p
1.4       paf      15618: 
1.5       moko     15619: # Sed expression to map a string onto a valid CPP name.
1.10    ! moko     15620: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
        !          15621: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.4       paf      15622: 
1.5       moko     15623: # Sed expression to map a string onto a valid variable name.
1.10    ! moko     15624: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
        !          15625: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.4       paf      15626: 
                   15627: 
1.5       moko     15628: exec 6>&1
                   15629: ## ----------------------------------- ##
                   15630: ## Main body of $CONFIG_STATUS script. ##
                   15631: ## ----------------------------------- ##
                   15632: _ASEOF
                   15633: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.4       paf      15634: 
1.5       moko     15635: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15636: # Save the log message, to keep $0 and so on meaningful, and to
                   15637: # report actual input values of CONFIG_FILES etc. instead of their
                   15638: # values after options handling.
                   15639: ac_log="
1.10    ! moko     15640: This file was extended by libltdl $as_me 2.4.3a, which was
        !          15641: generated by GNU Autoconf 2.72.  Invocation command line was
1.4       paf      15642: 
1.5       moko     15643:   CONFIG_FILES    = $CONFIG_FILES
                   15644:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   15645:   CONFIG_LINKS    = $CONFIG_LINKS
                   15646:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   15647:   $ $0 $@
1.4       paf      15648: 
1.5       moko     15649: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   15650: "
1.4       paf      15651: 
1.5       moko     15652: _ACEOF
1.4       paf      15653: 
1.5       moko     15654: case $ac_config_files in *"
                   15655: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   15656: esac
1.4       paf      15657: 
1.5       moko     15658: case $ac_config_headers in *"
                   15659: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   15660: esac
1.4       paf      15661: 
                   15662: 
1.5       moko     15663: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15664: # Files that config.status was made for.
                   15665: config_files="$ac_config_files"
                   15666: config_headers="$ac_config_headers"
                   15667: config_commands="$ac_config_commands"
1.4       paf      15668: 
1.5       moko     15669: _ACEOF
1.1       paf      15670: 
1.5       moko     15671: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15672: ac_cs_usage="\
1.10    ! moko     15673: '$as_me' instantiates files and other configuration actions
1.5       moko     15674: from templates according to the current configuration.  Unless the files
                   15675: and actions are specified as TAGs, all are instantiated by default.
1.2       paf      15676: 
1.5       moko     15677: Usage: $0 [OPTION]... [TAG]...
1.2       paf      15678: 
1.5       moko     15679:   -h, --help       print this help, then exit
                   15680:   -V, --version    print version number and configuration settings, then exit
                   15681:       --config     print configuration, then exit
                   15682:   -q, --quiet, --silent
                   15683:                    do not print progress messages
                   15684:   -d, --debug      don't remove temporary files
                   15685:       --recheck    update $as_me by reconfiguring in the same conditions
                   15686:       --file=FILE[:TEMPLATE]
                   15687:                    instantiate the configuration file FILE
                   15688:       --header=FILE[:TEMPLATE]
                   15689:                    instantiate the configuration header FILE
1.2       paf      15690: 
1.5       moko     15691: Configuration files:
                   15692: $config_files
1.2       paf      15693: 
1.5       moko     15694: Configuration headers:
                   15695: $config_headers
1.2       paf      15696: 
1.5       moko     15697: Configuration commands:
                   15698: $config_commands
1.4       paf      15699: 
1.5       moko     15700: Report bugs to <bug-libtool@gnu.org>."
1.2       paf      15701: 
1.4       paf      15702: _ACEOF
1.10    ! moko     15703: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
        !          15704: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.5       moko     15705: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.10    ! moko     15706: ac_cs_config='$ac_cs_config_escaped'
1.5       moko     15707: ac_cs_version="\\
1.10    ! moko     15708: libltdl config.status 2.4.3a
        !          15709: configured by $0, generated by GNU Autoconf 2.72,
1.5       moko     15710:   with options \\"\$ac_cs_config\\"
1.2       paf      15711: 
1.10    ! moko     15712: Copyright (C) 2023 Free Software Foundation, Inc.
1.5       moko     15713: This config.status script is free software; the Free Software Foundation
                   15714: gives unlimited permission to copy, distribute and modify it."
1.2       paf      15715: 
1.5       moko     15716: ac_pwd='$ac_pwd'
                   15717: srcdir='$srcdir'
                   15718: INSTALL='$INSTALL'
                   15719: MKDIR_P='$MKDIR_P'
                   15720: AWK='$AWK'
                   15721: test -n "\$AWK" || AWK=awk
                   15722: _ACEOF
1.2       paf      15723: 
1.5       moko     15724: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15725: # The default lists apply if the user does not specify any file.
                   15726: ac_need_defaults=:
                   15727: while test $# != 0
1.1       paf      15728: do
1.5       moko     15729:   case $1 in
                   15730:   --*=?*)
                   15731:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15732:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   15733:     ac_shift=:
                   15734:     ;;
                   15735:   --*=)
                   15736:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15737:     ac_optarg=
                   15738:     ac_shift=:
1.2       paf      15739:     ;;
1.5       moko     15740:   *)
                   15741:     ac_option=$1
                   15742:     ac_optarg=$2
                   15743:     ac_shift=shift
1.2       paf      15744:     ;;
1.5       moko     15745:   esac
                   15746: 
                   15747:   case $ac_option in
                   15748:   # Handling of the options.
                   15749:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   15750:     ac_cs_recheck=: ;;
                   15751:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.10    ! moko     15752:     printf "%s\n" "$ac_cs_version"; exit ;;
1.5       moko     15753:   --config | --confi | --conf | --con | --co | --c )
1.10    ! moko     15754:     printf "%s\n" "$ac_cs_config"; exit ;;
1.5       moko     15755:   --debug | --debu | --deb | --de | --d | -d )
                   15756:     debug=: ;;
                   15757:   --file | --fil | --fi | --f )
                   15758:     $ac_shift
                   15759:     case $ac_optarg in
1.10    ! moko     15760:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.5       moko     15761:     '') as_fn_error $? "missing file argument" ;;
                   15762:     esac
                   15763:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   15764:     ac_need_defaults=false;;
                   15765:   --header | --heade | --head | --hea )
                   15766:     $ac_shift
                   15767:     case $ac_optarg in
1.10    ! moko     15768:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.5       moko     15769:     esac
                   15770:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   15771:     ac_need_defaults=false;;
                   15772:   --he | --h)
                   15773:     # Conflict between --help and --header
1.10    ! moko     15774:     as_fn_error $? "ambiguous option: '$1'
        !          15775: Try '$0 --help' for more information.";;
1.5       moko     15776:   --help | --hel | -h )
1.10    ! moko     15777:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.5       moko     15778:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   15779:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   15780:     ac_cs_silent=: ;;
1.2       paf      15781: 
1.5       moko     15782:   # This is an error.
1.10    ! moko     15783:   -*) as_fn_error $? "unrecognized option: '$1'
        !          15784: Try '$0 --help' for more information." ;;
1.2       paf      15785: 
1.5       moko     15786:   *) as_fn_append ac_config_targets " $1"
                   15787:      ac_need_defaults=false ;;
1.2       paf      15788: 
1.5       moko     15789:   esac
                   15790:   shift
1.1       paf      15791: done
                   15792: 
1.5       moko     15793: ac_configure_extra_args=
                   15794: 
                   15795: if $ac_cs_silent; then
                   15796:   exec 6>/dev/null
                   15797:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   15798: fi
1.2       paf      15799: 
1.4       paf      15800: _ACEOF
1.5       moko     15801: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15802: if \$ac_cs_recheck; then
1.7       moko     15803:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.5       moko     15804:   shift
1.10    ! moko     15805:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.5       moko     15806:   CONFIG_SHELL='$SHELL'
                   15807:   export CONFIG_SHELL
                   15808:   exec "\$@"
                   15809: fi
1.4       paf      15810: 
1.5       moko     15811: _ACEOF
                   15812: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15813: exec 5>>config.log
1.4       paf      15814: {
1.5       moko     15815:   echo
                   15816:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   15817: ## Running $as_me. ##
                   15818: _ASBOX
1.10    ! moko     15819:   printf "%s\n" "$ac_log"
1.5       moko     15820: } >&5
                   15821: 
1.4       paf      15822: _ACEOF
1.5       moko     15823: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15824: #
                   15825: # INIT-COMMANDS
                   15826: #
1.8       moko     15827: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.4       paf      15828: 
                   15829: 
1.5       moko     15830: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   15831: # if CDPATH is set.
                   15832: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.4       paf      15833: 
1.5       moko     15834: sed_quote_subst='$sed_quote_subst'
                   15835: double_quote_subst='$double_quote_subst'
                   15836: delay_variable_subst='$delay_variable_subst'
                   15837: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   15838: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   15839: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   15840: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   15841: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   15842: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   15843: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   15844: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   15845: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1.10    ! moko     15846: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1.5       moko     15847: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   15848: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   15849: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   15850: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   15851: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   15852: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   15853: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   15854: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   15855: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   15856: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   15857: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   15858: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   15859: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   15860: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   15861: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   15862: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   15863: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   15864: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   15865: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   15866: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   15867: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   15868: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   15869: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   15870: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   15871: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   15872: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   15873: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
1.10    ! moko     15874: FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1.5       moko     15875: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   15876: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   15877: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   15878: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   15879: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   15880: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
1.10    ! moko     15881: lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1.5       moko     15882: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   15883: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   15884: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   15885: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   15886: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   15887: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   15888: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   15889: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   15890: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   15891: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   15892: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   15893: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   15894: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   15895: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1.10    ! moko     15896: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1.5       moko     15897: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   15898: 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.10    ! moko     15899: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1.5       moko     15900: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   15901: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.10    ! moko     15902: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1.5       moko     15903: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   15904: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   15905: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   15906: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   15907: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   15908: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   15909: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   15910: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   15911: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   15912: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   15913: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   15914: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   15915: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   15916: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   15917: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   15918: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   15919: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   15920: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   15921: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   15922: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   15923: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   15924: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   15925: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   15926: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   15927: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   15928: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   15929: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   15930: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   15931: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   15932: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   15933: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   15934: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   15935: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   15936: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   15937: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   15938: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   15939: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   15940: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   15941: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   15942: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   15943: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   15944: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   15945: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   15946: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   15947: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   15948: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   15949: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   15950: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   15951: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   15952: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   15953: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   15954: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   15955: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   15956: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   15957: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   15958: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   15959: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   15960: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   15961: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   15962: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   15963: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   15964: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   15965: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   15966: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
1.10    ! moko     15967: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
        !          15968: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
1.5       moko     15969: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   15970: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   15971: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   15972: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   15973: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   15974: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   15975: 
                   15976: LTCC='$LTCC'
                   15977: LTCFLAGS='$LTCFLAGS'
                   15978: compiler='$compiler_DEFAULT'
                   15979: 
                   15980: # A function that is used when there is no print builtin or printf.
                   15981: func_fallback_echo ()
                   15982: {
                   15983:   eval 'cat <<_LTECHO_EOF
                   15984: \$1
                   15985: _LTECHO_EOF'
                   15986: }
                   15987: 
                   15988: # Quote evaled strings.
                   15989: for var in AS \
                   15990: DLLTOOL \
                   15991: OBJDUMP \
                   15992: SHELL \
                   15993: ECHO \
                   15994: PATH_SEPARATOR \
                   15995: SED \
                   15996: GREP \
                   15997: EGREP \
                   15998: FGREP \
                   15999: LD \
                   16000: NM \
                   16001: LN_S \
                   16002: lt_SP2NL \
                   16003: lt_NL2SP \
                   16004: reload_flag \
1.10    ! moko     16005: FILECMD \
1.5       moko     16006: deplibs_check_method \
                   16007: file_magic_cmd \
                   16008: file_magic_glob \
                   16009: want_nocaseglob \
                   16010: sharedlib_from_linklib_cmd \
                   16011: AR \
                   16012: archiver_list_spec \
                   16013: STRIP \
                   16014: RANLIB \
                   16015: CC \
                   16016: CFLAGS \
                   16017: compiler \
                   16018: lt_cv_sys_global_symbol_pipe \
                   16019: lt_cv_sys_global_symbol_to_cdecl \
1.10    ! moko     16020: lt_cv_sys_global_symbol_to_import \
1.5       moko     16021: lt_cv_sys_global_symbol_to_c_name_address \
                   16022: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.10    ! moko     16023: lt_cv_nm_interface \
1.5       moko     16024: nm_file_list_spec \
1.10    ! moko     16025: lt_cv_truncate_bin \
1.5       moko     16026: lt_prog_compiler_no_builtin_flag \
                   16027: lt_prog_compiler_pic \
                   16028: lt_prog_compiler_wl \
                   16029: lt_prog_compiler_static \
                   16030: lt_cv_prog_compiler_c_o \
                   16031: need_locks \
                   16032: MANIFEST_TOOL \
                   16033: DSYMUTIL \
                   16034: NMEDIT \
                   16035: LIPO \
                   16036: OTOOL \
                   16037: OTOOL64 \
                   16038: shrext_cmds \
                   16039: export_dynamic_flag_spec \
                   16040: whole_archive_flag_spec \
                   16041: compiler_needs_object \
                   16042: with_gnu_ld \
                   16043: allow_undefined_flag \
                   16044: no_undefined_flag \
                   16045: hardcode_libdir_flag_spec \
                   16046: hardcode_libdir_separator \
                   16047: exclude_expsyms \
                   16048: include_expsyms \
                   16049: file_list_spec \
                   16050: variables_saved_for_relink \
                   16051: libname_spec \
                   16052: library_names_spec \
                   16053: soname_spec \
                   16054: install_override_mode \
                   16055: finish_eval \
                   16056: old_striplib \
                   16057: striplib; do
                   16058:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   16059:     *[\\\\\\\`\\"\\\$]*)
1.10    ! moko     16060:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.5       moko     16061:       ;;
                   16062:     *)
                   16063:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   16064:       ;;
                   16065:     esac
                   16066: done
1.4       paf      16067: 
1.5       moko     16068: # Double-quote double-evaled strings.
                   16069: for var in reload_cmds \
                   16070: old_postinstall_cmds \
                   16071: old_postuninstall_cmds \
                   16072: old_archive_cmds \
                   16073: extract_expsyms_cmds \
                   16074: old_archive_from_new_cmds \
                   16075: old_archive_from_expsyms_cmds \
                   16076: archive_cmds \
                   16077: archive_expsym_cmds \
                   16078: module_cmds \
                   16079: module_expsym_cmds \
                   16080: export_symbols_cmds \
                   16081: prelink_cmds \
                   16082: postlink_cmds \
                   16083: postinstall_cmds \
                   16084: postuninstall_cmds \
                   16085: finish_cmds \
                   16086: sys_lib_search_path_spec \
1.10    ! moko     16087: configure_time_dlsearch_path \
        !          16088: configure_time_lt_sys_library_path; do
1.5       moko     16089:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   16090:     *[\\\\\\\`\\"\\\$]*)
1.10    ! moko     16091:       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.5       moko     16092:       ;;
                   16093:     *)
                   16094:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   16095:       ;;
                   16096:     esac
                   16097: done
1.4       paf      16098: 
1.5       moko     16099: ac_aux_dir='$ac_aux_dir'
1.4       paf      16100: 
1.10    ! moko     16101: # See if we are running on zsh, and set the options that allow our
1.5       moko     16102: # commands through without removal of \ escapes INIT.
1.10    ! moko     16103: if test -n "\${ZSH_VERSION+set}"; then
1.5       moko     16104:    setopt NO_GLOB_SUBST
1.4       paf      16105: fi
                   16106: 
                   16107: 
1.5       moko     16108:     PACKAGE='$PACKAGE'
                   16109:     VERSION='$VERSION'
                   16110:     RM='$RM'
                   16111:     ofile='$ofile'
1.4       paf      16112: 
                   16113: 
                   16114: 
                   16115: 
                   16116: _ACEOF
                   16117: 
1.5       moko     16118: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.4       paf      16119: 
1.5       moko     16120: # Handling of arguments.
                   16121: for ac_config_target in $ac_config_targets
                   16122: do
                   16123:   case $ac_config_target in
                   16124:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
                   16125:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   16126:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   16127:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.4       paf      16128: 
1.10    ! moko     16129:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.5       moko     16130:   esac
1.4       paf      16131: done
                   16132: 
                   16133: 
1.5       moko     16134: # If the user did not use the arguments to specify the items to instantiate,
                   16135: # then the envvar interface is used.  Set only those that are not.
                   16136: # We use the long form for the default assignment because of an extremely
                   16137: # bizarre bug on SunOS 4.1.3.
                   16138: if $ac_need_defaults; then
1.10    ! moko     16139:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
        !          16140:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
        !          16141:   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1.5       moko     16142: fi
1.4       paf      16143: 
1.5       moko     16144: # Have a temporary directory for convenience.  Make it in the build tree
                   16145: # simply because there is no reason against having it here, and in addition,
                   16146: # creating and moving files from /tmp can sometimes cause problems.
                   16147: # Hook for its removal unless debugging.
                   16148: # Note that there is a small window in which the directory will not be cleaned:
1.10    ! moko     16149: # after its creation but before its name has been assigned to '$tmp'.
1.5       moko     16150: $debug ||
                   16151: {
                   16152:   tmp= ac_tmp=
                   16153:   trap 'exit_status=$?
                   16154:   : "${ac_tmp:=$tmp}"
                   16155:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   16156: ' 0
                   16157:   trap 'as_fn_exit 1' 1 2 13 15
                   16158: }
                   16159: # Create a (secure) tmp directory for tmp files.
1.4       paf      16160: 
1.5       moko     16161: {
                   16162:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   16163:   test -d "$tmp"
                   16164: }  ||
                   16165: {
                   16166:   tmp=./conf$$-$RANDOM
                   16167:   (umask 077 && mkdir "$tmp")
                   16168: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   16169: ac_tmp=$tmp
1.4       paf      16170: 
1.5       moko     16171: # Set up the scripts for CONFIG_FILES section.
                   16172: # No need to generate them if there are no CONFIG_FILES.
1.10    ! moko     16173: # This happens for instance with './config.status config.h'.
1.5       moko     16174: if test -n "$CONFIG_FILES"; then
1.4       paf      16175: 
                   16176: 
1.5       moko     16177: ac_cr=`echo X | tr X '\015'`
                   16178: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   16179: # But we know of no other shell where ac_cr would be empty at this
                   16180: # point, so we can use a bashism as a fallback.
                   16181: if test "x$ac_cr" = x; then
                   16182:   eval ac_cr=\$\'\\r\'
                   16183: fi
                   16184: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   16185: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   16186:   ac_cs_awk_cr='\\r'
                   16187: else
                   16188:   ac_cs_awk_cr=$ac_cr
                   16189: fi
1.4       paf      16190: 
1.5       moko     16191: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   16192: _ACEOF
1.4       paf      16193: 
                   16194: 
1.5       moko     16195: {
                   16196:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   16197:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   16198:   echo "_ACEOF"
                   16199: } >conf$$subs.sh ||
                   16200:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   16201: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   16202: ac_delim='%!_!# '
                   16203: for ac_last_try in false false false false false :; do
                   16204:   . ./conf$$subs.sh ||
                   16205:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.4       paf      16206: 
1.5       moko     16207:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   16208:   if test $ac_delim_n = $ac_delim_num; then
                   16209:     break
                   16210:   elif $ac_last_try; then
                   16211:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   16212:   else
                   16213:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   16214:   fi
                   16215: done
                   16216: rm -f conf$$subs.sh
1.4       paf      16217: 
1.5       moko     16218: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16219: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   16220: _ACEOF
                   16221: sed -n '
                   16222: h
                   16223: s/^/S["/; s/!.*/"]=/
                   16224: p
                   16225: g
                   16226: s/^[^!]*!//
                   16227: :repl
                   16228: t repl
                   16229: s/'"$ac_delim"'$//
                   16230: t delim
                   16231: :nl
                   16232: h
                   16233: s/\(.\{148\}\)..*/\1/
                   16234: t more1
                   16235: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   16236: p
                   16237: n
                   16238: b repl
                   16239: :more1
                   16240: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16241: p
                   16242: g
                   16243: s/.\{148\}//
                   16244: t nl
                   16245: :delim
                   16246: h
                   16247: s/\(.\{148\}\)..*/\1/
                   16248: t more2
                   16249: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   16250: p
                   16251: b
                   16252: :more2
                   16253: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16254: p
                   16255: g
                   16256: s/.\{148\}//
                   16257: t delim
                   16258: ' <conf$$subs.awk | sed '
                   16259: /^[^""]/{
                   16260:   N
                   16261:   s/\n//
                   16262: }
                   16263: ' >>$CONFIG_STATUS || ac_write_fail=1
                   16264: rm -f conf$$subs.awk
                   16265: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16266: _ACAWK
                   16267: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   16268:   for (key in S) S_is_set[key] = 1
                   16269:   FS = ""
                   16270: 
                   16271: }
                   16272: {
                   16273:   line = $ 0
                   16274:   nfields = split(line, field, "@")
                   16275:   substed = 0
                   16276:   len = length(field[1])
                   16277:   for (i = 2; i < nfields; i++) {
                   16278:     key = field[i]
                   16279:     keylen = length(key)
                   16280:     if (S_is_set[key]) {
                   16281:       value = S[key]
                   16282:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   16283:       len += length(value) + length(field[++i])
                   16284:       substed = 1
                   16285:     } else
                   16286:       len += 1 + keylen
                   16287:   }
1.4       paf      16288: 
1.5       moko     16289:   print line
                   16290: }
1.4       paf      16291: 
1.5       moko     16292: _ACAWK
                   16293: _ACEOF
                   16294: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16295: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   16296:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   16297: else
                   16298:   cat
                   16299: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   16300:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   16301: _ACEOF
1.4       paf      16302: 
1.5       moko     16303: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   16304: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   16305: # trailing colons and then remove the whole line if VPATH becomes empty
                   16306: # (actually we leave an empty line to preserve line numbers).
                   16307: if test "x$srcdir" = x.; then
                   16308:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   16309: h
                   16310: s///
                   16311: s/^/:/
                   16312: s/[     ]*$/:/
                   16313: s/:\$(srcdir):/:/g
                   16314: s/:\${srcdir}:/:/g
                   16315: s/:@srcdir@:/:/g
                   16316: s/^:*//
                   16317: s/:*$//
                   16318: x
                   16319: s/\(=[  ]*\).*/\1/
                   16320: G
                   16321: s/\n//
                   16322: s/^[^=]*=[      ]*$//
                   16323: }'
                   16324: fi
1.4       paf      16325: 
1.5       moko     16326: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16327: fi # test -n "$CONFIG_FILES"
1.4       paf      16328: 
1.5       moko     16329: # Set up the scripts for CONFIG_HEADERS section.
                   16330: # No need to generate them if there are no CONFIG_HEADERS.
1.10    ! moko     16331: # This happens for instance with './config.status Makefile'.
1.5       moko     16332: if test -n "$CONFIG_HEADERS"; then
                   16333: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   16334: BEGIN {
                   16335: _ACEOF
                   16336: 
1.10    ! moko     16337: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.5       moko     16338: # here-document in config.status, that substitutes the proper values into
                   16339: # config.h.in to produce config.h.
                   16340: 
                   16341: # Create a delimiter string that does not exist in confdefs.h, to ease
                   16342: # handling of long lines.
                   16343: ac_delim='%!_!# '
                   16344: for ac_last_try in false false :; do
                   16345:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   16346:   if test -z "$ac_tt"; then
                   16347:     break
                   16348:   elif $ac_last_try; then
                   16349:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   16350:   else
                   16351:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   16352:   fi
                   16353: done
1.2       paf      16354: 
1.5       moko     16355: # For the awk script, D is an array of macro values keyed by name,
                   16356: # likewise P contains macro parameters if any.  Preserve backslash
                   16357: # newline sequences.
                   16358: 
                   16359: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   16360: sed -n '
                   16361: s/.\{148\}/&'"$ac_delim"'/g
                   16362: t rset
                   16363: :rset
                   16364: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   16365: t def
                   16366: d
                   16367: :def
                   16368: s/\\$//
                   16369: t bsnl
                   16370: s/["\\]/\\&/g
                   16371: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   16372: D["\1"]=" \3"/p
                   16373: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   16374: d
                   16375: :bsnl
                   16376: s/["\\]/\\&/g
                   16377: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   16378: D["\1"]=" \3\\\\\\n"\\/p
                   16379: t cont
                   16380: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   16381: t cont
                   16382: d
                   16383: :cont
                   16384: n
                   16385: s/.\{148\}/&'"$ac_delim"'/g
                   16386: t clear
                   16387: :clear
                   16388: s/\\$//
                   16389: t bsnlc
                   16390: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   16391: d
                   16392: :bsnlc
                   16393: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   16394: b cont
                   16395: ' <confdefs.h | sed '
                   16396: s/'"$ac_delim"'/"\\\
                   16397: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   16398: 
                   16399: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16400:   for (key in D) D_is_set[key] = 1
                   16401:   FS = ""
                   16402: }
                   16403: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   16404:   line = \$ 0
                   16405:   split(line, arg, " ")
                   16406:   if (arg[1] == "#") {
                   16407:     defundef = arg[2]
                   16408:     mac1 = arg[3]
                   16409:   } else {
                   16410:     defundef = substr(arg[1], 2)
                   16411:     mac1 = arg[2]
                   16412:   }
                   16413:   split(mac1, mac2, "(") #)
                   16414:   macro = mac2[1]
                   16415:   prefix = substr(line, 1, index(line, defundef) - 1)
                   16416:   if (D_is_set[macro]) {
                   16417:     # Preserve the white space surrounding the "#".
                   16418:     print prefix "define", macro P[macro] D[macro]
                   16419:     next
                   16420:   } else {
                   16421:     # Replace #undef with comments.  This is necessary, for example,
                   16422:     # in the case of _POSIX_SOURCE, which is predefined and required
                   16423:     # on some systems where configure will not decide to define it.
                   16424:     if (defundef == "undef") {
                   16425:       print "/*", prefix defundef, macro, "*/"
                   16426:       next
                   16427:     }
                   16428:   }
                   16429: }
                   16430: { print }
                   16431: _ACAWK
                   16432: _ACEOF
                   16433: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16434:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   16435: fi # test -n "$CONFIG_HEADERS"
                   16436: 
                   16437: 
                   16438: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   16439: shift
                   16440: for ac_tag
                   16441: do
                   16442:   case $ac_tag in
                   16443:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   16444:   esac
                   16445:   case $ac_mode$ac_tag in
                   16446:   :[FHL]*:*);;
1.10    ! moko     16447:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.5       moko     16448:   :[FH]-) ac_tag=-:-;;
                   16449:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   16450:   esac
                   16451:   ac_save_IFS=$IFS
                   16452:   IFS=:
                   16453:   set x $ac_tag
                   16454:   IFS=$ac_save_IFS
                   16455:   shift
                   16456:   ac_file=$1
                   16457:   shift
1.4       paf      16458: 
1.5       moko     16459:   case $ac_mode in
                   16460:   :L) ac_source=$1;;
                   16461:   :[FH])
                   16462:     ac_file_inputs=
                   16463:     for ac_f
                   16464:     do
                   16465:       case $ac_f in
                   16466:       -) ac_f="$ac_tmp/stdin";;
                   16467:       *) # Look for the file first in the build tree, then in the source tree
                   16468:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.10    ! moko     16469:         # because $ac_f cannot contain ':'.
1.5       moko     16470:         test -f "$ac_f" ||
                   16471:           case $ac_f in
                   16472:           [\\/$]*) false;;
                   16473:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   16474:           esac ||
1.10    ! moko     16475:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.5       moko     16476:       esac
1.10    ! moko     16477:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.5       moko     16478:       as_fn_append ac_file_inputs " '$ac_f'"
                   16479:     done
1.4       paf      16480: 
1.10    ! moko     16481:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.5       moko     16482:     # use $as_me), people would be surprised to read:
                   16483:     #    /* config.h.  Generated by config.status.  */
                   16484:     configure_input='Generated from '`
1.10    ! moko     16485:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.5       moko     16486:        `' by configure.'
                   16487:     if test x"$ac_file" != x-; then
                   16488:       configure_input="$ac_file.  $configure_input"
1.10    ! moko     16489:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          16490: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.5       moko     16491:     fi
                   16492:     # Neutralize special characters interpreted by sed in replacement strings.
                   16493:     case $configure_input in #(
                   16494:     *\&* | *\|* | *\\* )
1.10    ! moko     16495:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.5       moko     16496:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   16497:     *) ac_sed_conf_input=$configure_input;;
                   16498:     esac
1.4       paf      16499: 
1.5       moko     16500:     case $ac_tag in
                   16501:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   16502:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   16503:     esac
                   16504:     ;;
                   16505:   esac
1.4       paf      16506: 
1.5       moko     16507:   ac_dir=`$as_dirname -- "$ac_file" ||
                   16508: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16509:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   16510:         X"$ac_file" : 'X\(//\)$' \| \
                   16511:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     16512: printf "%s\n" X"$ac_file" |
1.5       moko     16513:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16514:            s//\1/
                   16515:            q
                   16516:          }
                   16517:          /^X\(\/\/\)[^/].*/{
                   16518:            s//\1/
                   16519:            q
                   16520:          }
                   16521:          /^X\(\/\/\)$/{
                   16522:            s//\1/
                   16523:            q
                   16524:          }
                   16525:          /^X\(\/\).*/{
                   16526:            s//\1/
                   16527:            q
                   16528:          }
                   16529:          s/.*/./; q'`
                   16530:   as_dir="$ac_dir"; as_fn_mkdir_p
                   16531:   ac_builddir=.
1.4       paf      16532: 
1.5       moko     16533: case "$ac_dir" in
                   16534: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16535: *)
1.10    ! moko     16536:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.5       moko     16537:   # A ".." for each directory in $ac_dir_suffix.
1.10    ! moko     16538:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.5       moko     16539:   case $ac_top_builddir_sub in
                   16540:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16541:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   16542:   esac ;;
                   16543: esac
                   16544: ac_abs_top_builddir=$ac_pwd
                   16545: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   16546: # for backward compatibility:
                   16547: ac_top_builddir=$ac_top_build_prefix
1.4       paf      16548: 
1.5       moko     16549: case $srcdir in
                   16550:   .)  # We are building in place.
                   16551:     ac_srcdir=.
                   16552:     ac_top_srcdir=$ac_top_builddir_sub
                   16553:     ac_abs_top_srcdir=$ac_pwd ;;
                   16554:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   16555:     ac_srcdir=$srcdir$ac_dir_suffix;
                   16556:     ac_top_srcdir=$srcdir
                   16557:     ac_abs_top_srcdir=$srcdir ;;
                   16558:   *) # Relative name.
                   16559:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   16560:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   16561:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   16562: esac
                   16563: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.4       paf      16564: 
                   16565: 
1.5       moko     16566:   case $ac_mode in
                   16567:   :F)
                   16568:   #
                   16569:   # CONFIG_FILE
                   16570:   #
1.4       paf      16571: 
1.5       moko     16572:   case $INSTALL in
                   16573:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   16574:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   16575:   esac
                   16576:   ac_MKDIR_P=$MKDIR_P
                   16577:   case $MKDIR_P in
                   16578:   [\\/$]* | ?:[\\/]* ) ;;
                   16579:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   16580:   esac
1.2       paf      16581: _ACEOF
                   16582: 
1.5       moko     16583: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16584: # If the template does not know about datarootdir, expand it.
                   16585: # FIXME: This hack should be removed a few years after 2.60.
                   16586: ac_datarootdir_hack=; ac_datarootdir_seen=
                   16587: ac_sed_dataroot='
                   16588: /datarootdir/ {
                   16589:   p
                   16590:   q
                   16591: }
                   16592: /@datadir@/p
                   16593: /@docdir@/p
                   16594: /@infodir@/p
                   16595: /@localedir@/p
                   16596: /@mandir@/p'
                   16597: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   16598: *datarootdir*) ac_datarootdir_seen=yes;;
                   16599: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.10    ! moko     16600:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          16601: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.5       moko     16602: _ACEOF
                   16603: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16604:   ac_datarootdir_hack='
                   16605:   s&@datadir@&$datadir&g
                   16606:   s&@docdir@&$docdir&g
                   16607:   s&@infodir@&$infodir&g
                   16608:   s&@localedir@&$localedir&g
                   16609:   s&@mandir@&$mandir&g
                   16610:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   16611: esac
1.2       paf      16612: _ACEOF
                   16613: 
1.10    ! moko     16614: # Neutralize VPATH when '$srcdir' = '.'.
1.5       moko     16615: # Shell code in configure.ac might set extrasub.
                   16616: # FIXME: do we really want to maintain this feature?
                   16617: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16618: ac_sed_extra="$ac_vpsub
                   16619: $extrasub
1.2       paf      16620: _ACEOF
1.5       moko     16621: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16622: :t
                   16623: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   16624: s|@configure_input@|$ac_sed_conf_input|;t t
                   16625: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   16626: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   16627: s&@srcdir@&$ac_srcdir&;t t
                   16628: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   16629: s&@top_srcdir@&$ac_top_srcdir&;t t
                   16630: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   16631: s&@builddir@&$ac_builddir&;t t
                   16632: s&@abs_builddir@&$ac_abs_builddir&;t t
                   16633: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   16634: s&@INSTALL@&$ac_INSTALL&;t t
                   16635: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   16636: $ac_datarootdir_hack
                   16637: "
                   16638: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   16639:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16640: 
                   16641: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   16642:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   16643:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   16644:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.10    ! moko     16645:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.5       moko     16646: which seems to be undefined.  Please make sure it is defined" >&5
1.10    ! moko     16647: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.5       moko     16648: which seems to be undefined.  Please make sure it is defined" >&2;}
1.4       paf      16649: 
1.5       moko     16650:   rm -f "$ac_tmp/stdin"
                   16651:   case $ac_file in
                   16652:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   16653:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   16654:   esac \
                   16655:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16656:  ;;
                   16657:   :H)
                   16658:   #
                   16659:   # CONFIG_HEADER
                   16660:   #
                   16661:   if test x"$ac_file" != x-; then
                   16662:     {
1.10    ! moko     16663:       printf "%s\n" "/* $configure_input  */" >&1 \
1.5       moko     16664:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   16665:     } >"$ac_tmp/config.h" \
                   16666:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16667:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.10    ! moko     16668:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
        !          16669: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.5       moko     16670:     else
                   16671:       rm -f "$ac_file"
                   16672:       mv "$ac_tmp/config.h" "$ac_file" \
                   16673:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16674:     fi
                   16675:   else
1.10    ! moko     16676:     printf "%s\n" "/* $configure_input  */" >&1 \
1.5       moko     16677:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   16678:       || as_fn_error $? "could not create -" "$LINENO" 5
                   16679:   fi
                   16680: # Compute "$ac_file"'s index in $config_headers.
                   16681: _am_arg="$ac_file"
                   16682: _am_stamp_count=1
                   16683: for _am_header in $config_headers :; do
                   16684:   case $_am_header in
                   16685:     $_am_arg | $_am_arg:* )
                   16686:       break ;;
                   16687:     * )
                   16688:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   16689:   esac
1.1       paf      16690: done
1.5       moko     16691: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   16692: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16693:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   16694:         X"$_am_arg" : 'X\(//\)$' \| \
                   16695:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     16696: printf "%s\n" X"$_am_arg" |
1.5       moko     16697:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16698:            s//\1/
                   16699:            q
                   16700:          }
                   16701:          /^X\(\/\/\)[^/].*/{
                   16702:            s//\1/
                   16703:            q
                   16704:          }
                   16705:          /^X\(\/\/\)$/{
                   16706:            s//\1/
                   16707:            q
                   16708:          }
                   16709:          /^X\(\/\).*/{
                   16710:            s//\1/
                   16711:            q
                   16712:          }
                   16713:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   16714:  ;;
1.1       paf      16715: 
1.10    ! moko     16716:   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
        !          16717: printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1.5       moko     16718:  ;;
                   16719:   esac
1.2       paf      16720: 
                   16721: 
1.5       moko     16722:   case $ac_file$ac_mode in
                   16723:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.8       moko     16724:   # Older Autoconf quotes --file arguments for eval, but not when files
1.5       moko     16725:   # are listed without --file.  Let's play safe and only enable the eval
                   16726:   # if we detect the quoting.
1.8       moko     16727:   # TODO: see whether this extra hack can be removed once we start
                   16728:   # requiring Autoconf 2.70 or later.
                   16729:   case $CONFIG_FILES in #(
                   16730:   *\'*) :
                   16731:     eval set x "$CONFIG_FILES" ;; #(
                   16732:   *) :
                   16733:     set x $CONFIG_FILES ;; #(
                   16734:   *) :
                   16735:      ;;
                   16736: esac
1.5       moko     16737:   shift
1.8       moko     16738:   # Used to flag and report bootstrapping failures.
                   16739:   am_rc=0
                   16740:   for am_mf
1.5       moko     16741:   do
                   16742:     # Strip MF so we end up with the name of the file.
1.10    ! moko     16743:     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1.8       moko     16744:     # Check whether this is an Automake generated Makefile which includes
                   16745:     # dependency-tracking related rules and includes.
                   16746:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.5       moko     16747:     # limit of 2048, but all sed's we know have understand at least 4000.
1.8       moko     16748:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   16749:       || continue
                   16750:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   16751: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16752:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   16753:         X"$am_mf" : 'X\(//\)$' \| \
                   16754:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     16755: printf "%s\n" X"$am_mf" |
1.5       moko     16756:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16757:            s//\1/
                   16758:            q
                   16759:          }
                   16760:          /^X\(\/\/\)[^/].*/{
                   16761:            s//\1/
                   16762:            q
                   16763:          }
                   16764:          /^X\(\/\/\)$/{
                   16765:            s//\1/
                   16766:            q
                   16767:          }
                   16768:          /^X\(\/\).*/{
                   16769:            s//\1/
                   16770:            q
                   16771:          }
                   16772:          s/.*/./; q'`
1.8       moko     16773:     am_filepart=`$as_basename -- "$am_mf" ||
                   16774: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   16775:         X"$am_mf" : 'X\(//\)$' \| \
                   16776:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.10    ! moko     16777: printf "%s\n" X/"$am_mf" |
1.8       moko     16778:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.5       moko     16779:            s//\1/
                   16780:            q
                   16781:          }
1.8       moko     16782:          /^X\/\(\/\/\)$/{
1.5       moko     16783:            s//\1/
                   16784:            q
                   16785:          }
1.8       moko     16786:          /^X\/\(\/\).*/{
1.5       moko     16787:            s//\1/
                   16788:            q
                   16789:          }
                   16790:          s/.*/./; q'`
1.8       moko     16791:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   16792:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   16793:         | $MAKE -f - am--depfiles" >&5
                   16794:    (cd "$am_dirpart" \
                   16795:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   16796:         | $MAKE -f - am--depfiles) >&5 2>&5
                   16797:    ac_status=$?
                   16798:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16799:    (exit $ac_status); } || am_rc=$?
1.5       moko     16800:   done
1.8       moko     16801:   if test $am_rc -ne 0; then
1.10    ! moko     16802:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          16803: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.8       moko     16804: as_fn_error $? "Something went wrong bootstrapping makefile fragments
                   16805:     for automatic dependency tracking.  If GNU make was not used, consider
                   16806:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   16807:     necessary).  You can also try re-running configure with the
                   16808:     '--disable-dependency-tracking' option to at least be able to build
                   16809:     the package (albeit without support for automatic dependency tracking).
1.10    ! moko     16810: See 'config.log' for more details" "$LINENO" 5; }
1.8       moko     16811:   fi
                   16812:   { am_dirpart=; unset am_dirpart;}
                   16813:   { am_filepart=; unset am_filepart;}
                   16814:   { am_mf=; unset am_mf;}
                   16815:   { am_rc=; unset am_rc;}
                   16816:   rm -f conftest-deps.mk
1.5       moko     16817: }
                   16818:  ;;
                   16819:     "libtool":C)
1.4       paf      16820: 
1.10    ! moko     16821:     # See if we are running on zsh, and set the options that allow our
1.5       moko     16822:     # commands through without removal of \ escapes.
1.10    ! moko     16823:     if test -n "${ZSH_VERSION+set}"; then
1.5       moko     16824:       setopt NO_GLOB_SUBST
                   16825:     fi
1.2       paf      16826: 
1.10    ! moko     16827:     cfgfile=${ofile}T
1.5       moko     16828:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   16829:     $RM "$cfgfile"
1.2       paf      16830: 
1.5       moko     16831:     cat <<_LT_EOF >> "$cfgfile"
                   16832: #! $SHELL
1.10    ! moko     16833: # Generated automatically by $as_me ($PACKAGE) $VERSION
        !          16834: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.1       paf      16835: 
1.10    ! moko     16836: # Provide generalized library-building support services.
        !          16837: # Written by Gordon Matzigkeit, 1996
        !          16838: 
        !          16839: # Copyright (C) 2024 Free Software Foundation, Inc.
        !          16840: # This is free software; see the source for copying conditions.  There is NO
        !          16841: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        !          16842: 
        !          16843: # GNU Libtool is free software; you can redistribute it and/or modify
        !          16844: # it under the terms of the GNU General Public License as published by
        !          16845: # the Free Software Foundation; either version 2 of the License, or
        !          16846: # (at your option) any later version.
1.5       moko     16847: #
1.10    ! moko     16848: # As a special exception to the GNU General Public License, if you
        !          16849: # distribute this file as part of a program or library that is built
        !          16850: # using GNU Libtool, you may include this file under the  same
        !          16851: # distribution terms that you use for the rest of that program.
1.5       moko     16852: #
1.10    ! moko     16853: # GNU Libtool is distributed in the hope that it will be useful, but
        !          16854: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.5       moko     16855: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   16856: # GNU General Public License for more details.
                   16857: #
                   16858: # You should have received a copy of the GNU General Public License
1.10    ! moko     16859: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.1       paf      16860: 
1.4       paf      16861: 
1.5       moko     16862: # The names of the tagged configurations supported by this script.
1.10    ! moko     16863: available_tags=''
        !          16864: 
        !          16865: # Configured defaults for sys_lib_dlsearch_path munging.
        !          16866: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.4       paf      16867: 
1.5       moko     16868: # ### BEGIN LIBTOOL CONFIG
1.1       paf      16869: 
1.5       moko     16870: # Which release of libtool.m4 was used?
                   16871: macro_version=$macro_version
                   16872: macro_revision=$macro_revision
1.2       paf      16873: 
1.5       moko     16874: # Assembler program.
                   16875: AS=$lt_AS
1.2       paf      16876: 
1.5       moko     16877: # DLL creation program.
                   16878: DLLTOOL=$lt_DLLTOOL
1.4       paf      16879: 
1.5       moko     16880: # Object dumper program.
                   16881: OBJDUMP=$lt_OBJDUMP
1.1       paf      16882: 
1.5       moko     16883: # Whether or not to build shared libraries.
                   16884: build_libtool_libs=$enable_shared
1.4       paf      16885: 
1.5       moko     16886: # Whether or not to build static libraries.
                   16887: build_old_libs=$enable_static
1.4       paf      16888: 
1.5       moko     16889: # What type of objects to build.
                   16890: pic_mode=$pic_mode
1.4       paf      16891: 
1.5       moko     16892: # Whether or not to optimize for fast installation.
                   16893: fast_install=$enable_fast_install
1.1       paf      16894: 
1.10    ! moko     16895: # Shared archive member basename,for filename based shared library versioning on AIX.
        !          16896: shared_archive_member_spec=$shared_archive_member_spec
        !          16897: 
1.5       moko     16898: # Shell to use when invoking shell scripts.
                   16899: SHELL=$lt_SHELL
1.4       paf      16900: 
1.5       moko     16901: # An echo program that protects backslashes.
                   16902: ECHO=$lt_ECHO
1.2       paf      16903: 
1.5       moko     16904: # The PATH separator for the build system.
                   16905: PATH_SEPARATOR=$lt_PATH_SEPARATOR
1.1       paf      16906: 
1.5       moko     16907: # The host system.
                   16908: host_alias=$host_alias
                   16909: host=$host
                   16910: host_os=$host_os
1.1       paf      16911: 
1.5       moko     16912: # The build system.
                   16913: build_alias=$build_alias
                   16914: build=$build
                   16915: build_os=$build_os
1.1       paf      16916: 
1.5       moko     16917: # A sed program that does not truncate output.
                   16918: SED=$lt_SED
1.1       paf      16919: 
1.5       moko     16920: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   16921: Xsed="\$SED -e 1s/^X//"
1.2       paf      16922: 
1.5       moko     16923: # A grep program that handles long lines.
                   16924: GREP=$lt_GREP
1.1       paf      16925: 
1.5       moko     16926: # An ERE matcher.
                   16927: EGREP=$lt_EGREP
1.3       paf      16928: 
1.5       moko     16929: # A literal string matcher.
                   16930: FGREP=$lt_FGREP
1.3       paf      16931: 
1.5       moko     16932: # A BSD- or MS-compatible name lister.
                   16933: NM=$lt_NM
1.1       paf      16934: 
1.5       moko     16935: # Whether we need soft or hard links.
                   16936: LN_S=$lt_LN_S
1.1       paf      16937: 
1.5       moko     16938: # What is the maximum length of a command?
                   16939: max_cmd_len=$max_cmd_len
1.1       paf      16940: 
1.5       moko     16941: # Object file suffix (normally "o").
                   16942: objext=$ac_objext
1.1       paf      16943: 
1.5       moko     16944: # Executable file suffix (normally "").
                   16945: exeext=$exeext
1.1       paf      16946: 
1.5       moko     16947: # whether the shell understands "unset".
                   16948: lt_unset=$lt_unset
1.2       paf      16949: 
1.5       moko     16950: # turn spaces into newlines.
                   16951: SP2NL=$lt_lt_SP2NL
1.4       paf      16952: 
1.5       moko     16953: # turn newlines into spaces.
                   16954: NL2SP=$lt_lt_NL2SP
1.1       paf      16955: 
1.5       moko     16956: # convert \$build file names to \$host format.
                   16957: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.2       paf      16958: 
1.5       moko     16959: # convert \$build files to toolchain format.
                   16960: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       paf      16961: 
1.10    ! moko     16962: # A file(cmd) program that detects file types.
        !          16963: FILECMD=$lt_FILECMD
        !          16964: 
1.5       moko     16965: # Method to check whether dependent libraries are shared objects.
                   16966: deplibs_check_method=$lt_deplibs_check_method
1.1       paf      16967: 
1.5       moko     16968: # Command to use when deplibs_check_method = "file_magic".
                   16969: file_magic_cmd=$lt_file_magic_cmd
1.2       paf      16970: 
1.5       moko     16971: # How to find potential files when deplibs_check_method = "file_magic".
                   16972: file_magic_glob=$lt_file_magic_glob
1.2       paf      16973: 
1.5       moko     16974: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   16975: want_nocaseglob=$lt_want_nocaseglob
1.1       paf      16976: 
1.5       moko     16977: # Command to associate shared and link libraries.
                   16978: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1.1       paf      16979: 
1.5       moko     16980: # The archiver.
                   16981: AR=$lt_AR
1.1       paf      16982: 
1.10    ! moko     16983: # Flags to create an archive (by configure).
        !          16984: lt_ar_flags=$lt_ar_flags
        !          16985: 
1.5       moko     16986: # Flags to create an archive.
1.10    ! moko     16987: AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1.2       paf      16988: 
1.5       moko     16989: # How to feed a file listing to the archiver.
                   16990: archiver_list_spec=$lt_archiver_list_spec
1.2       paf      16991: 
1.5       moko     16992: # A symbol stripping program.
                   16993: STRIP=$lt_STRIP
1.2       paf      16994: 
1.5       moko     16995: # Commands used to install an old-style archive.
                   16996: RANLIB=$lt_RANLIB
                   16997: old_postinstall_cmds=$lt_old_postinstall_cmds
                   16998: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.1       paf      16999: 
1.5       moko     17000: # Whether to use a lock for old archive extraction.
                   17001: lock_old_archive_extraction=$lock_old_archive_extraction
1.1       paf      17002: 
1.5       moko     17003: # A C compiler.
                   17004: LTCC=$lt_CC
1.2       paf      17005: 
1.5       moko     17006: # LTCC compiler flags.
                   17007: LTCFLAGS=$lt_CFLAGS
1.2       paf      17008: 
1.5       moko     17009: # Take the output of nm and produce a listing of raw symbols and C names.
                   17010: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.2       paf      17011: 
1.5       moko     17012: # Transform the output of nm in a proper C declaration.
                   17013: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.2       paf      17014: 
1.10    ! moko     17015: # Transform the output of nm into a list of symbols to manually relocate.
        !          17016: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
        !          17017: 
1.5       moko     17018: # Transform the output of nm in a C name address pair.
                   17019: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.2       paf      17020: 
1.5       moko     17021: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   17022: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1.2       paf      17023: 
1.10    ! moko     17024: # The name lister interface.
        !          17025: nm_interface=$lt_lt_cv_nm_interface
        !          17026: 
1.5       moko     17027: # Specify filename containing input files for \$NM.
                   17028: nm_file_list_spec=$lt_nm_file_list_spec
1.2       paf      17029: 
1.10    ! moko     17030: # The root where to search for dependent libraries,and where our libraries should be installed.
1.5       moko     17031: lt_sysroot=$lt_sysroot
1.2       paf      17032: 
1.10    ! moko     17033: # Command to truncate a binary pipe.
        !          17034: lt_truncate_bin=$lt_lt_cv_truncate_bin
        !          17035: 
1.5       moko     17036: # The name of the directory that contains temporary libtool files.
                   17037: objdir=$objdir
1.2       paf      17038: 
1.5       moko     17039: # Used to examine libraries when file_magic_cmd begins with "file".
                   17040: MAGIC_CMD=$MAGIC_CMD
1.2       paf      17041: 
1.5       moko     17042: # Must we lock files when doing compilation?
                   17043: need_locks=$lt_need_locks
1.1       paf      17044: 
1.5       moko     17045: # Manifest tool.
                   17046: MANIFEST_TOOL=$lt_MANIFEST_TOOL
1.2       paf      17047: 
1.5       moko     17048: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   17049: DSYMUTIL=$lt_DSYMUTIL
1.2       paf      17050: 
1.5       moko     17051: # Tool to change global to local symbols on Mac OS X.
                   17052: NMEDIT=$lt_NMEDIT
1.2       paf      17053: 
1.5       moko     17054: # Tool to manipulate fat objects and archives on Mac OS X.
                   17055: LIPO=$lt_LIPO
1.2       paf      17056: 
1.5       moko     17057: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   17058: OTOOL=$lt_OTOOL
1.2       paf      17059: 
1.5       moko     17060: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   17061: OTOOL64=$lt_OTOOL64
1.2       paf      17062: 
1.5       moko     17063: # Old archive suffix (normally "a").
                   17064: libext=$libext
1.1       paf      17065: 
1.5       moko     17066: # Shared library suffix (normally ".so").
                   17067: shrext_cmds=$lt_shrext_cmds
1.2       paf      17068: 
1.5       moko     17069: # The commands to extract the exported symbol list from a shared archive.
                   17070: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.1       paf      17071: 
1.5       moko     17072: # Variables whose values should be saved in libtool wrapper scripts and
                   17073: # restored at link time.
                   17074: variables_saved_for_relink=$lt_variables_saved_for_relink
1.1       paf      17075: 
1.5       moko     17076: # Do we need the "lib" prefix for modules?
                   17077: need_lib_prefix=$need_lib_prefix
1.1       paf      17078: 
1.5       moko     17079: # Do we need a version for libraries?
                   17080: need_version=$need_version
1.1       paf      17081: 
1.5       moko     17082: # Library versioning type.
                   17083: version_type=$version_type
1.2       paf      17084: 
1.5       moko     17085: # Shared library runtime path variable.
                   17086: runpath_var=$runpath_var
1.2       paf      17087: 
1.5       moko     17088: # Shared library path variable.
                   17089: shlibpath_var=$shlibpath_var
1.2       paf      17090: 
1.5       moko     17091: # Is shlibpath searched before the hard-coded library search path?
                   17092: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.2       paf      17093: 
1.5       moko     17094: # Format of library name prefix.
                   17095: libname_spec=$lt_libname_spec
1.2       paf      17096: 
1.5       moko     17097: # List of archive names.  First name is the real one, the rest are links.
                   17098: # The last name is the one that the linker finds with -lNAME
                   17099: library_names_spec=$lt_library_names_spec
1.2       paf      17100: 
1.5       moko     17101: # The coded name of the library, if different from the real name.
                   17102: soname_spec=$lt_soname_spec
1.2       paf      17103: 
1.5       moko     17104: # Permission mode override for installation of shared libraries.
                   17105: install_override_mode=$lt_install_override_mode
1.2       paf      17106: 
1.5       moko     17107: # Command to use after installation of a shared archive.
                   17108: postinstall_cmds=$lt_postinstall_cmds
1.2       paf      17109: 
1.5       moko     17110: # Command to use after uninstallation of a shared archive.
                   17111: postuninstall_cmds=$lt_postuninstall_cmds
1.2       paf      17112: 
1.5       moko     17113: # Commands used to finish a libtool library installation in a directory.
                   17114: finish_cmds=$lt_finish_cmds
1.2       paf      17115: 
1.5       moko     17116: # As "finish_cmds", except a single script fragment to be evaled but
                   17117: # not shown.
                   17118: finish_eval=$lt_finish_eval
1.2       paf      17119: 
1.5       moko     17120: # Whether we should hardcode library paths into libraries.
                   17121: hardcode_into_libs=$hardcode_into_libs
1.2       paf      17122: 
1.5       moko     17123: # Compile-time system search path for libraries.
                   17124: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.2       paf      17125: 
1.10    ! moko     17126: # Detected run-time system search path for libraries.
        !          17127: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
        !          17128: 
        !          17129: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
        !          17130: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.2       paf      17131: 
1.5       moko     17132: # Whether dlopen is supported.
                   17133: dlopen_support=$enable_dlopen
1.2       paf      17134: 
1.5       moko     17135: # Whether dlopen of programs is supported.
                   17136: dlopen_self=$enable_dlopen_self
1.1       paf      17137: 
1.5       moko     17138: # Whether dlopen of statically linked programs is supported.
                   17139: dlopen_self_static=$enable_dlopen_self_static
1.2       paf      17140: 
1.5       moko     17141: # Commands to strip libraries.
                   17142: old_striplib=$lt_old_striplib
                   17143: striplib=$lt_striplib
1.2       paf      17144: 
                   17145: 
1.5       moko     17146: # The linker used to build libraries.
                   17147: LD=$lt_LD
1.2       paf      17148: 
1.5       moko     17149: # How to create reloadable object files.
                   17150: reload_flag=$lt_reload_flag
                   17151: reload_cmds=$lt_reload_cmds
1.4       paf      17152: 
1.5       moko     17153: # Commands used to build an old-style archive.
                   17154: old_archive_cmds=$lt_old_archive_cmds
1.2       paf      17155: 
1.5       moko     17156: # A language specific compiler.
                   17157: CC=$lt_compiler
1.2       paf      17158: 
1.5       moko     17159: # Is the compiler the GNU compiler?
                   17160: with_gcc=$GCC
1.2       paf      17161: 
1.5       moko     17162: # Compiler flag to turn off builtin functions.
                   17163: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.2       paf      17164: 
1.5       moko     17165: # Additional compiler flags for building library objects.
                   17166: pic_flag=$lt_lt_prog_compiler_pic
1.1       paf      17167: 
1.5       moko     17168: # How to pass a linker flag through the compiler.
                   17169: wl=$lt_lt_prog_compiler_wl
1.1       paf      17170: 
1.5       moko     17171: # Compiler flag to prevent dynamic linking.
                   17172: link_static_flag=$lt_lt_prog_compiler_static
1.2       paf      17173: 
1.5       moko     17174: # Does compiler simultaneously support -c and -o options?
                   17175: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.2       paf      17176: 
1.5       moko     17177: # Whether or not to add -lc for building shared libraries.
                   17178: build_libtool_need_lc=$archive_cmds_need_lc
1.1       paf      17179: 
1.5       moko     17180: # Whether or not to disallow shared libs when runtime libs are static.
                   17181: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.2       paf      17182: 
1.5       moko     17183: # Compiler flag to allow reflexive dlopens.
                   17184: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.2       paf      17185: 
1.5       moko     17186: # Compiler flag to generate shared objects directly from archives.
                   17187: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.2       paf      17188: 
1.5       moko     17189: # Whether the compiler copes with passing no objects directly.
                   17190: compiler_needs_object=$lt_compiler_needs_object
1.2       paf      17191: 
1.5       moko     17192: # Create an old-style archive from a shared archive.
                   17193: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.2       paf      17194: 
1.5       moko     17195: # Create a temporary old-style archive to link instead of a shared archive.
                   17196: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.2       paf      17197: 
1.5       moko     17198: # Commands used to build a shared archive.
                   17199: archive_cmds=$lt_archive_cmds
                   17200: archive_expsym_cmds=$lt_archive_expsym_cmds
1.2       paf      17201: 
1.5       moko     17202: # Commands used to build a loadable module if different from building
                   17203: # a shared archive.
                   17204: module_cmds=$lt_module_cmds
                   17205: module_expsym_cmds=$lt_module_expsym_cmds
1.1       paf      17206: 
1.5       moko     17207: # Whether we are building with GNU ld or not.
                   17208: with_gnu_ld=$lt_with_gnu_ld
1.2       paf      17209: 
1.5       moko     17210: # Flag that allows shared libraries with undefined symbols to be built.
                   17211: allow_undefined_flag=$lt_allow_undefined_flag
1.2       paf      17212: 
1.5       moko     17213: # Flag that enforces no undefined symbols.
                   17214: no_undefined_flag=$lt_no_undefined_flag
1.2       paf      17215: 
1.5       moko     17216: # Flag to hardcode \$libdir into a binary during linking.
                   17217: # This must work even if \$libdir does not exist
                   17218: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.2       paf      17219: 
1.5       moko     17220: # Whether we need a single "-rpath" flag with a separated argument.
                   17221: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.2       paf      17222: 
1.10    ! moko     17223: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.5       moko     17224: # DIR into the resulting binary.
                   17225: hardcode_direct=$hardcode_direct
1.2       paf      17226: 
1.10    ! moko     17227: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.5       moko     17228: # DIR into the resulting binary and the resulting library dependency is
1.10    ! moko     17229: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.5       moko     17230: # library is relocated.
                   17231: hardcode_direct_absolute=$hardcode_direct_absolute
1.2       paf      17232: 
1.5       moko     17233: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   17234: # into the resulting binary.
                   17235: hardcode_minus_L=$hardcode_minus_L
1.1       paf      17236: 
1.5       moko     17237: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   17238: # into the resulting binary.
                   17239: hardcode_shlibpath_var=$hardcode_shlibpath_var
1.4       paf      17240: 
1.5       moko     17241: # Set to "yes" if building a shared library automatically hardcodes DIR
                   17242: # into the library and all subsequent libraries and executables linked
                   17243: # against it.
                   17244: hardcode_automatic=$hardcode_automatic
                   17245: 
                   17246: # Set to yes if linker adds runtime paths of dependent libraries
                   17247: # to runtime path list.
                   17248: inherit_rpath=$inherit_rpath
1.4       paf      17249: 
1.5       moko     17250: # Whether libtool must link a program against all its dependency libraries.
                   17251: link_all_deplibs=$link_all_deplibs
1.4       paf      17252: 
1.5       moko     17253: # Set to "yes" if exported symbols are required.
                   17254: always_export_symbols=$always_export_symbols
1.4       paf      17255: 
1.5       moko     17256: # The commands to list exported symbols.
                   17257: export_symbols_cmds=$lt_export_symbols_cmds
1.4       paf      17258: 
1.5       moko     17259: # Symbols that should not be listed in the preloaded symbols.
                   17260: exclude_expsyms=$lt_exclude_expsyms
1.4       paf      17261: 
1.5       moko     17262: # Symbols that must always be exported.
                   17263: include_expsyms=$lt_include_expsyms
1.4       paf      17264: 
1.5       moko     17265: # Commands necessary for linking programs (against libraries) with templates.
                   17266: prelink_cmds=$lt_prelink_cmds
1.4       paf      17267: 
1.5       moko     17268: # Commands necessary for finishing linking programs.
                   17269: postlink_cmds=$lt_postlink_cmds
1.4       paf      17270: 
1.5       moko     17271: # Specify filename containing input files.
                   17272: file_list_spec=$lt_file_list_spec
1.4       paf      17273: 
1.5       moko     17274: # How to hardcode a shared library path into an executable.
                   17275: hardcode_action=$hardcode_action
1.4       paf      17276: 
1.5       moko     17277: # ### END LIBTOOL CONFIG
1.1       paf      17278: 
1.5       moko     17279: _LT_EOF
1.1       paf      17280: 
1.10    ! moko     17281:     cat <<'_LT_EOF' >> "$cfgfile"
        !          17282: 
        !          17283: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
        !          17284: 
        !          17285: # func_munge_path_list VARIABLE PATH
        !          17286: # -----------------------------------
        !          17287: # VARIABLE is name of variable containing _space_ separated list of
        !          17288: # directories to be munged by the contents of PATH, which is string
        !          17289: # having a format:
        !          17290: # "DIR[:DIR]:"
        !          17291: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          17292: # ":DIR[:DIR]"
        !          17293: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          17294: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          17295: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          17296: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          17297: # "DIR[:DIR]"
        !          17298: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          17299: func_munge_path_list ()
        !          17300: {
        !          17301:     case x$2 in
        !          17302:     x)
        !          17303:         ;;
        !          17304:     *:)
        !          17305:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          17306:         ;;
        !          17307:     x:*)
        !          17308:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          17309:         ;;
        !          17310:     *::*)
        !          17311:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          17312:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          17313:         ;;
        !          17314:     *)
        !          17315:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          17316:         ;;
        !          17317:     esac
        !          17318: }
        !          17319: 
        !          17320: 
        !          17321: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          17322: func_cc_basename ()
        !          17323: {
        !          17324:     for cc_temp in $*""; do
        !          17325:       case $cc_temp in
        !          17326:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          17327:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          17328:         \-*) ;;
        !          17329:         *) break;;
        !          17330:       esac
        !          17331:     done
        !          17332:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          17333: }
        !          17334: 
        !          17335: 
        !          17336: # ### END FUNCTIONS SHARED WITH CONFIGURE
        !          17337: 
        !          17338: _LT_EOF
        !          17339: 
1.5       moko     17340:   case $host_os in
                   17341:   aix3*)
                   17342:     cat <<\_LT_EOF >> "$cfgfile"
                   17343: # AIX sometimes has problems with the GCC collect2 program.  For some
                   17344: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   17345: # vanish in a puff of smoke.
1.10    ! moko     17346: if test set != "${COLLECT_NAMES+set}"; then
1.5       moko     17347:   COLLECT_NAMES=
                   17348:   export COLLECT_NAMES
                   17349: fi
                   17350: _LT_EOF
                   17351:     ;;
                   17352:   esac
1.1       paf      17353: 
1.2       paf      17354: 
1.10    ! moko     17355: 
        !          17356: ltmain=$ac_aux_dir/ltmain.sh
1.2       paf      17357: 
1.1       paf      17358: 
1.5       moko     17359:   # We use sed instead of cat because bash on DJGPP gets confused if
                   17360:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   17361:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   17362:   # is reportedly fixed, but why not run on old versions too?
1.10    ! moko     17363:   $SED '$q' "$ltmain" >> "$cfgfile" \
1.5       moko     17364:      || (rm -f "$cfgfile"; exit 1)
1.2       paf      17365: 
1.5       moko     17366:    mv -f "$cfgfile" "$ofile" ||
                   17367:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   17368:   chmod +x "$ofile"
                   17369: 
1.2       paf      17370:  ;;
1.5       moko     17371: 
1.2       paf      17372:   esac
1.5       moko     17373: done # for ac_tag
1.1       paf      17374: 
                   17375: 
1.5       moko     17376: as_fn_exit 0
1.2       paf      17377: _ACEOF
                   17378: ac_clean_files=$ac_clean_files_save
                   17379: 
1.5       moko     17380: test $ac_write_fail = 0 ||
                   17381:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   17382: 
1.2       paf      17383: 
                   17384: # configure is writing to config.log, and then calls config.status.
                   17385: # config.status does its own redirection, appending to config.log.
                   17386: # Unfortunately, on DOS this fails, as config.log is still kept open
                   17387: # by configure, so config.status won't be able to write to it; its
                   17388: # output is simply discarded.  So we exec the FD to /dev/null,
                   17389: # effectively closing config.log, so it can be properly (re)opened and
                   17390: # appended to by config.status.  When coming back to configure, we
                   17391: # need to make the FD available again.
                   17392: if test "$no_create" != yes; then
                   17393:   ac_cs_success=:
                   17394:   ac_config_status_args=
                   17395:   test "$silent" = yes &&
                   17396:     ac_config_status_args="$ac_config_status_args --quiet"
                   17397:   exec 5>/dev/null
                   17398:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   17399:   exec 5>>config.log
                   17400:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   17401:   # would make configure fail if this is the last instruction.
1.5       moko     17402:   $ac_cs_success || as_fn_exit 1
                   17403: fi
                   17404: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.10    ! moko     17405:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          17406: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.2       paf      17407: fi
1.1       paf      17408: 
1.10    ! moko     17409: 

E-mail: