Annotation of parser3/configure, revision 1.150

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.150   ! moko        3: # Generated by GNU Autoconf 2.68 for parser 3.4.2.
        !             4: #
        !             5: #
        !             6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
        !             7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
        !             8: # Foundation, Inc.
        !             9: #
1.1       paf        10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.150   ! moko       13: ## -------------------- ##
        !            14: ## M4sh Initialization. ##
        !            15: ## -------------------- ##
1.62      paf        16: 
1.150   ! moko       17: # Be more Bourne compatible
        !            18: DUALCASE=1; export DUALCASE # for MKS sh
        !            19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf        20:   emulate sh
                     21:   NULLCMD=:
1.150   ! moko       22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf        23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
1.150   ! moko       25:   setopt NO_GLOB_SUBST
        !            26: else
        !            27:   case `(set -o) 2>/dev/null` in #(
        !            28:   *posix*) :
        !            29:     set -o posix ;; #(
        !            30:   *) :
        !            31:      ;;
        !            32: esac
        !            33: fi
        !            34: 
        !            35: 
        !            36: as_nl='
        !            37: '
        !            38: export as_nl
        !            39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !            40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !            41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !            42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !            43: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !            44: # but without wasting forks for bash or zsh.
        !            45: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !            46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            47:   as_echo='print -r --'
        !            48:   as_echo_n='print -rn --'
        !            49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            50:   as_echo='printf %s\n'
        !            51:   as_echo_n='printf %s'
        !            52: else
        !            53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !            54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !            55:     as_echo_n='/usr/ucb/echo -n'
        !            56:   else
        !            57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !            58:     as_echo_n_body='eval
        !            59:       arg=$1;
        !            60:       case $arg in #(
        !            61:       *"$as_nl"*)
        !            62:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !            63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !            64:       esac;
        !            65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !            66:     '
        !            67:     export as_echo_n_body
        !            68:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !            69:   fi
        !            70:   export as_echo_body
        !            71:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf        72: fi
                     73: 
1.150   ! moko       74: # The user is always right.
        !            75: if test "${PATH_SEPARATOR+set}" != set; then
        !            76:   PATH_SEPARATOR=:
        !            77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !            78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !            79:       PATH_SEPARATOR=';'
        !            80:   }
1.62      paf        81: fi
                     82: 
                     83: 
1.150   ! moko       84: # IFS
        !            85: # We need space, tab and new line, in precisely that order.  Quoting is
        !            86: # there to prevent editors from complaining about space-tab.
        !            87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !            88: # splitting by setting IFS to empty value.)
        !            89: IFS=" ""       $as_nl"
        !            90: 
        !            91: # Find who we are.  Look in the path if we contain no directory separator.
        !            92: as_myself=
        !            93: case $0 in #((
        !            94:   *[\\/]* ) as_myself=$0 ;;
        !            95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !            96: for as_dir in $PATH
        !            97: do
        !            98:   IFS=$as_save_IFS
        !            99:   test -z "$as_dir" && as_dir=.
        !           100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !           101:   done
        !           102: IFS=$as_save_IFS
        !           103: 
        !           104:      ;;
        !           105: esac
        !           106: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !           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
        !           112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !           113:   exit 1
        !           114: fi
        !           115: 
        !           116: # Unset variables that we do not need and which cause bugs (e.g. in
        !           117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !           118: # suppresses any "Segmentation fault" message there.  '((' could
        !           119: # trigger a bug in pdksh 5.2.14.
        !           120: for as_var in BASH_ENV ENV MAIL MAILPATH
        !           121: do eval test x\${$as_var+set} = xset \
        !           122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !           123: done
1.62      paf       124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.150   ! moko      129: LC_ALL=C
        !           130: export LC_ALL
        !           131: LANGUAGE=C
        !           132: export LANGUAGE
        !           133: 
        !           134: # CDPATH.
        !           135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !           136: 
        !           137: if test "x$CONFIG_SHELL" = x; then
        !           138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
        !           139:   emulate sh
        !           140:   NULLCMD=:
        !           141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
        !           142:   # is contrary to our usage.  Disable this feature.
        !           143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
        !           144:   setopt NO_GLOB_SUBST
        !           145: else
        !           146:   case \`(set -o) 2>/dev/null\` in #(
        !           147:   *posix*) :
        !           148:     set -o posix ;; #(
        !           149:   *) :
        !           150:      ;;
        !           151: esac
        !           152: fi
        !           153: "
        !           154:   as_required="as_fn_return () { (exit \$1); }
        !           155: as_fn_success () { as_fn_return 0; }
        !           156: as_fn_failure () { as_fn_return 1; }
        !           157: as_fn_ret_success () { return 0; }
        !           158: as_fn_ret_failure () { return 1; }
        !           159: 
        !           160: exitcode=0
        !           161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
        !           162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
        !           163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
        !           164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
        !           165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
        !           166: 
        !           167: else
        !           168:   exitcode=1; echo positional parameters were not saved.
        !           169: fi
        !           170: test x\$exitcode = x0 || exit 1"
        !           171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
        !           172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
        !           173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
        !           174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
        !           175: 
        !           176:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
        !           177:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !           178:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           179:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           180:     PATH=/empty FPATH=/empty; export PATH FPATH
        !           181:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
        !           182:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
        !           183: test \$(( 1 + 1 )) = 2 || exit 1"
        !           184:   if (eval "$as_required") 2>/dev/null; then :
        !           185:   as_have_required=yes
        !           186: else
        !           187:   as_have_required=no
        !           188: fi
        !           189:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
        !           190: 
        !           191: else
        !           192:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           193: as_found=false
        !           194: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.62      paf       195: do
1.150   ! moko      196:   IFS=$as_save_IFS
        !           197:   test -z "$as_dir" && as_dir=.
        !           198:   as_found=:
        !           199:   case $as_dir in #(
        !           200:         /*)
        !           201:           for as_base in sh bash ksh sh5; do
        !           202:             # Try only shells that exist, to save several forks.
        !           203:             as_shell=$as_dir/$as_base
        !           204:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
        !           205:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           206:   CONFIG_SHELL=$as_shell as_have_required=yes
        !           207:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           208:   break 2
        !           209: fi
        !           210: fi
        !           211:           done;;
        !           212:        esac
        !           213:   as_found=false
        !           214: done
        !           215: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           216:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
        !           217:   CONFIG_SHELL=$SHELL as_have_required=yes
        !           218: fi; }
        !           219: IFS=$as_save_IFS
        !           220: 
        !           221: 
        !           222:       if test "x$CONFIG_SHELL" != x; then :
        !           223:   # We cannot yet assume a decent shell, so we have to provide a
        !           224:        # neutralization value for shells without unset; and this also
        !           225:        # works around shells that cannot unset nonexistent variables.
        !           226:        # Preserve -v and -x to the replacement shell.
        !           227:        BASH_ENV=/dev/null
        !           228:        ENV=/dev/null
        !           229:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           230:        export CONFIG_SHELL
        !           231:        case $- in # ((((
        !           232:          *v*x* | *x*v* ) as_opts=-vx ;;
        !           233:          *v* ) as_opts=-v ;;
        !           234:          *x* ) as_opts=-x ;;
        !           235:          * ) as_opts= ;;
        !           236:        esac
        !           237:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
        !           238: fi
        !           239: 
        !           240:     if test x$as_have_required = xno; then :
        !           241:   $as_echo "$0: This script requires a shell more modern than all"
        !           242:   $as_echo "$0: the shells that I found on your system."
        !           243:   if test x${ZSH_VERSION+set} = xset ; then
        !           244:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           245:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
1.62      paf       246:   else
1.150   ! moko      247:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
        !           248: $0: including any error possibly output before this
        !           249: $0: message. Then install a modern shell, or manually run
        !           250: $0: the script under such a shell if you do have one."
1.62      paf       251:   fi
1.150   ! moko      252:   exit 1
        !           253: fi
        !           254: fi
        !           255: fi
        !           256: SHELL=${CONFIG_SHELL-/bin/sh}
        !           257: export SHELL
        !           258: # Unset more variables known to interfere with behavior of common tools.
        !           259: CLICOLOR_FORCE= GREP_OPTIONS=
        !           260: unset CLICOLOR_FORCE GREP_OPTIONS
        !           261: 
        !           262: ## --------------------- ##
        !           263: ## M4sh Shell Functions. ##
        !           264: ## --------------------- ##
        !           265: # as_fn_unset VAR
        !           266: # ---------------
        !           267: # Portably unset VAR.
        !           268: as_fn_unset ()
        !           269: {
        !           270:   { eval $1=; unset $1;}
        !           271: }
        !           272: as_unset=as_fn_unset
        !           273: 
        !           274: # as_fn_set_status STATUS
        !           275: # -----------------------
        !           276: # Set $? to STATUS, without forking.
        !           277: as_fn_set_status ()
        !           278: {
        !           279:   return $1
        !           280: } # as_fn_set_status
        !           281: 
        !           282: # as_fn_exit STATUS
        !           283: # -----------------
        !           284: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !           285: as_fn_exit ()
        !           286: {
        !           287:   set +e
        !           288:   as_fn_set_status $1
        !           289:   exit $1
        !           290: } # as_fn_exit
        !           291: 
        !           292: # as_fn_mkdir_p
        !           293: # -------------
        !           294: # Create "$as_dir" as a directory, including parents if necessary.
        !           295: as_fn_mkdir_p ()
        !           296: {
        !           297: 
        !           298:   case $as_dir in #(
        !           299:   -*) as_dir=./$as_dir;;
        !           300:   esac
        !           301:   test -d "$as_dir" || eval $as_mkdir_p || {
        !           302:     as_dirs=
        !           303:     while :; do
        !           304:       case $as_dir in #(
        !           305:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !           306:       *) as_qdir=$as_dir;;
        !           307:       esac
        !           308:       as_dirs="'$as_qdir' $as_dirs"
        !           309:       as_dir=`$as_dirname -- "$as_dir" ||
        !           310: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !           311:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !           312:         X"$as_dir" : 'X\(//\)$' \| \
        !           313:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !           314: $as_echo X"$as_dir" |
        !           315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !           316:            s//\1/
        !           317:            q
        !           318:          }
        !           319:          /^X\(\/\/\)[^/].*/{
        !           320:            s//\1/
        !           321:            q
        !           322:          }
        !           323:          /^X\(\/\/\)$/{
        !           324:            s//\1/
        !           325:            q
        !           326:          }
        !           327:          /^X\(\/\).*/{
        !           328:            s//\1/
        !           329:            q
        !           330:          }
        !           331:          s/.*/./; q'`
        !           332:       test -d "$as_dir" && break
        !           333:     done
        !           334:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !           335:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !           336: 
        !           337: 
        !           338: } # as_fn_mkdir_p
        !           339: # as_fn_append VAR VALUE
        !           340: # ----------------------
        !           341: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !           342: # advantage of any shell optimizations that allow amortized linear growth over
        !           343: # repeated appends, instead of the typical quadratic growth present in naive
        !           344: # implementations.
        !           345: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !           346:   eval 'as_fn_append ()
        !           347:   {
        !           348:     eval $1+=\$2
        !           349:   }'
        !           350: else
        !           351:   as_fn_append ()
        !           352:   {
        !           353:     eval $1=\$$1\$2
        !           354:   }
        !           355: fi # as_fn_append
        !           356: 
        !           357: # as_fn_arith ARG...
        !           358: # ------------------
        !           359: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !           360: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !           361: # must be portable across $(()) and expr.
        !           362: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !           363:   eval 'as_fn_arith ()
        !           364:   {
        !           365:     as_val=$(( $* ))
        !           366:   }'
        !           367: else
        !           368:   as_fn_arith ()
        !           369:   {
        !           370:     as_val=`expr "$@" || test $? -eq 1`
        !           371:   }
        !           372: fi # as_fn_arith
        !           373: 
        !           374: 
        !           375: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !           376: # ----------------------------------------
        !           377: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !           378: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !           379: # script with STATUS, using 1 if that was 0.
        !           380: as_fn_error ()
        !           381: {
        !           382:   as_status=$1; test $as_status -eq 0 && as_status=1
        !           383:   if test "$4"; then
        !           384:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !           385:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !           386:   fi
        !           387:   $as_echo "$as_me: error: $2" >&2
        !           388:   as_fn_exit $as_status
        !           389: } # as_fn_error
1.62      paf       390: 
1.150   ! moko      391: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf       393:   as_expr=expr
                    394: else
                    395:   as_expr=false
                    396: fi
                    397: 
1.150   ! moko      398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf       399:   as_basename=basename
                    400: else
                    401:   as_basename=false
                    402: fi
                    403: 
1.150   ! moko      404: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !           405:   as_dirname=dirname
        !           406: else
        !           407:   as_dirname=false
        !           408: fi
1.62      paf       409: 
1.150   ! moko      410: as_me=`$as_basename -- "$0" ||
1.62      paf       411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    412:         X"$0" : 'X\(//\)$' \| \
1.150   ! moko      413:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !           414: $as_echo X/"$0" |
        !           415:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !           416:            s//\1/
        !           417:            q
        !           418:          }
        !           419:          /^X\/\(\/\/\)$/{
        !           420:            s//\1/
        !           421:            q
        !           422:          }
        !           423:          /^X\/\(\/\).*/{
        !           424:            s//\1/
        !           425:            q
        !           426:          }
        !           427:          s/.*/./; q'`
1.62      paf       428: 
                    429: # Avoid depending upon Character Ranges.
                    430: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    431: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    432: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    433: as_cr_digits='0123456789'
                    434: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    435: 
                    436: 
1.150   ! moko      437:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
        !           438:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
        !           439:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
        !           440:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
        !           441:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
        !           442:   sed -n '
        !           443:     p
        !           444:     /[$]LINENO/=
        !           445:   ' <$as_myself |
1.62      paf       446:     sed '
1.150   ! moko      447:       s/[$]LINENO.*/&-/
        !           448:       t lineno
        !           449:       b
        !           450:       :lineno
1.62      paf       451:       N
1.150   ! moko      452:       :loop
        !           453:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.62      paf       454:       t loop
1.150   ! moko      455:       s/-\n.*//
1.62      paf       456:     ' >$as_me.lineno &&
1.150   ! moko      457:   chmod +x "$as_me.lineno" ||
        !           458:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.62      paf       459: 
                    460:   # Don't try to exec as it changes $[0], causing all sort of problems
                    461:   # (the dirname of $[0] is not the place where we might find the
1.150   ! moko      462:   # original and so on.  Autoconf is especially sensitive to this).
        !           463:   . "./$as_me.lineno"
1.62      paf       464:   # Exit status is that of the last command.
                    465:   exit
                    466: }
                    467: 
1.150   ! moko      468: ECHO_C= ECHO_N= ECHO_T=
        !           469: case `echo -n x` in #(((((
        !           470: -n*)
        !           471:   case `echo 'xy\c'` in
        !           472:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !           473:   xy)  ECHO_C='\c';;
        !           474:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !           475:        ECHO_T='        ';;
        !           476:   esac;;
        !           477: *)
        !           478:   ECHO_N='-n';;
1.62      paf       479: esac
                    480: 
1.150   ! moko      481: rm -f conf$$ conf$$.exe conf$$.file
        !           482: if test -d conf$$.dir; then
        !           483:   rm -f conf$$.dir/conf$$.file
1.62      paf       484: else
1.150   ! moko      485:   rm -f conf$$.dir
        !           486:   mkdir conf$$.dir 2>/dev/null
1.62      paf       487: fi
1.150   ! moko      488: if (echo >conf$$.file) 2>/dev/null; then
        !           489:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !           490:     as_ln_s='ln -s'
        !           491:     # ... but there are two gotchas:
        !           492:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !           493:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !           494:     # In both cases, we have to default to `cp -p'.
        !           495:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !           496:       as_ln_s='cp -p'
        !           497:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !           498:     as_ln_s=ln
        !           499:   else
1.62      paf       500:     as_ln_s='cp -p'
                    501:   fi
                    502: else
                    503:   as_ln_s='cp -p'
                    504: fi
1.150   ! moko      505: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !           506: rmdir conf$$.dir 2>/dev/null
1.62      paf       507: 
                    508: if mkdir -p . 2>/dev/null; then
1.150   ! moko      509:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf       510: else
1.86      paf       511:   test -d ./-p && rmdir ./-p
1.62      paf       512:   as_mkdir_p=false
                    513: fi
                    514: 
1.150   ! moko      515: if test -x / >/dev/null 2>&1; then
        !           516:   as_test_x='test -x'
        !           517: else
        !           518:   if ls -dL / >/dev/null 2>&1; then
        !           519:     as_ls_L_option=L
        !           520:   else
        !           521:     as_ls_L_option=
        !           522:   fi
        !           523:   as_test_x='
        !           524:     eval sh -c '\''
        !           525:       if test -d "$1"; then
        !           526:        test -d "$1/.";
        !           527:       else
        !           528:        case $1 in #(
        !           529:        -*)set "./$1";;
        !           530:        esac;
        !           531:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
        !           532:        ???[sx]*):;;*)false;;esac;fi
        !           533:     '\'' sh
        !           534:   '
        !           535: fi
        !           536: as_executable_p=$as_test_x
1.62      paf       537: 
                    538: # Sed expression to map a string onto a valid CPP name.
1.86      paf       539: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       540: 
                    541: # Sed expression to map a string onto a valid variable name.
1.86      paf       542: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       543: 
1.128     moko      544: lt_ltdl_dir='src/lib/ltdl'
                    545: 
                    546: SHELL=${CONFIG_SHELL-/bin/sh}
                    547: 
                    548: lt_dlopen_dir="$lt_ltdl_dir"
                    549: 
1.1       paf       550: 
1.150   ! moko      551: test -n "$DJDIR" || exec 7<&0 </dev/null
        !           552: exec 6>&1
        !           553: 
1.62      paf       554: # Name of the host.
1.150   ! moko      555: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.62      paf       556: # so uname gets run too.
                    557: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    558: 
                    559: #
                    560: # Initializations.
                    561: #
1.1       paf       562: ac_default_prefix=/usr/local
1.150   ! moko      563: ac_clean_files=
1.62      paf       564: ac_config_libobj_dir=.
1.150   ! moko      565: LIBOBJS=
1.62      paf       566: cross_compiling=no
                    567: subdirs=
                    568: MFLAGS=
                    569: MAKEFLAGS=
                    570: 
                    571: # Identity of this package.
1.128     moko      572: PACKAGE_NAME='parser'
                    573: PACKAGE_TARNAME='parser'
1.147     moko      574: PACKAGE_VERSION='3.4.2'
                    575: PACKAGE_STRING='parser 3.4.2'
1.128     moko      576: PACKAGE_BUGREPORT=''
1.150   ! moko      577: PACKAGE_URL=''
1.62      paf       578: 
                    579: ac_unique_file="README"
                    580: # Factoring default headers for most tests.
                    581: ac_includes_default="\
                    582: #include <stdio.h>
1.150   ! moko      583: #ifdef HAVE_SYS_TYPES_H
1.62      paf       584: # include <sys/types.h>
                    585: #endif
1.150   ! moko      586: #ifdef HAVE_SYS_STAT_H
1.62      paf       587: # include <sys/stat.h>
                    588: #endif
1.150   ! moko      589: #ifdef STDC_HEADERS
1.62      paf       590: # include <stdlib.h>
                    591: # include <stddef.h>
                    592: #else
1.150   ! moko      593: # ifdef HAVE_STDLIB_H
1.62      paf       594: #  include <stdlib.h>
                    595: # endif
                    596: #endif
1.150   ! moko      597: #ifdef HAVE_STRING_H
        !           598: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.62      paf       599: #  include <memory.h>
                    600: # endif
                    601: # include <string.h>
                    602: #endif
1.150   ! moko      603: #ifdef HAVE_STRINGS_H
1.62      paf       604: # include <strings.h>
                    605: #endif
1.150   ! moko      606: #ifdef HAVE_INTTYPES_H
1.62      paf       607: # include <inttypes.h>
                    608: #endif
1.150   ! moko      609: #ifdef HAVE_STDINT_H
        !           610: # include <stdint.h>
        !           611: #endif
        !           612: #ifdef HAVE_UNISTD_H
1.62      paf       613: # include <unistd.h>
                    614: #endif"
                    615: 
1.150   ! moko      616: enable_option_checking=no
        !           617: ac_subst_vars='ltdl_LTLIBOBJS
        !           618: ltdl_LIBOBJS
        !           619: am__EXEEXT_FALSE
        !           620: am__EXEEXT_TRUE
        !           621: LTLIBOBJS
        !           622: LIBOBJS
        !           623: LTDLOPEN
        !           624: LT_CONFIG_H
        !           625: subdirs
        !           626: CONVENIENCE_LTDL_FALSE
        !           627: CONVENIENCE_LTDL_TRUE
        !           628: INSTALL_LTDL_FALSE
        !           629: INSTALL_LTDL_TRUE
        !           630: ARGZ_H
        !           631: sys_symbol_underscore
        !           632: LIBADD_DL
        !           633: LT_DLPREOPEN
        !           634: LIBADD_DLD_LINK
        !           635: LIBADD_SHL_LOAD
        !           636: LIBADD_DLOPEN
        !           637: LT_DLLOADERS
        !           638: INCLTDL
        !           639: LTDLINCL
        !           640: LTDLDEPS
        !           641: LIBLTDL
        !           642: CXXCPP
        !           643: CPP
        !           644: OTOOL64
        !           645: OTOOL
        !           646: LIPO
        !           647: NMEDIT
        !           648: DSYMUTIL
        !           649: MANIFEST_TOOL
        !           650: RANLIB
        !           651: ac_ct_AR
        !           652: AR
        !           653: LN_S
        !           654: NM
        !           655: ac_ct_DUMPBIN
        !           656: DUMPBIN
        !           657: LD
        !           658: FGREP
        !           659: EGREP
        !           660: GREP
        !           661: SED
        !           662: LIBTOOL
        !           663: OBJDUMP
        !           664: DLLTOOL
        !           665: AS
        !           666: COMPILE_APACHE_MODULE_FALSE
        !           667: COMPILE_APACHE_MODULE_TRUE
        !           668: APACHE_CFLAGS
        !           669: APACHE_INC
        !           670: APACHE
        !           671: MIME_LIBS
        !           672: MIME_INCLUDES
        !           673: XML_LIBS
        !           674: XML_INCLUDES
        !           675: PCRE_LIBS
        !           676: PCRE_INCLUDES
        !           677: GC_LIBS
        !           678: dll_extension
        !           679: am__fastdepCC_FALSE
        !           680: am__fastdepCC_TRUE
        !           681: CCDEPMODE
        !           682: ac_ct_CC
        !           683: CFLAGS
        !           684: CC
        !           685: am__fastdepCXX_FALSE
        !           686: am__fastdepCXX_TRUE
        !           687: CXXDEPMODE
        !           688: AMDEPBACKSLASH
        !           689: AMDEP_FALSE
        !           690: AMDEP_TRUE
        !           691: am__quote
        !           692: am__include
        !           693: DEPDIR
        !           694: OBJEXT
        !           695: EXEEXT
        !           696: ac_ct_CXX
        !           697: CPPFLAGS
        !           698: LDFLAGS
        !           699: CXXFLAGS
        !           700: CXX
        !           701: YFLAGS
        !           702: YACC
        !           703: host_os
        !           704: host_vendor
        !           705: host_cpu
        !           706: host
        !           707: build_os
        !           708: build_vendor
        !           709: build_cpu
        !           710: build
        !           711: P3S
        !           712: am__untar
        !           713: am__tar
        !           714: AMTAR
        !           715: am__leading_dot
        !           716: SET_MAKE
        !           717: AWK
        !           718: mkdir_p
        !           719: MKDIR_P
        !           720: INSTALL_STRIP_PROGRAM
        !           721: STRIP
        !           722: install_sh
        !           723: MAKEINFO
        !           724: AUTOHEADER
        !           725: AUTOMAKE
        !           726: AUTOCONF
        !           727: ACLOCAL
        !           728: VERSION
        !           729: PACKAGE
        !           730: CYGPATH_W
        !           731: am__isrc
        !           732: INSTALL_DATA
        !           733: INSTALL_SCRIPT
        !           734: INSTALL_PROGRAM
        !           735: target_alias
        !           736: host_alias
        !           737: build_alias
        !           738: LIBS
        !           739: ECHO_T
        !           740: ECHO_N
        !           741: ECHO_C
        !           742: DEFS
        !           743: mandir
        !           744: localedir
        !           745: libdir
        !           746: psdir
        !           747: pdfdir
        !           748: dvidir
        !           749: htmldir
        !           750: infodir
        !           751: docdir
        !           752: oldincludedir
        !           753: includedir
        !           754: localstatedir
        !           755: sharedstatedir
        !           756: sysconfdir
        !           757: datadir
        !           758: datarootdir
        !           759: libexecdir
        !           760: sbindir
        !           761: bindir
        !           762: program_transform_name
        !           763: prefix
        !           764: exec_prefix
        !           765: PACKAGE_URL
        !           766: PACKAGE_BUGREPORT
        !           767: PACKAGE_STRING
        !           768: PACKAGE_VERSION
        !           769: PACKAGE_TARNAME
        !           770: PACKAGE_NAME
        !           771: PATH_SEPARATOR
        !           772: SHELL'
1.62      paf       773: ac_subst_files=''
1.150   ! moko      774: ac_user_opts='
        !           775: enable_option_checking
        !           776: enable_dependency_tracking
        !           777: with_build_warnings
        !           778: with_assertions
        !           779: with_pathlink
        !           780: with_sjlj_exceptions
        !           781: enable_safe_mode
        !           782: enable_execs
        !           783: enable_stringstream
        !           784: with_gc
        !           785: with_pcre
        !           786: with_xml
        !           787: with_glib_config
        !           788: with_shared_mailreceive
        !           789: with_static_mailreceive
        !           790: with_sendmail
        !           791: with_apache
        !           792: with_pic
        !           793: enable_shared
        !           794: enable_static
        !           795: enable_fast_install
        !           796: with_gnu_ld
        !           797: with_sysroot
        !           798: enable_libtool_lock
        !           799: with_included_ltdl
        !           800: with_ltdl_include
        !           801: with_ltdl_lib
        !           802: enable_ltdl_install
        !           803: '
        !           804:       ac_precious_vars='build_alias
        !           805: host_alias
        !           806: target_alias
        !           807: YACC
        !           808: YFLAGS
        !           809: CXX
        !           810: CXXFLAGS
        !           811: LDFLAGS
        !           812: LIBS
        !           813: CPPFLAGS
        !           814: CCC
        !           815: CC
        !           816: CFLAGS
        !           817: CPP
        !           818: CXXCPP'
        !           819: ac_subdirs_all='src/lib/ltdl'
1.1       paf       820: 
                    821: # Initialize some variables set by options.
1.62      paf       822: ac_init_help=
                    823: ac_init_version=false
1.150   ! moko      824: ac_unrecognized_opts=
        !           825: ac_unrecognized_sep=
1.1       paf       826: # The variables have the same names as the options, with
                    827: # dashes changed to underlines.
1.62      paf       828: cache_file=/dev/null
1.1       paf       829: exec_prefix=NONE
                    830: no_create=
                    831: no_recursion=
                    832: prefix=NONE
                    833: program_prefix=NONE
                    834: program_suffix=NONE
                    835: program_transform_name=s,x,x,
                    836: silent=
                    837: site=
                    838: srcdir=
                    839: verbose=
                    840: x_includes=NONE
                    841: x_libraries=NONE
1.62      paf       842: 
                    843: # Installation directory options.
                    844: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    845: # and all the variables that are supposed to be based on exec_prefix
                    846: # by default will actually change.
                    847: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150   ! moko      848: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       849: bindir='${exec_prefix}/bin'
                    850: sbindir='${exec_prefix}/sbin'
                    851: libexecdir='${exec_prefix}/libexec'
1.150   ! moko      852: datarootdir='${prefix}/share'
        !           853: datadir='${datarootdir}'
1.1       paf       854: sysconfdir='${prefix}/etc'
                    855: sharedstatedir='${prefix}/com'
                    856: localstatedir='${prefix}/var'
                    857: includedir='${prefix}/include'
                    858: oldincludedir='/usr/include'
1.150   ! moko      859: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
        !           860: infodir='${datarootdir}/info'
        !           861: htmldir='${docdir}'
        !           862: dvidir='${docdir}'
        !           863: pdfdir='${docdir}'
        !           864: psdir='${docdir}'
        !           865: libdir='${exec_prefix}/lib'
        !           866: localedir='${datarootdir}/locale'
        !           867: mandir='${datarootdir}/man'
1.1       paf       868: 
                    869: ac_prev=
1.150   ! moko      870: ac_dashdash=
1.1       paf       871: for ac_option
                    872: do
                    873:   # If the previous option needs an argument, assign it.
                    874:   if test -n "$ac_prev"; then
1.150   ! moko      875:     eval $ac_prev=\$ac_option
1.1       paf       876:     ac_prev=
                    877:     continue
                    878:   fi
                    879: 
1.150   ! moko      880:   case $ac_option in
        !           881:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
        !           882:   *=)   ac_optarg= ;;
        !           883:   *)    ac_optarg=yes ;;
        !           884:   esac
1.1       paf       885: 
                    886:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    887: 
1.150   ! moko      888:   case $ac_dashdash$ac_option in
        !           889:   --)
        !           890:     ac_dashdash=yes ;;
1.1       paf       891: 
                    892:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    893:     ac_prev=bindir ;;
                    894:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       895:     bindir=$ac_optarg ;;
1.1       paf       896: 
                    897:   -build | --build | --buil | --bui | --bu)
1.62      paf       898:     ac_prev=build_alias ;;
1.1       paf       899:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       900:     build_alias=$ac_optarg ;;
1.1       paf       901: 
                    902:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    903:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    904:     ac_prev=cache_file ;;
                    905:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    906:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       907:     cache_file=$ac_optarg ;;
                    908: 
                    909:   --config-cache | -C)
                    910:     cache_file=config.cache ;;
1.1       paf       911: 
1.150   ! moko      912:   -datadir | --datadir | --datadi | --datad)
1.1       paf       913:     ac_prev=datadir ;;
1.150   ! moko      914:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       915:     datadir=$ac_optarg ;;
1.1       paf       916: 
1.150   ! moko      917:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
        !           918:   | --dataroo | --dataro | --datar)
        !           919:     ac_prev=datarootdir ;;
        !           920:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
        !           921:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
        !           922:     datarootdir=$ac_optarg ;;
        !           923: 
1.1       paf       924:   -disable-* | --disable-*)
1.150   ! moko      925:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       926:     # Reject names that are not valid shell variable names.
1.150   ! moko      927:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           928:       as_fn_error $? "invalid feature name: $ac_useropt"
        !           929:     ac_useropt_orig=$ac_useropt
        !           930:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           931:     case $ac_user_opts in
        !           932:       *"
        !           933: "enable_$ac_useropt"
        !           934: "*) ;;
        !           935:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
        !           936:         ac_unrecognized_sep=', ';;
        !           937:     esac
        !           938:     eval enable_$ac_useropt=no ;;
        !           939: 
        !           940:   -docdir | --docdir | --docdi | --doc | --do)
        !           941:     ac_prev=docdir ;;
        !           942:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
        !           943:     docdir=$ac_optarg ;;
        !           944: 
        !           945:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
        !           946:     ac_prev=dvidir ;;
        !           947:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
        !           948:     dvidir=$ac_optarg ;;
1.1       paf       949: 
                    950:   -enable-* | --enable-*)
1.150   ! moko      951:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       952:     # Reject names that are not valid shell variable names.
1.150   ! moko      953:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !           954:       as_fn_error $? "invalid feature name: $ac_useropt"
        !           955:     ac_useropt_orig=$ac_useropt
        !           956:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !           957:     case $ac_user_opts in
        !           958:       *"
        !           959: "enable_$ac_useropt"
        !           960: "*) ;;
        !           961:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
        !           962:         ac_unrecognized_sep=', ';;
1.1       paf       963:     esac
1.150   ! moko      964:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       965: 
                    966:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    967:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    968:   | --exec | --exe | --ex)
                    969:     ac_prev=exec_prefix ;;
                    970:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    971:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    972:   | --exec=* | --exe=* | --ex=*)
1.62      paf       973:     exec_prefix=$ac_optarg ;;
1.1       paf       974: 
                    975:   -gas | --gas | --ga | --g)
                    976:     # Obsolete; use --with-gas.
                    977:     with_gas=yes ;;
                    978: 
1.62      paf       979:   -help | --help | --hel | --he | -h)
                    980:     ac_init_help=long ;;
                    981:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    982:     ac_init_help=recursive ;;
                    983:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    984:     ac_init_help=short ;;
1.1       paf       985: 
                    986:   -host | --host | --hos | --ho)
1.62      paf       987:     ac_prev=host_alias ;;
1.1       paf       988:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf       989:     host_alias=$ac_optarg ;;
1.1       paf       990: 
1.150   ! moko      991:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
        !           992:     ac_prev=htmldir ;;
        !           993:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
        !           994:   | --ht=*)
        !           995:     htmldir=$ac_optarg ;;
        !           996: 
1.1       paf       997:   -includedir | --includedir | --includedi | --included | --include \
                    998:   | --includ | --inclu | --incl | --inc)
                    999:     ac_prev=includedir ;;
                   1000:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1001:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1002:     includedir=$ac_optarg ;;
1.1       paf      1003: 
                   1004:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1005:     ac_prev=infodir ;;
                   1006:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1007:     infodir=$ac_optarg ;;
1.1       paf      1008: 
                   1009:   -libdir | --libdir | --libdi | --libd)
                   1010:     ac_prev=libdir ;;
                   1011:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1012:     libdir=$ac_optarg ;;
1.1       paf      1013: 
                   1014:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1015:   | --libexe | --libex | --libe)
                   1016:     ac_prev=libexecdir ;;
                   1017:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1018:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1019:     libexecdir=$ac_optarg ;;
1.1       paf      1020: 
1.150   ! moko     1021:   -localedir | --localedir | --localedi | --localed | --locale)
        !          1022:     ac_prev=localedir ;;
        !          1023:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
        !          1024:     localedir=$ac_optarg ;;
        !          1025: 
1.1       paf      1026:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150   ! moko     1027:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1028:     ac_prev=localstatedir ;;
                   1029:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150   ! moko     1030:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1031:     localstatedir=$ac_optarg ;;
1.1       paf      1032: 
                   1033:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1034:     ac_prev=mandir ;;
                   1035:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1036:     mandir=$ac_optarg ;;
1.1       paf      1037: 
                   1038:   -nfp | --nfp | --nf)
                   1039:     # Obsolete; use --without-fp.
                   1040:     with_fp=no ;;
                   1041: 
                   1042:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1043:   | --no-cr | --no-c | -n)
1.1       paf      1044:     no_create=yes ;;
                   1045: 
                   1046:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1047:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1048:     no_recursion=yes ;;
                   1049: 
                   1050:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1051:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1052:   | --oldin | --oldi | --old | --ol | --o)
                   1053:     ac_prev=oldincludedir ;;
                   1054:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1055:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1056:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1057:     oldincludedir=$ac_optarg ;;
1.1       paf      1058: 
                   1059:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1060:     ac_prev=prefix ;;
                   1061:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1062:     prefix=$ac_optarg ;;
1.1       paf      1063: 
                   1064:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1065:   | --program-pre | --program-pr | --program-p)
                   1066:     ac_prev=program_prefix ;;
                   1067:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1068:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1069:     program_prefix=$ac_optarg ;;
1.1       paf      1070: 
                   1071:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1072:   | --program-suf | --program-su | --program-s)
                   1073:     ac_prev=program_suffix ;;
                   1074:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1075:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1076:     program_suffix=$ac_optarg ;;
1.1       paf      1077: 
                   1078:   -program-transform-name | --program-transform-name \
                   1079:   | --program-transform-nam | --program-transform-na \
                   1080:   | --program-transform-n | --program-transform- \
                   1081:   | --program-transform | --program-transfor \
                   1082:   | --program-transfo | --program-transf \
                   1083:   | --program-trans | --program-tran \
                   1084:   | --progr-tra | --program-tr | --program-t)
                   1085:     ac_prev=program_transform_name ;;
                   1086:   -program-transform-name=* | --program-transform-name=* \
                   1087:   | --program-transform-nam=* | --program-transform-na=* \
                   1088:   | --program-transform-n=* | --program-transform-=* \
                   1089:   | --program-transform=* | --program-transfor=* \
                   1090:   | --program-transfo=* | --program-transf=* \
                   1091:   | --program-trans=* | --program-tran=* \
                   1092:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1093:     program_transform_name=$ac_optarg ;;
1.1       paf      1094: 
1.150   ! moko     1095:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
        !          1096:     ac_prev=pdfdir ;;
        !          1097:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
        !          1098:     pdfdir=$ac_optarg ;;
        !          1099: 
        !          1100:   -psdir | --psdir | --psdi | --psd | --ps)
        !          1101:     ac_prev=psdir ;;
        !          1102:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
        !          1103:     psdir=$ac_optarg ;;
        !          1104: 
1.1       paf      1105:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1106:   | -silent | --silent | --silen | --sile | --sil)
                   1107:     silent=yes ;;
                   1108: 
                   1109:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1110:     ac_prev=sbindir ;;
                   1111:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1112:   | --sbi=* | --sb=*)
1.62      paf      1113:     sbindir=$ac_optarg ;;
1.1       paf      1114: 
                   1115:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1116:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1117:   | --sharedst | --shareds | --shared | --share | --shar \
                   1118:   | --sha | --sh)
                   1119:     ac_prev=sharedstatedir ;;
                   1120:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1121:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1122:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1123:   | --sha=* | --sh=*)
1.62      paf      1124:     sharedstatedir=$ac_optarg ;;
1.1       paf      1125: 
                   1126:   -site | --site | --sit)
                   1127:     ac_prev=site ;;
                   1128:   -site=* | --site=* | --sit=*)
1.62      paf      1129:     site=$ac_optarg ;;
1.1       paf      1130: 
                   1131:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1132:     ac_prev=srcdir ;;
                   1133:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1134:     srcdir=$ac_optarg ;;
1.1       paf      1135: 
                   1136:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1137:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1138:     ac_prev=sysconfdir ;;
                   1139:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1140:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1141:     sysconfdir=$ac_optarg ;;
1.1       paf      1142: 
                   1143:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1144:     ac_prev=target_alias ;;
1.1       paf      1145:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1146:     target_alias=$ac_optarg ;;
1.1       paf      1147: 
                   1148:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1149:     verbose=yes ;;
                   1150: 
1.62      paf      1151:   -version | --version | --versio | --versi | --vers | -V)
                   1152:     ac_init_version=: ;;
1.1       paf      1153: 
                   1154:   -with-* | --with-*)
1.150   ! moko     1155:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1156:     # Reject names that are not valid shell variable names.
1.150   ! moko     1157:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1158:       as_fn_error $? "invalid package name: $ac_useropt"
        !          1159:     ac_useropt_orig=$ac_useropt
        !          1160:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1161:     case $ac_user_opts in
        !          1162:       *"
        !          1163: "with_$ac_useropt"
        !          1164: "*) ;;
        !          1165:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
        !          1166:         ac_unrecognized_sep=', ';;
1.1       paf      1167:     esac
1.150   ! moko     1168:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1169: 
                   1170:   -without-* | --without-*)
1.150   ! moko     1171:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1172:     # Reject names that are not valid shell variable names.
1.150   ! moko     1173:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
        !          1174:       as_fn_error $? "invalid package name: $ac_useropt"
        !          1175:     ac_useropt_orig=$ac_useropt
        !          1176:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
        !          1177:     case $ac_user_opts in
        !          1178:       *"
        !          1179: "with_$ac_useropt"
        !          1180: "*) ;;
        !          1181:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
        !          1182:         ac_unrecognized_sep=', ';;
        !          1183:     esac
        !          1184:     eval with_$ac_useropt=no ;;
1.1       paf      1185: 
                   1186:   --x)
                   1187:     # Obsolete; use --with-x.
                   1188:     with_x=yes ;;
                   1189: 
                   1190:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1191:   | --x-incl | --x-inc | --x-in | --x-i)
                   1192:     ac_prev=x_includes ;;
                   1193:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1194:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1195:     x_includes=$ac_optarg ;;
1.1       paf      1196: 
                   1197:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1198:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1199:     ac_prev=x_libraries ;;
                   1200:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1201:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1202:     x_libraries=$ac_optarg ;;
1.1       paf      1203: 
1.150   ! moko     1204:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
        !          1205: Try \`$0 --help' for more information"
1.1       paf      1206:     ;;
                   1207: 
1.62      paf      1208:   *=*)
                   1209:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1210:     # Reject names that are not valid shell variable names.
1.150   ! moko     1211:     case $ac_envvar in #(
        !          1212:       '' | [0-9]* | *[!_$as_cr_alnum]* )
        !          1213:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
        !          1214:     esac
        !          1215:     eval $ac_envvar=\$ac_optarg
1.62      paf      1216:     export $ac_envvar ;;
                   1217: 
1.1       paf      1218:   *)
1.62      paf      1219:     # FIXME: should be removed in autoconf 3.0.
1.150   ! moko     1220:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1221:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150   ! moko     1222:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
        !          1223:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1224:     ;;
                   1225: 
                   1226:   esac
                   1227: done
                   1228: 
                   1229: if test -n "$ac_prev"; then
1.62      paf      1230:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150   ! moko     1231:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1232: fi
                   1233: 
1.150   ! moko     1234: if test -n "$ac_unrecognized_opts"; then
        !          1235:   case $enable_option_checking in
        !          1236:     no) ;;
        !          1237:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
        !          1238:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
        !          1239:   esac
        !          1240: fi
        !          1241: 
        !          1242: # Check all directory arguments for consistency.
        !          1243: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
        !          1244:                datadir sysconfdir sharedstatedir localstatedir includedir \
        !          1245:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
        !          1246:                libdir localedir mandir
1.62      paf      1247: do
1.150   ! moko     1248:   eval ac_val=\$$ac_var
        !          1249:   # Remove trailing slashes.
1.62      paf      1250:   case $ac_val in
1.150   ! moko     1251:     */ )
        !          1252:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
        !          1253:       eval $ac_var=\$ac_val;;
1.62      paf      1254:   esac
1.150   ! moko     1255:   # Be sure to have absolute directory names.
1.62      paf      1256:   case $ac_val in
1.150   ! moko     1257:     [\\/$]* | ?:[\\/]* )  continue;;
        !          1258:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1259:   esac
1.150   ! moko     1260:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1261: done
                   1262: 
1.62      paf      1263: # There might be people who depend on the old broken behavior: `$host'
                   1264: # used to hold the argument of --host etc.
                   1265: # FIXME: To remove some day.
                   1266: build=$build_alias
                   1267: host=$host_alias
                   1268: target=$target_alias
                   1269: 
                   1270: # FIXME: To remove some day.
                   1271: if test "x$host_alias" != x; then
                   1272:   if test "x$build_alias" = x; then
                   1273:     cross_compiling=maybe
1.150   ! moko     1274:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
        !          1275:     If a cross compiler is detected then cross compile mode will be used" >&2
1.62      paf      1276:   elif test "x$build_alias" != "x$host_alias"; then
                   1277:     cross_compiling=yes
                   1278:   fi
                   1279: fi
                   1280: 
                   1281: ac_tool_prefix=
                   1282: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1283: 
1.62      paf      1284: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1285: 
                   1286: 
1.150   ! moko     1287: ac_pwd=`pwd` && test -n "$ac_pwd" &&
        !          1288: ac_ls_di=`ls -di .` &&
        !          1289: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
        !          1290:   as_fn_error $? "working directory cannot be determined"
        !          1291: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
        !          1292:   as_fn_error $? "pwd does not report name of working directory"
        !          1293: 
        !          1294: 
1.1       paf      1295: # Find the source files, if location was not specified.
                   1296: if test -z "$srcdir"; then
                   1297:   ac_srcdir_defaulted=yes
1.150   ! moko     1298:   # Try the directory containing this script, then the parent directory.
        !          1299:   ac_confdir=`$as_dirname -- "$as_myself" ||
        !          1300: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          1301:         X"$as_myself" : 'X\(//\)[^/]' \| \
        !          1302:         X"$as_myself" : 'X\(//\)$' \| \
        !          1303:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
        !          1304: $as_echo X"$as_myself" |
        !          1305:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          1306:            s//\1/
        !          1307:            q
        !          1308:          }
        !          1309:          /^X\(\/\/\)[^/].*/{
        !          1310:            s//\1/
        !          1311:            q
        !          1312:          }
        !          1313:          /^X\(\/\/\)$/{
        !          1314:            s//\1/
        !          1315:            q
        !          1316:          }
        !          1317:          /^X\(\/\).*/{
        !          1318:            s//\1/
        !          1319:            q
        !          1320:          }
        !          1321:          s/.*/./; q'`
1.1       paf      1322:   srcdir=$ac_confdir
1.150   ! moko     1323:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1324:     srcdir=..
                   1325:   fi
                   1326: else
                   1327:   ac_srcdir_defaulted=no
                   1328: fi
1.150   ! moko     1329: if test ! -r "$srcdir/$ac_unique_file"; then
        !          1330:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
        !          1331:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
        !          1332: fi
        !          1333: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
        !          1334: ac_abs_confdir=`(
        !          1335:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
        !          1336:        pwd)`
        !          1337: # When building in place, set srcdir=.
        !          1338: if test "$ac_abs_confdir" = "$ac_pwd"; then
        !          1339:   srcdir=.
        !          1340: fi
        !          1341: # Remove unnecessary trailing slashes from srcdir.
        !          1342: # Double slashes in file names in object file debugging info
        !          1343: # mess up M-x gdb in Emacs.
        !          1344: case $srcdir in
        !          1345: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
        !          1346: esac
        !          1347: for ac_var in $ac_precious_vars; do
        !          1348:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
        !          1349:   eval ac_env_${ac_var}_value=\$${ac_var}
        !          1350:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
        !          1351:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
        !          1352: done
1.62      paf      1353: 
                   1354: #
                   1355: # Report the --help message.
                   1356: #
                   1357: if test "$ac_init_help" = "long"; then
                   1358:   # Omit some internal or obsolete options to make the list less imposing.
                   1359:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1360:   cat <<_ACEOF
1.147     moko     1361: \`configure' configures parser 3.4.2 to adapt to many kinds of systems.
1.62      paf      1362: 
                   1363: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1364: 
                   1365: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1366: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1367: 
                   1368: Defaults for the options are specified in brackets.
                   1369: 
                   1370: Configuration:
                   1371:   -h, --help              display this help and exit
                   1372:       --help=short        display options specific to this package
                   1373:       --help=recursive    display the short help of all the included packages
                   1374:   -V, --version           display version information and exit
1.150   ! moko     1375:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1376:       --cache-file=FILE   cache test results in FILE [disabled]
                   1377:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1378:   -n, --no-create         do not create output files
                   1379:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1380: 
                   1381: Installation directories:
                   1382:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150   ! moko     1383:                           [$ac_default_prefix]
1.62      paf      1384:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150   ! moko     1385:                           [PREFIX]
1.62      paf      1386: 
                   1387: By default, \`make install' will install all the files in
                   1388: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1389: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1390: for instance \`--prefix=\$HOME'.
                   1391: 
                   1392: For better control, use the options below.
                   1393: 
                   1394: Fine tuning of the installation directories:
1.150   ! moko     1395:   --bindir=DIR            user executables [EPREFIX/bin]
        !          1396:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
        !          1397:   --libexecdir=DIR        program executables [EPREFIX/libexec]
        !          1398:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
        !          1399:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
        !          1400:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
        !          1401:   --libdir=DIR            object code libraries [EPREFIX/lib]
        !          1402:   --includedir=DIR        C header files [PREFIX/include]
        !          1403:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
        !          1404:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
        !          1405:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
        !          1406:   --infodir=DIR           info documentation [DATAROOTDIR/info]
        !          1407:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
        !          1408:   --mandir=DIR            man documentation [DATAROOTDIR/man]
        !          1409:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
        !          1410:   --htmldir=DIR           html documentation [DOCDIR]
        !          1411:   --dvidir=DIR            dvi documentation [DOCDIR]
        !          1412:   --pdfdir=DIR            pdf documentation [DOCDIR]
        !          1413:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1414: _ACEOF
                   1415: 
                   1416:   cat <<\_ACEOF
                   1417: 
                   1418: Program names:
                   1419:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1420:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1421:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1422: 
                   1423: System types:
                   1424:   --build=BUILD     configure for building on BUILD [guessed]
                   1425:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1426: _ACEOF
                   1427: fi
                   1428: 
                   1429: if test -n "$ac_init_help"; then
1.128     moko     1430:   case $ac_init_help in
1.147     moko     1431:      short | recursive ) echo "Configuration of parser 3.4.2:";;
1.128     moko     1432:    esac
1.62      paf      1433:   cat <<\_ACEOF
                   1434: 
                   1435: Optional Features:
1.150   ! moko     1436:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1437:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1438:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf      1439:   --disable-dependency-tracking  speeds up one-time build
                   1440:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf      1441:   --disable-safe-mode    to enable reading and executing
1.62      paf      1442:                           files belonging to group+user other then effective
1.146     moko     1443:   --disable-execs        to disable any execs
1.62      paf      1444:                           (file::exec, file::cgi, unix mail:send)
1.94      misha    1445:   --disable-stringstream  to disable stringstream usage.
                   1446:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.150   ! moko     1447:   --enable-shared[=PKGS]  build shared libraries [default=yes]
        !          1448:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1449:   --enable-fast-install[=PKGS]
                   1450:                           optimize for fast installation [default=yes]
                   1451:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1452:   --enable-ltdl-install   install libltdl
1.62      paf      1453: 
                   1454: Optional Packages:
                   1455:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1456:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1457:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf      1458:   --with-assertions       to enable assertions
1.62      paf      1459:   --with-pathlink=LKEY    put dynamic libraries paths to binary
                   1460:                           using linker key (-R, -rpath-link)
1.128     moko     1461:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.146     moko     1462:   --with-gc=D             D is the directory where
1.142     moko     1463:                           Boehm garbage collecting library is installed
1.146     moko     1464:   --with-pcre=D           D is the directory where
1.142     moko     1465:                           PCRE library is installed
1.146     moko     1466:   --with-xml=D            D is the directory where
1.142     moko     1467:                           Gnome XML libraries are installed
1.90      paf      1468:   --with-glib-config=FILE FILE is glib library
                   1469:                           configuration file (search for glib*-config)
1.62      paf      1470:   --with-shared-mailreceive=D is the directory where
1.67      paf      1471:                           Gnome MIME library is installed (shared lib)
1.62      paf      1472:   --with-static-mailreceive=D is the directory where
                   1473:                           Gnome MIME library is installed (static lib)
                   1474:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1475:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1476:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1477:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1478:                           builds apache DSO module using apxs
1.150   ! moko     1479:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1480:                           both]
                   1481:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1482:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1483:                         (or the compiler's sysroot if not specified).
                   1484:   --with-included-ltdl    use the GNU ltdl sources included here
                   1485:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1486:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1487: 
                   1488: Some influential environment variables:
1.150   ! moko     1489:   YACC        The `Yet Another Compiler Compiler' implementation to use.
        !          1490:               Defaults to the first program found out of: `bison -y', `byacc',
        !          1491:               `yacc'.
        !          1492:   YFLAGS      The list of arguments that will be passed by default to $YACC.
        !          1493:               This script will default YFLAGS to the empty string to avoid a
        !          1494:               default value of `-d' given by some make applications.
1.66      paf      1495:   CXX         C++ compiler command
                   1496:   CXXFLAGS    C++ compiler flags
1.62      paf      1497:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1498:               nonstandard directory <lib dir>
1.150   ! moko     1499:   LIBS        libraries to pass to the linker, e.g. -l<library>
        !          1500:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
        !          1501:               you have headers in a nonstandard directory <include dir>
1.66      paf      1502:   CC          C compiler command
                   1503:   CFLAGS      C compiler flags
                   1504:   CPP         C preprocessor
1.128     moko     1505:   CXXCPP      C++ preprocessor
1.62      paf      1506: 
                   1507: Use these variables to override the choices made by `configure' or to help
                   1508: it to find libraries and programs with nonstandard names/locations.
                   1509: 
1.150   ! moko     1510: Report bugs to the package provider.
1.62      paf      1511: _ACEOF
1.150   ! moko     1512: ac_status=$?
1.62      paf      1513: fi
                   1514: 
                   1515: if test "$ac_init_help" = "recursive"; then
                   1516:   # If there are subdirs, report their specific --help.
                   1517:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150   ! moko     1518:     test -d "$ac_dir" ||
        !          1519:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
        !          1520:       continue
1.62      paf      1521:     ac_builddir=.
                   1522: 
1.150   ! moko     1523: case "$ac_dir" in
        !          1524: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          1525: *)
        !          1526:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          1527:   # A ".." for each directory in $ac_dir_suffix.
        !          1528:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          1529:   case $ac_top_builddir_sub in
        !          1530:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          1531:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          1532:   esac ;;
        !          1533: esac
        !          1534: ac_abs_top_builddir=$ac_pwd
        !          1535: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          1536: # for backward compatibility:
        !          1537: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1538: 
                   1539: case $srcdir in
1.150   ! moko     1540:   .)  # We are building in place.
1.62      paf      1541:     ac_srcdir=.
1.150   ! moko     1542:     ac_top_srcdir=$ac_top_builddir_sub
        !          1543:     ac_abs_top_srcdir=$ac_pwd ;;
        !          1544:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1545:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150   ! moko     1546:     ac_top_srcdir=$srcdir
        !          1547:     ac_abs_top_srcdir=$srcdir ;;
        !          1548:   *) # Relative name.
        !          1549:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          1550:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          1551:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1552: esac
1.150   ! moko     1553: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1554: 
1.150   ! moko     1555:     cd "$ac_dir" || { ac_status=$?; continue; }
        !          1556:     # Check for guested configure.
        !          1557:     if test -f "$ac_srcdir/configure.gnu"; then
        !          1558:       echo &&
        !          1559:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
        !          1560:     elif test -f "$ac_srcdir/configure"; then
        !          1561:       echo &&
        !          1562:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1563:     else
1.150   ! moko     1564:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        !          1565:     fi || ac_status=$?
        !          1566:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1567:   done
                   1568: fi
                   1569: 
1.150   ! moko     1570: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1571: if $ac_init_version; then
                   1572:   cat <<\_ACEOF
1.147     moko     1573: parser configure 3.4.2
1.150   ! moko     1574: generated by GNU Autoconf 2.68
1.62      paf      1575: 
1.150   ! moko     1576: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      1577: This configure script is free software; the Free Software Foundation
                   1578: gives unlimited permission to copy, distribute and modify it.
                   1579: _ACEOF
1.150   ! moko     1580:   exit
1.62      paf      1581: fi
                   1582: 
1.150   ! moko     1583: ## ------------------------ ##
        !          1584: ## Autoconf initialization. ##
        !          1585: ## ------------------------ ##
        !          1586: 
        !          1587: # ac_fn_cxx_try_compile LINENO
        !          1588: # ----------------------------
        !          1589: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1590: ac_fn_cxx_try_compile ()
1.62      paf      1591: {
1.150   ! moko     1592:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1593:   rm -f conftest.$ac_objext
        !          1594:   if { { ac_try="$ac_compile"
        !          1595: case "(($ac_try" in
        !          1596:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1597:   *) ac_try_echo=$ac_try;;
        !          1598: esac
        !          1599: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1600: $as_echo "$ac_try_echo"; } >&5
        !          1601:   (eval "$ac_compile") 2>conftest.err
        !          1602:   ac_status=$?
        !          1603:   if test -s conftest.err; then
        !          1604:     grep -v '^ *+' conftest.err >conftest.er1
        !          1605:     cat conftest.er1 >&5
        !          1606:     mv -f conftest.er1 conftest.err
        !          1607:   fi
        !          1608:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1609:   test $ac_status = 0; } && {
        !          1610:         test -z "$ac_cxx_werror_flag" ||
        !          1611:         test ! -s conftest.err
        !          1612:        } && test -s conftest.$ac_objext; then :
        !          1613:   ac_retval=0
        !          1614: else
        !          1615:   $as_echo "$as_me: failed program was:" >&5
        !          1616: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1617: 
1.150   ! moko     1618:        ac_retval=1
        !          1619: fi
        !          1620:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1621:   as_fn_set_status $ac_retval
1.62      paf      1622: 
1.150   ! moko     1623: } # ac_fn_cxx_try_compile
        !          1624: 
        !          1625: # ac_fn_c_try_compile LINENO
        !          1626: # --------------------------
        !          1627: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1628: ac_fn_c_try_compile ()
        !          1629: {
        !          1630:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1631:   rm -f conftest.$ac_objext
        !          1632:   if { { ac_try="$ac_compile"
        !          1633: case "(($ac_try" in
        !          1634:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1635:   *) ac_try_echo=$ac_try;;
        !          1636: esac
        !          1637: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1638: $as_echo "$ac_try_echo"; } >&5
        !          1639:   (eval "$ac_compile") 2>conftest.err
        !          1640:   ac_status=$?
        !          1641:   if test -s conftest.err; then
        !          1642:     grep -v '^ *+' conftest.err >conftest.er1
        !          1643:     cat conftest.er1 >&5
        !          1644:     mv -f conftest.er1 conftest.err
        !          1645:   fi
        !          1646:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1647:   test $ac_status = 0; } && {
        !          1648:         test -z "$ac_c_werror_flag" ||
        !          1649:         test ! -s conftest.err
        !          1650:        } && test -s conftest.$ac_objext; then :
        !          1651:   ac_retval=0
        !          1652: else
        !          1653:   $as_echo "$as_me: failed program was:" >&5
        !          1654: sed 's/^/| /' conftest.$ac_ext >&5
        !          1655: 
        !          1656:        ac_retval=1
        !          1657: fi
        !          1658:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1659:   as_fn_set_status $ac_retval
        !          1660: 
        !          1661: } # ac_fn_c_try_compile
        !          1662: 
        !          1663: # ac_fn_c_try_link LINENO
        !          1664: # -----------------------
        !          1665: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          1666: ac_fn_c_try_link ()
        !          1667: {
        !          1668:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1669:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          1670:   if { { ac_try="$ac_link"
        !          1671: case "(($ac_try" in
        !          1672:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1673:   *) ac_try_echo=$ac_try;;
        !          1674: esac
        !          1675: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1676: $as_echo "$ac_try_echo"; } >&5
        !          1677:   (eval "$ac_link") 2>conftest.err
        !          1678:   ac_status=$?
        !          1679:   if test -s conftest.err; then
        !          1680:     grep -v '^ *+' conftest.err >conftest.er1
        !          1681:     cat conftest.er1 >&5
        !          1682:     mv -f conftest.er1 conftest.err
        !          1683:   fi
        !          1684:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1685:   test $ac_status = 0; } && {
        !          1686:         test -z "$ac_c_werror_flag" ||
        !          1687:         test ! -s conftest.err
        !          1688:        } && test -s conftest$ac_exeext && {
        !          1689:         test "$cross_compiling" = yes ||
        !          1690:         $as_test_x conftest$ac_exeext
        !          1691:        }; then :
        !          1692:   ac_retval=0
        !          1693: else
        !          1694:   $as_echo "$as_me: failed program was:" >&5
        !          1695: sed 's/^/| /' conftest.$ac_ext >&5
        !          1696: 
        !          1697:        ac_retval=1
        !          1698: fi
        !          1699:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          1700:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          1701:   # interfere with the next link command; also delete a directory that is
        !          1702:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          1703:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1704:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1705:   as_fn_set_status $ac_retval
        !          1706: 
        !          1707: } # ac_fn_c_try_link
        !          1708: 
        !          1709: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
        !          1710: # -------------------------------------------------------
        !          1711: # Tests whether HEADER exists and can be compiled using the include files in
        !          1712: # INCLUDES, setting the cache variable VAR accordingly.
        !          1713: ac_fn_c_check_header_compile ()
        !          1714: {
        !          1715:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1716:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1717: $as_echo_n "checking for $2... " >&6; }
        !          1718: if eval \${$3+:} false; then :
        !          1719:   $as_echo_n "(cached) " >&6
        !          1720: else
        !          1721:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1722: /* end confdefs.h.  */
        !          1723: $4
        !          1724: #include <$2>
        !          1725: _ACEOF
        !          1726: if ac_fn_c_try_compile "$LINENO"; then :
        !          1727:   eval "$3=yes"
        !          1728: else
        !          1729:   eval "$3=no"
        !          1730: fi
        !          1731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1732: fi
        !          1733: eval ac_res=\$$3
        !          1734:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1735: $as_echo "$ac_res" >&6; }
        !          1736:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1737: 
        !          1738: } # ac_fn_c_check_header_compile
        !          1739: 
        !          1740: # ac_fn_c_try_cpp LINENO
        !          1741: # ----------------------
        !          1742: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
        !          1743: ac_fn_c_try_cpp ()
        !          1744: {
        !          1745:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1746:   if { { ac_try="$ac_cpp conftest.$ac_ext"
        !          1747: case "(($ac_try" in
        !          1748:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1749:   *) ac_try_echo=$ac_try;;
        !          1750: esac
        !          1751: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1752: $as_echo "$ac_try_echo"; } >&5
        !          1753:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
        !          1754:   ac_status=$?
        !          1755:   if test -s conftest.err; then
        !          1756:     grep -v '^ *+' conftest.err >conftest.er1
        !          1757:     cat conftest.er1 >&5
        !          1758:     mv -f conftest.er1 conftest.err
        !          1759:   fi
        !          1760:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1761:   test $ac_status = 0; } > conftest.i && {
        !          1762:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          1763:         test ! -s conftest.err
        !          1764:        }; then :
        !          1765:   ac_retval=0
        !          1766: else
        !          1767:   $as_echo "$as_me: failed program was:" >&5
        !          1768: sed 's/^/| /' conftest.$ac_ext >&5
        !          1769: 
        !          1770:     ac_retval=1
        !          1771: fi
        !          1772:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1773:   as_fn_set_status $ac_retval
        !          1774: 
        !          1775: } # ac_fn_c_try_cpp
        !          1776: 
        !          1777: # ac_fn_c_try_run LINENO
        !          1778: # ----------------------
        !          1779: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
        !          1780: # that executables *can* be run.
        !          1781: ac_fn_c_try_run ()
        !          1782: {
        !          1783:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1784:   if { { ac_try="$ac_link"
        !          1785: case "(($ac_try" in
        !          1786:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1787:   *) ac_try_echo=$ac_try;;
        !          1788: esac
        !          1789: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1790: $as_echo "$ac_try_echo"; } >&5
        !          1791:   (eval "$ac_link") 2>&5
        !          1792:   ac_status=$?
        !          1793:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1794:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
        !          1795:   { { case "(($ac_try" in
        !          1796:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1797:   *) ac_try_echo=$ac_try;;
        !          1798: esac
        !          1799: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1800: $as_echo "$ac_try_echo"; } >&5
        !          1801:   (eval "$ac_try") 2>&5
        !          1802:   ac_status=$?
        !          1803:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1804:   test $ac_status = 0; }; }; then :
        !          1805:   ac_retval=0
        !          1806: else
        !          1807:   $as_echo "$as_me: program exited with status $ac_status" >&5
        !          1808:        $as_echo "$as_me: failed program was:" >&5
        !          1809: sed 's/^/| /' conftest.$ac_ext >&5
        !          1810: 
        !          1811:        ac_retval=$ac_status
        !          1812: fi
        !          1813:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1814:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1815:   as_fn_set_status $ac_retval
        !          1816: 
        !          1817: } # ac_fn_c_try_run
        !          1818: 
        !          1819: # ac_fn_c_check_func LINENO FUNC VAR
        !          1820: # ----------------------------------
        !          1821: # Tests whether FUNC exists, setting the cache variable VAR accordingly
        !          1822: ac_fn_c_check_func ()
        !          1823: {
        !          1824:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1825:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1826: $as_echo_n "checking for $2... " >&6; }
        !          1827: if eval \${$3+:} false; then :
        !          1828:   $as_echo_n "(cached) " >&6
        !          1829: else
        !          1830:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1831: /* end confdefs.h.  */
        !          1832: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
        !          1833:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          1834: #define $2 innocuous_$2
        !          1835: 
        !          1836: /* System header to define __stub macros and hopefully few prototypes,
        !          1837:     which can conflict with char $2 (); below.
        !          1838:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          1839:     <limits.h> exists even on freestanding compilers.  */
        !          1840: 
        !          1841: #ifdef __STDC__
        !          1842: # include <limits.h>
        !          1843: #else
        !          1844: # include <assert.h>
        !          1845: #endif
        !          1846: 
        !          1847: #undef $2
        !          1848: 
        !          1849: /* Override any GCC internal prototype to avoid an error.
        !          1850:    Use char because int might match the return type of a GCC
        !          1851:    builtin and then its argument prototype would still apply.  */
        !          1852: #ifdef __cplusplus
        !          1853: extern "C"
        !          1854: #endif
        !          1855: char $2 ();
        !          1856: /* The GNU C library defines this for functions which it implements
        !          1857:     to always fail with ENOSYS.  Some functions are actually named
        !          1858:     something starting with __ and the normal name is an alias.  */
        !          1859: #if defined __stub_$2 || defined __stub___$2
        !          1860: choke me
        !          1861: #endif
        !          1862: 
        !          1863: int
        !          1864: main ()
        !          1865: {
        !          1866: return $2 ();
        !          1867:   ;
        !          1868:   return 0;
        !          1869: }
        !          1870: _ACEOF
        !          1871: if ac_fn_c_try_link "$LINENO"; then :
        !          1872:   eval "$3=yes"
        !          1873: else
        !          1874:   eval "$3=no"
        !          1875: fi
        !          1876: rm -f core conftest.err conftest.$ac_objext \
        !          1877:     conftest$ac_exeext conftest.$ac_ext
        !          1878: fi
        !          1879: eval ac_res=\$$3
        !          1880:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1881: $as_echo "$ac_res" >&6; }
        !          1882:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1883: 
        !          1884: } # ac_fn_c_check_func
        !          1885: 
        !          1886: # ac_fn_cxx_try_cpp LINENO
        !          1887: # ------------------------
        !          1888: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
        !          1889: ac_fn_cxx_try_cpp ()
        !          1890: {
        !          1891:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1892:   if { { ac_try="$ac_cpp conftest.$ac_ext"
        !          1893: case "(($ac_try" in
        !          1894:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1895:   *) ac_try_echo=$ac_try;;
        !          1896: esac
        !          1897: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1898: $as_echo "$ac_try_echo"; } >&5
        !          1899:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
        !          1900:   ac_status=$?
        !          1901:   if test -s conftest.err; then
        !          1902:     grep -v '^ *+' conftest.err >conftest.er1
        !          1903:     cat conftest.er1 >&5
        !          1904:     mv -f conftest.er1 conftest.err
        !          1905:   fi
        !          1906:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1907:   test $ac_status = 0; } > conftest.i && {
        !          1908:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
        !          1909:         test ! -s conftest.err
        !          1910:        }; then :
        !          1911:   ac_retval=0
        !          1912: else
        !          1913:   $as_echo "$as_me: failed program was:" >&5
        !          1914: sed 's/^/| /' conftest.$ac_ext >&5
        !          1915: 
        !          1916:     ac_retval=1
        !          1917: fi
        !          1918:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1919:   as_fn_set_status $ac_retval
        !          1920: 
        !          1921: } # ac_fn_cxx_try_cpp
        !          1922: 
        !          1923: # ac_fn_cxx_try_link LINENO
        !          1924: # -------------------------
        !          1925: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          1926: ac_fn_cxx_try_link ()
        !          1927: {
        !          1928:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1929:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          1930:   if { { ac_try="$ac_link"
        !          1931: case "(($ac_try" in
        !          1932:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1933:   *) ac_try_echo=$ac_try;;
        !          1934: esac
        !          1935: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1936: $as_echo "$ac_try_echo"; } >&5
        !          1937:   (eval "$ac_link") 2>conftest.err
        !          1938:   ac_status=$?
        !          1939:   if test -s conftest.err; then
        !          1940:     grep -v '^ *+' conftest.err >conftest.er1
        !          1941:     cat conftest.er1 >&5
        !          1942:     mv -f conftest.er1 conftest.err
        !          1943:   fi
        !          1944:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1945:   test $ac_status = 0; } && {
        !          1946:         test -z "$ac_cxx_werror_flag" ||
        !          1947:         test ! -s conftest.err
        !          1948:        } && test -s conftest$ac_exeext && {
        !          1949:         test "$cross_compiling" = yes ||
        !          1950:         $as_test_x conftest$ac_exeext
        !          1951:        }; then :
        !          1952:   ac_retval=0
        !          1953: else
        !          1954:   $as_echo "$as_me: failed program was:" >&5
        !          1955: sed 's/^/| /' conftest.$ac_ext >&5
        !          1956: 
        !          1957:        ac_retval=1
        !          1958: fi
        !          1959:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          1960:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          1961:   # interfere with the next link command; also delete a directory that is
        !          1962:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          1963:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1964:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1965:   as_fn_set_status $ac_retval
        !          1966: 
        !          1967: } # ac_fn_cxx_try_link
        !          1968: 
        !          1969: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
        !          1970: # ---------------------------------------------
        !          1971: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
        !          1972: # accordingly.
        !          1973: ac_fn_c_check_decl ()
        !          1974: {
        !          1975:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1976:   as_decl_name=`echo $2|sed 's/ *(.*//'`
        !          1977:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
        !          1978:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
        !          1979: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
        !          1980: if eval \${$3+:} false; then :
        !          1981:   $as_echo_n "(cached) " >&6
        !          1982: else
        !          1983:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1984: /* end confdefs.h.  */
        !          1985: $4
        !          1986: int
        !          1987: main ()
        !          1988: {
        !          1989: #ifndef $as_decl_name
        !          1990: #ifdef __cplusplus
        !          1991:   (void) $as_decl_use;
        !          1992: #else
        !          1993:   (void) $as_decl_name;
        !          1994: #endif
        !          1995: #endif
        !          1996: 
        !          1997:   ;
        !          1998:   return 0;
        !          1999: }
        !          2000: _ACEOF
        !          2001: if ac_fn_c_try_compile "$LINENO"; then :
        !          2002:   eval "$3=yes"
        !          2003: else
        !          2004:   eval "$3=no"
        !          2005: fi
        !          2006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2007: fi
        !          2008: eval ac_res=\$$3
        !          2009:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2010: $as_echo "$ac_res" >&6; }
        !          2011:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2012: 
        !          2013: } # ac_fn_c_check_decl
        !          2014: 
        !          2015: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
        !          2016: # -------------------------------------------
        !          2017: # Tests whether TYPE exists after having included INCLUDES, setting cache
        !          2018: # variable VAR accordingly.
        !          2019: ac_fn_c_check_type ()
        !          2020: {
        !          2021:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2022:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2023: $as_echo_n "checking for $2... " >&6; }
        !          2024: if eval \${$3+:} false; then :
        !          2025:   $as_echo_n "(cached) " >&6
        !          2026: else
        !          2027:   eval "$3=no"
        !          2028:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2029: /* end confdefs.h.  */
        !          2030: $4
        !          2031: int
        !          2032: main ()
        !          2033: {
        !          2034: if (sizeof ($2))
        !          2035:         return 0;
        !          2036:   ;
        !          2037:   return 0;
        !          2038: }
        !          2039: _ACEOF
        !          2040: if ac_fn_c_try_compile "$LINENO"; then :
        !          2041:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2042: /* end confdefs.h.  */
        !          2043: $4
        !          2044: int
        !          2045: main ()
        !          2046: {
        !          2047: if (sizeof (($2)))
        !          2048:            return 0;
        !          2049:   ;
        !          2050:   return 0;
        !          2051: }
        !          2052: _ACEOF
        !          2053: if ac_fn_c_try_compile "$LINENO"; then :
        !          2054: 
        !          2055: else
        !          2056:   eval "$3=yes"
        !          2057: fi
        !          2058: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2059: fi
        !          2060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2061: fi
        !          2062: eval ac_res=\$$3
        !          2063:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2064: $as_echo "$ac_res" >&6; }
        !          2065:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2066: 
        !          2067: } # ac_fn_c_check_type
        !          2068: 
        !          2069: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
        !          2070: # -------------------------------------------------------
        !          2071: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
        !          2072: # the include files in INCLUDES and setting the cache variable VAR
        !          2073: # accordingly.
        !          2074: ac_fn_c_check_header_mongrel ()
        !          2075: {
        !          2076:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2077:   if eval \${$3+:} false; then :
        !          2078:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2079: $as_echo_n "checking for $2... " >&6; }
        !          2080: if eval \${$3+:} false; then :
        !          2081:   $as_echo_n "(cached) " >&6
        !          2082: fi
        !          2083: eval ac_res=\$$3
        !          2084:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2085: $as_echo "$ac_res" >&6; }
        !          2086: else
        !          2087:   # Is the header compilable?
        !          2088: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
        !          2089: $as_echo_n "checking $2 usability... " >&6; }
        !          2090: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2091: /* end confdefs.h.  */
        !          2092: $4
        !          2093: #include <$2>
        !          2094: _ACEOF
        !          2095: if ac_fn_c_try_compile "$LINENO"; then :
        !          2096:   ac_header_compiler=yes
        !          2097: else
        !          2098:   ac_header_compiler=no
        !          2099: fi
        !          2100: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
        !          2102: $as_echo "$ac_header_compiler" >&6; }
        !          2103: 
        !          2104: # Is the header present?
        !          2105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
        !          2106: $as_echo_n "checking $2 presence... " >&6; }
        !          2107: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2108: /* end confdefs.h.  */
        !          2109: #include <$2>
        !          2110: _ACEOF
        !          2111: if ac_fn_c_try_cpp "$LINENO"; then :
        !          2112:   ac_header_preproc=yes
        !          2113: else
        !          2114:   ac_header_preproc=no
        !          2115: fi
        !          2116: rm -f conftest.err conftest.i conftest.$ac_ext
        !          2117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
        !          2118: $as_echo "$ac_header_preproc" >&6; }
        !          2119: 
        !          2120: # So?  What about this header?
        !          2121: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
        !          2122:   yes:no: )
        !          2123:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
        !          2124: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          2125:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          2126: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          2127:     ;;
        !          2128:   no:yes:* )
        !          2129:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
        !          2130: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
        !          2131:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
        !          2132: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
        !          2133:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
        !          2134: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
        !          2135:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
        !          2136: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          2137:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          2138: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          2139:     ;;
        !          2140: esac
        !          2141:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          2142: $as_echo_n "checking for $2... " >&6; }
        !          2143: if eval \${$3+:} false; then :
        !          2144:   $as_echo_n "(cached) " >&6
        !          2145: else
        !          2146:   eval "$3=\$ac_header_compiler"
        !          2147: fi
        !          2148: eval ac_res=\$$3
        !          2149:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          2150: $as_echo "$ac_res" >&6; }
        !          2151: fi
        !          2152:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          2153: 
        !          2154: } # ac_fn_c_check_header_mongrel
        !          2155: cat >config.log <<_ACEOF
        !          2156: This file contains any messages produced by compilers while
        !          2157: running configure, to aid debugging if configure makes a mistake.
        !          2158: 
        !          2159: It was created by parser $as_me 3.4.2, which was
        !          2160: generated by GNU Autoconf 2.68.  Invocation command line was
        !          2161: 
        !          2162:   $ $0 $@
        !          2163: 
        !          2164: _ACEOF
        !          2165: exec 5>>config.log
        !          2166: {
        !          2167: cat <<_ASUNAME
        !          2168: ## --------- ##
        !          2169: ## Platform. ##
        !          2170: ## --------- ##
        !          2171: 
        !          2172: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          2173: uname -m = `(uname -m) 2>/dev/null || echo unknown`
        !          2174: uname -r = `(uname -r) 2>/dev/null || echo unknown`
        !          2175: uname -s = `(uname -s) 2>/dev/null || echo unknown`
        !          2176: uname -v = `(uname -v) 2>/dev/null || echo unknown`
        !          2177: 
        !          2178: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
        !          2179: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2180: 
                   2181: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2182: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2183: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150   ! moko     2184: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2185: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2186: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2187: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2188: 
                   2189: _ASUNAME
                   2190: 
                   2191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2192: for as_dir in $PATH
                   2193: do
                   2194:   IFS=$as_save_IFS
                   2195:   test -z "$as_dir" && as_dir=.
1.150   ! moko     2196:     $as_echo "PATH: $as_dir"
        !          2197:   done
        !          2198: IFS=$as_save_IFS
1.1       paf      2199: 
1.62      paf      2200: } >&5
                   2201: 
                   2202: cat >&5 <<_ACEOF
                   2203: 
                   2204: 
                   2205: ## ----------- ##
                   2206: ## Core tests. ##
                   2207: ## ----------- ##
                   2208: 
                   2209: _ACEOF
                   2210: 
                   2211: 
                   2212: # Keep a trace of the command line.
                   2213: # Strip out --no-create and --no-recursion so they do not pile up.
                   2214: # Strip out --silent because we don't want to record it for future runs.
                   2215: # Also quote any args containing shell meta-characters.
                   2216: # Make two passes to allow for proper duplicate-argument suppression.
                   2217: ac_configure_args=
                   2218: ac_configure_args0=
                   2219: ac_configure_args1=
                   2220: ac_must_keep_next=false
                   2221: for ac_pass in 1 2
                   2222: do
                   2223:   for ac_arg
                   2224:   do
                   2225:     case $ac_arg in
                   2226:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2227:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2228:     | -silent | --silent | --silen | --sile | --sil)
                   2229:       continue ;;
1.150   ! moko     2230:     *\'*)
        !          2231:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2232:     esac
                   2233:     case $ac_pass in
1.150   ! moko     2234:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2235:     2)
1.150   ! moko     2236:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2237:       if test $ac_must_keep_next = true; then
1.86      paf      2238:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2239:       else
1.86      paf      2240:        case $ac_arg in
                   2241:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2242:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2243:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2244:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2245:            case "$ac_configure_args0 " in
                   2246:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2247:            esac
                   2248:            ;;
                   2249:          -* ) ac_must_keep_next=true ;;
                   2250:        esac
1.62      paf      2251:       fi
1.150   ! moko     2252:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2253:       ;;
                   2254:     esac
                   2255:   done
                   2256: done
1.150   ! moko     2257: { ac_configure_args0=; unset ac_configure_args0;}
        !          2258: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2259: 
                   2260: # When interrupted or exit'd, cleanup temporary files, and complete
                   2261: # config.log.  We remove comments because anyway the quotes in there
                   2262: # would cause problems or look ugly.
1.150   ! moko     2263: # WARNING: Use '\'' to represent an apostrophe within the trap.
        !          2264: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2265: trap 'exit_status=$?
                   2266:   # Save into config.log some information that might help in debugging.
                   2267:   {
                   2268:     echo
                   2269: 
1.150   ! moko     2270:     $as_echo "## ---------------- ##
1.62      paf      2271: ## Cache variables. ##
1.150   ! moko     2272: ## ---------------- ##"
1.62      paf      2273:     echo
                   2274:     # The following way of writing the cache mishandles newlines in values,
1.150   ! moko     2275: (
        !          2276:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
        !          2277:     eval ac_val=\$$ac_var
        !          2278:     case $ac_val in #(
        !          2279:     *${as_nl}*)
        !          2280:       case $ac_var in #(
        !          2281:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          2282: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          2283:       esac
        !          2284:       case $ac_var in #(
        !          2285:       _ | IFS | as_nl) ;; #(
        !          2286:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          2287:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          2288:       esac ;;
        !          2289:     esac
        !          2290:   done
1.62      paf      2291:   (set) 2>&1 |
1.150   ! moko     2292:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
        !          2293:     *${as_nl}ac_space=\ *)
1.62      paf      2294:       sed -n \
1.150   ! moko     2295:        "s/'\''/'\''\\\\'\'''\''/g;
        !          2296:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
        !          2297:       ;; #(
1.62      paf      2298:     *)
1.150   ! moko     2299:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2300:       ;;
1.150   ! moko     2301:     esac |
        !          2302:     sort
        !          2303: )
1.62      paf      2304:     echo
                   2305: 
1.150   ! moko     2306:     $as_echo "## ----------------- ##
1.62      paf      2307: ## Output variables. ##
1.150   ! moko     2308: ## ----------------- ##"
1.62      paf      2309:     echo
                   2310:     for ac_var in $ac_subst_vars
                   2311:     do
1.150   ! moko     2312:       eval ac_val=\$$ac_var
        !          2313:       case $ac_val in
        !          2314:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          2315:       esac
        !          2316:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2317:     done | sort
                   2318:     echo
                   2319: 
                   2320:     if test -n "$ac_subst_files"; then
1.150   ! moko     2321:       $as_echo "## ------------------- ##
        !          2322: ## File substitutions. ##
        !          2323: ## ------------------- ##"
1.62      paf      2324:       echo
                   2325:       for ac_var in $ac_subst_files
                   2326:       do
1.150   ! moko     2327:        eval ac_val=\$$ac_var
        !          2328:        case $ac_val in
        !          2329:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
        !          2330:        esac
        !          2331:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2332:       done | sort
                   2333:       echo
                   2334:     fi
                   2335: 
                   2336:     if test -s confdefs.h; then
1.150   ! moko     2337:       $as_echo "## ----------- ##
1.62      paf      2338: ## confdefs.h. ##
1.150   ! moko     2339: ## ----------- ##"
1.62      paf      2340:       echo
1.150   ! moko     2341:       cat confdefs.h
1.62      paf      2342:       echo
                   2343:     fi
                   2344:     test "$ac_signal" != 0 &&
1.150   ! moko     2345:       $as_echo "$as_me: caught signal $ac_signal"
        !          2346:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2347:   } >&5
1.150   ! moko     2348:   rm -f core *.core core.conftest.* &&
        !          2349:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2350:     exit $exit_status
1.150   ! moko     2351: ' 0
1.62      paf      2352: for ac_signal in 1 2 13 15; do
1.150   ! moko     2353:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2354: done
                   2355: ac_signal=0
                   2356: 
                   2357: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150   ! moko     2358: rm -f -r conftest* confdefs.h
        !          2359: 
        !          2360: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2361: 
                   2362: # Predefined preprocessor variables.
                   2363: 
                   2364: cat >>confdefs.h <<_ACEOF
                   2365: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2366: _ACEOF
                   2367: 
                   2368: cat >>confdefs.h <<_ACEOF
                   2369: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2370: _ACEOF
                   2371: 
                   2372: cat >>confdefs.h <<_ACEOF
                   2373: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2374: _ACEOF
                   2375: 
                   2376: cat >>confdefs.h <<_ACEOF
                   2377: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2378: _ACEOF
                   2379: 
1.150   ! moko     2380: cat >>confdefs.h <<_ACEOF
        !          2381: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          2382: _ACEOF
1.62      paf      2383: 
                   2384: cat >>confdefs.h <<_ACEOF
1.150   ! moko     2385: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2386: _ACEOF
                   2387: 
                   2388: 
                   2389: # Let the site file select an alternate cache file if it wants to.
1.150   ! moko     2390: # Prefer an explicitly selected file to automatically selected ones.
        !          2391: ac_site_file1=NONE
        !          2392: ac_site_file2=NONE
        !          2393: if test -n "$CONFIG_SITE"; then
        !          2394:   # We do not want a PATH search for config.site.
        !          2395:   case $CONFIG_SITE in #((
        !          2396:     -*)  ac_site_file1=./$CONFIG_SITE;;
        !          2397:     */*) ac_site_file1=$CONFIG_SITE;;
        !          2398:     *)   ac_site_file1=./$CONFIG_SITE;;
        !          2399:   esac
        !          2400: elif test "x$prefix" != xNONE; then
        !          2401:   ac_site_file1=$prefix/share/config.site
        !          2402:   ac_site_file2=$prefix/etc/config.site
        !          2403: else
        !          2404:   ac_site_file1=$ac_default_prefix/share/config.site
        !          2405:   ac_site_file2=$ac_default_prefix/etc/config.site
        !          2406: fi
        !          2407: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
        !          2408: do
        !          2409:   test "x$ac_site_file" = xNONE && continue
        !          2410:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
        !          2411:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
        !          2412: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2413:     sed 's/^/| /' "$ac_site_file" >&5
1.150   ! moko     2414:     . "$ac_site_file" \
        !          2415:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2416: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2417: as_fn_error $? "failed to load site script $ac_site_file
        !          2418: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2419:   fi
                   2420: done
                   2421: 
                   2422: if test -r "$cache_file"; then
1.150   ! moko     2423:   # Some versions of bash will fail to source /dev/null (special files
        !          2424:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
        !          2425:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
        !          2426:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
        !          2427: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2428:     case $cache_file in
1.150   ! moko     2429:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
        !          2430:       *)                      . "./$cache_file";;
1.62      paf      2431:     esac
                   2432:   fi
1.1       paf      2433: else
1.150   ! moko     2434:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
        !          2435: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2436:   >$cache_file
                   2437: fi
                   2438: 
                   2439: # Check that the precious variables saved in the cache have kept the same
                   2440: # value.
                   2441: ac_cache_corrupted=false
1.150   ! moko     2442: for ac_var in $ac_precious_vars; do
1.62      paf      2443:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2444:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150   ! moko     2445:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          2446:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2447:   case $ac_old_set,$ac_new_set in
                   2448:     set,)
1.150   ! moko     2449:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          2450: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2451:       ac_cache_corrupted=: ;;
                   2452:     ,set)
1.150   ! moko     2453:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
        !          2454: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2455:       ac_cache_corrupted=: ;;
                   2456:     ,);;
                   2457:     *)
                   2458:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150   ! moko     2459:        # differences in whitespace do not lead to failure.
        !          2460:        ac_old_val_w=`echo x $ac_old_val`
        !          2461:        ac_new_val_w=`echo x $ac_new_val`
        !          2462:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
        !          2463:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
        !          2464: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          2465:          ac_cache_corrupted=:
        !          2466:        else
        !          2467:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
        !          2468: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
        !          2469:          eval $ac_var=\$ac_old_val
        !          2470:        fi
        !          2471:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
        !          2472: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
        !          2473:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
        !          2474: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2475:       fi;;
                   2476:   esac
                   2477:   # Pass precious variables to config.status.
                   2478:   if test "$ac_new_set" = set; then
                   2479:     case $ac_new_val in
1.150   ! moko     2480:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2481:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2482:     esac
                   2483:     case " $ac_configure_args " in
                   2484:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150   ! moko     2485:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2486:     esac
                   2487:   fi
                   2488: done
                   2489: if $ac_cache_corrupted; then
1.150   ! moko     2490:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2491: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2492:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
        !          2493: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          2494:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
        !          2495: fi
        !          2496: ## -------------------- ##
        !          2497: ## Main body of script. ##
        !          2498: ## -------------------- ##
1.1       paf      2499: 
                   2500: ac_ext=c
                   2501: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2502: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2503: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2504: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2505: 
                   2506: 
                   2507: 
                   2508: 
                   2509: 
1.150   ! moko     2510: am__api_version='1.11'
1.62      paf      2511: 
1.1       paf      2512: ac_aux_dir=
1.150   ! moko     2513: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
        !          2514:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2515:     ac_aux_dir=$ac_dir
                   2516:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2517:     break
1.150   ! moko     2518:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2519:     ac_aux_dir=$ac_dir
                   2520:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2521:     break
1.150   ! moko     2522:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2523:     ac_aux_dir=$ac_dir
                   2524:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2525:     break
1.1       paf      2526:   fi
                   2527: done
                   2528: if test -z "$ac_aux_dir"; then
1.150   ! moko     2529:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
        !          2530: fi
        !          2531: 
        !          2532: # These three variables are undocumented and unsupported,
        !          2533: # and are intended to be withdrawn in a future Autoconf release.
        !          2534: # They can cause serious problems if a builder's source tree is in a directory
        !          2535: # whose full name contains unusual characters.
        !          2536: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
        !          2537: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
        !          2538: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
        !          2539: 
1.1       paf      2540: 
                   2541: # Find a good install program.  We prefer a C program (faster),
                   2542: # so one script is as good as another.  But avoid the broken or
                   2543: # incompatible versions:
                   2544: # SysV /etc/install, /usr/sbin/install
                   2545: # SunOS /usr/etc/install
                   2546: # IRIX /sbin/install
                   2547: # AIX /bin/install
1.62      paf      2548: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2549: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2550: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2551: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2552: # OS/2's system install, which has a completely different semantic
1.1       paf      2553: # ./install, which can be erroneously created by make from ./install.sh.
1.150   ! moko     2554: # Reject install programs that cannot install multiple files.
        !          2555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
        !          2556: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2557: if test -z "$INSTALL"; then
1.150   ! moko     2558: if ${ac_cv_path_install+:} false; then :
        !          2559:   $as_echo_n "(cached) " >&6
1.1       paf      2560: else
1.62      paf      2561:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2562: for as_dir in $PATH
                   2563: do
                   2564:   IFS=$as_save_IFS
                   2565:   test -z "$as_dir" && as_dir=.
1.150   ! moko     2566:     # Account for people who put trailing slashes in PATH elements.
        !          2567: case $as_dir/ in #((
        !          2568:   ./ | .// | /[cC]/* | \
1.62      paf      2569:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150   ! moko     2570:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2571:   /usr/ucb/* ) ;;
                   2572:   *)
                   2573:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2574:     # Don't use installbsd from OSF since it installs stuff as root
                   2575:     # by default.
                   2576:     for ac_prog in ginstall scoinst install; do
                   2577:       for ac_exec_ext in '' $ac_executable_extensions; do
1.150   ! moko     2578:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.86      paf      2579:          if test $ac_prog = install &&
                   2580:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2581:            # AIX install.  It has an incompatible calling convention.
                   2582:            :
                   2583:          elif test $ac_prog = install &&
                   2584:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2585:            # program-specific install script used by HP pwplus--don't use.
                   2586:            :
                   2587:          else
1.150   ! moko     2588:            rm -rf conftest.one conftest.two conftest.dir
        !          2589:            echo one > conftest.one
        !          2590:            echo two > conftest.two
        !          2591:            mkdir conftest.dir
        !          2592:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
        !          2593:              test -s conftest.one && test -s conftest.two &&
        !          2594:              test -s conftest.dir/conftest.one &&
        !          2595:              test -s conftest.dir/conftest.two
        !          2596:            then
        !          2597:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          2598:              break 3
        !          2599:            fi
1.86      paf      2600:          fi
                   2601:        fi
1.1       paf      2602:       done
1.62      paf      2603:     done
                   2604:     ;;
                   2605: esac
                   2606: 
1.150   ! moko     2607:   done
        !          2608: IFS=$as_save_IFS
        !          2609: 
        !          2610: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2611: 
                   2612: fi
                   2613:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2614:     INSTALL=$ac_cv_path_install
1.1       paf      2615:   else
1.150   ! moko     2616:     # As a last resort, use the slow shell script.  Don't cache a
        !          2617:     # value for INSTALL within a source directory, because that will
1.1       paf      2618:     # break other packages using the cache if that directory is
1.150   ! moko     2619:     # removed, or if the value is a relative name.
1.62      paf      2620:     INSTALL=$ac_install_sh
1.1       paf      2621:   fi
                   2622: fi
1.150   ! moko     2623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
        !          2624: $as_echo "$INSTALL" >&6; }
1.1       paf      2625: 
                   2626: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2627: # It thinks the first close brace ends the variable substitution.
                   2628: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2629: 
1.62      paf      2630: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2631: 
                   2632: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2633: 
1.150   ! moko     2634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
        !          2635: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       paf      2636: # Just in case
                   2637: sleep 1
1.62      paf      2638: echo timestamp > conftest.file
1.150   ! moko     2639: # Reject unsafe characters in $srcdir or the absolute working directory
        !          2640: # name.  Accept space and tab only in the latter.
        !          2641: am_lf='
        !          2642: '
        !          2643: case `pwd` in
        !          2644:   *[\\\"\#\$\&\'\`$am_lf]*)
        !          2645:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
        !          2646: esac
        !          2647: case $srcdir in
        !          2648:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
        !          2649:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
        !          2650: esac
        !          2651: 
1.1       paf      2652: # Do `set' in a subshell so we don't clobber the current shell's
                   2653: # arguments.  Must try -L first in case configure is actually a
                   2654: # symlink; some systems play weird games with the mod time of symlinks
                   2655: # (eg FreeBSD returns the mod time of the symlink's containing
                   2656: # directory).
                   2657: if (
1.150   ! moko     2658:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       paf      2659:    if test "$*" = "X"; then
                   2660:       # -L didn't work.
1.150   ! moko     2661:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       paf      2662:    fi
1.62      paf      2663:    rm -f conftest.file
                   2664:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2665:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2666: 
                   2667:       # If neither matched, then we have a broken ls.  This can happen
                   2668:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2669:       # broken ls alias from the environment.  This has actually
                   2670:       # happened.  Such a system could not be considered "sane".
1.150   ! moko     2671:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2672: alias in your environment" "$LINENO" 5
1.1       paf      2673:    fi
                   2674: 
1.62      paf      2675:    test "$2" = conftest.file
1.1       paf      2676:    )
                   2677: then
                   2678:    # Ok.
                   2679:    :
                   2680: else
1.150   ! moko     2681:    as_fn_error $? "newly created file is older than distributed files!
        !          2682: Check your system clock" "$LINENO" 5
1.1       paf      2683: fi
1.150   ! moko     2684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2685: $as_echo "yes" >&6; }
1.1       paf      2686: test "$program_prefix" != NONE &&
1.150   ! moko     2687:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2688: # Use a double $ so make ignores it.
                   2689: test "$program_suffix" != NONE &&
1.150   ! moko     2690:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
        !          2691: # Double any \ or $.
1.62      paf      2692: # By default was `s,x,x', remove it if useless.
1.150   ! moko     2693: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
        !          2694: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2695: 
                   2696: # expand $ac_aux_dir to an absolute path
                   2697: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2698: 
1.150   ! moko     2699: if test x"${MISSING+set}" != xset; then
        !          2700:   case $am_aux_dir in
        !          2701:   *\ * | *\    *)
        !          2702:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
        !          2703:   *)
        !          2704:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
        !          2705:   esac
        !          2706: fi
1.62      paf      2707: # Use eval to expand $SHELL
                   2708: if eval "$MISSING --run true"; then
                   2709:   am_missing_run="$MISSING --run "
                   2710: else
                   2711:   am_missing_run=
1.150   ! moko     2712:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
        !          2713: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.62      paf      2714: fi
                   2715: 
1.150   ! moko     2716: if test x"${install_sh}" != xset; then
        !          2717:   case $am_aux_dir in
        !          2718:   *\ * | *\    *)
        !          2719:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
        !          2720:   *)
        !          2721:     install_sh="\${SHELL} $am_aux_dir/install-sh"
        !          2722:   esac
1.86      paf      2723: fi
                   2724: 
1.150   ! moko     2725: # Installed binaries are usually stripped using `strip' when the user
        !          2726: # run `make install-strip'.  However `strip' might not be the right
        !          2727: # tool to use in cross-compilation environments, therefore Automake
        !          2728: # will honor the `STRIP' environment variable to overrule this program.
        !          2729: if test "$cross_compiling" != no; then
        !          2730:   if test -n "$ac_tool_prefix"; then
        !          2731:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          2732: set dummy ${ac_tool_prefix}strip; ac_word=$2
        !          2733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2734: $as_echo_n "checking for $ac_word... " >&6; }
        !          2735: if ${ac_cv_prog_STRIP+:} false; then :
        !          2736:   $as_echo_n "(cached) " >&6
        !          2737: else
        !          2738:   if test -n "$STRIP"; then
        !          2739:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
        !          2740: else
        !          2741: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2742: for as_dir in $PATH
        !          2743: do
        !          2744:   IFS=$as_save_IFS
        !          2745:   test -z "$as_dir" && as_dir=.
        !          2746:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2747:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          2748:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
        !          2749:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2750:     break 2
        !          2751:   fi
        !          2752: done
        !          2753:   done
        !          2754: IFS=$as_save_IFS
        !          2755: 
        !          2756: fi
        !          2757: fi
        !          2758: STRIP=$ac_cv_prog_STRIP
        !          2759: if test -n "$STRIP"; then
        !          2760:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          2761: $as_echo "$STRIP" >&6; }
        !          2762: else
        !          2763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2764: $as_echo "no" >&6; }
        !          2765: fi
        !          2766: 
        !          2767: 
        !          2768: fi
        !          2769: if test -z "$ac_cv_prog_STRIP"; then
        !          2770:   ac_ct_STRIP=$STRIP
        !          2771:   # Extract the first word of "strip", so it can be a program name with args.
        !          2772: set dummy strip; ac_word=$2
        !          2773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2774: $as_echo_n "checking for $ac_word... " >&6; }
        !          2775: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
        !          2776:   $as_echo_n "(cached) " >&6
        !          2777: else
        !          2778:   if test -n "$ac_ct_STRIP"; then
        !          2779:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
        !          2780: else
        !          2781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2782: for as_dir in $PATH
        !          2783: do
        !          2784:   IFS=$as_save_IFS
        !          2785:   test -z "$as_dir" && as_dir=.
        !          2786:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2787:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          2788:     ac_cv_prog_ac_ct_STRIP="strip"
        !          2789:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2790:     break 2
        !          2791:   fi
        !          2792: done
        !          2793:   done
        !          2794: IFS=$as_save_IFS
        !          2795: 
        !          2796: fi
        !          2797: fi
        !          2798: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
        !          2799: if test -n "$ac_ct_STRIP"; then
        !          2800:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          2801: $as_echo "$ac_ct_STRIP" >&6; }
        !          2802: else
        !          2803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2804: $as_echo "no" >&6; }
        !          2805: fi
        !          2806: 
        !          2807:   if test "x$ac_ct_STRIP" = x; then
        !          2808:     STRIP=":"
        !          2809:   else
        !          2810:     case $cross_compiling:$ac_tool_warned in
        !          2811: yes:)
        !          2812: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          2813: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          2814: ac_tool_warned=yes ;;
        !          2815: esac
        !          2816:     STRIP=$ac_ct_STRIP
        !          2817:   fi
        !          2818: else
        !          2819:   STRIP="$ac_cv_prog_STRIP"
        !          2820: fi
        !          2821: 
        !          2822: fi
        !          2823: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
        !          2824: 
        !          2825: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
        !          2826: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
        !          2827: if test -z "$MKDIR_P"; then
        !          2828:   if ${ac_cv_path_mkdir+:} false; then :
        !          2829:   $as_echo_n "(cached) " >&6
        !          2830: else
        !          2831:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2832: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
        !          2833: do
        !          2834:   IFS=$as_save_IFS
        !          2835:   test -z "$as_dir" && as_dir=.
        !          2836:     for ac_prog in mkdir gmkdir; do
        !          2837:         for ac_exec_ext in '' $ac_executable_extensions; do
        !          2838:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
        !          2839:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
        !          2840:             'mkdir (GNU coreutils) '* | \
        !          2841:             'mkdir (coreutils) '* | \
        !          2842:             'mkdir (fileutils) '4.1*)
        !          2843:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
        !          2844:               break 3;;
        !          2845:           esac
        !          2846:         done
        !          2847:        done
        !          2848:   done
        !          2849: IFS=$as_save_IFS
        !          2850: 
        !          2851: fi
        !          2852: 
        !          2853:   test -d ./--version && rmdir ./--version
        !          2854:   if test "${ac_cv_path_mkdir+set}" = set; then
        !          2855:     MKDIR_P="$ac_cv_path_mkdir -p"
        !          2856:   else
        !          2857:     # As a last resort, use the slow shell script.  Don't cache a
        !          2858:     # value for MKDIR_P within a source directory, because that will
        !          2859:     # break other packages using the cache if that directory is
        !          2860:     # removed, or if the value is a relative name.
        !          2861:     MKDIR_P="$ac_install_sh -d"
        !          2862:   fi
        !          2863: fi
        !          2864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
        !          2865: $as_echo "$MKDIR_P" >&6; }
        !          2866: 
        !          2867: mkdir_p="$MKDIR_P"
        !          2868: case $mkdir_p in
        !          2869:   [\\/$]* | ?:[\\/]*) ;;
        !          2870:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
        !          2871: esac
        !          2872: 
        !          2873: for ac_prog in gawk mawk nawk awk
1.62      paf      2874: do
                   2875:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2876: set dummy $ac_prog; ac_word=$2
1.150   ! moko     2877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2878: $as_echo_n "checking for $ac_word... " >&6; }
        !          2879: if ${ac_cv_prog_AWK+:} false; then :
        !          2880:   $as_echo_n "(cached) " >&6
1.62      paf      2881: else
                   2882:   if test -n "$AWK"; then
                   2883:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2884: else
                   2885: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2886: for as_dir in $PATH
                   2887: do
                   2888:   IFS=$as_save_IFS
                   2889:   test -z "$as_dir" && as_dir=.
1.150   ! moko     2890:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2891:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      2892:     ac_cv_prog_AWK="$ac_prog"
1.150   ! moko     2893:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      2894:     break 2
                   2895:   fi
                   2896: done
1.150   ! moko     2897:   done
        !          2898: IFS=$as_save_IFS
1.62      paf      2899: 
                   2900: fi
                   2901: fi
                   2902: AWK=$ac_cv_prog_AWK
                   2903: if test -n "$AWK"; then
1.150   ! moko     2904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          2905: $as_echo "$AWK" >&6; }
1.62      paf      2906: else
1.150   ! moko     2907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2908: $as_echo "no" >&6; }
1.62      paf      2909: fi
1.1       paf      2910: 
1.150   ! moko     2911: 
1.62      paf      2912:   test -n "$AWK" && break
                   2913: done
1.1       paf      2914: 
1.150   ! moko     2915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          2916: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
        !          2917: set x ${MAKE-make}
        !          2918: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          2919: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
        !          2920:   $as_echo_n "(cached) " >&6
1.1       paf      2921: else
1.62      paf      2922:   cat >conftest.make <<\_ACEOF
1.150   ! moko     2923: SHELL = /bin/sh
1.1       paf      2924: all:
1.150   ! moko     2925:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      2926: _ACEOF
1.150   ! moko     2927: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
        !          2928: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          2929:   *@@@%%%=?*=@@@%%%*)
        !          2930:     eval ac_cv_prog_make_${ac_make}_set=yes;;
        !          2931:   *)
        !          2932:     eval ac_cv_prog_make_${ac_make}_set=no;;
        !          2933: esac
1.62      paf      2934: rm -f conftest.make
1.1       paf      2935: fi
1.150   ! moko     2936: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          2937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2938: $as_echo "yes" >&6; }
1.1       paf      2939:   SET_MAKE=
                   2940: else
1.150   ! moko     2941:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2942: $as_echo "no" >&6; }
1.1       paf      2943:   SET_MAKE="MAKE=${MAKE-make}"
                   2944: fi
                   2945: 
1.86      paf      2946: rm -rf .tst 2>/dev/null
                   2947: mkdir .tst 2>/dev/null
                   2948: if test -d .tst; then
                   2949:   am__leading_dot=.
                   2950: else
                   2951:   am__leading_dot=_
                   2952: fi
                   2953: rmdir .tst 2>/dev/null
                   2954: 
1.150   ! moko     2955: if test "`cd $srcdir && pwd`" != "`pwd`"; then
        !          2956:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
        !          2957:   # is not polluted with repeated "-I."
        !          2958:   am__isrc=' -I$(srcdir)'
        !          2959:   # test to see if srcdir already configured
        !          2960:   if test -f $srcdir/config.status; then
        !          2961:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
        !          2962:   fi
1.62      paf      2963: fi
                   2964: 
                   2965: # test whether we have cygpath
                   2966: if test -z "$CYGPATH_W"; then
                   2967:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2968:     CYGPATH_W='cygpath -w'
                   2969:   else
                   2970:     CYGPATH_W=echo
                   2971:   fi
                   2972: fi
                   2973: 
                   2974: 
                   2975: # Define the identity of the package.
1.128     moko     2976:  PACKAGE='parser'
1.147     moko     2977:  VERSION='3.4.2'
1.128     moko     2978: 
                   2979: 
                   2980: cat >>confdefs.h <<_ACEOF
                   2981: #define PACKAGE "$PACKAGE"
                   2982: _ACEOF
1.1       paf      2983: 
                   2984: 
1.128     moko     2985: cat >>confdefs.h <<_ACEOF
                   2986: #define VERSION "$VERSION"
                   2987: _ACEOF
                   2988: 
1.62      paf      2989: # Some tools Automake needs.
                   2990: 
                   2991: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2992: 
                   2993: 
                   2994: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2995: 
                   2996: 
                   2997: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2998: 
                   2999: 
                   3000: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3001: 
                   3002: 
                   3003: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3004: 
1.62      paf      3005: # We need awk for the "check" target.  The system "awk" is bad on
                   3006: # some platforms.
1.86      paf      3007: # Always define AMTAR for backward compatibility.
                   3008: 
                   3009: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3010: 
                   3011: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3012: 
                   3013: 
1.62      paf      3014: 
1.1       paf      3015: 
                   3016: 
                   3017: 
1.128     moko     3018: 
1.12      paf      3019: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3020: 
                   3021: 
1.128     moko     3022: 
1.41      paf      3023: # Make sure we can run config.sub.
1.150   ! moko     3024: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
        !          3025:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3026: 
1.150   ! moko     3027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          3028: $as_echo_n "checking build system type... " >&6; }
        !          3029: if ${ac_cv_build+:} false; then :
        !          3030:   $as_echo_n "(cached) " >&6
        !          3031: else
        !          3032:   ac_build_alias=$build_alias
        !          3033: test "x$ac_build_alias" = x &&
        !          3034:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
        !          3035: test "x$ac_build_alias" = x &&
        !          3036:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
        !          3037: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
        !          3038:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
        !          3039: 
        !          3040: fi
        !          3041: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
        !          3042: $as_echo "$ac_cv_build" >&6; }
        !          3043: case $ac_cv_build in
        !          3044: *-*-*) ;;
        !          3045: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
        !          3046: esac
        !          3047: build=$ac_cv_build
        !          3048: ac_save_IFS=$IFS; IFS='-'
        !          3049: set x $ac_cv_build
        !          3050: shift
        !          3051: build_cpu=$1
        !          3052: build_vendor=$2
        !          3053: shift; shift
        !          3054: # Remember, the first character of IFS is used to create $*,
        !          3055: # except with old shells:
        !          3056: build_os=$*
        !          3057: IFS=$ac_save_IFS
        !          3058: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
        !          3059: 
        !          3060: 
        !          3061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
        !          3062: $as_echo_n "checking host system type... " >&6; }
        !          3063: if ${ac_cv_host+:} false; then :
        !          3064:   $as_echo_n "(cached) " >&6
        !          3065: else
        !          3066:   if test "x$host_alias" = x; then
        !          3067:   ac_cv_host=$ac_cv_build
        !          3068: else
        !          3069:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
        !          3070:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3071: fi
                   3072: 
                   3073: fi
1.150   ! moko     3074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
        !          3075: $as_echo "$ac_cv_host" >&6; }
        !          3076: case $ac_cv_host in
        !          3077: *-*-*) ;;
        !          3078: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
        !          3079: esac
1.62      paf      3080: host=$ac_cv_host
1.150   ! moko     3081: ac_save_IFS=$IFS; IFS='-'
        !          3082: set x $ac_cv_host
        !          3083: shift
        !          3084: host_cpu=$1
        !          3085: host_vendor=$2
        !          3086: shift; shift
        !          3087: # Remember, the first character of IFS is used to create $*,
        !          3088: # except with old shells:
        !          3089: host_os=$*
        !          3090: IFS=$ac_save_IFS
        !          3091: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3092: 
                   3093: 
                   3094: 
1.148     moko     3095: cat >>confdefs.h <<_ACEOF
                   3096: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3097: _ACEOF
                   3098: 
                   3099: 
1.41      paf      3100: 
1.67      paf      3101: case $host_os in
                   3102:   *cygwin* )
1.150   ! moko     3103: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3104: ;;
                   3105: esac
1.41      paf      3106: 
1.128     moko     3107: 
1.1       paf      3108: 
1.62      paf      3109: for ac_prog in gawk mawk nawk awk
1.41      paf      3110: do
1.62      paf      3111:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3112: set dummy $ac_prog; ac_word=$2
1.150   ! moko     3113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3114: $as_echo_n "checking for $ac_word... " >&6; }
        !          3115: if ${ac_cv_prog_AWK+:} false; then :
        !          3116:   $as_echo_n "(cached) " >&6
1.41      paf      3117: else
                   3118:   if test -n "$AWK"; then
                   3119:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3120: else
1.62      paf      3121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3122: for as_dir in $PATH
                   3123: do
                   3124:   IFS=$as_save_IFS
                   3125:   test -z "$as_dir" && as_dir=.
1.150   ! moko     3126:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3127:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3128:     ac_cv_prog_AWK="$ac_prog"
1.150   ! moko     3129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3130:     break 2
                   3131:   fi
                   3132: done
1.150   ! moko     3133:   done
        !          3134: IFS=$as_save_IFS
1.62      paf      3135: 
1.41      paf      3136: fi
                   3137: fi
1.62      paf      3138: AWK=$ac_cv_prog_AWK
1.41      paf      3139: if test -n "$AWK"; then
1.150   ! moko     3140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          3141: $as_echo "$AWK" >&6; }
1.41      paf      3142: else
1.150   ! moko     3143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3144: $as_echo "no" >&6; }
1.41      paf      3145: fi
                   3146: 
1.150   ! moko     3147: 
1.62      paf      3148:   test -n "$AWK" && break
1.41      paf      3149: done
                   3150: 
                   3151: 
                   3152: for ac_prog in 'bison -y' byacc
                   3153: do
1.62      paf      3154:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3155: set dummy $ac_prog; ac_word=$2
1.150   ! moko     3156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3157: $as_echo_n "checking for $ac_word... " >&6; }
        !          3158: if ${ac_cv_prog_YACC+:} false; then :
        !          3159:   $as_echo_n "(cached) " >&6
1.41      paf      3160: else
                   3161:   if test -n "$YACC"; then
                   3162:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3163: else
1.62      paf      3164: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3165: for as_dir in $PATH
                   3166: do
                   3167:   IFS=$as_save_IFS
                   3168:   test -z "$as_dir" && as_dir=.
1.150   ! moko     3169:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3170:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3171:     ac_cv_prog_YACC="$ac_prog"
1.150   ! moko     3172:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3173:     break 2
                   3174:   fi
                   3175: done
1.150   ! moko     3176:   done
        !          3177: IFS=$as_save_IFS
1.62      paf      3178: 
1.41      paf      3179: fi
                   3180: fi
1.62      paf      3181: YACC=$ac_cv_prog_YACC
1.41      paf      3182: if test -n "$YACC"; then
1.150   ! moko     3183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
        !          3184: $as_echo "$YACC" >&6; }
1.41      paf      3185: else
1.150   ! moko     3186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3187: $as_echo "no" >&6; }
1.41      paf      3188: fi
                   3189: 
1.150   ! moko     3190: 
1.62      paf      3191:   test -n "$YACC" && break
1.41      paf      3192: done
                   3193: test -n "$YACC" || YACC="yacc"
                   3194: 
                   3195: if test "$YACC" != "bison -y"; then
1.150   ! moko     3196:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
        !          3197: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3198: else
1.150   ! moko     3199:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
        !          3200: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3201:        oldIFS=$IFS; IFS=.
                   3202:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3203:        IFS=$oldIFS
                   3204:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150   ! moko     3205:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
        !          3206: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3207:        fi
1.150   ! moko     3208:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
        !          3209: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3210: fi
                   3211: 
1.150   ! moko     3212: ac_ext=cpp
1.66      paf      3213: ac_cpp='$CXXCPP $CPPFLAGS'
                   3214: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3215: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3216: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150   ! moko     3217: if test -z "$CXX"; then
        !          3218:   if test -n "$CCC"; then
        !          3219:     CXX=$CCC
        !          3220:   else
        !          3221:     if test -n "$ac_tool_prefix"; then
        !          3222:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3223:   do
                   3224:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3225: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150   ! moko     3226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3227: $as_echo_n "checking for $ac_word... " >&6; }
        !          3228: if ${ac_cv_prog_CXX+:} false; then :
        !          3229:   $as_echo_n "(cached) " >&6
1.62      paf      3230: else
1.66      paf      3231:   if test -n "$CXX"; then
                   3232:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3233: else
                   3234: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3235: for as_dir in $PATH
                   3236: do
                   3237:   IFS=$as_save_IFS
                   3238:   test -z "$as_dir" && as_dir=.
1.150   ! moko     3239:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3240:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3241:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150   ! moko     3242:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3243:     break 2
                   3244:   fi
                   3245: done
1.150   ! moko     3246:   done
        !          3247: IFS=$as_save_IFS
1.62      paf      3248: 
                   3249: fi
                   3250: fi
1.66      paf      3251: CXX=$ac_cv_prog_CXX
                   3252: if test -n "$CXX"; then
1.150   ! moko     3253:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
        !          3254: $as_echo "$CXX" >&6; }
1.62      paf      3255: else
1.150   ! moko     3256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3257: $as_echo "no" >&6; }
1.41      paf      3258: fi
                   3259: 
1.150   ! moko     3260: 
1.66      paf      3261:     test -n "$CXX" && break
                   3262:   done
1.62      paf      3263: fi
1.66      paf      3264: if test -z "$CXX"; then
                   3265:   ac_ct_CXX=$CXX
1.150   ! moko     3266:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3267: do
                   3268:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3269: set dummy $ac_prog; ac_word=$2
1.150   ! moko     3270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3271: $as_echo_n "checking for $ac_word... " >&6; }
        !          3272: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
        !          3273:   $as_echo_n "(cached) " >&6
1.62      paf      3274: else
1.66      paf      3275:   if test -n "$ac_ct_CXX"; then
                   3276:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3277: else
                   3278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3279: for as_dir in $PATH
                   3280: do
                   3281:   IFS=$as_save_IFS
                   3282:   test -z "$as_dir" && as_dir=.
1.150   ! moko     3283:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3284:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3285:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150   ! moko     3286:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3287:     break 2
                   3288:   fi
                   3289: done
1.150   ! moko     3290:   done
        !          3291: IFS=$as_save_IFS
1.62      paf      3292: 
                   3293: fi
                   3294: fi
1.66      paf      3295: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3296: if test -n "$ac_ct_CXX"; then
1.150   ! moko     3297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
        !          3298: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3299: else
1.150   ! moko     3300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3301: $as_echo "no" >&6; }
1.62      paf      3302: fi
                   3303: 
1.150   ! moko     3304: 
1.66      paf      3305:   test -n "$ac_ct_CXX" && break
                   3306: done
                   3307: 
1.150   ! moko     3308:   if test "x$ac_ct_CXX" = x; then
        !          3309:     CXX="g++"
        !          3310:   else
        !          3311:     case $cross_compiling:$ac_tool_warned in
        !          3312: yes:)
        !          3313: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3314: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          3315: ac_tool_warned=yes ;;
        !          3316: esac
        !          3317:     CXX=$ac_ct_CXX
        !          3318:   fi
1.62      paf      3319: fi
                   3320: 
1.150   ! moko     3321:   fi
        !          3322: fi
1.66      paf      3323: # Provide some information about the compiler.
1.150   ! moko     3324: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
        !          3325: set X $ac_compile
        !          3326: ac_compiler=$2
        !          3327: for ac_option in --version -v -V -qversion; do
        !          3328:   { { ac_try="$ac_compiler $ac_option >&5"
        !          3329: case "(($ac_try" in
        !          3330:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3331:   *) ac_try_echo=$ac_try;;
        !          3332: esac
        !          3333: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3334: $as_echo "$ac_try_echo"; } >&5
        !          3335:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3336:   ac_status=$?
1.150   ! moko     3337:   if test -s conftest.err; then
        !          3338:     sed '10a\
        !          3339: ... rest of stderr output deleted ...
        !          3340:          10q' conftest.err >conftest.er1
        !          3341:     cat conftest.er1 >&5
        !          3342:   fi
        !          3343:   rm -f conftest.er1 conftest.err
        !          3344:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3345:   test $ac_status = 0; }
        !          3346: done
1.66      paf      3347: 
1.150   ! moko     3348: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3349: /* end confdefs.h.  */
                   3350: 
                   3351: int
                   3352: main ()
                   3353: {
                   3354: 
                   3355:   ;
                   3356:   return 0;
                   3357: }
                   3358: _ACEOF
                   3359: ac_clean_files_save=$ac_clean_files
1.150   ! moko     3360: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3361: # Try to create an executable without -o first, disregard a.out.
                   3362: # It will help us diagnose broken compilers, and finding out an intuition
                   3363: # of exeext.
1.150   ! moko     3364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
        !          3365: $as_echo_n "checking whether the C++ compiler works... " >&6; }
        !          3366: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
        !          3367: 
        !          3368: # The possible output files:
        !          3369: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
        !          3370: 
        !          3371: ac_rmfiles=
        !          3372: for ac_file in $ac_files
        !          3373: do
        !          3374:   case $ac_file in
        !          3375:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
        !          3376:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
        !          3377:   esac
        !          3378: done
        !          3379: rm -f $ac_rmfiles
        !          3380: 
        !          3381: if { { ac_try="$ac_link_default"
        !          3382: case "(($ac_try" in
        !          3383:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3384:   *) ac_try_echo=$ac_try;;
        !          3385: esac
        !          3386: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3387: $as_echo "$ac_try_echo"; } >&5
        !          3388:   (eval "$ac_link_default") 2>&5
        !          3389:   ac_status=$?
        !          3390:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3391:   test $ac_status = 0; }; then :
        !          3392:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
        !          3393: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
        !          3394: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
        !          3395: # so that the user can short-circuit this test for compilers unknown to
        !          3396: # Autoconf.
        !          3397: for ac_file in $ac_files ''
1.62      paf      3398: do
1.66      paf      3399:   test -f "$ac_file" || continue
                   3400:   case $ac_file in
1.150   ! moko     3401:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3402:        ;;
1.66      paf      3403:     [ab].out )
1.86      paf      3404:        # We found the default executable, but exeext='' is most
                   3405:        # certainly right.
                   3406:        break;;
1.66      paf      3407:     *.* )
1.150   ! moko     3408:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
        !          3409:        then :; else
        !          3410:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          3411:        fi
        !          3412:        # We set ac_cv_exeext here because the later test for it is not
        !          3413:        # safe: cross compilers may not add the suffix if given an `-o'
        !          3414:        # argument, so we may need to know it at that point already.
        !          3415:        # Even if this section looks crufty: it has the advantage of
        !          3416:        # actually working.
1.86      paf      3417:        break;;
1.66      paf      3418:     * )
1.86      paf      3419:        break;;
1.66      paf      3420:   esac
1.62      paf      3421: done
1.150   ! moko     3422: test "$ac_cv_exeext" = no && ac_cv_exeext=
        !          3423: 
1.66      paf      3424: else
1.150   ! moko     3425:   ac_file=''
        !          3426: fi
        !          3427: if test -z "$ac_file"; then :
        !          3428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3429: $as_echo "no" >&6; }
        !          3430: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3431: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3432: 
1.150   ! moko     3433: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3434: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3435: as_fn_error 77 "C++ compiler cannot create executables
        !          3436: See \`config.log' for more details" "$LINENO" 5; }
        !          3437: else
        !          3438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          3439: $as_echo "yes" >&6; }
1.1       paf      3440: fi
1.150   ! moko     3441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
        !          3442: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
        !          3443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          3444: $as_echo "$ac_file" >&6; }
1.66      paf      3445: ac_exeext=$ac_cv_exeext
1.62      paf      3446: 
1.150   ! moko     3447: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3448: ac_clean_files=$ac_clean_files_save
1.150   ! moko     3449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
        !          3450: $as_echo_n "checking for suffix of executables... " >&6; }
        !          3451: if { { ac_try="$ac_link"
        !          3452: case "(($ac_try" in
        !          3453:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3454:   *) ac_try_echo=$ac_try;;
        !          3455: esac
        !          3456: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3457: $as_echo "$ac_try_echo"; } >&5
        !          3458:   (eval "$ac_link") 2>&5
1.62      paf      3459:   ac_status=$?
1.150   ! moko     3460:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3461:   test $ac_status = 0; }; then :
1.62      paf      3462:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3463: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3464: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3465: # `rm'.
                   3466: for ac_file in conftest.exe conftest conftest.*; do
                   3467:   test -f "$ac_file" || continue
                   3468:   case $ac_file in
1.150   ! moko     3469:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3470:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3471:          break;;
1.62      paf      3472:     * ) break;;
                   3473:   esac
                   3474: done
                   3475: else
1.150   ! moko     3476:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3477: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3478: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
        !          3479: See \`config.log' for more details" "$LINENO" 5; }
        !          3480: fi
        !          3481: rm -f conftest conftest$ac_cv_exeext
        !          3482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
        !          3483: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3484: 
                   3485: rm -f conftest.$ac_ext
                   3486: EXEEXT=$ac_cv_exeext
                   3487: ac_exeext=$EXEEXT
1.150   ! moko     3488: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3489: /* end confdefs.h.  */
        !          3490: #include <stdio.h>
        !          3491: int
        !          3492: main ()
        !          3493: {
        !          3494: FILE *f = fopen ("conftest.out", "w");
        !          3495:  return ferror (f) || fclose (f) != 0;
        !          3496: 
        !          3497:   ;
        !          3498:   return 0;
        !          3499: }
        !          3500: _ACEOF
        !          3501: ac_clean_files="$ac_clean_files conftest.out"
        !          3502: # Check that the compiler produces executables we can run.  If not, either
        !          3503: # the compiler is broken, or we cross compile.
        !          3504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          3505: $as_echo_n "checking whether we are cross compiling... " >&6; }
        !          3506: if test "$cross_compiling" != yes; then
        !          3507:   { { ac_try="$ac_link"
        !          3508: case "(($ac_try" in
        !          3509:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3510:   *) ac_try_echo=$ac_try;;
        !          3511: esac
        !          3512: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3513: $as_echo "$ac_try_echo"; } >&5
        !          3514:   (eval "$ac_link") 2>&5
        !          3515:   ac_status=$?
        !          3516:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3517:   test $ac_status = 0; }
        !          3518:   if { ac_try='./conftest$ac_cv_exeext'
        !          3519:   { { case "(($ac_try" in
        !          3520:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3521:   *) ac_try_echo=$ac_try;;
        !          3522: esac
        !          3523: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3524: $as_echo "$ac_try_echo"; } >&5
        !          3525:   (eval "$ac_try") 2>&5
        !          3526:   ac_status=$?
        !          3527:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3528:   test $ac_status = 0; }; }; then
        !          3529:     cross_compiling=no
        !          3530:   else
        !          3531:     if test "$cross_compiling" = maybe; then
        !          3532:        cross_compiling=yes
        !          3533:     else
        !          3534:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3535: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3536: as_fn_error $? "cannot run C++ compiled programs.
        !          3537: If you meant to cross compile, use \`--host'.
        !          3538: See \`config.log' for more details" "$LINENO" 5; }
        !          3539:     fi
        !          3540:   fi
        !          3541: fi
        !          3542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          3543: $as_echo "$cross_compiling" >&6; }
        !          3544: 
        !          3545: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
        !          3546: ac_clean_files=$ac_clean_files_save
        !          3547: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
        !          3548: $as_echo_n "checking for suffix of object files... " >&6; }
        !          3549: if ${ac_cv_objext+:} false; then :
        !          3550:   $as_echo_n "(cached) " >&6
1.62      paf      3551: else
1.150   ! moko     3552:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3553: /* end confdefs.h.  */
                   3554: 
                   3555: int
                   3556: main ()
                   3557: {
                   3558: 
                   3559:   ;
                   3560:   return 0;
                   3561: }
                   3562: _ACEOF
                   3563: rm -f conftest.o conftest.obj
1.150   ! moko     3564: if { { ac_try="$ac_compile"
        !          3565: case "(($ac_try" in
        !          3566:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          3567:   *) ac_try_echo=$ac_try;;
        !          3568: esac
        !          3569: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          3570: $as_echo "$ac_try_echo"; } >&5
        !          3571:   (eval "$ac_compile") 2>&5
        !          3572:   ac_status=$?
        !          3573:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3574:   test $ac_status = 0; }; then :
        !          3575:   for ac_file in conftest.o conftest.obj conftest.*; do
        !          3576:   test -f "$ac_file" || continue;
1.62      paf      3577:   case $ac_file in
1.150   ! moko     3578:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3579:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3580:        break;;
                   3581:   esac
                   3582: done
                   3583: else
1.150   ! moko     3584:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3585: sed 's/^/| /' conftest.$ac_ext >&5
                   3586: 
1.150   ! moko     3587: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3588: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3589: as_fn_error $? "cannot compute suffix of object files: cannot compile
        !          3590: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3591: fi
                   3592: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3593: fi
1.150   ! moko     3594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
        !          3595: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3596: OBJEXT=$ac_cv_objext
                   3597: ac_objext=$OBJEXT
1.150   ! moko     3598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
        !          3599: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
        !          3600: if ${ac_cv_cxx_compiler_gnu+:} false; then :
        !          3601:   $as_echo_n "(cached) " >&6
1.62      paf      3602: else
1.150   ! moko     3603:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3604: /* end confdefs.h.  */
1.66      paf      3605: 
1.62      paf      3606: int
                   3607: main ()
                   3608: {
1.66      paf      3609: #ifndef __GNUC__
                   3610:        choke me
                   3611: #endif
                   3612: 
1.62      paf      3613:   ;
                   3614:   return 0;
                   3615: }
                   3616: _ACEOF
1.150   ! moko     3617: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3618:   ac_compiler_gnu=yes
1.62      paf      3619: else
1.150   ! moko     3620:   ac_compiler_gnu=no
1.1       paf      3621: fi
1.150   ! moko     3622: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3623: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3624: 
                   3625: fi
1.150   ! moko     3626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
        !          3627: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
        !          3628: if test $ac_compiler_gnu = yes; then
        !          3629:   GXX=yes
        !          3630: else
        !          3631:   GXX=
        !          3632: fi
1.66      paf      3633: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3634: ac_save_CXXFLAGS=$CXXFLAGS
1.150   ! moko     3635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
        !          3636: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
        !          3637: if ${ac_cv_prog_cxx_g+:} false; then :
        !          3638:   $as_echo_n "(cached) " >&6
        !          3639: else
        !          3640:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
        !          3641:    ac_cxx_werror_flag=yes
        !          3642:    ac_cv_prog_cxx_g=no
        !          3643:    CXXFLAGS="-g"
        !          3644:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3645: /* end confdefs.h.  */
1.1       paf      3646: 
1.66      paf      3647: int
                   3648: main ()
                   3649: {
1.1       paf      3650: 
1.66      paf      3651:   ;
                   3652:   return 0;
                   3653: }
1.62      paf      3654: _ACEOF
1.150   ! moko     3655: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3656:   ac_cv_prog_cxx_g=yes
                   3657: else
1.150   ! moko     3658:   CXXFLAGS=""
        !          3659:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3660: /* end confdefs.h.  */
1.66      paf      3661: 
1.62      paf      3662: int
                   3663: main ()
                   3664: {
1.150   ! moko     3665: 
1.62      paf      3666:   ;
                   3667:   return 0;
                   3668: }
                   3669: _ACEOF
1.150   ! moko     3670: if ac_fn_cxx_try_compile "$LINENO"; then :
        !          3671: 
1.1       paf      3672: else
1.150   ! moko     3673:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
        !          3674:         CXXFLAGS="-g"
        !          3675:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3676: /* end confdefs.h.  */
1.62      paf      3677: 
                   3678: int
                   3679: main ()
                   3680: {
1.150   ! moko     3681: 
1.62      paf      3682:   ;
                   3683:   return 0;
                   3684: }
                   3685: _ACEOF
1.150   ! moko     3686: if ac_fn_cxx_try_compile "$LINENO"; then :
        !          3687:   ac_cv_prog_cxx_g=yes
        !          3688: fi
        !          3689: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3690: fi
        !          3691: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3692: fi
        !          3693: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          3694:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
        !          3695: fi
        !          3696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
        !          3697: $as_echo "$ac_cv_prog_cxx_g" >&6; }
        !          3698: if test "$ac_test_CXXFLAGS" = set; then
        !          3699:   CXXFLAGS=$ac_save_CXXFLAGS
        !          3700: elif test $ac_cv_prog_cxx_g = yes; then
        !          3701:   if test "$GXX" = yes; then
        !          3702:     CXXFLAGS="-g -O2"
        !          3703:   else
        !          3704:     CXXFLAGS="-g"
        !          3705:   fi
1.1       paf      3706: else
1.150   ! moko     3707:   if test "$GXX" = yes; then
        !          3708:     CXXFLAGS="-O2"
        !          3709:   else
        !          3710:     CXXFLAGS=
        !          3711:   fi
1.1       paf      3712: fi
1.62      paf      3713: ac_ext=c
                   3714: ac_cpp='$CPP $CPPFLAGS'
                   3715: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3716: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3717: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3718: DEPDIR="${am__leading_dot}deps"
1.62      paf      3719: 
1.150   ! moko     3720: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3721: 
                   3722: 
                   3723: am_make=${MAKE-make}
                   3724: cat > confinc << 'END'
1.86      paf      3725: am__doit:
1.150   ! moko     3726:        @echo this is the am__doit target
1.86      paf      3727: .PHONY: am__doit
1.62      paf      3728: END
                   3729: # If we don't find an include directive, just comment out the code.
1.150   ! moko     3730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
        !          3731: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.62      paf      3732: am__include="#"
                   3733: am__quote=
                   3734: _am_result=none
                   3735: # First try GNU make style include.
                   3736: echo "include confinc" > confmf
1.150   ! moko     3737: # Ignore all kinds of additional output from `make'.
        !          3738: case `$am_make -s -f confmf 2> /dev/null` in #(
        !          3739: *the\ am__doit\ target*)
        !          3740:   am__include=include
        !          3741:   am__quote=
        !          3742:   _am_result=GNU
        !          3743:   ;;
        !          3744: esac
1.62      paf      3745: # Now try BSD make style include.
                   3746: if test "$am__include" = "#"; then
                   3747:    echo '.include "confinc"' > confmf
1.150   ! moko     3748:    case `$am_make -s -f confmf 2> /dev/null` in #(
        !          3749:    *the\ am__doit\ target*)
        !          3750:      am__include=.include
        !          3751:      am__quote="\""
        !          3752:      _am_result=BSD
        !          3753:      ;;
        !          3754:    esac
1.62      paf      3755: fi
                   3756: 
                   3757: 
1.150   ! moko     3758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
        !          3759: $as_echo "$_am_result" >&6; }
1.62      paf      3760: rm -f confinc confmf
                   3761: 
1.150   ! moko     3762: # Check whether --enable-dependency-tracking was given.
        !          3763: if test "${enable_dependency_tracking+set}" = set; then :
        !          3764:   enableval=$enable_dependency_tracking;
        !          3765: fi
1.62      paf      3766: 
                   3767: if test "x$enable_dependency_tracking" != xno; then
                   3768:   am_depcomp="$ac_aux_dir/depcomp"
                   3769:   AMDEPBACKSLASH='\'
1.1       paf      3770: fi
1.150   ! moko     3771:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      3772:   AMDEP_TRUE=
                   3773:   AMDEP_FALSE='#'
                   3774: else
                   3775:   AMDEP_TRUE='#'
                   3776:   AMDEP_FALSE=
                   3777: fi
1.1       paf      3778: 
                   3779: 
                   3780: 
1.66      paf      3781: depcc="$CXX"  am_compiler_list=
1.1       paf      3782: 
1.150   ! moko     3783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
        !          3784: $as_echo_n "checking dependency style of $depcc... " >&6; }
        !          3785: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
        !          3786:   $as_echo_n "(cached) " >&6
1.62      paf      3787: else
                   3788:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3789:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3790:   # making bogus files that we don't know about and never remove.  For
                   3791:   # instance it was reported that on HP-UX the gcc test will end up
                   3792:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3793:   # in D'.
                   3794:   mkdir conftest.dir
                   3795:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3796:   # using a relative directory.
                   3797:   cp "$am_depcomp" conftest.dir
                   3798:   cd conftest.dir
1.86      paf      3799:   # We will build objects and dependencies in a subdirectory because
                   3800:   # it helps to detect inapplicable dependency modes.  For instance
                   3801:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3802:   # side effect of compilation, but ICC will put the dependencies in
                   3803:   # the current directory while Tru64 will put them in the object
                   3804:   # directory.
                   3805:   mkdir sub
1.1       paf      3806: 
1.66      paf      3807:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      3808:   if test "$am_compiler_list" = ""; then
                   3809:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      3810:   fi
1.150   ! moko     3811:   am__universal=false
        !          3812:   case " $depcc " in #(
        !          3813:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
        !          3814:      esac
        !          3815: 
1.62      paf      3816:   for depmode in $am_compiler_list; do
1.86      paf      3817:     # Setup a source with many dependencies, because some compilers
                   3818:     # like to wrap large dependency lists on column 80 (with \), and
                   3819:     # we should not choose a depcomp mode which is confused by this.
                   3820:     #
1.62      paf      3821:     # We need to recreate these files for each test, as the compiler may
                   3822:     # overwrite some of them when testing with obscure command lines.
                   3823:     # This happens at least with the AIX C compiler.
1.86      paf      3824:     : > sub/conftest.c
                   3825:     for i in 1 2 3 4 5 6; do
                   3826:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3827:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3828:       # Solaris 8's {/usr,}/bin/sh.
                   3829:       touch sub/conftst$i.h
                   3830:     done
                   3831:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3832: 
1.150   ! moko     3833:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !          3834:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !          3835:     # handle `-M -o', and we need to detect this.  Also, some Intel
        !          3836:     # versions had trouble with output in subdirs
        !          3837:     am__obj=sub/conftest.${OBJEXT-o}
        !          3838:     am__minus_obj="-o $am__obj"
1.62      paf      3839:     case $depmode in
1.150   ! moko     3840:     gcc)
        !          3841:       # This depmode causes a compiler race in universal mode.
        !          3842:       test "$am__universal" = false || continue
        !          3843:       ;;
1.62      paf      3844:     nosideeffect)
                   3845:       # after this tag, mechanisms are not by side-effect, so they'll
                   3846:       # only be used when explicitly requested
                   3847:       if test "x$enable_dependency_tracking" = xyes; then
                   3848:        continue
                   3849:       else
                   3850:        break
                   3851:       fi
                   3852:       ;;
1.150   ! moko     3853:     msvisualcpp | msvcmsys)
        !          3854:       # This compiler won't grok `-c -o', but also, the minuso test has
        !          3855:       # not run yet.  These depmodes are late enough in the game, and
        !          3856:       # so weak that their functioning should not be impacted.
        !          3857:       am__obj=conftest.${OBJEXT-o}
        !          3858:       am__minus_obj=
        !          3859:       ;;
1.62      paf      3860:     none) break ;;
                   3861:     esac
                   3862:     if depmode=$depmode \
1.150   ! moko     3863:        source=sub/conftest.c object=$am__obj \
1.86      paf      3864:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150   ! moko     3865:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      3866:          >/dev/null 2>conftest.err &&
1.150   ! moko     3867:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      3868:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150   ! moko     3869:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      3870:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3871:       # icc doesn't choke on unknown options, it will just issue warnings
                   3872:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3873:       # that says an option was ignored or not supported.
                   3874:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3875:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3876:       # The diagnosis changed in icc 8.0:
                   3877:       #   icc: Command line remark: option '-MP' not supported
                   3878:       if (grep 'ignoring option' conftest.err ||
                   3879:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3880:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3881:         break
                   3882:       fi
1.66      paf      3883:     fi
                   3884:   done
                   3885: 
                   3886:   cd ..
                   3887:   rm -rf conftest.dir
                   3888: else
                   3889:   am_cv_CXX_dependencies_compiler_type=none
                   3890: fi
                   3891: 
                   3892: fi
1.150   ! moko     3893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
        !          3894: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      3895: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3896: 
1.150   ! moko     3897:  if
1.66      paf      3898:   test "x$enable_dependency_tracking" != xno \
                   3899:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3900:   am__fastdepCXX_TRUE=
                   3901:   am__fastdepCXX_FALSE='#'
                   3902: else
                   3903:   am__fastdepCXX_TRUE='#'
                   3904:   am__fastdepCXX_FALSE=
                   3905: fi
                   3906: 
                   3907: 
                   3908: ac_ext=c
                   3909: ac_cpp='$CPP $CPPFLAGS'
                   3910: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3911: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3912: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3913: if test -n "$ac_tool_prefix"; then
                   3914:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3915: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150   ! moko     3916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3917: $as_echo_n "checking for $ac_word... " >&6; }
        !          3918: if ${ac_cv_prog_CC+:} false; then :
        !          3919:   $as_echo_n "(cached) " >&6
1.66      paf      3920: else
                   3921:   if test -n "$CC"; then
                   3922:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3923: else
                   3924: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3925: for as_dir in $PATH
                   3926: do
                   3927:   IFS=$as_save_IFS
                   3928:   test -z "$as_dir" && as_dir=.
1.150   ! moko     3929:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3930:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3931:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150   ! moko     3932:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3933:     break 2
                   3934:   fi
                   3935: done
1.150   ! moko     3936:   done
        !          3937: IFS=$as_save_IFS
1.66      paf      3938: 
                   3939: fi
                   3940: fi
                   3941: CC=$ac_cv_prog_CC
                   3942: if test -n "$CC"; then
1.150   ! moko     3943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3944: $as_echo "$CC" >&6; }
1.66      paf      3945: else
1.150   ! moko     3946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3947: $as_echo "no" >&6; }
1.66      paf      3948: fi
                   3949: 
1.150   ! moko     3950: 
1.66      paf      3951: fi
                   3952: if test -z "$ac_cv_prog_CC"; then
                   3953:   ac_ct_CC=$CC
                   3954:   # Extract the first word of "gcc", so it can be a program name with args.
                   3955: set dummy gcc; ac_word=$2
1.150   ! moko     3956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3957: $as_echo_n "checking for $ac_word... " >&6; }
        !          3958: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          3959:   $as_echo_n "(cached) " >&6
1.66      paf      3960: else
                   3961:   if test -n "$ac_ct_CC"; then
                   3962:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3963: else
                   3964: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3965: for as_dir in $PATH
                   3966: do
                   3967:   IFS=$as_save_IFS
                   3968:   test -z "$as_dir" && as_dir=.
1.150   ! moko     3969:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3970:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3971:     ac_cv_prog_ac_ct_CC="gcc"
1.150   ! moko     3972:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3973:     break 2
                   3974:   fi
                   3975: done
1.150   ! moko     3976:   done
        !          3977: IFS=$as_save_IFS
1.66      paf      3978: 
                   3979: fi
                   3980: fi
                   3981: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3982: if test -n "$ac_ct_CC"; then
1.150   ! moko     3983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          3984: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      3985: else
1.150   ! moko     3986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3987: $as_echo "no" >&6; }
1.62      paf      3988: fi
                   3989: 
1.150   ! moko     3990:   if test "x$ac_ct_CC" = x; then
        !          3991:     CC=""
        !          3992:   else
        !          3993:     case $cross_compiling:$ac_tool_warned in
        !          3994: yes:)
        !          3995: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3996: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          3997: ac_tool_warned=yes ;;
        !          3998: esac
        !          3999:     CC=$ac_ct_CC
        !          4000:   fi
1.66      paf      4001: else
                   4002:   CC="$ac_cv_prog_CC"
1.1       paf      4003: fi
1.62      paf      4004: 
1.66      paf      4005: if test -z "$CC"; then
1.150   ! moko     4006:           if test -n "$ac_tool_prefix"; then
        !          4007:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4008: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150   ! moko     4009: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4010: $as_echo_n "checking for $ac_word... " >&6; }
        !          4011: if ${ac_cv_prog_CC+:} false; then :
        !          4012:   $as_echo_n "(cached) " >&6
1.66      paf      4013: else
                   4014:   if test -n "$CC"; then
                   4015:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4016: else
                   4017: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4018: for as_dir in $PATH
                   4019: do
                   4020:   IFS=$as_save_IFS
                   4021:   test -z "$as_dir" && as_dir=.
1.150   ! moko     4022:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4023:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4024:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150   ! moko     4025:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4026:     break 2
                   4027:   fi
                   4028: done
1.150   ! moko     4029:   done
        !          4030: IFS=$as_save_IFS
1.62      paf      4031: 
1.66      paf      4032: fi
                   4033: fi
                   4034: CC=$ac_cv_prog_CC
                   4035: if test -n "$CC"; then
1.150   ! moko     4036:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4037: $as_echo "$CC" >&6; }
1.62      paf      4038: else
1.150   ! moko     4039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4040: $as_echo "no" >&6; }
1.1       paf      4041: fi
                   4042: 
1.150   ! moko     4043: 
1.66      paf      4044:   fi
1.1       paf      4045: fi
1.66      paf      4046: if test -z "$CC"; then
                   4047:   # Extract the first word of "cc", so it can be a program name with args.
                   4048: set dummy cc; ac_word=$2
1.150   ! moko     4049: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4050: $as_echo_n "checking for $ac_word... " >&6; }
        !          4051: if ${ac_cv_prog_CC+:} false; then :
        !          4052:   $as_echo_n "(cached) " >&6
1.66      paf      4053: else
                   4054:   if test -n "$CC"; then
                   4055:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4056: else
                   4057:   ac_prog_rejected=no
                   4058: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4059: for as_dir in $PATH
                   4060: do
                   4061:   IFS=$as_save_IFS
                   4062:   test -z "$as_dir" && as_dir=.
1.150   ! moko     4063:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4064:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4065:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4066:        ac_prog_rejected=yes
                   4067:        continue
                   4068:      fi
                   4069:     ac_cv_prog_CC="cc"
1.150   ! moko     4070:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4071:     break 2
                   4072:   fi
                   4073: done
1.150   ! moko     4074:   done
        !          4075: IFS=$as_save_IFS
1.62      paf      4076: 
1.66      paf      4077: if test $ac_prog_rejected = yes; then
                   4078:   # We found a bogon in the path, so make sure we never use it.
                   4079:   set dummy $ac_cv_prog_CC
                   4080:   shift
                   4081:   if test $# != 0; then
                   4082:     # We chose a different compiler from the bogus one.
                   4083:     # However, it has the same basename, so the bogon will be chosen
                   4084:     # first if we set CC to just the basename; use the full file name.
                   4085:     shift
                   4086:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4087:   fi
                   4088: fi
                   4089: fi
                   4090: fi
                   4091: CC=$ac_cv_prog_CC
                   4092: if test -n "$CC"; then
1.150   ! moko     4093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4094: $as_echo "$CC" >&6; }
1.66      paf      4095: else
1.150   ! moko     4096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4097: $as_echo "no" >&6; }
1.1       paf      4098: fi
                   4099: 
1.150   ! moko     4100: 
1.66      paf      4101: fi
                   4102: if test -z "$CC"; then
                   4103:   if test -n "$ac_tool_prefix"; then
1.150   ! moko     4104:   for ac_prog in cl.exe
1.62      paf      4105:   do
                   4106:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4107: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150   ! moko     4108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4109: $as_echo_n "checking for $ac_word... " >&6; }
        !          4110: if ${ac_cv_prog_CC+:} false; then :
        !          4111:   $as_echo_n "(cached) " >&6
1.62      paf      4112: else
1.66      paf      4113:   if test -n "$CC"; then
                   4114:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4115: else
                   4116: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4117: for as_dir in $PATH
                   4118: do
                   4119:   IFS=$as_save_IFS
                   4120:   test -z "$as_dir" && as_dir=.
1.150   ! moko     4121:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4122:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4123:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150   ! moko     4124:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4125:     break 2
                   4126:   fi
                   4127: done
1.150   ! moko     4128:   done
        !          4129: IFS=$as_save_IFS
1.1       paf      4130: 
1.62      paf      4131: fi
                   4132: fi
1.66      paf      4133: CC=$ac_cv_prog_CC
                   4134: if test -n "$CC"; then
1.150   ! moko     4135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          4136: $as_echo "$CC" >&6; }
1.1       paf      4137: else
1.150   ! moko     4138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4139: $as_echo "no" >&6; }
1.1       paf      4140: fi
                   4141: 
1.150   ! moko     4142: 
1.66      paf      4143:     test -n "$CC" && break
1.62      paf      4144:   done
                   4145: fi
1.66      paf      4146: if test -z "$CC"; then
                   4147:   ac_ct_CC=$CC
1.150   ! moko     4148:   for ac_prog in cl.exe
1.62      paf      4149: do
                   4150:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4151: set dummy $ac_prog; ac_word=$2
1.150   ! moko     4152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4153: $as_echo_n "checking for $ac_word... " >&6; }
        !          4154: if ${ac_cv_prog_ac_ct_CC+:} false; then :
        !          4155:   $as_echo_n "(cached) " >&6
1.62      paf      4156: else
1.66      paf      4157:   if test -n "$ac_ct_CC"; then
                   4158:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4159: else
1.62      paf      4160: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4161: for as_dir in $PATH
                   4162: do
                   4163:   IFS=$as_save_IFS
                   4164:   test -z "$as_dir" && as_dir=.
1.150   ! moko     4165:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4166:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4167:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150   ! moko     4168:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4169:     break 2
                   4170:   fi
                   4171: done
1.150   ! moko     4172:   done
        !          4173: IFS=$as_save_IFS
1.62      paf      4174: 
                   4175: fi
                   4176: fi
1.66      paf      4177: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4178: if test -n "$ac_ct_CC"; then
1.150   ! moko     4179:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          4180: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4181: else
1.150   ! moko     4182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4183: $as_echo "no" >&6; }
1.1       paf      4184: fi
                   4185: 
1.150   ! moko     4186: 
1.66      paf      4187:   test -n "$ac_ct_CC" && break
                   4188: done
                   4189: 
1.150   ! moko     4190:   if test "x$ac_ct_CC" = x; then
        !          4191:     CC=""
        !          4192:   else
        !          4193:     case $cross_compiling:$ac_tool_warned in
        !          4194: yes:)
        !          4195: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4196: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4197: ac_tool_warned=yes ;;
        !          4198: esac
        !          4199:     CC=$ac_ct_CC
        !          4200:   fi
1.66      paf      4201: fi
                   4202: 
                   4203: fi
1.62      paf      4204: 
1.1       paf      4205: 
1.150   ! moko     4206: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          4207: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          4208: as_fn_error $? "no acceptable C compiler found in \$PATH
        !          4209: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4210: 
                   4211: # Provide some information about the compiler.
1.150   ! moko     4212: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
        !          4213: set X $ac_compile
        !          4214: ac_compiler=$2
        !          4215: for ac_option in --version -v -V -qversion; do
        !          4216:   { { ac_try="$ac_compiler $ac_option >&5"
        !          4217: case "(($ac_try" in
        !          4218:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4219:   *) ac_try_echo=$ac_try;;
        !          4220: esac
        !          4221: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          4222: $as_echo "$ac_try_echo"; } >&5
        !          4223:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4224:   ac_status=$?
1.150   ! moko     4225:   if test -s conftest.err; then
        !          4226:     sed '10a\
        !          4227: ... rest of stderr output deleted ...
        !          4228:          10q' conftest.err >conftest.er1
        !          4229:     cat conftest.er1 >&5
        !          4230:   fi
        !          4231:   rm -f conftest.er1 conftest.err
        !          4232:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          4233:   test $ac_status = 0; }
        !          4234: done
        !          4235: 
        !          4236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
        !          4237: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
        !          4238: if ${ac_cv_c_compiler_gnu+:} false; then :
        !          4239:   $as_echo_n "(cached) " >&6
1.62      paf      4240: else
1.150   ! moko     4241:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4242: /* end confdefs.h.  */
                   4243: 
                   4244: int
                   4245: main ()
                   4246: {
                   4247: #ifndef __GNUC__
                   4248:        choke me
                   4249: #endif
                   4250: 
                   4251:   ;
                   4252:   return 0;
                   4253: }
                   4254: _ACEOF
1.150   ! moko     4255: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4256:   ac_compiler_gnu=yes
                   4257: else
1.150   ! moko     4258:   ac_compiler_gnu=no
1.62      paf      4259: fi
1.150   ! moko     4260: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4261: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4262: 
                   4263: fi
1.150   ! moko     4264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        !          4265: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
        !          4266: if test $ac_compiler_gnu = yes; then
        !          4267:   GCC=yes
        !          4268: else
        !          4269:   GCC=
        !          4270: fi
1.66      paf      4271: ac_test_CFLAGS=${CFLAGS+set}
                   4272: ac_save_CFLAGS=$CFLAGS
1.150   ! moko     4273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
        !          4274: $as_echo_n "checking whether $CC accepts -g... " >&6; }
        !          4275: if ${ac_cv_prog_cc_g+:} false; then :
        !          4276:   $as_echo_n "(cached) " >&6
        !          4277: else
        !          4278:   ac_save_c_werror_flag=$ac_c_werror_flag
        !          4279:    ac_c_werror_flag=yes
        !          4280:    ac_cv_prog_cc_g=no
        !          4281:    CFLAGS="-g"
        !          4282:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4283: /* end confdefs.h.  */
                   4284: 
                   4285: int
                   4286: main ()
                   4287: {
                   4288: 
                   4289:   ;
                   4290:   return 0;
                   4291: }
                   4292: _ACEOF
1.150   ! moko     4293: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4294:   ac_cv_prog_cc_g=yes
1.62      paf      4295: else
1.150   ! moko     4296:   CFLAGS=""
        !          4297:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4298: /* end confdefs.h.  */
        !          4299: 
        !          4300: int
        !          4301: main ()
        !          4302: {
1.62      paf      4303: 
1.150   ! moko     4304:   ;
        !          4305:   return 0;
        !          4306: }
        !          4307: _ACEOF
        !          4308: if ac_fn_c_try_compile "$LINENO"; then :
        !          4309: 
        !          4310: else
        !          4311:   ac_c_werror_flag=$ac_save_c_werror_flag
        !          4312:         CFLAGS="-g"
        !          4313:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4314: /* end confdefs.h.  */
        !          4315: 
        !          4316: int
        !          4317: main ()
        !          4318: {
        !          4319: 
        !          4320:   ;
        !          4321:   return 0;
        !          4322: }
        !          4323: _ACEOF
        !          4324: if ac_fn_c_try_compile "$LINENO"; then :
        !          4325:   ac_cv_prog_cc_g=yes
        !          4326: fi
        !          4327: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4328: fi
1.150   ! moko     4329: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4330: fi
1.150   ! moko     4331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4332:    ac_c_werror_flag=$ac_save_c_werror_flag
        !          4333: fi
        !          4334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
        !          4335: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4336: if test "$ac_test_CFLAGS" = set; then
                   4337:   CFLAGS=$ac_save_CFLAGS
                   4338: elif test $ac_cv_prog_cc_g = yes; then
                   4339:   if test "$GCC" = yes; then
                   4340:     CFLAGS="-g -O2"
1.1       paf      4341:   else
1.66      paf      4342:     CFLAGS="-g"
1.1       paf      4343:   fi
                   4344: else
1.66      paf      4345:   if test "$GCC" = yes; then
                   4346:     CFLAGS="-O2"
1.1       paf      4347:   else
1.66      paf      4348:     CFLAGS=
1.1       paf      4349:   fi
                   4350: fi
1.150   ! moko     4351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
        !          4352: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
        !          4353: if ${ac_cv_prog_cc_c89+:} false; then :
        !          4354:   $as_echo_n "(cached) " >&6
1.66      paf      4355: else
1.150   ! moko     4356:   ac_cv_prog_cc_c89=no
1.66      paf      4357: ac_save_CC=$CC
1.150   ! moko     4358: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4359: /* end confdefs.h.  */
                   4360: #include <stdarg.h>
                   4361: #include <stdio.h>
                   4362: #include <sys/types.h>
                   4363: #include <sys/stat.h>
                   4364: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4365: struct buf { int x; };
                   4366: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4367: static char *e (p, i)
                   4368:      char **p;
                   4369:      int i;
                   4370: {
                   4371:   return p[i];
                   4372: }
                   4373: static char *f (char * (*g) (char **, int), char **p, ...)
                   4374: {
                   4375:   char *s;
                   4376:   va_list v;
                   4377:   va_start (v,p);
                   4378:   s = g (p, va_arg (v,int));
                   4379:   va_end (v);
                   4380:   return s;
                   4381: }
1.86      paf      4382: 
                   4383: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4384:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4385:    These don't provoke an error unfortunately, instead are silently treated
1.150   ! moko     4386:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4387:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4388:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150   ! moko     4389:    that's true only with -std.  */
1.86      paf      4390: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4391: 
1.150   ! moko     4392: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          4393:    inside strings and character constants.  */
        !          4394: #define FOO(x) 'x'
        !          4395: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
        !          4396: 
1.66      paf      4397: int test (int i, double x);
                   4398: struct s1 {int (*f) (int a);};
                   4399: struct s2 {int (*f) (double a);};
                   4400: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4401: int argc;
                   4402: char **argv;
                   4403: int
                   4404: main ()
                   4405: {
                   4406: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4407:   ;
                   4408:   return 0;
                   4409: }
                   4410: _ACEOF
1.150   ! moko     4411: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
        !          4412:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4413: do
                   4414:   CC="$ac_save_CC $ac_arg"
1.150   ! moko     4415:   if ac_fn_c_try_compile "$LINENO"; then :
        !          4416:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4417: fi
1.150   ! moko     4418: rm -f core conftest.err conftest.$ac_objext
        !          4419:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4420: done
1.150   ! moko     4421: rm -f conftest.$ac_ext
1.66      paf      4422: CC=$ac_save_CC
                   4423: 
                   4424: fi
1.150   ! moko     4425: # AC_CACHE_VAL
        !          4426: case "x$ac_cv_prog_cc_c89" in
        !          4427:   x)
        !          4428:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          4429: $as_echo "none needed" >&6; } ;;
        !          4430:   xno)
        !          4431:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          4432: $as_echo "unsupported" >&6; } ;;
1.66      paf      4433:   *)
1.150   ! moko     4434:     CC="$CC $ac_cv_prog_cc_c89"
        !          4435:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
        !          4436: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4437: esac
1.150   ! moko     4438: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4439: 
                   4440: fi
1.66      paf      4441: 
1.62      paf      4442: ac_ext=c
                   4443: ac_cpp='$CPP $CPPFLAGS'
                   4444: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4445: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4446: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4447: 
1.66      paf      4448: depcc="$CC"   am_compiler_list=
1.62      paf      4449: 
1.150   ! moko     4450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
        !          4451: $as_echo_n "checking dependency style of $depcc... " >&6; }
        !          4452: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
        !          4453:   $as_echo_n "(cached) " >&6
1.62      paf      4454: else
                   4455:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4456:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4457:   # making bogus files that we don't know about and never remove.  For
                   4458:   # instance it was reported that on HP-UX the gcc test will end up
                   4459:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4460:   # in D'.
                   4461:   mkdir conftest.dir
                   4462:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4463:   # using a relative directory.
                   4464:   cp "$am_depcomp" conftest.dir
                   4465:   cd conftest.dir
1.86      paf      4466:   # We will build objects and dependencies in a subdirectory because
                   4467:   # it helps to detect inapplicable dependency modes.  For instance
                   4468:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4469:   # side effect of compilation, but ICC will put the dependencies in
                   4470:   # the current directory while Tru64 will put them in the object
                   4471:   # directory.
                   4472:   mkdir sub
1.62      paf      4473: 
1.66      paf      4474:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4475:   if test "$am_compiler_list" = ""; then
                   4476:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4477:   fi
1.150   ! moko     4478:   am__universal=false
        !          4479:   case " $depcc " in #(
        !          4480:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
        !          4481:      esac
        !          4482: 
1.62      paf      4483:   for depmode in $am_compiler_list; do
1.86      paf      4484:     # Setup a source with many dependencies, because some compilers
                   4485:     # like to wrap large dependency lists on column 80 (with \), and
                   4486:     # we should not choose a depcomp mode which is confused by this.
                   4487:     #
1.62      paf      4488:     # We need to recreate these files for each test, as the compiler may
                   4489:     # overwrite some of them when testing with obscure command lines.
                   4490:     # This happens at least with the AIX C compiler.
1.86      paf      4491:     : > sub/conftest.c
                   4492:     for i in 1 2 3 4 5 6; do
                   4493:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4494:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4495:       # Solaris 8's {/usr,}/bin/sh.
                   4496:       touch sub/conftst$i.h
                   4497:     done
                   4498:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4499: 
1.150   ! moko     4500:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !          4501:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !          4502:     # handle `-M -o', and we need to detect this.  Also, some Intel
        !          4503:     # versions had trouble with output in subdirs
        !          4504:     am__obj=sub/conftest.${OBJEXT-o}
        !          4505:     am__minus_obj="-o $am__obj"
1.62      paf      4506:     case $depmode in
1.150   ! moko     4507:     gcc)
        !          4508:       # This depmode causes a compiler race in universal mode.
        !          4509:       test "$am__universal" = false || continue
        !          4510:       ;;
1.62      paf      4511:     nosideeffect)
                   4512:       # after this tag, mechanisms are not by side-effect, so they'll
                   4513:       # only be used when explicitly requested
                   4514:       if test "x$enable_dependency_tracking" = xyes; then
                   4515:        continue
                   4516:       else
                   4517:        break
                   4518:       fi
                   4519:       ;;
1.150   ! moko     4520:     msvisualcpp | msvcmsys)
        !          4521:       # This compiler won't grok `-c -o', but also, the minuso test has
        !          4522:       # not run yet.  These depmodes are late enough in the game, and
        !          4523:       # so weak that their functioning should not be impacted.
        !          4524:       am__obj=conftest.${OBJEXT-o}
        !          4525:       am__minus_obj=
        !          4526:       ;;
1.62      paf      4527:     none) break ;;
                   4528:     esac
1.66      paf      4529:     if depmode=$depmode \
1.150   ! moko     4530:        source=sub/conftest.c object=$am__obj \
1.86      paf      4531:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150   ! moko     4532:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4533:          >/dev/null 2>conftest.err &&
1.150   ! moko     4534:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4535:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150   ! moko     4536:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4537:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4538:       # icc doesn't choke on unknown options, it will just issue warnings
                   4539:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4540:       # that says an option was ignored or not supported.
                   4541:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4542:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4543:       # The diagnosis changed in icc 8.0:
                   4544:       #   icc: Command line remark: option '-MP' not supported
                   4545:       if (grep 'ignoring option' conftest.err ||
                   4546:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4547:         am_cv_CC_dependencies_compiler_type=$depmode
                   4548:         break
                   4549:       fi
1.66      paf      4550:     fi
                   4551:   done
                   4552: 
                   4553:   cd ..
                   4554:   rm -rf conftest.dir
                   4555: else
                   4556:   am_cv_CC_dependencies_compiler_type=none
                   4557: fi
                   4558: 
                   4559: fi
1.150   ! moko     4560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
        !          4561: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4562: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4563: 
1.150   ! moko     4564:  if
1.66      paf      4565:   test "x$enable_dependency_tracking" != xno \
                   4566:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4567:   am__fastdepCC_TRUE=
                   4568:   am__fastdepCC_FALSE='#'
                   4569: else
                   4570:   am__fastdepCC_TRUE='#'
                   4571:   am__fastdepCC_FALSE=
                   4572: fi
                   4573: 
                   4574: 
1.128     moko     4575: 
1.66      paf      4576: ac_ext=c
                   4577: ac_cpp='$CPP $CPPFLAGS'
                   4578: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4579: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4580: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4581: 
1.67      paf      4582: 
1.62      paf      4583: 
1.150   ! moko     4584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
        !          4585: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4586: case "$host_os" in
                   4587: cygwin)
                   4588:        dll_extension=dll
                   4589:        ;;
                   4590: *)
                   4591:        dll_extension=so
1.66      paf      4592: esac
1.150   ! moko     4593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
        !          4594: $as_echo "$dll_extension" >&6; }
1.1       paf      4595: 
1.71      paf      4596: 
                   4597: 
                   4598: 
1.150   ! moko     4599: # Check whether --with-build-warnings was given.
        !          4600: if test "${with_build_warnings+set}" = set; then :
        !          4601:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
        !          4602: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.71      paf      4603:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   4604: 
1.150   ! moko     4605: fi
        !          4606: 
1.1       paf      4607: 
                   4608: 
1.150   ! moko     4609: # Check whether --with-assertions was given.
        !          4610: if test "${with_assertions+set}" = set; then :
        !          4611:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
        !          4612: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4613: 
                   4614: else
                   4615: 
1.150   ! moko     4616: $as_echo "#define NDEBUG /**/" >>confdefs.h
        !          4617: 
1.67      paf      4618: 
1.150   ! moko     4619: fi
1.67      paf      4620: 
                   4621: 
1.94      misha    4622: 
1.150   ! moko     4623: # Check whether --with-pathlink was given.
        !          4624: if test "${with_pathlink+set}" = set; then :
        !          4625:   withval=$with_pathlink; LD_PATHLINK=$withval
1.128     moko     4626: 
1.150   ! moko     4627: fi
1.128     moko     4628: 
                   4629: 
                   4630: 
1.150   ! moko     4631: # Check whether --with-sjlj-exceptions was given.
        !          4632: if test "${with_sjlj_exceptions+set}" = set; then :
        !          4633:   withval=$with_sjlj_exceptions;
        !          4634: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4635: 
                   4636: 
1.150   ! moko     4637: fi
1.128     moko     4638: 
                   4639: 
1.62      paf      4640: 
1.150   ! moko     4641: # Check whether --enable-safe-mode was given.
        !          4642: if test "${enable_safe_mode+set}" = set; then :
        !          4643:   enableval=$enable_safe_mode;
1.67      paf      4644:        SAFE_MODE=$enableval
1.60      paf      4645: 
1.1       paf      4646: 
1.150   ! moko     4647: fi
        !          4648: 
1.128     moko     4649: 
1.60      paf      4650: if test "$SAFE_MODE" = "no"; then
1.150   ! moko     4651:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
        !          4652: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4653: else
1.62      paf      4654: 
1.150   ! moko     4655: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4656: 
                   4657: fi
                   4658: 
1.94      misha    4659: 
1.150   ! moko     4660: # Check whether --enable-execs was given.
        !          4661: if test "${enable_execs+set}" = set; then :
        !          4662:   enableval=$enable_execs;
1.13      paf      4663: if test "$enableval" = "no"; then
1.150   ! moko     4664:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
        !          4665: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      4666: 
1.150   ! moko     4667: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      4668: 
                   4669: fi
                   4670: 
                   4671: 
1.150   ! moko     4672: fi
1.13      paf      4673: 
1.60      paf      4674: 
1.94      misha    4675: 
1.150   ! moko     4676: # Check whether --enable-stringstream was given.
        !          4677: if test "${enable_stringstream+set}" = set; then :
        !          4678:   enableval=$enable_stringstream;
1.94      misha    4679: if test "$enableval" = "no"; then
1.150   ! moko     4680:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
        !          4681: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    4682: 
1.150   ! moko     4683: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    4684: 
                   4685: fi
                   4686: 
                   4687: 
1.150   ! moko     4688: fi
1.94      misha    4689: 
                   4690: 
1.62      paf      4691: 
1.17      paf      4692: 
1.150   ! moko     4693: # Check whether --with-gc was given.
        !          4694: if test "${with_gc+set}" = set; then :
        !          4695:   withval=$with_gc;
1.17      paf      4696: 
1.142     moko     4697:        GC=$withval
                   4698:        GC_LIBS="$GC/libgc.la"
                   4699: 
                   4700:        if test -f $GC_LIBS; then
                   4701:                GC_OK="yes"
                   4702:        else
                   4703:                GC_LIBS="-L$GC -lgc"
                   4704:        fi
1.62      paf      4705: 
1.142     moko     4706: else
1.17      paf      4707: 
1.142     moko     4708:        GC_LIBS="-lgc"
1.150   ! moko     4709:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
        !          4710: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
        !          4711: 
        !          4712: fi
1.17      paf      4713: 
                   4714: 
1.142     moko     4715: if test -z "$GC_OK"; then
1.150   ! moko     4716:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
        !          4717: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     4718:        SAVE_LIBS=$LIBS
                   4719:        LIBS="$LIBS $GC_LIBS"
1.128     moko     4720: 
1.150   ! moko     4721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      4722: /* end confdefs.h.  */
1.142     moko     4723:  extern int GC_dont_gc;
1.67      paf      4724: int
                   4725: main ()
                   4726: {
1.142     moko     4727:  GC_dont_gc=0;
1.67      paf      4728:   ;
                   4729:   return 0;
                   4730: }
                   4731: _ACEOF
1.150   ! moko     4732: if ac_fn_c_try_link "$LINENO"; then :
        !          4733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4734: $as_echo "yes" >&6; }
1.67      paf      4735: 
                   4736: else
1.150   ! moko     4737:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4738: $as_echo "no" >&6; }
1.142     moko     4739:                if test -z "$GC"; then
1.150   ! moko     4740:                        as_fn_error $? "please specify path to libgc: --with-gc" "$LINENO" 5
1.142     moko     4741:                else
1.150   ! moko     4742:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     4743:                fi
1.67      paf      4744: 
                   4745: fi
1.150   ! moko     4746: rm -f core conftest.err conftest.$ac_objext \
        !          4747:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     4748:        LIBS=$SAVE_LIBS
                   4749: fi
1.67      paf      4750: 
                   4751: 
1.1       paf      4752: 
1.15      paf      4753: 
1.142     moko     4754: 
1.150   ! moko     4755: # Check whether --with-pcre was given.
        !          4756: if test "${with_pcre+set}" = set; then :
        !          4757:   withval=$with_pcre;
1.100     misha    4758:        PCRE=$withval
1.142     moko     4759:        PCRE_INCLUDES="-I$PCRE/include"
                   4760:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    4761: 
1.142     moko     4762:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   4763:                PCRE_OK="yes"
                   4764:        else
                   4765:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    4766:        fi
                   4767: 
1.142     moko     4768: 
                   4769: else
                   4770: 
                   4771:        PCRE_LIBS="-lpcre"
1.149     moko     4772:        PCRE_INCLUDES=""
1.150   ! moko     4773:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
        !          4774: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
        !          4775: 
        !          4776: fi
1.100     misha    4777: 
                   4778: 
1.142     moko     4779: if test -z "$PCRE_OK"; then
1.150   ! moko     4780:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
        !          4781: $as_echo_n "checking for prce... " >&6; }
1.142     moko     4782:        SAVE_LIBS=$LIBS
                   4783:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150   ! moko     4784:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4785: /* end confdefs.h.  */
                   4786:  #include <pcre.h>
                   4787: int
                   4788: main ()
                   4789: {
                   4790:  const char *v=pcre_version();
                   4791:   ;
                   4792:   return 0;
                   4793: }
                   4794: _ACEOF
1.150   ! moko     4795: if ac_fn_c_try_link "$LINENO"; then :
        !          4796:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4797: $as_echo "yes" >&6; }
1.142     moko     4798: 
                   4799: else
1.150   ! moko     4800:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4801: $as_echo "no" >&6; }
1.142     moko     4802:                if test -z "$PCRE"; then
1.150   ! moko     4803:                        as_fn_error $? "please specify path to PCRE: --with-pcre" "$LINENO" 5
1.142     moko     4804:                else
1.150   ! moko     4805:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     4806:                fi
                   4807: 
                   4808: fi
1.150   ! moko     4809: rm -f core conftest.err conftest.$ac_objext \
        !          4810:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4811:        LIBS=$SAVE_LIBS
                   4812: fi
1.100     misha    4813: 
                   4814: 
                   4815: 
                   4816: 
1.66      paf      4817: 
                   4818: 
1.150   ! moko     4819: # Check whether --with-xml was given.
        !          4820: if test "${with_xml+set}" = set; then :
        !          4821:   withval=$with_xml;
1.66      paf      4822: 
1.142     moko     4823:        XML=$withval
                   4824:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   4825: 
                   4826:        if test -z "$XML" -o "$XML" = "yes"; then
                   4827:                XML=""
                   4828:                XML_INCLUDES="-I/usr/include/libxml2"
1.150   ! moko     4829:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
        !          4830: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     4831:        else
                   4832:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4833: 
1.142     moko     4834:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4835:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4836:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4837:                        XML_OK="yes"
                   4838:                fi
1.67      paf      4839:        fi
1.66      paf      4840: 
1.142     moko     4841:        if test -z "$XML_OK"; then
1.150   ! moko     4842:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
        !          4843: $as_echo_n "checking for xml... " >&6; }
1.142     moko     4844:                SAVE_LIBS=$LIBS
                   4845:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150   ! moko     4846:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4847: /* end confdefs.h.  */
                   4848:  #include <libxslt/xslt.h>
                   4849: int
                   4850: main ()
                   4851: {
                   4852:  const char *v=xsltEngineVersion;
                   4853:   ;
                   4854:   return 0;
                   4855: }
                   4856: _ACEOF
1.150   ! moko     4857: if ac_fn_c_try_link "$LINENO"; then :
        !          4858:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4859: $as_echo "yes" >&6; }
1.142     moko     4860: 
                   4861: else
1.150   ! moko     4862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4863: $as_echo "no" >&6; }
1.142     moko     4864:                        if test -z "$XML"; then
1.150   ! moko     4865:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml" "$LINENO" 5
1.142     moko     4866:                        else
1.150   ! moko     4867:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     4868:                        fi
                   4869: 
                   4870: fi
1.150   ! moko     4871: rm -f core conftest.err conftest.$ac_objext \
        !          4872:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4873:                LIBS=$SAVE_LIBS
1.67      paf      4874:        fi
1.66      paf      4875: 
1.150   ! moko     4876: $as_echo "#define XML /**/" >>confdefs.h
        !          4877: 
1.66      paf      4878: 
1.150   ! moko     4879: fi
1.66      paf      4880: 
1.90      paf      4881: 
1.66      paf      4882: 
                   4883: 
                   4884: 
                   4885: 
1.150   ! moko     4886: # Check whether --with-glib-config was given.
        !          4887: if test "${with_glib_config+set}" = set; then :
        !          4888:   withval=$with_glib_config; GLIB_CONFIG=$withval
1.90      paf      4889: 
1.150   ! moko     4890: fi
1.66      paf      4891: 
                   4892: 
                   4893: 
1.150   ! moko     4894: # Check whether --with-shared-mailreceive was given.
        !          4895: if test "${with_shared_mailreceive+set}" = set; then :
        !          4896:   withval=$with_shared_mailreceive;
1.67      paf      4897:        GNOME_MIME=$withval
                   4898:        MIMEBIN="$GNOME_MIME/bin"
                   4899:        MIMEINC="$GNOME_MIME/include"
                   4900:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4901: 
1.67      paf      4902:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
1.150   ! moko     4903:                as_fn_error $? "$GNOME_MIME does not seem to be valid Gnome installation directory" "$LINENO" 5
1.67      paf      4904:        fi
1.66      paf      4905: 
                   4906: 
1.150   ! moko     4907: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      4908: 
                   4909: 
1.67      paf      4910:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4911: 
1.67      paf      4912:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4913:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4914:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4915:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4916:                        if test \! -x $GLIB_CONFIG; then
                   4917:                                GLIB_CONFIG=glib-config
                   4918:                        fi
1.67      paf      4919:                fi
                   4920:        fi
                   4921:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4922:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4923: 
1.67      paf      4924:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4925:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4926:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4927:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4928:        fi
1.66      paf      4929: 
1.150   ! moko     4930: fi
1.66      paf      4931: 
                   4932: 
1.150   ! moko     4933: # Check whether --with-static-mailreceive was given.
        !          4934: if test "${with_static_mailreceive+set}" = set; then :
        !          4935:   withval=$with_static_mailreceive;
1.67      paf      4936:        GNOME_MIME=$withval
                   4937:        MIMEBIN="$GNOME_MIME/bin"
                   4938:        MIMEINC="$GNOME_MIME/include"
                   4939:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4940: 
1.67      paf      4941:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
1.150   ! moko     4942:                as_fn_error $? "$GNOME_MIME does not seem to be valid Gnome installation directory" "$LINENO" 5
1.67      paf      4943:        fi
1.66      paf      4944: 
                   4945: 
1.150   ! moko     4946: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      4947: 
                   4948: 
1.67      paf      4949:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4950:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4951:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4952:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4953:                        if test \! -x $GLIB_CONFIG; then
                   4954:                                GLIB_CONFIG=glib-config
                   4955:                        fi
1.67      paf      4956:                fi
                   4957:        fi
                   4958:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4959: 
1.67      paf      4960:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4961:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4962:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
1.138     moko     4963:        MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la"
1.66      paf      4964: 
1.150   ! moko     4965: fi
1.66      paf      4966: 
                   4967: 
                   4968: 
                   4969: 
                   4970: 
                   4971: 
1.150   ! moko     4972: # Check whether --with-sendmail was given.
        !          4973: if test "${with_sendmail+set}" = set; then :
        !          4974:   withval=$with_sendmail;
1.66      paf      4975: cat >>confdefs.h <<_ACEOF
                   4976: #define PA_FORCED_SENDMAIL "$withval"
                   4977: _ACEOF
                   4978: 
                   4979: 
1.150   ! moko     4980: fi
1.66      paf      4981: 
                   4982: 
                   4983: 
1.122     moko     4984: 
1.150   ! moko     4985: # Check whether --with-apache was given.
        !          4986: if test "${with_apache+set}" = set; then :
        !          4987:   withval=$with_apache;
1.122     moko     4988:        APXS=$withval
                   4989: 
                   4990:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4991:                APXS=`which apxs 2>/dev/null`
1.142     moko     4992:                if test -z "$APXS"; then
                   4993:                        APXS=`which apxs2 2>/dev/null`
                   4994:                fi
                   4995:        fi
1.122     moko     4996: 
                   4997:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4998: 
                   4999:        if test -z "$APACHE"; then
1.150   ! moko     5000:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5001:        fi
1.7       paf      5002: 
1.122     moko     5003:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5004:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5005:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5006:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5007: 
1.150   ! moko     5008: fi
1.7       paf      5009: 
                   5010: 
1.62      paf      5011: 
1.122     moko     5012: 
1.150   ! moko     5013:  if test -n "$APACHE"; then
1.122     moko     5014:   COMPILE_APACHE_MODULE_TRUE=
                   5015:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5016: else
1.122     moko     5017:   COMPILE_APACHE_MODULE_TRUE='#'
                   5018:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5019: fi
1.1       paf      5020: 
                   5021: 
                   5022: 
1.62      paf      5023: 
                   5024: 
1.7       paf      5025: 
1.1       paf      5026: 
                   5027: 
                   5028: 
1.62      paf      5029: 
1.128     moko     5030: case `pwd` in
                   5031:   *\ * | *\    *)
1.150   ! moko     5032:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
        !          5033: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5034: esac
                   5035: 
                   5036: 
                   5037: 
                   5038: macro_version='2.4.2'
                   5039: macro_revision='1.3337'
                   5040: 
                   5041: 
                   5042: 
                   5043: 
                   5044: 
                   5045: 
                   5046: 
                   5047: 
                   5048: 
                   5049: 
                   5050: 
                   5051: 
                   5052: 
                   5053: ltmain="$ac_aux_dir/ltmain.sh"
                   5054: 
                   5055: # Backslashify metacharacters that are still active within
                   5056: # double-quoted strings.
                   5057: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5058: 
1.128     moko     5059: # Same as above, but do not quote variable references.
                   5060: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5061: 
1.128     moko     5062: # Sed substitution to delay expansion of an escaped shell variable in a
                   5063: # double_quote_subst'ed string.
                   5064: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5065: 
1.128     moko     5066: # Sed substitution to delay expansion of an escaped single quote.
                   5067: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5068: 
1.128     moko     5069: # Sed substitution to avoid accidental globbing in evaled expressions
                   5070: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5071: 
1.128     moko     5072: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5073: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5074: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5075: 
1.150   ! moko     5076: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          5077: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5078: # Test print first, because it will be a builtin if present.
                   5079: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5080:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5081:   ECHO='print -r --'
                   5082: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5083:   ECHO='printf %s\n'
                   5084: else
                   5085:   # Use this function as a fallback that always works.
                   5086:   func_fallback_echo ()
                   5087:   {
                   5088:     eval 'cat <<_LTECHO_EOF
                   5089: $1
                   5090: _LTECHO_EOF'
                   5091:   }
                   5092:   ECHO='func_fallback_echo'
                   5093: fi
1.86      paf      5094: 
1.128     moko     5095: # func_echo_all arg...
                   5096: # Invoke $ECHO with all args, space-separated.
                   5097: func_echo_all ()
1.66      paf      5098: {
1.128     moko     5099:     $ECHO ""
1.66      paf      5100: }
1.10      paf      5101: 
1.128     moko     5102: case "$ECHO" in
1.150   ! moko     5103:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          5104: $as_echo "printf" >&6; } ;;
        !          5105:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          5106: $as_echo "print -r" >&6; } ;;
        !          5107:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          5108: $as_echo "cat" >&6; } ;;
1.128     moko     5109: esac
                   5110: 
                   5111: 
                   5112: 
                   5113: 
                   5114: 
                   5115: 
                   5116: 
                   5117: 
                   5118: 
                   5119: 
                   5120: 
                   5121: 
                   5122: 
                   5123: 
1.150   ! moko     5124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          5125: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
        !          5126: if ${ac_cv_path_SED+:} false; then :
        !          5127:   $as_echo_n "(cached) " >&6
        !          5128: else
        !          5129:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
        !          5130:      for ac_i in 1 2 3 4 5 6 7; do
        !          5131:        ac_script="$ac_script$as_nl$ac_script"
        !          5132:      done
        !          5133:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
        !          5134:      { ac_script=; unset ac_script;}
        !          5135:      if test -z "$SED"; then
        !          5136:   ac_path_SED_found=false
        !          5137:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          5138:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5139: for as_dir in $PATH
                   5140: do
                   5141:   IFS=$as_save_IFS
                   5142:   test -z "$as_dir" && as_dir=.
1.150   ! moko     5143:     for ac_prog in sed gsed; do
1.128     moko     5144:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150   ! moko     5145:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
        !          5146:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
        !          5147: # Check for GNU ac_path_SED and select it if it is found.
        !          5148:   # Check for GNU $ac_path_SED
        !          5149: case `"$ac_path_SED" --version 2>&1` in
        !          5150: *GNU*)
        !          5151:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
        !          5152: *)
        !          5153:   ac_count=0
        !          5154:   $as_echo_n 0123456789 >"conftest.in"
        !          5155:   while :
        !          5156:   do
        !          5157:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          5158:     mv "conftest.tmp" "conftest.in"
        !          5159:     cp "conftest.in" "conftest.nl"
        !          5160:     $as_echo '' >> "conftest.nl"
        !          5161:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          5162:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          5163:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          5164:     if test $ac_count -gt ${ac_path_SED_max-0}; then
        !          5165:       # Best one so far, save it but keep looking for a better one
        !          5166:       ac_cv_path_SED="$ac_path_SED"
        !          5167:       ac_path_SED_max=$ac_count
        !          5168:     fi
        !          5169:     # 10*(2^10) chars as input seems more than enough
        !          5170:     test $ac_count -gt 10 && break
        !          5171:   done
        !          5172:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          5173: esac
        !          5174: 
        !          5175:       $ac_path_SED_found && break 3
1.128     moko     5176:     done
                   5177:   done
1.150   ! moko     5178:   done
1.128     moko     5179: IFS=$as_save_IFS
1.150   ! moko     5180:   if test -z "$ac_cv_path_SED"; then
        !          5181:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5182:   fi
1.150   ! moko     5183: else
        !          5184:   ac_cv_path_SED=$SED
        !          5185: fi
1.10      paf      5186: 
1.66      paf      5187: fi
1.150   ! moko     5188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          5189: $as_echo "$ac_cv_path_SED" >&6; }
        !          5190:  SED="$ac_cv_path_SED"
        !          5191:   rm -f conftest.sed
1.128     moko     5192: 
                   5193: test -z "$SED" && SED=sed
                   5194: Xsed="$SED -e 1s/^X//"
1.10      paf      5195: 
1.128     moko     5196: 
                   5197: 
                   5198: 
                   5199: 
                   5200: 
                   5201: 
                   5202: 
                   5203: 
                   5204: 
                   5205: 
1.150   ! moko     5206: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
        !          5207: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
        !          5208: if ${ac_cv_path_GREP+:} false; then :
        !          5209:   $as_echo_n "(cached) " >&6
        !          5210: else
        !          5211:   if test -z "$GREP"; then
        !          5212:   ac_path_GREP_found=false
        !          5213:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          5214:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5215: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          5216: do
        !          5217:   IFS=$as_save_IFS
        !          5218:   test -z "$as_dir" && as_dir=.
        !          5219:     for ac_prog in grep ggrep; do
        !          5220:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5221:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
        !          5222:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
        !          5223: # Check for GNU ac_path_GREP and select it if it is found.
        !          5224:   # Check for GNU $ac_path_GREP
        !          5225: case `"$ac_path_GREP" --version 2>&1` in
        !          5226: *GNU*)
        !          5227:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
        !          5228: *)
        !          5229:   ac_count=0
        !          5230:   $as_echo_n 0123456789 >"conftest.in"
        !          5231:   while :
        !          5232:   do
        !          5233:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          5234:     mv "conftest.tmp" "conftest.in"
        !          5235:     cp "conftest.in" "conftest.nl"
        !          5236:     $as_echo 'GREP' >> "conftest.nl"
        !          5237:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          5238:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          5239:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          5240:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
        !          5241:       # Best one so far, save it but keep looking for a better one
        !          5242:       ac_cv_path_GREP="$ac_path_GREP"
        !          5243:       ac_path_GREP_max=$ac_count
1.128     moko     5244:     fi
1.150   ! moko     5245:     # 10*(2^10) chars as input seems more than enough
        !          5246:     test $ac_count -gt 10 && break
        !          5247:   done
        !          5248:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          5249: esac
        !          5250: 
        !          5251:       $ac_path_GREP_found && break 3
        !          5252:     done
        !          5253:   done
        !          5254:   done
        !          5255: IFS=$as_save_IFS
        !          5256:   if test -z "$ac_cv_path_GREP"; then
        !          5257:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          5258:   fi
        !          5259: else
        !          5260:   ac_cv_path_GREP=$GREP
        !          5261: fi
        !          5262: 
1.128     moko     5263: fi
1.150   ! moko     5264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
        !          5265: $as_echo "$ac_cv_path_GREP" >&6; }
        !          5266:  GREP="$ac_cv_path_GREP"
        !          5267: 
        !          5268: 
        !          5269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          5270: $as_echo_n "checking for egrep... " >&6; }
        !          5271: if ${ac_cv_path_EGREP+:} false; then :
        !          5272:   $as_echo_n "(cached) " >&6
        !          5273: else
        !          5274:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
        !          5275:    then ac_cv_path_EGREP="$GREP -E"
        !          5276:    else
        !          5277:      if test -z "$EGREP"; then
        !          5278:   ac_path_EGREP_found=false
        !          5279:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          5280:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5281: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          5282: do
        !          5283:   IFS=$as_save_IFS
        !          5284:   test -z "$as_dir" && as_dir=.
        !          5285:     for ac_prog in egrep; do
        !          5286:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5287:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          5288:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
        !          5289: # Check for GNU ac_path_EGREP and select it if it is found.
        !          5290:   # Check for GNU $ac_path_EGREP
        !          5291: case `"$ac_path_EGREP" --version 2>&1` in
        !          5292: *GNU*)
        !          5293:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
        !          5294: *)
        !          5295:   ac_count=0
        !          5296:   $as_echo_n 0123456789 >"conftest.in"
        !          5297:   while :
        !          5298:   do
        !          5299:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          5300:     mv "conftest.tmp" "conftest.in"
        !          5301:     cp "conftest.in" "conftest.nl"
        !          5302:     $as_echo 'EGREP' >> "conftest.nl"
        !          5303:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          5304:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          5305:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          5306:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
        !          5307:       # Best one so far, save it but keep looking for a better one
        !          5308:       ac_cv_path_EGREP="$ac_path_EGREP"
        !          5309:       ac_path_EGREP_max=$ac_count
        !          5310:     fi
        !          5311:     # 10*(2^10) chars as input seems more than enough
        !          5312:     test $ac_count -gt 10 && break
        !          5313:   done
        !          5314:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          5315: esac
1.128     moko     5316: 
1.150   ! moko     5317:       $ac_path_EGREP_found && break 3
        !          5318:     done
        !          5319:   done
        !          5320:   done
        !          5321: IFS=$as_save_IFS
        !          5322:   if test -z "$ac_cv_path_EGREP"; then
        !          5323:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          5324:   fi
        !          5325: else
        !          5326:   ac_cv_path_EGREP=$EGREP
        !          5327: fi
1.128     moko     5328: 
1.150   ! moko     5329:    fi
        !          5330: fi
        !          5331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
        !          5332: $as_echo "$ac_cv_path_EGREP" >&6; }
        !          5333:  EGREP="$ac_cv_path_EGREP"
        !          5334: 
        !          5335: 
        !          5336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
        !          5337: $as_echo_n "checking for fgrep... " >&6; }
        !          5338: if ${ac_cv_path_FGREP+:} false; then :
        !          5339:   $as_echo_n "(cached) " >&6
        !          5340: else
        !          5341:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
        !          5342:    then ac_cv_path_FGREP="$GREP -F"
        !          5343:    else
        !          5344:      if test -z "$FGREP"; then
        !          5345:   ac_path_FGREP_found=false
        !          5346:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          5347:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5348: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          5349: do
        !          5350:   IFS=$as_save_IFS
        !          5351:   test -z "$as_dir" && as_dir=.
        !          5352:     for ac_prog in fgrep; do
        !          5353:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5354:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          5355:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
        !          5356: # Check for GNU ac_path_FGREP and select it if it is found.
        !          5357:   # Check for GNU $ac_path_FGREP
        !          5358: case `"$ac_path_FGREP" --version 2>&1` in
        !          5359: *GNU*)
        !          5360:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
        !          5361: *)
        !          5362:   ac_count=0
        !          5363:   $as_echo_n 0123456789 >"conftest.in"
        !          5364:   while :
        !          5365:   do
        !          5366:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          5367:     mv "conftest.tmp" "conftest.in"
        !          5368:     cp "conftest.in" "conftest.nl"
        !          5369:     $as_echo 'FGREP' >> "conftest.nl"
        !          5370:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          5371:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          5372:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          5373:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
        !          5374:       # Best one so far, save it but keep looking for a better one
        !          5375:       ac_cv_path_FGREP="$ac_path_FGREP"
        !          5376:       ac_path_FGREP_max=$ac_count
1.128     moko     5377:     fi
1.150   ! moko     5378:     # 10*(2^10) chars as input seems more than enough
        !          5379:     test $ac_count -gt 10 && break
        !          5380:   done
        !          5381:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          5382: esac
        !          5383: 
        !          5384:       $ac_path_FGREP_found && break 3
        !          5385:     done
        !          5386:   done
        !          5387:   done
        !          5388: IFS=$as_save_IFS
        !          5389:   if test -z "$ac_cv_path_FGREP"; then
        !          5390:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          5391:   fi
        !          5392: else
        !          5393:   ac_cv_path_FGREP=$FGREP
        !          5394: fi
        !          5395: 
        !          5396:    fi
1.128     moko     5397: fi
1.150   ! moko     5398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
        !          5399: $as_echo "$ac_cv_path_FGREP" >&6; }
        !          5400:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5401: 
                   5402: 
                   5403: test -z "$GREP" && GREP=grep
                   5404: 
                   5405: 
                   5406: 
                   5407: 
                   5408: 
                   5409: 
                   5410: 
                   5411: 
                   5412: 
                   5413: 
                   5414: 
                   5415: 
                   5416: 
                   5417: 
                   5418: 
                   5419: 
                   5420: 
                   5421: 
                   5422: 
1.150   ! moko     5423: # Check whether --with-gnu-ld was given.
        !          5424: if test "${with_gnu_ld+set}" = set; then :
        !          5425:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5426: else
                   5427:   with_gnu_ld=no
1.150   ! moko     5428: fi
        !          5429: 
1.128     moko     5430: ac_prog=ld
                   5431: if test "$GCC" = yes; then
                   5432:   # Check if gcc -print-prog-name=ld gives a path.
1.150   ! moko     5433:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          5434: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5435:   case $host in
                   5436:   *-*-mingw*)
                   5437:     # gcc leaves a trailing carriage return which upsets mingw
                   5438:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5439:   *)
                   5440:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5441:   esac
                   5442:   case $ac_prog in
                   5443:     # Accept absolute paths.
                   5444:     [\\/]* | ?:[\\/]*)
                   5445:       re_direlt='/[^/][^/]*/\.\./'
                   5446:       # Canonicalize the pathname of ld
                   5447:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5448:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5449:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5450:       done
                   5451:       test -z "$LD" && LD="$ac_prog"
                   5452:       ;;
                   5453:   "")
                   5454:     # If it fails, then pretend we aren't using GCC.
                   5455:     ac_prog=ld
                   5456:     ;;
                   5457:   *)
                   5458:     # If it is relative, then search for the first ld in PATH.
                   5459:     with_gnu_ld=unknown
                   5460:     ;;
                   5461:   esac
                   5462: elif test "$with_gnu_ld" = yes; then
1.150   ! moko     5463:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
        !          5464: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5465: else
1.150   ! moko     5466:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
        !          5467: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5468: fi
1.150   ! moko     5469: if ${lt_cv_path_LD+:} false; then :
        !          5470:   $as_echo_n "(cached) " >&6
1.128     moko     5471: else
                   5472:   if test -z "$LD"; then
                   5473:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5474:   for ac_dir in $PATH; do
                   5475:     IFS="$lt_save_ifs"
                   5476:     test -z "$ac_dir" && ac_dir=.
                   5477:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5478:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5479:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5480:       # but apparently some variants of GNU ld only accept -v.
                   5481:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5482:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5483:       *GNU* | *'with BFD'*)
                   5484:        test "$with_gnu_ld" != no && break
                   5485:        ;;
                   5486:       *)
                   5487:        test "$with_gnu_ld" != yes && break
                   5488:        ;;
                   5489:       esac
                   5490:     fi
                   5491:   done
                   5492:   IFS="$lt_save_ifs"
                   5493: else
                   5494:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5495: fi
                   5496: fi
                   5497: 
                   5498: LD="$lt_cv_path_LD"
                   5499: if test -n "$LD"; then
1.150   ! moko     5500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
        !          5501: $as_echo "$LD" >&6; }
1.128     moko     5502: else
1.150   ! moko     5503:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5504: $as_echo "no" >&6; }
1.128     moko     5505: fi
1.150   ! moko     5506: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
        !          5507: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
        !          5508: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
        !          5509: if ${lt_cv_prog_gnu_ld+:} false; then :
        !          5510:   $as_echo_n "(cached) " >&6
1.128     moko     5511: else
                   5512:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5513: case `$LD -v 2>&1 </dev/null` in
                   5514: *GNU* | *'with BFD'*)
                   5515:   lt_cv_prog_gnu_ld=yes
                   5516:   ;;
                   5517: *)
                   5518:   lt_cv_prog_gnu_ld=no
                   5519:   ;;
                   5520: esac
                   5521: fi
1.150   ! moko     5522: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
        !          5523: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5524: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5525: 
                   5526: 
                   5527: 
                   5528: 
                   5529: 
                   5530: 
                   5531: 
                   5532: 
                   5533: 
1.150   ! moko     5534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
        !          5535: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
        !          5536: if ${lt_cv_path_NM+:} false; then :
        !          5537:   $as_echo_n "(cached) " >&6
1.128     moko     5538: else
                   5539:   if test -n "$NM"; then
                   5540:   # Let the user override the test.
                   5541:   lt_cv_path_NM="$NM"
                   5542: else
                   5543:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5544:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5545:     lt_nm_to_check="$lt_nm_to_check nm"
                   5546:   fi
                   5547:   for lt_tmp_nm in $lt_nm_to_check; do
                   5548:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5549:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5550:       IFS="$lt_save_ifs"
                   5551:       test -z "$ac_dir" && ac_dir=.
                   5552:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5553:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5554:        # Check to see if the nm accepts a BSD-compat flag.
                   5555:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5556:        #   nm: unknown option "B" ignored
                   5557:        # Tru64's nm complains that /dev/null is an invalid object file
                   5558:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5559:        */dev/null* | *'Invalid file or object type'*)
                   5560:          lt_cv_path_NM="$tmp_nm -B"
                   5561:          break
                   5562:          ;;
                   5563:        *)
                   5564:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5565:          */dev/null*)
                   5566:            lt_cv_path_NM="$tmp_nm -p"
                   5567:            break
                   5568:            ;;
                   5569:          *)
                   5570:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5571:            continue # so that we can try to find one that supports BSD flags
                   5572:            ;;
                   5573:          esac
                   5574:          ;;
                   5575:        esac
                   5576:       fi
                   5577:     done
                   5578:     IFS="$lt_save_ifs"
                   5579:   done
                   5580:   : ${lt_cv_path_NM=no}
                   5581: fi
                   5582: fi
1.150   ! moko     5583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
        !          5584: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5585: if test "$lt_cv_path_NM" != "no"; then
                   5586:   NM="$lt_cv_path_NM"
                   5587: else
                   5588:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5589:   if test -n "$DUMPBIN"; then :
                   5590:     # Let the user override the test.
                   5591:   else
                   5592:     if test -n "$ac_tool_prefix"; then
                   5593:   for ac_prog in dumpbin "link -dump"
                   5594:   do
                   5595:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5596: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150   ! moko     5597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5598: $as_echo_n "checking for $ac_word... " >&6; }
        !          5599: if ${ac_cv_prog_DUMPBIN+:} false; then :
        !          5600:   $as_echo_n "(cached) " >&6
1.128     moko     5601: else
                   5602:   if test -n "$DUMPBIN"; then
                   5603:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5604: else
                   5605: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5606: for as_dir in $PATH
                   5607: do
                   5608:   IFS=$as_save_IFS
                   5609:   test -z "$as_dir" && as_dir=.
1.150   ! moko     5610:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5611:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5612:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150   ! moko     5613:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5614:     break 2
                   5615:   fi
                   5616: done
1.150   ! moko     5617:   done
        !          5618: IFS=$as_save_IFS
1.128     moko     5619: 
                   5620: fi
                   5621: fi
                   5622: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5623: if test -n "$DUMPBIN"; then
1.150   ! moko     5624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
        !          5625: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5626: else
1.150   ! moko     5627:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5628: $as_echo "no" >&6; }
1.128     moko     5629: fi
                   5630: 
1.150   ! moko     5631: 
1.128     moko     5632:     test -n "$DUMPBIN" && break
                   5633:   done
                   5634: fi
                   5635: if test -z "$DUMPBIN"; then
                   5636:   ac_ct_DUMPBIN=$DUMPBIN
                   5637:   for ac_prog in dumpbin "link -dump"
                   5638: do
                   5639:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5640: set dummy $ac_prog; ac_word=$2
1.150   ! moko     5641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5642: $as_echo_n "checking for $ac_word... " >&6; }
        !          5643: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
        !          5644:   $as_echo_n "(cached) " >&6
1.128     moko     5645: else
                   5646:   if test -n "$ac_ct_DUMPBIN"; then
                   5647:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5648: else
                   5649: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5650: for as_dir in $PATH
                   5651: do
                   5652:   IFS=$as_save_IFS
                   5653:   test -z "$as_dir" && as_dir=.
1.150   ! moko     5654:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5655:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5656:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150   ! moko     5657:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5658:     break 2
                   5659:   fi
                   5660: done
1.150   ! moko     5661:   done
        !          5662: IFS=$as_save_IFS
1.128     moko     5663: 
                   5664: fi
                   5665: fi
                   5666: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5667: if test -n "$ac_ct_DUMPBIN"; then
1.150   ! moko     5668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
        !          5669: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5670: else
1.150   ! moko     5671:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5672: $as_echo "no" >&6; }
1.128     moko     5673: fi
                   5674: 
1.150   ! moko     5675: 
1.128     moko     5676:   test -n "$ac_ct_DUMPBIN" && break
                   5677: done
                   5678: 
1.150   ! moko     5679:   if test "x$ac_ct_DUMPBIN" = x; then
        !          5680:     DUMPBIN=":"
        !          5681:   else
        !          5682:     case $cross_compiling:$ac_tool_warned in
        !          5683: yes:)
        !          5684: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5685: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          5686: ac_tool_warned=yes ;;
        !          5687: esac
        !          5688:     DUMPBIN=$ac_ct_DUMPBIN
        !          5689:   fi
1.128     moko     5690: fi
                   5691: 
                   5692:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5693:     *COFF*)
                   5694:       DUMPBIN="$DUMPBIN -symbols"
                   5695:       ;;
                   5696:     *)
                   5697:       DUMPBIN=:
                   5698:       ;;
                   5699:     esac
                   5700:   fi
                   5701: 
                   5702:   if test "$DUMPBIN" != ":"; then
                   5703:     NM="$DUMPBIN"
                   5704:   fi
                   5705: fi
                   5706: test -z "$NM" && NM=nm
                   5707: 
                   5708: 
                   5709: 
                   5710: 
                   5711: 
                   5712: 
1.150   ! moko     5713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
        !          5714: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
        !          5715: if ${lt_cv_nm_interface+:} false; then :
        !          5716:   $as_echo_n "(cached) " >&6
1.128     moko     5717: else
                   5718:   lt_cv_nm_interface="BSD nm"
                   5719:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5720:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5721:   (eval "$ac_compile" 2>conftest.err)
                   5722:   cat conftest.err >&5
                   5723:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5724:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5725:   cat conftest.err >&5
                   5726:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5727:   cat conftest.out >&5
                   5728:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5729:     lt_cv_nm_interface="MS dumpbin"
                   5730:   fi
                   5731:   rm -f conftest*
                   5732: fi
1.150   ! moko     5733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
        !          5734: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5735: 
1.150   ! moko     5736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
        !          5737: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5738: LN_S=$as_ln_s
                   5739: if test "$LN_S" = "ln -s"; then
1.150   ! moko     5740:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5741: $as_echo "yes" >&6; }
1.128     moko     5742: else
1.150   ! moko     5743:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
        !          5744: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5745: fi
                   5746: 
                   5747: # find the maximum length of command line arguments
1.150   ! moko     5748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
        !          5749: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
        !          5750: if ${lt_cv_sys_max_cmd_len+:} false; then :
        !          5751:   $as_echo_n "(cached) " >&6
1.128     moko     5752: else
                   5753:     i=0
                   5754:   teststring="ABCD"
                   5755: 
                   5756:   case $build_os in
                   5757:   msdosdjgpp*)
                   5758:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5759:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5760:     # during glob expansion).  Even if it were fixed, the result of this
                   5761:     # check would be larger than it should be.
                   5762:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5763:     ;;
                   5764: 
                   5765:   gnu*)
                   5766:     # Under GNU Hurd, this test is not required because there is
                   5767:     # no limit to the length of command line arguments.
                   5768:     # Libtool will interpret -1 as no limit whatsoever
                   5769:     lt_cv_sys_max_cmd_len=-1;
                   5770:     ;;
                   5771: 
                   5772:   cygwin* | mingw* | cegcc*)
                   5773:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5774:     # about 5 minutes as the teststring grows exponentially.
                   5775:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5776:     # you end up with a "frozen" computer, even though with patience
                   5777:     # the test eventually succeeds (with a max line length of 256k).
                   5778:     # Instead, let's just punt: use the minimum linelength reported by
                   5779:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5780:     lt_cv_sys_max_cmd_len=8192;
                   5781:     ;;
                   5782: 
                   5783:   mint*)
                   5784:     # On MiNT this can take a long time and run out of memory.
                   5785:     lt_cv_sys_max_cmd_len=8192;
                   5786:     ;;
                   5787: 
                   5788:   amigaos*)
                   5789:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5790:     # So we just punt and use a minimum line length of 8192.
                   5791:     lt_cv_sys_max_cmd_len=8192;
                   5792:     ;;
                   5793: 
                   5794:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5795:     # This has been around since 386BSD, at least.  Likely further.
                   5796:     if test -x /sbin/sysctl; then
                   5797:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5798:     elif test -x /usr/sbin/sysctl; then
                   5799:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5800:     else
                   5801:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5802:     fi
                   5803:     # And add a safety zone
                   5804:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5805:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5806:     ;;
                   5807: 
                   5808:   interix*)
                   5809:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5810:     lt_cv_sys_max_cmd_len=196608
                   5811:     ;;
                   5812: 
                   5813:   os2*)
                   5814:     # The test takes a long time on OS/2.
                   5815:     lt_cv_sys_max_cmd_len=8192
                   5816:     ;;
                   5817: 
                   5818:   osf*)
                   5819:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5820:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5821:     # nice to cause kernel panics so lets avoid the loop below.
                   5822:     # First set a reasonable default.
                   5823:     lt_cv_sys_max_cmd_len=16384
                   5824:     #
                   5825:     if test -x /sbin/sysconfig; then
                   5826:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5827:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5828:       esac
                   5829:     fi
                   5830:     ;;
                   5831:   sco3.2v5*)
                   5832:     lt_cv_sys_max_cmd_len=102400
                   5833:     ;;
                   5834:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5835:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5836:     if test -n "$kargmax"; then
                   5837:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5838:     else
                   5839:       lt_cv_sys_max_cmd_len=32768
                   5840:     fi
                   5841:     ;;
                   5842:   *)
                   5843:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5844:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5845:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5846:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5847:     else
                   5848:       # Make teststring a little bigger before we do anything with it.
                   5849:       # a 1K string should be a reasonable start.
                   5850:       for i in 1 2 3 4 5 6 7 8 ; do
                   5851:         teststring=$teststring$teststring
                   5852:       done
                   5853:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5854:       # If test is not a shell built-in, we'll probably end up computing a
                   5855:       # maximum length that is only half of the actual maximum length, but
                   5856:       # we can't tell.
                   5857:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5858:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5859:              test $i != 17 # 1/2 MB should be enough
                   5860:       do
                   5861:         i=`expr $i + 1`
                   5862:         teststring=$teststring$teststring
                   5863:       done
                   5864:       # Only check the string length outside the loop.
                   5865:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5866:       teststring=
                   5867:       # Add a significant safety factor because C++ compilers can tack on
                   5868:       # massive amounts of additional arguments before passing them to the
                   5869:       # linker.  It appears as though 1/2 is a usable value.
                   5870:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5871:     fi
                   5872:     ;;
                   5873:   esac
                   5874: 
                   5875: fi
                   5876: 
                   5877: if test -n $lt_cv_sys_max_cmd_len ; then
1.150   ! moko     5878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
        !          5879: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     5880: else
1.150   ! moko     5881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
        !          5882: $as_echo "none" >&6; }
1.128     moko     5883: fi
                   5884: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5885: 
                   5886: 
                   5887: 
                   5888: 
                   5889: 
                   5890: 
                   5891: : ${CP="cp -f"}
                   5892: : ${MV="mv -f"}
                   5893: : ${RM="rm -f"}
                   5894: 
1.150   ! moko     5895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
        !          5896: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     5897: # Try some XSI features
                   5898: xsi_shell=no
                   5899: ( _lt_dummy="a/b/c"
                   5900:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5901:       = c,a/b,b/c, \
                   5902:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5903:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5904:   && xsi_shell=yes
1.150   ! moko     5905: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
        !          5906: $as_echo "$xsi_shell" >&6; }
1.128     moko     5907: 
                   5908: 
1.150   ! moko     5909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
        !          5910: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     5911: lt_shell_append=no
                   5912: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5913:     >/dev/null 2>&1 \
                   5914:   && lt_shell_append=yes
1.150   ! moko     5915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
        !          5916: $as_echo "$lt_shell_append" >&6; }
1.128     moko     5917: 
                   5918: 
                   5919: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5920:   lt_unset=unset
                   5921: else
                   5922:   lt_unset=false
                   5923: fi
                   5924: 
                   5925: 
                   5926: 
                   5927: 
                   5928: 
                   5929: # test EBCDIC or ASCII
                   5930: case `echo X|tr X '\101'` in
                   5931:  A) # ASCII based system
                   5932:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5933:   lt_SP2NL='tr \040 \012'
                   5934:   lt_NL2SP='tr \015\012 \040\040'
                   5935:   ;;
                   5936:  *) # EBCDIC based system
                   5937:   lt_SP2NL='tr \100 \n'
                   5938:   lt_NL2SP='tr \r\n \100\100'
                   5939:   ;;
                   5940: esac
                   5941: 
                   5942: 
                   5943: 
                   5944: 
                   5945: 
                   5946: 
                   5947: 
                   5948: 
                   5949: 
1.150   ! moko     5950: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          5951: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
        !          5952: if ${lt_cv_to_host_file_cmd+:} false; then :
        !          5953:   $as_echo_n "(cached) " >&6
1.128     moko     5954: else
                   5955:   case $host in
                   5956:   *-*-mingw* )
                   5957:     case $build in
                   5958:       *-*-mingw* ) # actually msys
                   5959:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5960:         ;;
                   5961:       *-*-cygwin* )
                   5962:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5963:         ;;
                   5964:       * ) # otherwise, assume *nix
                   5965:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5966:         ;;
                   5967:     esac
                   5968:     ;;
                   5969:   *-*-cygwin* )
                   5970:     case $build in
                   5971:       *-*-mingw* ) # actually msys
                   5972:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5973:         ;;
                   5974:       *-*-cygwin* )
                   5975:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5976:         ;;
                   5977:       * ) # otherwise, assume *nix
                   5978:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5979:         ;;
                   5980:     esac
                   5981:     ;;
                   5982:   * ) # unhandled hosts (and "normal" native builds)
                   5983:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5984:     ;;
                   5985: esac
                   5986: 
                   5987: fi
                   5988: 
                   5989: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150   ! moko     5990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          5991: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     5992: 
                   5993: 
                   5994: 
                   5995: 
                   5996: 
1.150   ! moko     5997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          5998: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
        !          5999: if ${lt_cv_to_tool_file_cmd+:} false; then :
        !          6000:   $as_echo_n "(cached) " >&6
1.128     moko     6001: else
                   6002:   #assume ordinary cross tools, or native build.
                   6003: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6004: case $host in
                   6005:   *-*-mingw* )
                   6006:     case $build in
                   6007:       *-*-mingw* ) # actually msys
                   6008:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6009:         ;;
                   6010:     esac
                   6011:     ;;
                   6012: esac
                   6013: 
                   6014: fi
                   6015: 
                   6016: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150   ! moko     6017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          6018: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6019: 
                   6020: 
                   6021: 
                   6022: 
                   6023: 
1.150   ! moko     6024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
        !          6025: $as_echo_n "checking for $LD option to reload object files... " >&6; }
        !          6026: if ${lt_cv_ld_reload_flag+:} false; then :
        !          6027:   $as_echo_n "(cached) " >&6
1.128     moko     6028: else
                   6029:   lt_cv_ld_reload_flag='-r'
                   6030: fi
1.150   ! moko     6031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
        !          6032: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6033: reload_flag=$lt_cv_ld_reload_flag
                   6034: case $reload_flag in
                   6035: "" | " "*) ;;
                   6036: *) reload_flag=" $reload_flag" ;;
                   6037: esac
                   6038: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6039: case $host_os in
                   6040:   cygwin* | mingw* | pw32* | cegcc*)
                   6041:     if test "$GCC" != yes; then
                   6042:       reload_cmds=false
                   6043:     fi
                   6044:     ;;
                   6045:   darwin*)
                   6046:     if test "$GCC" = yes; then
                   6047:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6048:     else
                   6049:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6050:     fi
                   6051:     ;;
                   6052: esac
                   6053: 
                   6054: 
                   6055: 
                   6056: 
                   6057: 
                   6058: 
                   6059: 
                   6060: 
                   6061: 
                   6062: if test -n "$ac_tool_prefix"; then
                   6063:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6064: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150   ! moko     6065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6066: $as_echo_n "checking for $ac_word... " >&6; }
        !          6067: if ${ac_cv_prog_OBJDUMP+:} false; then :
        !          6068:   $as_echo_n "(cached) " >&6
1.128     moko     6069: else
                   6070:   if test -n "$OBJDUMP"; then
                   6071:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6072: else
                   6073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6074: for as_dir in $PATH
                   6075: do
                   6076:   IFS=$as_save_IFS
                   6077:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6078:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6079:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6080:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150   ! moko     6081:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6082:     break 2
                   6083:   fi
                   6084: done
1.150   ! moko     6085:   done
        !          6086: IFS=$as_save_IFS
1.128     moko     6087: 
                   6088: fi
                   6089: fi
                   6090: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6091: if test -n "$OBJDUMP"; then
1.150   ! moko     6092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          6093: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6094: else
1.150   ! moko     6095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6096: $as_echo "no" >&6; }
1.128     moko     6097: fi
                   6098: 
1.150   ! moko     6099: 
1.128     moko     6100: fi
                   6101: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6102:   ac_ct_OBJDUMP=$OBJDUMP
                   6103:   # Extract the first word of "objdump", so it can be a program name with args.
                   6104: set dummy objdump; ac_word=$2
1.150   ! moko     6105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6106: $as_echo_n "checking for $ac_word... " >&6; }
        !          6107: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
        !          6108:   $as_echo_n "(cached) " >&6
1.128     moko     6109: else
                   6110:   if test -n "$ac_ct_OBJDUMP"; then
                   6111:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6112: else
                   6113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6114: for as_dir in $PATH
                   6115: do
                   6116:   IFS=$as_save_IFS
                   6117:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6118:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6119:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6120:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150   ! moko     6121:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6122:     break 2
                   6123:   fi
                   6124: done
1.150   ! moko     6125:   done
        !          6126: IFS=$as_save_IFS
1.128     moko     6127: 
                   6128: fi
                   6129: fi
                   6130: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6131: if test -n "$ac_ct_OBJDUMP"; then
1.150   ! moko     6132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          6133: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6134: else
1.150   ! moko     6135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6136: $as_echo "no" >&6; }
1.128     moko     6137: fi
                   6138: 
1.150   ! moko     6139:   if test "x$ac_ct_OBJDUMP" = x; then
        !          6140:     OBJDUMP="false"
        !          6141:   else
        !          6142:     case $cross_compiling:$ac_tool_warned in
        !          6143: yes:)
        !          6144: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6145: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6146: ac_tool_warned=yes ;;
        !          6147: esac
        !          6148:     OBJDUMP=$ac_ct_OBJDUMP
        !          6149:   fi
1.128     moko     6150: else
                   6151:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6152: fi
                   6153: 
                   6154: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6155: 
                   6156: 
                   6157: 
                   6158: 
                   6159: 
                   6160: 
1.150   ! moko     6161: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
        !          6162: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
        !          6163: if ${lt_cv_deplibs_check_method+:} false; then :
        !          6164:   $as_echo_n "(cached) " >&6
1.128     moko     6165: else
                   6166:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6167: lt_cv_file_magic_test_file=
                   6168: lt_cv_deplibs_check_method='unknown'
                   6169: # Need to set the preceding variable on all platforms that support
                   6170: # interlibrary dependencies.
                   6171: # 'none' -- dependencies not supported.
                   6172: # `unknown' -- same as none, but documents that we really don't know.
                   6173: # 'pass_all' -- all dependencies passed with no checks.
                   6174: # 'test_compile' -- check by making test program.
                   6175: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6176: # which responds to the $file_magic_cmd with a given extended regex.
                   6177: # If you have `file' or equivalent on your system and you're not sure
                   6178: # whether `pass_all' will *always* work, you probably want this one.
                   6179: 
                   6180: case $host_os in
                   6181: aix[4-9]*)
                   6182:   lt_cv_deplibs_check_method=pass_all
                   6183:   ;;
                   6184: 
                   6185: beos*)
                   6186:   lt_cv_deplibs_check_method=pass_all
                   6187:   ;;
                   6188: 
                   6189: bsdi[45]*)
                   6190:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6191:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6192:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6193:   ;;
                   6194: 
                   6195: cygwin*)
                   6196:   # func_win32_libid is a shell function defined in ltmain.sh
                   6197:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6198:   lt_cv_file_magic_cmd='func_win32_libid'
                   6199:   ;;
                   6200: 
                   6201: mingw* | pw32*)
                   6202:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6203:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6204:   # unless we find 'file', for example because we are cross-compiling.
                   6205:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6206:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6207:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6208:     lt_cv_file_magic_cmd='func_win32_libid'
                   6209:   else
                   6210:     # Keep this pattern in sync with the one in func_win32_libid.
                   6211:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6212:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6213:   fi
                   6214:   ;;
                   6215: 
                   6216: cegcc*)
                   6217:   # use the weaker test based on 'objdump'. See mingw*.
                   6218:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6219:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6220:   ;;
                   6221: 
                   6222: darwin* | rhapsody*)
                   6223:   lt_cv_deplibs_check_method=pass_all
                   6224:   ;;
                   6225: 
                   6226: freebsd* | dragonfly*)
                   6227:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6228:     case $host_cpu in
                   6229:     i*86 )
                   6230:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6231:       # Let's accept both of them until this is cleared up.
                   6232:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6233:       lt_cv_file_magic_cmd=/usr/bin/file
                   6234:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6235:       ;;
                   6236:     esac
                   6237:   else
                   6238:     lt_cv_deplibs_check_method=pass_all
                   6239:   fi
                   6240:   ;;
                   6241: 
                   6242: gnu*)
                   6243:   lt_cv_deplibs_check_method=pass_all
                   6244:   ;;
                   6245: 
                   6246: haiku*)
                   6247:   lt_cv_deplibs_check_method=pass_all
                   6248:   ;;
                   6249: 
                   6250: hpux10.20* | hpux11*)
                   6251:   lt_cv_file_magic_cmd=/usr/bin/file
                   6252:   case $host_cpu in
                   6253:   ia64*)
                   6254:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6255:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6256:     ;;
                   6257:   hppa*64*)
                   6258:     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]'
                   6259:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6260:     ;;
                   6261:   *)
                   6262:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6263:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6264:     ;;
                   6265:   esac
                   6266:   ;;
                   6267: 
                   6268: interix[3-9]*)
                   6269:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6270:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6271:   ;;
                   6272: 
                   6273: irix5* | irix6* | nonstopux*)
                   6274:   case $LD in
                   6275:   *-32|*"-32 ") libmagic=32-bit;;
                   6276:   *-n32|*"-n32 ") libmagic=N32;;
                   6277:   *-64|*"-64 ") libmagic=64-bit;;
                   6278:   *) libmagic=never-match;;
                   6279:   esac
                   6280:   lt_cv_deplibs_check_method=pass_all
                   6281:   ;;
                   6282: 
                   6283: # This must be glibc/ELF.
                   6284: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6285:   lt_cv_deplibs_check_method=pass_all
                   6286:   ;;
                   6287: 
                   6288: netbsd*)
                   6289:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6290:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6291:   else
                   6292:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6293:   fi
                   6294:   ;;
                   6295: 
                   6296: newos6*)
                   6297:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6298:   lt_cv_file_magic_cmd=/usr/bin/file
                   6299:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6300:   ;;
                   6301: 
                   6302: *nto* | *qnx*)
                   6303:   lt_cv_deplibs_check_method=pass_all
                   6304:   ;;
                   6305: 
                   6306: openbsd*)
                   6307:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6308:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6309:   else
                   6310:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6311:   fi
                   6312:   ;;
                   6313: 
                   6314: osf3* | osf4* | osf5*)
                   6315:   lt_cv_deplibs_check_method=pass_all
                   6316:   ;;
                   6317: 
                   6318: rdos*)
                   6319:   lt_cv_deplibs_check_method=pass_all
                   6320:   ;;
                   6321: 
                   6322: solaris*)
                   6323:   lt_cv_deplibs_check_method=pass_all
                   6324:   ;;
                   6325: 
                   6326: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6327:   lt_cv_deplibs_check_method=pass_all
                   6328:   ;;
                   6329: 
                   6330: sysv4 | sysv4.3*)
                   6331:   case $host_vendor in
                   6332:   motorola)
                   6333:     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]'
                   6334:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6335:     ;;
                   6336:   ncr)
                   6337:     lt_cv_deplibs_check_method=pass_all
                   6338:     ;;
                   6339:   sequent)
                   6340:     lt_cv_file_magic_cmd='/bin/file'
                   6341:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6342:     ;;
                   6343:   sni)
                   6344:     lt_cv_file_magic_cmd='/bin/file'
                   6345:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6346:     lt_cv_file_magic_test_file=/lib/libc.so
                   6347:     ;;
                   6348:   siemens)
                   6349:     lt_cv_deplibs_check_method=pass_all
                   6350:     ;;
                   6351:   pc)
                   6352:     lt_cv_deplibs_check_method=pass_all
                   6353:     ;;
                   6354:   esac
                   6355:   ;;
                   6356: 
                   6357: tpf*)
                   6358:   lt_cv_deplibs_check_method=pass_all
                   6359:   ;;
                   6360: esac
                   6361: 
                   6362: fi
1.150   ! moko     6363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
        !          6364: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6365: 
                   6366: file_magic_glob=
                   6367: want_nocaseglob=no
                   6368: if test "$build" = "$host"; then
                   6369:   case $host_os in
                   6370:   mingw* | pw32*)
                   6371:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6372:       want_nocaseglob=yes
                   6373:     else
                   6374:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6375:     fi
                   6376:     ;;
                   6377:   esac
                   6378: fi
                   6379: 
                   6380: file_magic_cmd=$lt_cv_file_magic_cmd
                   6381: deplibs_check_method=$lt_cv_deplibs_check_method
                   6382: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6383: 
                   6384: 
                   6385: 
                   6386: 
                   6387: 
                   6388: 
                   6389: 
                   6390: 
                   6391: 
                   6392: 
                   6393: 
                   6394: 
                   6395: 
                   6396: 
                   6397: 
                   6398: 
                   6399: 
                   6400: 
                   6401: 
                   6402: 
                   6403: 
                   6404: 
                   6405: if test -n "$ac_tool_prefix"; then
                   6406:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6407: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150   ! moko     6408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6409: $as_echo_n "checking for $ac_word... " >&6; }
        !          6410: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          6411:   $as_echo_n "(cached) " >&6
1.128     moko     6412: else
                   6413:   if test -n "$DLLTOOL"; then
                   6414:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6415: else
                   6416: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6417: for as_dir in $PATH
                   6418: do
                   6419:   IFS=$as_save_IFS
                   6420:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6421:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6422:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6423:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150   ! moko     6424:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6425:     break 2
                   6426:   fi
                   6427: done
1.150   ! moko     6428:   done
        !          6429: IFS=$as_save_IFS
1.128     moko     6430: 
                   6431: fi
                   6432: fi
                   6433: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6434: if test -n "$DLLTOOL"; then
1.150   ! moko     6435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          6436: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6437: else
1.150   ! moko     6438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6439: $as_echo "no" >&6; }
1.128     moko     6440: fi
                   6441: 
1.150   ! moko     6442: 
1.128     moko     6443: fi
                   6444: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6445:   ac_ct_DLLTOOL=$DLLTOOL
                   6446:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6447: set dummy dlltool; ac_word=$2
1.150   ! moko     6448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6449: $as_echo_n "checking for $ac_word... " >&6; }
        !          6450: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          6451:   $as_echo_n "(cached) " >&6
1.128     moko     6452: else
                   6453:   if test -n "$ac_ct_DLLTOOL"; then
                   6454:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6455: else
                   6456: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6457: for as_dir in $PATH
                   6458: do
                   6459:   IFS=$as_save_IFS
                   6460:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6461:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6462:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6463:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150   ! moko     6464:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6465:     break 2
                   6466:   fi
                   6467: done
1.150   ! moko     6468:   done
        !          6469: IFS=$as_save_IFS
1.128     moko     6470: 
                   6471: fi
                   6472: fi
                   6473: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6474: if test -n "$ac_ct_DLLTOOL"; then
1.150   ! moko     6475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          6476: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6477: else
1.150   ! moko     6478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6479: $as_echo "no" >&6; }
1.128     moko     6480: fi
                   6481: 
1.150   ! moko     6482:   if test "x$ac_ct_DLLTOOL" = x; then
        !          6483:     DLLTOOL="false"
        !          6484:   else
        !          6485:     case $cross_compiling:$ac_tool_warned in
        !          6486: yes:)
        !          6487: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6488: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6489: ac_tool_warned=yes ;;
        !          6490: esac
        !          6491:     DLLTOOL=$ac_ct_DLLTOOL
        !          6492:   fi
1.128     moko     6493: else
                   6494:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6495: fi
                   6496: 
                   6497: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6498: 
                   6499: 
                   6500: 
                   6501: 
                   6502: 
                   6503: 
                   6504: 
1.150   ! moko     6505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          6506: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
        !          6507: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
        !          6508:   $as_echo_n "(cached) " >&6
1.128     moko     6509: else
                   6510:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6511: 
                   6512: case $host_os in
                   6513: cygwin* | mingw* | pw32* | cegcc*)
                   6514:   # two different shell functions defined in ltmain.sh
                   6515:   # decide which to use based on capabilities of $DLLTOOL
                   6516:   case `$DLLTOOL --help 2>&1` in
                   6517:   *--identify-strict*)
                   6518:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6519:     ;;
                   6520:   *)
                   6521:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6522:     ;;
                   6523:   esac
                   6524:   ;;
                   6525: *)
                   6526:   # fallback: assume linklib IS sharedlib
                   6527:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6528:   ;;
                   6529: esac
                   6530: 
                   6531: fi
1.150   ! moko     6532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          6533: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6534: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6535: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6536: 
                   6537: 
                   6538: 
                   6539: 
                   6540: 
                   6541: 
                   6542: 
                   6543: if test -n "$ac_tool_prefix"; then
                   6544:   for ac_prog in ar
                   6545:   do
                   6546:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6547: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150   ! moko     6548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6549: $as_echo_n "checking for $ac_word... " >&6; }
        !          6550: if ${ac_cv_prog_AR+:} false; then :
        !          6551:   $as_echo_n "(cached) " >&6
1.128     moko     6552: else
                   6553:   if test -n "$AR"; then
                   6554:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6555: else
                   6556: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6557: for as_dir in $PATH
                   6558: do
                   6559:   IFS=$as_save_IFS
                   6560:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6561:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6562:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6563:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150   ! moko     6564:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6565:     break 2
                   6566:   fi
                   6567: done
1.150   ! moko     6568:   done
        !          6569: IFS=$as_save_IFS
1.128     moko     6570: 
                   6571: fi
                   6572: fi
                   6573: AR=$ac_cv_prog_AR
                   6574: if test -n "$AR"; then
1.150   ! moko     6575:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          6576: $as_echo "$AR" >&6; }
1.128     moko     6577: else
1.150   ! moko     6578:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6579: $as_echo "no" >&6; }
1.128     moko     6580: fi
                   6581: 
1.150   ! moko     6582: 
1.128     moko     6583:     test -n "$AR" && break
                   6584:   done
                   6585: fi
                   6586: if test -z "$AR"; then
                   6587:   ac_ct_AR=$AR
                   6588:   for ac_prog in ar
                   6589: do
                   6590:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6591: set dummy $ac_prog; ac_word=$2
1.150   ! moko     6592: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6593: $as_echo_n "checking for $ac_word... " >&6; }
        !          6594: if ${ac_cv_prog_ac_ct_AR+:} false; then :
        !          6595:   $as_echo_n "(cached) " >&6
1.128     moko     6596: else
                   6597:   if test -n "$ac_ct_AR"; then
                   6598:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6599: else
                   6600: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6601: for as_dir in $PATH
                   6602: do
                   6603:   IFS=$as_save_IFS
                   6604:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6605:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6606:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6607:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150   ! moko     6608:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6609:     break 2
                   6610:   fi
                   6611: done
1.150   ! moko     6612:   done
        !          6613: IFS=$as_save_IFS
1.128     moko     6614: 
                   6615: fi
                   6616: fi
                   6617: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6618: if test -n "$ac_ct_AR"; then
1.150   ! moko     6619:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
        !          6620: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6621: else
1.150   ! moko     6622:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6623: $as_echo "no" >&6; }
1.128     moko     6624: fi
                   6625: 
1.150   ! moko     6626: 
1.128     moko     6627:   test -n "$ac_ct_AR" && break
                   6628: done
                   6629: 
1.150   ! moko     6630:   if test "x$ac_ct_AR" = x; then
        !          6631:     AR="false"
        !          6632:   else
        !          6633:     case $cross_compiling:$ac_tool_warned in
        !          6634: yes:)
        !          6635: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6636: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6637: ac_tool_warned=yes ;;
        !          6638: esac
        !          6639:     AR=$ac_ct_AR
        !          6640:   fi
1.128     moko     6641: fi
                   6642: 
                   6643: : ${AR=ar}
                   6644: : ${AR_FLAGS=cru}
                   6645: 
                   6646: 
                   6647: 
                   6648: 
                   6649: 
                   6650: 
                   6651: 
                   6652: 
                   6653: 
                   6654: 
                   6655: 
1.150   ! moko     6656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          6657: $as_echo_n "checking for archiver @FILE support... " >&6; }
        !          6658: if ${lt_cv_ar_at_file+:} false; then :
        !          6659:   $as_echo_n "(cached) " >&6
1.128     moko     6660: else
                   6661:   lt_cv_ar_at_file=no
1.150   ! moko     6662:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6663: /* end confdefs.h.  */
                   6664: 
                   6665: int
                   6666: main ()
                   6667: {
                   6668: 
                   6669:   ;
                   6670:   return 0;
                   6671: }
                   6672: _ACEOF
1.150   ! moko     6673: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6674:   echo conftest.$ac_objext > conftest.lst
                   6675:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150   ! moko     6676:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6677:   (eval $lt_ar_try) 2>&5
                   6678:   ac_status=$?
1.150   ! moko     6679:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6680:   test $ac_status = 0; }
1.128     moko     6681:       if test "$ac_status" -eq 0; then
                   6682:        # Ensure the archiver fails upon bogus file names.
                   6683:        rm -f conftest.$ac_objext libconftest.a
1.150   ! moko     6684:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6685:   (eval $lt_ar_try) 2>&5
                   6686:   ac_status=$?
1.150   ! moko     6687:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6688:   test $ac_status = 0; }
1.128     moko     6689:        if test "$ac_status" -ne 0; then
                   6690:           lt_cv_ar_at_file=@
                   6691:         fi
                   6692:       fi
                   6693:       rm -f conftest.* libconftest.a
                   6694: 
                   6695: fi
1.150   ! moko     6696: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6697: 
                   6698: fi
1.150   ! moko     6699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          6700: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6701: 
                   6702: if test "x$lt_cv_ar_at_file" = xno; then
                   6703:   archiver_list_spec=
                   6704: else
                   6705:   archiver_list_spec=$lt_cv_ar_at_file
                   6706: fi
                   6707: 
                   6708: 
                   6709: 
                   6710: 
                   6711: 
                   6712: 
                   6713: 
                   6714: if test -n "$ac_tool_prefix"; then
                   6715:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6716: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150   ! moko     6717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6718: $as_echo_n "checking for $ac_word... " >&6; }
        !          6719: if ${ac_cv_prog_STRIP+:} false; then :
        !          6720:   $as_echo_n "(cached) " >&6
1.128     moko     6721: else
                   6722:   if test -n "$STRIP"; then
                   6723:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6724: else
                   6725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6726: for as_dir in $PATH
                   6727: do
                   6728:   IFS=$as_save_IFS
                   6729:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6730:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6731:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6732:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150   ! moko     6733:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6734:     break 2
                   6735:   fi
                   6736: done
1.150   ! moko     6737:   done
        !          6738: IFS=$as_save_IFS
1.128     moko     6739: 
                   6740: fi
                   6741: fi
                   6742: STRIP=$ac_cv_prog_STRIP
                   6743: if test -n "$STRIP"; then
1.150   ! moko     6744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          6745: $as_echo "$STRIP" >&6; }
1.128     moko     6746: else
1.150   ! moko     6747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6748: $as_echo "no" >&6; }
1.128     moko     6749: fi
                   6750: 
1.150   ! moko     6751: 
1.128     moko     6752: fi
                   6753: if test -z "$ac_cv_prog_STRIP"; then
                   6754:   ac_ct_STRIP=$STRIP
                   6755:   # Extract the first word of "strip", so it can be a program name with args.
                   6756: set dummy strip; ac_word=$2
1.150   ! moko     6757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6758: $as_echo_n "checking for $ac_word... " >&6; }
        !          6759: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
        !          6760:   $as_echo_n "(cached) " >&6
1.128     moko     6761: else
                   6762:   if test -n "$ac_ct_STRIP"; then
                   6763:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6764: else
                   6765: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6766: for as_dir in $PATH
                   6767: do
                   6768:   IFS=$as_save_IFS
                   6769:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6770:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6771:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6772:     ac_cv_prog_ac_ct_STRIP="strip"
1.150   ! moko     6773:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6774:     break 2
                   6775:   fi
                   6776: done
1.150   ! moko     6777:   done
        !          6778: IFS=$as_save_IFS
1.128     moko     6779: 
                   6780: fi
                   6781: fi
                   6782: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6783: if test -n "$ac_ct_STRIP"; then
1.150   ! moko     6784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          6785: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6786: else
1.150   ! moko     6787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6788: $as_echo "no" >&6; }
1.128     moko     6789: fi
                   6790: 
1.150   ! moko     6791:   if test "x$ac_ct_STRIP" = x; then
        !          6792:     STRIP=":"
        !          6793:   else
        !          6794:     case $cross_compiling:$ac_tool_warned in
        !          6795: yes:)
        !          6796: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6797: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6798: ac_tool_warned=yes ;;
        !          6799: esac
        !          6800:     STRIP=$ac_ct_STRIP
        !          6801:   fi
1.128     moko     6802: else
                   6803:   STRIP="$ac_cv_prog_STRIP"
                   6804: fi
                   6805: 
                   6806: test -z "$STRIP" && STRIP=:
                   6807: 
                   6808: 
                   6809: 
                   6810: 
                   6811: 
                   6812: 
                   6813: if test -n "$ac_tool_prefix"; then
                   6814:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6815: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150   ! moko     6816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6817: $as_echo_n "checking for $ac_word... " >&6; }
        !          6818: if ${ac_cv_prog_RANLIB+:} false; then :
        !          6819:   $as_echo_n "(cached) " >&6
1.128     moko     6820: else
                   6821:   if test -n "$RANLIB"; then
                   6822:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6823: else
                   6824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6825: for as_dir in $PATH
                   6826: do
                   6827:   IFS=$as_save_IFS
                   6828:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6829:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6830:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6831:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150   ! moko     6832:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6833:     break 2
                   6834:   fi
                   6835: done
1.150   ! moko     6836:   done
        !          6837: IFS=$as_save_IFS
1.128     moko     6838: 
                   6839: fi
                   6840: fi
                   6841: RANLIB=$ac_cv_prog_RANLIB
                   6842: if test -n "$RANLIB"; then
1.150   ! moko     6843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          6844: $as_echo "$RANLIB" >&6; }
1.128     moko     6845: else
1.150   ! moko     6846:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6847: $as_echo "no" >&6; }
1.128     moko     6848: fi
                   6849: 
1.150   ! moko     6850: 
1.128     moko     6851: fi
                   6852: if test -z "$ac_cv_prog_RANLIB"; then
                   6853:   ac_ct_RANLIB=$RANLIB
                   6854:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6855: set dummy ranlib; ac_word=$2
1.150   ! moko     6856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6857: $as_echo_n "checking for $ac_word... " >&6; }
        !          6858: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
        !          6859:   $as_echo_n "(cached) " >&6
1.128     moko     6860: else
                   6861:   if test -n "$ac_ct_RANLIB"; then
                   6862:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6863: else
                   6864: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6865: for as_dir in $PATH
                   6866: do
                   6867:   IFS=$as_save_IFS
                   6868:   test -z "$as_dir" && as_dir=.
1.150   ! moko     6869:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6870:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6871:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150   ! moko     6872:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6873:     break 2
                   6874:   fi
                   6875: done
1.150   ! moko     6876:   done
        !          6877: IFS=$as_save_IFS
1.128     moko     6878: 
                   6879: fi
                   6880: fi
                   6881: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6882: if test -n "$ac_ct_RANLIB"; then
1.150   ! moko     6883:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          6884: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     6885: else
1.150   ! moko     6886:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6887: $as_echo "no" >&6; }
1.128     moko     6888: fi
                   6889: 
1.150   ! moko     6890:   if test "x$ac_ct_RANLIB" = x; then
        !          6891:     RANLIB=":"
        !          6892:   else
        !          6893:     case $cross_compiling:$ac_tool_warned in
        !          6894: yes:)
        !          6895: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6896: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6897: ac_tool_warned=yes ;;
        !          6898: esac
        !          6899:     RANLIB=$ac_ct_RANLIB
        !          6900:   fi
1.128     moko     6901: else
                   6902:   RANLIB="$ac_cv_prog_RANLIB"
                   6903: fi
                   6904: 
                   6905: test -z "$RANLIB" && RANLIB=:
                   6906: 
                   6907: 
                   6908: 
                   6909: 
                   6910: 
                   6911: 
                   6912: # Determine commands to create old-style static archives.
                   6913: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6914: old_postinstall_cmds='chmod 644 $oldlib'
                   6915: old_postuninstall_cmds=
                   6916: 
                   6917: if test -n "$RANLIB"; then
                   6918:   case $host_os in
                   6919:   openbsd*)
                   6920:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   6921:     ;;
                   6922:   *)
                   6923:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   6924:     ;;
                   6925:   esac
                   6926:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6927: fi
                   6928: 
                   6929: case $host_os in
                   6930:   darwin*)
                   6931:     lock_old_archive_extraction=yes ;;
                   6932:   *)
                   6933:     lock_old_archive_extraction=no ;;
                   6934: esac
                   6935: 
                   6936: 
                   6937: 
                   6938: 
                   6939: 
                   6940: 
                   6941: 
                   6942: 
                   6943: 
                   6944: 
                   6945: 
                   6946: 
                   6947: 
                   6948: 
                   6949: 
                   6950: 
                   6951: 
                   6952: 
                   6953: 
                   6954: 
                   6955: 
                   6956: 
                   6957: 
                   6958: 
                   6959: 
                   6960: 
                   6961: 
                   6962: 
                   6963: 
                   6964: 
                   6965: 
                   6966: 
                   6967: 
                   6968: 
                   6969: 
                   6970: 
                   6971: 
                   6972: 
                   6973: 
                   6974: # If no C compiler was specified, use CC.
                   6975: LTCC=${LTCC-"$CC"}
                   6976: 
                   6977: # If no C compiler flags were specified, use CFLAGS.
                   6978: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6979: 
                   6980: # Allow CC to be a program name with arguments.
                   6981: compiler=$CC
                   6982: 
                   6983: 
                   6984: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150   ! moko     6985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
        !          6986: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
        !          6987: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
        !          6988:   $as_echo_n "(cached) " >&6
1.128     moko     6989: else
                   6990: 
                   6991: # These are sane defaults that work on at least a few old systems.
                   6992: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6993: 
                   6994: # Character class describing NM global symbol codes.
                   6995: symcode='[BCDEGRST]'
                   6996: 
                   6997: # Regexp to match symbols that can be accessed directly from C.
                   6998: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6999: 
                   7000: # Define system-specific variables.
                   7001: case $host_os in
                   7002: aix*)
                   7003:   symcode='[BCDT]'
                   7004:   ;;
                   7005: cygwin* | mingw* | pw32* | cegcc*)
                   7006:   symcode='[ABCDGISTW]'
                   7007:   ;;
                   7008: hpux*)
                   7009:   if test "$host_cpu" = ia64; then
                   7010:     symcode='[ABCDEGRST]'
                   7011:   fi
                   7012:   ;;
                   7013: irix* | nonstopux*)
                   7014:   symcode='[BCDEGRST]'
                   7015:   ;;
                   7016: osf*)
                   7017:   symcode='[BCDEGQRST]'
                   7018:   ;;
                   7019: solaris*)
                   7020:   symcode='[BDRT]'
                   7021:   ;;
                   7022: sco3.2v5*)
                   7023:   symcode='[DT]'
                   7024:   ;;
                   7025: sysv4.2uw2*)
                   7026:   symcode='[DT]'
                   7027:   ;;
                   7028: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7029:   symcode='[ABDT]'
                   7030:   ;;
                   7031: sysv4)
                   7032:   symcode='[DFNSTU]'
                   7033:   ;;
                   7034: esac
                   7035: 
                   7036: # If we're using GNU nm, then use its standard symbol codes.
                   7037: case `$NM -V 2>&1` in
                   7038: *GNU* | *'with BFD'*)
                   7039:   symcode='[ABCDGIRSTW]' ;;
                   7040: esac
                   7041: 
                   7042: # Transform an extracted symbol line into a proper C declaration.
                   7043: # Some systems (esp. on ia64) link data and code symbols differently,
                   7044: # so use this general approach.
                   7045: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7046: 
                   7047: # Transform an extracted symbol line into symbol name and symbol address
                   7048: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7049: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
                   7050: 
                   7051: # Handle CRLF in mingw tool chain
                   7052: opt_cr=
                   7053: case $build_os in
                   7054: mingw*)
                   7055:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7056:   ;;
                   7057: esac
                   7058: 
                   7059: # Try without a prefix underscore, then with it.
                   7060: for ac_symprfx in "" "_"; do
                   7061: 
                   7062:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7063:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7064: 
                   7065:   # Write the raw and C identifiers.
                   7066:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7067:     # Fake it for dumpbin and say T for any non-static function
                   7068:     # and D for any global variable.
                   7069:     # Also find C++ and __fastcall symbols from MSVC++,
                   7070:     # which start with @ or ?.
                   7071:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7072: "     {last_section=section; section=\$ 3};"\
                   7073: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7074: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7075: "     \$ 0!~/External *\|/{next};"\
                   7076: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7077: "     {if(hide[section]) next};"\
                   7078: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7079: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7080: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7081: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7082: "     ' prfx=^$ac_symprfx"
                   7083:   else
                   7084:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7085:   fi
                   7086:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7087: 
                   7088:   # Check to see that the pipe works correctly.
                   7089:   pipe_works=no
                   7090: 
                   7091:   rm -f conftest*
                   7092:   cat > conftest.$ac_ext <<_LT_EOF
                   7093: #ifdef __cplusplus
                   7094: extern "C" {
                   7095: #endif
                   7096: char nm_test_var;
                   7097: void nm_test_func(void);
                   7098: void nm_test_func(void){}
                   7099: #ifdef __cplusplus
                   7100: }
                   7101: #endif
                   7102: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7103: _LT_EOF
                   7104: 
1.150   ! moko     7105:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7106:   (eval $ac_compile) 2>&5
                   7107:   ac_status=$?
1.150   ! moko     7108:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7109:   test $ac_status = 0; }; then
1.128     moko     7110:     # Now try to grab the symbols.
                   7111:     nlist=conftest.nm
1.150   ! moko     7112:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7113:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7114:   ac_status=$?
1.150   ! moko     7115:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7116:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7117:       # Try sorting and uniquifying the output.
                   7118:       if sort "$nlist" | uniq > "$nlist"T; then
                   7119:        mv -f "$nlist"T "$nlist"
                   7120:       else
                   7121:        rm -f "$nlist"T
                   7122:       fi
                   7123: 
                   7124:       # Make sure that we snagged all the symbols we need.
                   7125:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7126:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7127:          cat <<_LT_EOF > conftest.$ac_ext
                   7128: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7129: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7130: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7131:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7132: # define LT_DLSYM_CONST
                   7133: #elif defined(__osf__)
                   7134: /* This system does not cope well with relocations in const data.  */
                   7135: # define LT_DLSYM_CONST
                   7136: #else
                   7137: # define LT_DLSYM_CONST const
                   7138: #endif
                   7139: 
                   7140: #ifdef __cplusplus
                   7141: extern "C" {
                   7142: #endif
                   7143: 
                   7144: _LT_EOF
                   7145:          # Now generate the symbol file.
                   7146:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7147: 
                   7148:          cat <<_LT_EOF >> conftest.$ac_ext
                   7149: 
                   7150: /* The mapping between symbol names and symbols.  */
                   7151: LT_DLSYM_CONST struct {
                   7152:   const char *name;
                   7153:   void       *address;
                   7154: }
                   7155: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7156: {
                   7157:   { "@PROGRAM@", (void *) 0 },
                   7158: _LT_EOF
                   7159:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7160:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7161:   {0, (void *) 0}
                   7162: };
                   7163: 
                   7164: /* This works around a problem in FreeBSD linker */
                   7165: #ifdef FREEBSD_WORKAROUND
                   7166: static const void *lt_preloaded_setup() {
                   7167:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7168: }
                   7169: #endif
                   7170: 
                   7171: #ifdef __cplusplus
                   7172: }
                   7173: #endif
                   7174: _LT_EOF
                   7175:          # Now try linking the two files.
                   7176:          mv conftest.$ac_objext conftstm.$ac_objext
                   7177:          lt_globsym_save_LIBS=$LIBS
                   7178:          lt_globsym_save_CFLAGS=$CFLAGS
                   7179:          LIBS="conftstm.$ac_objext"
                   7180:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150   ! moko     7181:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7182:   (eval $ac_link) 2>&5
                   7183:   ac_status=$?
1.150   ! moko     7184:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7185:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7186:            pipe_works=yes
                   7187:          fi
                   7188:          LIBS=$lt_globsym_save_LIBS
                   7189:          CFLAGS=$lt_globsym_save_CFLAGS
                   7190:        else
                   7191:          echo "cannot find nm_test_func in $nlist" >&5
                   7192:        fi
                   7193:       else
                   7194:        echo "cannot find nm_test_var in $nlist" >&5
                   7195:       fi
                   7196:     else
                   7197:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7198:     fi
                   7199:   else
                   7200:     echo "$progname: failed program was:" >&5
                   7201:     cat conftest.$ac_ext >&5
                   7202:   fi
                   7203:   rm -rf conftest* conftst*
                   7204: 
                   7205:   # Do not use the global_symbol_pipe unless it works.
                   7206:   if test "$pipe_works" = yes; then
                   7207:     break
                   7208:   else
                   7209:     lt_cv_sys_global_symbol_pipe=
                   7210:   fi
                   7211: done
                   7212: 
                   7213: fi
                   7214: 
                   7215: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7216:   lt_cv_sys_global_symbol_to_cdecl=
                   7217: fi
                   7218: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150   ! moko     7219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
        !          7220: $as_echo "failed" >&6; }
1.128     moko     7221: else
1.150   ! moko     7222:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
        !          7223: $as_echo "ok" >&6; }
1.128     moko     7224: fi
                   7225: 
                   7226: # Response file support.
                   7227: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7228:   nm_file_list_spec='@'
                   7229: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7230:   nm_file_list_spec='@'
                   7231: fi
                   7232: 
                   7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
                   7238: 
                   7239: 
                   7240: 
                   7241: 
                   7242: 
                   7243: 
                   7244: 
                   7245: 
                   7246: 
                   7247: 
                   7248: 
                   7249: 
                   7250: 
                   7251: 
                   7252: 
                   7253: 
                   7254: 
                   7255: 
                   7256: 
                   7257: 
                   7258: 
1.150   ! moko     7259: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          7260: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7261: 
1.150   ! moko     7262: # Check whether --with-sysroot was given.
        !          7263: if test "${with_sysroot+set}" = set; then :
        !          7264:   withval=$with_sysroot;
1.128     moko     7265: else
                   7266:   with_sysroot=no
1.150   ! moko     7267: fi
        !          7268: 
1.128     moko     7269: 
                   7270: lt_sysroot=
                   7271: case ${with_sysroot} in #(
                   7272:  yes)
                   7273:    if test "$GCC" = yes; then
                   7274:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7275:    fi
                   7276:    ;; #(
                   7277:  /*)
                   7278:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7279:    ;; #(
                   7280:  no|'')
                   7281:    ;; #(
                   7282:  *)
1.150   ! moko     7283:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
        !          7284: $as_echo "${with_sysroot}" >&6; }
        !          7285:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7286:    ;;
                   7287: esac
                   7288: 
1.150   ! moko     7289:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          7290: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7291: 
                   7292: 
                   7293: 
                   7294: 
                   7295: 
1.150   ! moko     7296: # Check whether --enable-libtool-lock was given.
        !          7297: if test "${enable_libtool_lock+set}" = set; then :
        !          7298:   enableval=$enable_libtool_lock;
        !          7299: fi
1.128     moko     7300: 
                   7301: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7302: 
                   7303: # Some flags need to be propagated to the compiler or linker for good
                   7304: # libtool support.
                   7305: case $host in
                   7306: ia64-*-hpux*)
                   7307:   # Find out which ABI we are using.
                   7308:   echo 'int i;' > conftest.$ac_ext
1.150   ! moko     7309:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7310:   (eval $ac_compile) 2>&5
                   7311:   ac_status=$?
1.150   ! moko     7312:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7313:   test $ac_status = 0; }; then
1.128     moko     7314:     case `/usr/bin/file conftest.$ac_objext` in
                   7315:       *ELF-32*)
                   7316:        HPUX_IA64_MODE="32"
                   7317:        ;;
                   7318:       *ELF-64*)
                   7319:        HPUX_IA64_MODE="64"
                   7320:        ;;
                   7321:     esac
                   7322:   fi
                   7323:   rm -rf conftest*
                   7324:   ;;
                   7325: *-*-irix6*)
                   7326:   # Find out which ABI we are using.
                   7327:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150   ! moko     7328:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7329:   (eval $ac_compile) 2>&5
                   7330:   ac_status=$?
1.150   ! moko     7331:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7332:   test $ac_status = 0; }; then
1.128     moko     7333:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7334:       case `/usr/bin/file conftest.$ac_objext` in
                   7335:        *32-bit*)
                   7336:          LD="${LD-ld} -melf32bsmip"
                   7337:          ;;
                   7338:        *N32*)
                   7339:          LD="${LD-ld} -melf32bmipn32"
                   7340:          ;;
                   7341:        *64-bit*)
                   7342:          LD="${LD-ld} -melf64bmip"
                   7343:        ;;
                   7344:       esac
                   7345:     else
                   7346:       case `/usr/bin/file conftest.$ac_objext` in
                   7347:        *32-bit*)
                   7348:          LD="${LD-ld} -32"
                   7349:          ;;
                   7350:        *N32*)
                   7351:          LD="${LD-ld} -n32"
                   7352:          ;;
                   7353:        *64-bit*)
                   7354:          LD="${LD-ld} -64"
                   7355:          ;;
                   7356:       esac
                   7357:     fi
                   7358:   fi
                   7359:   rm -rf conftest*
                   7360:   ;;
                   7361: 
                   7362: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7363: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7364:   # Find out which ABI we are using.
                   7365:   echo 'int i;' > conftest.$ac_ext
1.150   ! moko     7366:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7367:   (eval $ac_compile) 2>&5
                   7368:   ac_status=$?
1.150   ! moko     7369:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7370:   test $ac_status = 0; }; then
1.128     moko     7371:     case `/usr/bin/file conftest.o` in
                   7372:       *32-bit*)
                   7373:        case $host in
                   7374:          x86_64-*kfreebsd*-gnu)
                   7375:            LD="${LD-ld} -m elf_i386_fbsd"
                   7376:            ;;
                   7377:          x86_64-*linux*)
                   7378:            LD="${LD-ld} -m elf_i386"
                   7379:            ;;
                   7380:          ppc64-*linux*|powerpc64-*linux*)
                   7381:            LD="${LD-ld} -m elf32ppclinux"
                   7382:            ;;
                   7383:          s390x-*linux*)
                   7384:            LD="${LD-ld} -m elf_s390"
                   7385:            ;;
                   7386:          sparc64-*linux*)
                   7387:            LD="${LD-ld} -m elf32_sparc"
                   7388:            ;;
                   7389:        esac
                   7390:        ;;
                   7391:       *64-bit*)
                   7392:        case $host in
                   7393:          x86_64-*kfreebsd*-gnu)
                   7394:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7395:            ;;
                   7396:          x86_64-*linux*)
                   7397:            LD="${LD-ld} -m elf_x86_64"
                   7398:            ;;
                   7399:          ppc*-*linux*|powerpc*-*linux*)
                   7400:            LD="${LD-ld} -m elf64ppc"
                   7401:            ;;
                   7402:          s390*-*linux*|s390*-*tpf*)
                   7403:            LD="${LD-ld} -m elf64_s390"
                   7404:            ;;
                   7405:          sparc*-*linux*)
                   7406:            LD="${LD-ld} -m elf64_sparc"
                   7407:            ;;
                   7408:        esac
                   7409:        ;;
                   7410:     esac
                   7411:   fi
                   7412:   rm -rf conftest*
                   7413:   ;;
                   7414: 
                   7415: *-*-sco3.2v5*)
                   7416:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7417:   SAVE_CFLAGS="$CFLAGS"
                   7418:   CFLAGS="$CFLAGS -belf"
1.150   ! moko     7419:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
        !          7420: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
        !          7421: if ${lt_cv_cc_needs_belf+:} false; then :
        !          7422:   $as_echo_n "(cached) " >&6
1.128     moko     7423: else
                   7424:   ac_ext=c
                   7425: ac_cpp='$CPP $CPPFLAGS'
                   7426: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7427: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7428: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7429: 
1.150   ! moko     7430:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7431: /* end confdefs.h.  */
                   7432: 
                   7433: int
                   7434: main ()
                   7435: {
                   7436: 
                   7437:   ;
                   7438:   return 0;
                   7439: }
                   7440: _ACEOF
1.150   ! moko     7441: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7442:   lt_cv_cc_needs_belf=yes
                   7443: else
1.150   ! moko     7444:   lt_cv_cc_needs_belf=no
1.128     moko     7445: fi
1.150   ! moko     7446: rm -f core conftest.err conftest.$ac_objext \
        !          7447:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7448:      ac_ext=c
                   7449: ac_cpp='$CPP $CPPFLAGS'
                   7450: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7451: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7452: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7453: 
                   7454: fi
1.150   ! moko     7455: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
        !          7456: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7457:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7458:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7459:     CFLAGS="$SAVE_CFLAGS"
                   7460:   fi
                   7461:   ;;
                   7462: *-*solaris*)
                   7463:   # Find out which ABI we are using.
                   7464:   echo 'int i;' > conftest.$ac_ext
1.150   ! moko     7465:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7466:   (eval $ac_compile) 2>&5
                   7467:   ac_status=$?
1.150   ! moko     7468:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7469:   test $ac_status = 0; }; then
1.128     moko     7470:     case `/usr/bin/file conftest.o` in
                   7471:     *64-bit*)
                   7472:       case $lt_cv_prog_gnu_ld in
                   7473:       yes*)
                   7474:         case $host in
                   7475:         i?86-*-solaris*)
                   7476:           LD="${LD-ld} -m elf_x86_64"
                   7477:           ;;
                   7478:         sparc*-*-solaris*)
                   7479:           LD="${LD-ld} -m elf64_sparc"
                   7480:           ;;
                   7481:         esac
                   7482:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7483:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7484:           LD="${LD-ld}_sol2"
                   7485:         fi
                   7486:         ;;
                   7487:       *)
                   7488:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7489:          LD="${LD-ld} -64"
                   7490:        fi
                   7491:        ;;
                   7492:       esac
                   7493:       ;;
                   7494:     esac
                   7495:   fi
                   7496:   rm -rf conftest*
                   7497:   ;;
                   7498: esac
                   7499: 
                   7500: need_locks="$enable_libtool_lock"
                   7501: 
                   7502: if test -n "$ac_tool_prefix"; then
                   7503:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7504: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150   ! moko     7505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7506: $as_echo_n "checking for $ac_word... " >&6; }
        !          7507: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
        !          7508:   $as_echo_n "(cached) " >&6
1.128     moko     7509: else
                   7510:   if test -n "$MANIFEST_TOOL"; then
                   7511:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7512: else
                   7513: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7514: for as_dir in $PATH
                   7515: do
                   7516:   IFS=$as_save_IFS
                   7517:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7518:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7519:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7520:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150   ! moko     7521:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7522:     break 2
                   7523:   fi
                   7524: done
1.150   ! moko     7525:   done
        !          7526: IFS=$as_save_IFS
1.128     moko     7527: 
                   7528: fi
                   7529: fi
                   7530: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7531: if test -n "$MANIFEST_TOOL"; then
1.150   ! moko     7532:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          7533: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7534: else
1.150   ! moko     7535:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7536: $as_echo "no" >&6; }
1.128     moko     7537: fi
                   7538: 
1.150   ! moko     7539: 
1.128     moko     7540: fi
                   7541: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7542:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7543:   # Extract the first word of "mt", so it can be a program name with args.
                   7544: set dummy mt; ac_word=$2
1.150   ! moko     7545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7546: $as_echo_n "checking for $ac_word... " >&6; }
        !          7547: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
        !          7548:   $as_echo_n "(cached) " >&6
1.128     moko     7549: else
                   7550:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7551:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7552: else
                   7553: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7554: for as_dir in $PATH
                   7555: do
                   7556:   IFS=$as_save_IFS
                   7557:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7558:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7559:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7560:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150   ! moko     7561:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7562:     break 2
                   7563:   fi
                   7564: done
1.150   ! moko     7565:   done
        !          7566: IFS=$as_save_IFS
1.128     moko     7567: 
                   7568: fi
                   7569: fi
                   7570: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7571: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150   ! moko     7572:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          7573: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7574: else
1.150   ! moko     7575:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7576: $as_echo "no" >&6; }
1.128     moko     7577: fi
                   7578: 
1.150   ! moko     7579:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
        !          7580:     MANIFEST_TOOL=":"
        !          7581:   else
        !          7582:     case $cross_compiling:$ac_tool_warned in
        !          7583: yes:)
        !          7584: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7585: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7586: ac_tool_warned=yes ;;
        !          7587: esac
        !          7588:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
        !          7589:   fi
1.128     moko     7590: else
                   7591:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7592: fi
                   7593: 
                   7594: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150   ! moko     7595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          7596: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          7597: if ${lt_cv_path_mainfest_tool+:} false; then :
        !          7598:   $as_echo_n "(cached) " >&6
1.128     moko     7599: else
                   7600:   lt_cv_path_mainfest_tool=no
                   7601:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7602:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7603:   cat conftest.err >&5
                   7604:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7605:     lt_cv_path_mainfest_tool=yes
                   7606:   fi
                   7607:   rm -f conftest*
                   7608: fi
1.150   ! moko     7609: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
        !          7610: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7611: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7612:   MANIFEST_TOOL=:
                   7613: fi
                   7614: 
                   7615: 
                   7616: 
                   7617: 
                   7618: 
                   7619: 
                   7620:   case $host_os in
                   7621:     rhapsody* | darwin*)
                   7622:     if test -n "$ac_tool_prefix"; then
                   7623:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7624: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150   ! moko     7625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7626: $as_echo_n "checking for $ac_word... " >&6; }
        !          7627: if ${ac_cv_prog_DSYMUTIL+:} false; then :
        !          7628:   $as_echo_n "(cached) " >&6
1.128     moko     7629: else
                   7630:   if test -n "$DSYMUTIL"; then
                   7631:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7632: else
                   7633: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7634: for as_dir in $PATH
                   7635: do
                   7636:   IFS=$as_save_IFS
                   7637:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7638:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7639:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7640:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150   ! moko     7641:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7642:     break 2
                   7643:   fi
                   7644: done
1.150   ! moko     7645:   done
        !          7646: IFS=$as_save_IFS
1.128     moko     7647: 
                   7648: fi
                   7649: fi
                   7650: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7651: if test -n "$DSYMUTIL"; then
1.150   ! moko     7652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
        !          7653: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7654: else
1.150   ! moko     7655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7656: $as_echo "no" >&6; }
1.128     moko     7657: fi
                   7658: 
1.150   ! moko     7659: 
1.128     moko     7660: fi
                   7661: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7662:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7663:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7664: set dummy dsymutil; ac_word=$2
1.150   ! moko     7665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7666: $as_echo_n "checking for $ac_word... " >&6; }
        !          7667: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
        !          7668:   $as_echo_n "(cached) " >&6
1.128     moko     7669: else
                   7670:   if test -n "$ac_ct_DSYMUTIL"; then
                   7671:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7672: else
                   7673: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7674: for as_dir in $PATH
                   7675: do
                   7676:   IFS=$as_save_IFS
                   7677:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7678:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7679:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7680:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150   ! moko     7681:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7682:     break 2
                   7683:   fi
                   7684: done
1.150   ! moko     7685:   done
        !          7686: IFS=$as_save_IFS
1.128     moko     7687: 
                   7688: fi
                   7689: fi
                   7690: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7691: if test -n "$ac_ct_DSYMUTIL"; then
1.150   ! moko     7692:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
        !          7693: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7694: else
1.150   ! moko     7695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7696: $as_echo "no" >&6; }
1.128     moko     7697: fi
                   7698: 
1.150   ! moko     7699:   if test "x$ac_ct_DSYMUTIL" = x; then
        !          7700:     DSYMUTIL=":"
        !          7701:   else
        !          7702:     case $cross_compiling:$ac_tool_warned in
        !          7703: yes:)
        !          7704: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7705: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7706: ac_tool_warned=yes ;;
        !          7707: esac
        !          7708:     DSYMUTIL=$ac_ct_DSYMUTIL
        !          7709:   fi
1.128     moko     7710: else
                   7711:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7712: fi
                   7713: 
                   7714:     if test -n "$ac_tool_prefix"; then
                   7715:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7716: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150   ! moko     7717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7718: $as_echo_n "checking for $ac_word... " >&6; }
        !          7719: if ${ac_cv_prog_NMEDIT+:} false; then :
        !          7720:   $as_echo_n "(cached) " >&6
1.128     moko     7721: else
                   7722:   if test -n "$NMEDIT"; then
                   7723:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7724: else
                   7725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7726: for as_dir in $PATH
                   7727: do
                   7728:   IFS=$as_save_IFS
                   7729:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7730:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7731:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7732:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150   ! moko     7733:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7734:     break 2
                   7735:   fi
                   7736: done
1.150   ! moko     7737:   done
        !          7738: IFS=$as_save_IFS
1.128     moko     7739: 
                   7740: fi
                   7741: fi
                   7742: NMEDIT=$ac_cv_prog_NMEDIT
                   7743: if test -n "$NMEDIT"; then
1.150   ! moko     7744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
        !          7745: $as_echo "$NMEDIT" >&6; }
1.128     moko     7746: else
1.150   ! moko     7747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7748: $as_echo "no" >&6; }
1.128     moko     7749: fi
                   7750: 
1.150   ! moko     7751: 
1.128     moko     7752: fi
                   7753: if test -z "$ac_cv_prog_NMEDIT"; then
                   7754:   ac_ct_NMEDIT=$NMEDIT
                   7755:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7756: set dummy nmedit; ac_word=$2
1.150   ! moko     7757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7758: $as_echo_n "checking for $ac_word... " >&6; }
        !          7759: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
        !          7760:   $as_echo_n "(cached) " >&6
1.128     moko     7761: else
                   7762:   if test -n "$ac_ct_NMEDIT"; then
                   7763:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7764: else
                   7765: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7766: for as_dir in $PATH
                   7767: do
                   7768:   IFS=$as_save_IFS
                   7769:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7770:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7771:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7772:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150   ! moko     7773:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7774:     break 2
                   7775:   fi
                   7776: done
1.150   ! moko     7777:   done
        !          7778: IFS=$as_save_IFS
1.128     moko     7779: 
                   7780: fi
                   7781: fi
                   7782: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7783: if test -n "$ac_ct_NMEDIT"; then
1.150   ! moko     7784:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
        !          7785: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7786: else
1.150   ! moko     7787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7788: $as_echo "no" >&6; }
1.128     moko     7789: fi
                   7790: 
1.150   ! moko     7791:   if test "x$ac_ct_NMEDIT" = x; then
        !          7792:     NMEDIT=":"
        !          7793:   else
        !          7794:     case $cross_compiling:$ac_tool_warned in
        !          7795: yes:)
        !          7796: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7797: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7798: ac_tool_warned=yes ;;
        !          7799: esac
        !          7800:     NMEDIT=$ac_ct_NMEDIT
        !          7801:   fi
1.128     moko     7802: else
                   7803:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7804: fi
                   7805: 
                   7806:     if test -n "$ac_tool_prefix"; then
                   7807:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7808: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150   ! moko     7809: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7810: $as_echo_n "checking for $ac_word... " >&6; }
        !          7811: if ${ac_cv_prog_LIPO+:} false; then :
        !          7812:   $as_echo_n "(cached) " >&6
1.128     moko     7813: else
                   7814:   if test -n "$LIPO"; then
                   7815:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7816: else
                   7817: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7818: for as_dir in $PATH
                   7819: do
                   7820:   IFS=$as_save_IFS
                   7821:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7822:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7823:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7824:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150   ! moko     7825:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7826:     break 2
                   7827:   fi
                   7828: done
1.150   ! moko     7829:   done
        !          7830: IFS=$as_save_IFS
1.128     moko     7831: 
                   7832: fi
                   7833: fi
                   7834: LIPO=$ac_cv_prog_LIPO
                   7835: if test -n "$LIPO"; then
1.150   ! moko     7836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
        !          7837: $as_echo "$LIPO" >&6; }
1.128     moko     7838: else
1.150   ! moko     7839:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7840: $as_echo "no" >&6; }
1.128     moko     7841: fi
                   7842: 
1.150   ! moko     7843: 
1.128     moko     7844: fi
                   7845: if test -z "$ac_cv_prog_LIPO"; then
                   7846:   ac_ct_LIPO=$LIPO
                   7847:   # Extract the first word of "lipo", so it can be a program name with args.
                   7848: set dummy lipo; ac_word=$2
1.150   ! moko     7849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7850: $as_echo_n "checking for $ac_word... " >&6; }
        !          7851: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
        !          7852:   $as_echo_n "(cached) " >&6
1.128     moko     7853: else
                   7854:   if test -n "$ac_ct_LIPO"; then
                   7855:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7856: else
                   7857: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7858: for as_dir in $PATH
                   7859: do
                   7860:   IFS=$as_save_IFS
                   7861:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7862:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7863:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7864:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150   ! moko     7865:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7866:     break 2
                   7867:   fi
                   7868: done
1.150   ! moko     7869:   done
        !          7870: IFS=$as_save_IFS
1.128     moko     7871: 
                   7872: fi
                   7873: fi
                   7874: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7875: if test -n "$ac_ct_LIPO"; then
1.150   ! moko     7876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
        !          7877: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     7878: else
1.150   ! moko     7879:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7880: $as_echo "no" >&6; }
1.128     moko     7881: fi
                   7882: 
1.150   ! moko     7883:   if test "x$ac_ct_LIPO" = x; then
        !          7884:     LIPO=":"
        !          7885:   else
        !          7886:     case $cross_compiling:$ac_tool_warned in
        !          7887: yes:)
        !          7888: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7889: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7890: ac_tool_warned=yes ;;
        !          7891: esac
        !          7892:     LIPO=$ac_ct_LIPO
        !          7893:   fi
1.128     moko     7894: else
                   7895:   LIPO="$ac_cv_prog_LIPO"
                   7896: fi
                   7897: 
                   7898:     if test -n "$ac_tool_prefix"; then
                   7899:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7900: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150   ! moko     7901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7902: $as_echo_n "checking for $ac_word... " >&6; }
        !          7903: if ${ac_cv_prog_OTOOL+:} false; then :
        !          7904:   $as_echo_n "(cached) " >&6
1.128     moko     7905: else
                   7906:   if test -n "$OTOOL"; then
                   7907:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7908: else
                   7909: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7910: for as_dir in $PATH
                   7911: do
                   7912:   IFS=$as_save_IFS
                   7913:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7914:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7915:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7916:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150   ! moko     7917:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7918:     break 2
                   7919:   fi
                   7920: done
1.150   ! moko     7921:   done
        !          7922: IFS=$as_save_IFS
1.128     moko     7923: 
                   7924: fi
                   7925: fi
                   7926: OTOOL=$ac_cv_prog_OTOOL
                   7927: if test -n "$OTOOL"; then
1.150   ! moko     7928:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
        !          7929: $as_echo "$OTOOL" >&6; }
1.128     moko     7930: else
1.150   ! moko     7931:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7932: $as_echo "no" >&6; }
1.128     moko     7933: fi
                   7934: 
1.150   ! moko     7935: 
1.128     moko     7936: fi
                   7937: if test -z "$ac_cv_prog_OTOOL"; then
                   7938:   ac_ct_OTOOL=$OTOOL
                   7939:   # Extract the first word of "otool", so it can be a program name with args.
                   7940: set dummy otool; ac_word=$2
1.150   ! moko     7941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7942: $as_echo_n "checking for $ac_word... " >&6; }
        !          7943: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
        !          7944:   $as_echo_n "(cached) " >&6
1.128     moko     7945: else
                   7946:   if test -n "$ac_ct_OTOOL"; then
                   7947:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7948: else
                   7949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7950: for as_dir in $PATH
                   7951: do
                   7952:   IFS=$as_save_IFS
                   7953:   test -z "$as_dir" && as_dir=.
1.150   ! moko     7954:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7955:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7956:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150   ! moko     7957:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7958:     break 2
                   7959:   fi
                   7960: done
1.150   ! moko     7961:   done
        !          7962: IFS=$as_save_IFS
1.128     moko     7963: 
                   7964: fi
                   7965: fi
                   7966: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7967: if test -n "$ac_ct_OTOOL"; then
1.150   ! moko     7968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
        !          7969: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     7970: else
1.150   ! moko     7971:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7972: $as_echo "no" >&6; }
1.128     moko     7973: fi
                   7974: 
1.150   ! moko     7975:   if test "x$ac_ct_OTOOL" = x; then
        !          7976:     OTOOL=":"
        !          7977:   else
        !          7978:     case $cross_compiling:$ac_tool_warned in
        !          7979: yes:)
        !          7980: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          7981: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          7982: ac_tool_warned=yes ;;
        !          7983: esac
        !          7984:     OTOOL=$ac_ct_OTOOL
        !          7985:   fi
1.128     moko     7986: else
                   7987:   OTOOL="$ac_cv_prog_OTOOL"
                   7988: fi
                   7989: 
                   7990:     if test -n "$ac_tool_prefix"; then
                   7991:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7992: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150   ! moko     7993: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          7994: $as_echo_n "checking for $ac_word... " >&6; }
        !          7995: if ${ac_cv_prog_OTOOL64+:} false; then :
        !          7996:   $as_echo_n "(cached) " >&6
1.128     moko     7997: else
                   7998:   if test -n "$OTOOL64"; then
                   7999:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8000: else
                   8001: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8002: for as_dir in $PATH
                   8003: do
                   8004:   IFS=$as_save_IFS
                   8005:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8006:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8007:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8008:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150   ! moko     8009:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8010:     break 2
                   8011:   fi
                   8012: done
1.150   ! moko     8013:   done
        !          8014: IFS=$as_save_IFS
1.128     moko     8015: 
                   8016: fi
                   8017: fi
                   8018: OTOOL64=$ac_cv_prog_OTOOL64
                   8019: if test -n "$OTOOL64"; then
1.150   ! moko     8020:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
        !          8021: $as_echo "$OTOOL64" >&6; }
1.128     moko     8022: else
1.150   ! moko     8023:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8024: $as_echo "no" >&6; }
1.128     moko     8025: fi
                   8026: 
1.150   ! moko     8027: 
1.128     moko     8028: fi
                   8029: if test -z "$ac_cv_prog_OTOOL64"; then
                   8030:   ac_ct_OTOOL64=$OTOOL64
                   8031:   # Extract the first word of "otool64", so it can be a program name with args.
                   8032: set dummy otool64; ac_word=$2
1.150   ! moko     8033: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8034: $as_echo_n "checking for $ac_word... " >&6; }
        !          8035: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
        !          8036:   $as_echo_n "(cached) " >&6
1.128     moko     8037: else
                   8038:   if test -n "$ac_ct_OTOOL64"; then
                   8039:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8040: else
                   8041: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8042: for as_dir in $PATH
                   8043: do
                   8044:   IFS=$as_save_IFS
                   8045:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8046:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8047:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8048:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150   ! moko     8049:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8050:     break 2
                   8051:   fi
                   8052: done
1.150   ! moko     8053:   done
        !          8054: IFS=$as_save_IFS
1.128     moko     8055: 
                   8056: fi
                   8057: fi
                   8058: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8059: if test -n "$ac_ct_OTOOL64"; then
1.150   ! moko     8060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
        !          8061: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8062: else
1.150   ! moko     8063:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8064: $as_echo "no" >&6; }
1.128     moko     8065: fi
                   8066: 
1.150   ! moko     8067:   if test "x$ac_ct_OTOOL64" = x; then
        !          8068:     OTOOL64=":"
        !          8069:   else
        !          8070:     case $cross_compiling:$ac_tool_warned in
        !          8071: yes:)
        !          8072: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8073: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8074: ac_tool_warned=yes ;;
        !          8075: esac
        !          8076:     OTOOL64=$ac_ct_OTOOL64
        !          8077:   fi
1.128     moko     8078: else
                   8079:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8080: fi
                   8081: 
                   8082: 
                   8083: 
                   8084: 
                   8085: 
                   8086: 
                   8087: 
                   8088: 
                   8089: 
                   8090: 
                   8091: 
                   8092: 
                   8093: 
                   8094: 
                   8095: 
                   8096: 
                   8097: 
                   8098: 
                   8099: 
                   8100: 
                   8101: 
                   8102: 
                   8103: 
                   8104: 
                   8105: 
                   8106: 
                   8107: 
1.150   ! moko     8108:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
        !          8109: $as_echo_n "checking for -single_module linker flag... " >&6; }
        !          8110: if ${lt_cv_apple_cc_single_mod+:} false; then :
        !          8111:   $as_echo_n "(cached) " >&6
1.128     moko     8112: else
                   8113:   lt_cv_apple_cc_single_mod=no
                   8114:       if test -z "${LT_MULTI_MODULE}"; then
                   8115:        # By default we will add the -single_module flag. You can override
                   8116:        # by either setting the environment variable LT_MULTI_MODULE
                   8117:        # non-empty at configure time, or by adding -multi_module to the
                   8118:        # link flags.
                   8119:        rm -rf libconftest.dylib*
                   8120:        echo "int foo(void){return 1;}" > conftest.c
                   8121:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8122: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8123:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8124:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8125:         _lt_result=$?
                   8126:        # If there is a non-empty error log, and "single_module"
                   8127:        # appears in it, assume the flag caused a linker warning
                   8128:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8129:          cat conftest.err >&5
                   8130:        # Otherwise, if the output was created with a 0 exit code from
                   8131:        # the compiler, it worked.
                   8132:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8133:          lt_cv_apple_cc_single_mod=yes
                   8134:        else
                   8135:          cat conftest.err >&5
                   8136:        fi
                   8137:        rm -rf libconftest.dylib*
                   8138:        rm -f conftest.*
                   8139:       fi
                   8140: fi
1.150   ! moko     8141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
        !          8142: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8143: 
1.150   ! moko     8144:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
        !          8145: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
        !          8146: if ${lt_cv_ld_exported_symbols_list+:} false; then :
        !          8147:   $as_echo_n "(cached) " >&6
1.128     moko     8148: else
                   8149:   lt_cv_ld_exported_symbols_list=no
                   8150:       save_LDFLAGS=$LDFLAGS
                   8151:       echo "_main" > conftest.sym
                   8152:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150   ! moko     8153:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8154: /* end confdefs.h.  */
                   8155: 
                   8156: int
                   8157: main ()
                   8158: {
                   8159: 
                   8160:   ;
                   8161:   return 0;
                   8162: }
                   8163: _ACEOF
1.150   ! moko     8164: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8165:   lt_cv_ld_exported_symbols_list=yes
                   8166: else
1.150   ! moko     8167:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8168: fi
1.150   ! moko     8169: rm -f core conftest.err conftest.$ac_objext \
        !          8170:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8171:        LDFLAGS="$save_LDFLAGS"
                   8172: 
                   8173: fi
1.150   ! moko     8174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
        !          8175: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8176: 
1.150   ! moko     8177:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          8178: $as_echo_n "checking for -force_load linker flag... " >&6; }
        !          8179: if ${lt_cv_ld_force_load+:} false; then :
        !          8180:   $as_echo_n "(cached) " >&6
1.128     moko     8181: else
                   8182:   lt_cv_ld_force_load=no
                   8183:       cat > conftest.c << _LT_EOF
                   8184: int forced_loaded() { return 2;}
                   8185: _LT_EOF
                   8186:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8187:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8188:       echo "$AR cru libconftest.a conftest.o" >&5
                   8189:       $AR cru libconftest.a conftest.o 2>&5
                   8190:       echo "$RANLIB libconftest.a" >&5
                   8191:       $RANLIB libconftest.a 2>&5
                   8192:       cat > conftest.c << _LT_EOF
                   8193: int main() { return 0;}
                   8194: _LT_EOF
                   8195:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8196:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8197:       _lt_result=$?
                   8198:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8199:        cat conftest.err >&5
                   8200:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8201:        lt_cv_ld_force_load=yes
                   8202:       else
                   8203:        cat conftest.err >&5
                   8204:       fi
                   8205:         rm -f conftest.err libconftest.a conftest conftest.c
                   8206:         rm -rf conftest.dSYM
                   8207: 
                   8208: fi
1.150   ! moko     8209: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          8210: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8211:     case $host_os in
                   8212:     rhapsody* | darwin1.[012])
                   8213:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8214:     darwin1.*)
                   8215:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8216:     darwin*) # darwin 5.x on
                   8217:       # if running on 10.5 or later, the deployment target defaults
                   8218:       # to the OS version, if on x86, and 10.4, the deployment
                   8219:       # target defaults to 10.4. Don't you love it?
                   8220:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8221:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8222:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8223:        10.[012]*)
                   8224:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8225:        10.*)
                   8226:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8227:       esac
                   8228:     ;;
                   8229:   esac
                   8230:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8231:       _lt_dar_single_mod='$single_module'
                   8232:     fi
                   8233:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8234:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8235:     else
                   8236:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8237:     fi
                   8238:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8239:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8240:     else
                   8241:       _lt_dsymutil=
                   8242:     fi
                   8243:     ;;
                   8244:   esac
                   8245: 
                   8246: ac_ext=c
                   8247: ac_cpp='$CPP $CPPFLAGS'
                   8248: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8249: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8250: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150   ! moko     8251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
        !          8252: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8253: # On Suns, sometimes $CPP names a directory.
                   8254: if test -n "$CPP" && test -d "$CPP"; then
                   8255:   CPP=
                   8256: fi
                   8257: if test -z "$CPP"; then
1.150   ! moko     8258:   if ${ac_cv_prog_CPP+:} false; then :
        !          8259:   $as_echo_n "(cached) " >&6
1.128     moko     8260: else
                   8261:       # Double quotes because CPP needs to be expanded
                   8262:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8263:     do
                   8264:       ac_preproc_ok=false
                   8265: for ac_c_preproc_warn_flag in '' yes
                   8266: do
                   8267:   # Use a header file that comes with gcc, so configuring glibc
                   8268:   # with a fresh cross-compiler works.
                   8269:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8270:   # <limits.h> exists even on freestanding compilers.
                   8271:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8272:   # not just through cpp. "Syntax error" is here to catch this case.
1.150   ! moko     8273:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8274: /* end confdefs.h.  */
                   8275: #ifdef __STDC__
                   8276: # include <limits.h>
                   8277: #else
                   8278: # include <assert.h>
                   8279: #endif
                   8280:                     Syntax error
                   8281: _ACEOF
1.150   ! moko     8282: if ac_fn_c_try_cpp "$LINENO"; then :
        !          8283: 
1.128     moko     8284: else
                   8285:   # Broken: fails on valid input.
                   8286: continue
                   8287: fi
1.150   ! moko     8288: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8289: 
1.150   ! moko     8290:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8291:   # can be detected and how.
1.150   ! moko     8292:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8293: /* end confdefs.h.  */
                   8294: #include <ac_nonexistent.h>
                   8295: _ACEOF
1.150   ! moko     8296: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8297:   # Broken: success on invalid input.
                   8298: continue
                   8299: else
                   8300:   # Passes both tests.
                   8301: ac_preproc_ok=:
                   8302: break
                   8303: fi
1.150   ! moko     8304: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8305: 
                   8306: done
                   8307: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150   ! moko     8308: rm -f conftest.i conftest.err conftest.$ac_ext
        !          8309: if $ac_preproc_ok; then :
1.128     moko     8310:   break
                   8311: fi
                   8312: 
                   8313:     done
                   8314:     ac_cv_prog_CPP=$CPP
                   8315: 
                   8316: fi
                   8317:   CPP=$ac_cv_prog_CPP
                   8318: else
                   8319:   ac_cv_prog_CPP=$CPP
                   8320: fi
1.150   ! moko     8321: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
        !          8322: $as_echo "$CPP" >&6; }
1.128     moko     8323: ac_preproc_ok=false
                   8324: for ac_c_preproc_warn_flag in '' yes
                   8325: do
                   8326:   # Use a header file that comes with gcc, so configuring glibc
                   8327:   # with a fresh cross-compiler works.
                   8328:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8329:   # <limits.h> exists even on freestanding compilers.
                   8330:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8331:   # not just through cpp. "Syntax error" is here to catch this case.
1.150   ! moko     8332:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8333: /* end confdefs.h.  */
                   8334: #ifdef __STDC__
                   8335: # include <limits.h>
                   8336: #else
                   8337: # include <assert.h>
                   8338: #endif
                   8339:                     Syntax error
                   8340: _ACEOF
1.150   ! moko     8341: if ac_fn_c_try_cpp "$LINENO"; then :
        !          8342: 
1.128     moko     8343: else
                   8344:   # Broken: fails on valid input.
                   8345: continue
                   8346: fi
1.150   ! moko     8347: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8348: 
1.150   ! moko     8349:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8350:   # can be detected and how.
1.150   ! moko     8351:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8352: /* end confdefs.h.  */
                   8353: #include <ac_nonexistent.h>
                   8354: _ACEOF
1.150   ! moko     8355: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8356:   # Broken: success on invalid input.
                   8357: continue
                   8358: else
                   8359:   # Passes both tests.
                   8360: ac_preproc_ok=:
                   8361: break
                   8362: fi
1.150   ! moko     8363: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8364: 
                   8365: done
                   8366: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150   ! moko     8367: rm -f conftest.i conftest.err conftest.$ac_ext
        !          8368: if $ac_preproc_ok; then :
        !          8369: 
1.128     moko     8370: else
1.150   ! moko     8371:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          8372: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          8373: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
        !          8374: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8375: fi
                   8376: 
                   8377: ac_ext=c
                   8378: ac_cpp='$CPP $CPPFLAGS'
                   8379: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8380: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8381: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8382: 
                   8383: 
1.150   ! moko     8384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          8385: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          8386: if ${ac_cv_header_stdc+:} false; then :
        !          8387:   $as_echo_n "(cached) " >&6
1.128     moko     8388: else
1.150   ! moko     8389:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8390: /* end confdefs.h.  */
                   8391: #include <stdlib.h>
                   8392: #include <stdarg.h>
                   8393: #include <string.h>
                   8394: #include <float.h>
                   8395: 
                   8396: int
                   8397: main ()
                   8398: {
                   8399: 
                   8400:   ;
                   8401:   return 0;
                   8402: }
                   8403: _ACEOF
1.150   ! moko     8404: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8405:   ac_cv_header_stdc=yes
                   8406: else
1.150   ! moko     8407:   ac_cv_header_stdc=no
1.128     moko     8408: fi
1.150   ! moko     8409: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8410: 
                   8411: if test $ac_cv_header_stdc = yes; then
                   8412:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150   ! moko     8413:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8414: /* end confdefs.h.  */
                   8415: #include <string.h>
                   8416: 
                   8417: _ACEOF
                   8418: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150   ! moko     8419:   $EGREP "memchr" >/dev/null 2>&1; then :
        !          8420: 
1.128     moko     8421: else
                   8422:   ac_cv_header_stdc=no
                   8423: fi
                   8424: rm -f conftest*
                   8425: 
                   8426: fi
                   8427: 
                   8428: if test $ac_cv_header_stdc = yes; then
                   8429:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150   ! moko     8430:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8431: /* end confdefs.h.  */
                   8432: #include <stdlib.h>
                   8433: 
                   8434: _ACEOF
                   8435: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150   ! moko     8436:   $EGREP "free" >/dev/null 2>&1; then :
        !          8437: 
1.128     moko     8438: else
                   8439:   ac_cv_header_stdc=no
                   8440: fi
                   8441: rm -f conftest*
                   8442: 
                   8443: fi
                   8444: 
                   8445: if test $ac_cv_header_stdc = yes; then
                   8446:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150   ! moko     8447:   if test "$cross_compiling" = yes; then :
1.128     moko     8448:   :
                   8449: else
1.150   ! moko     8450:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8451: /* end confdefs.h.  */
                   8452: #include <ctype.h>
1.150   ! moko     8453: #include <stdlib.h>
1.128     moko     8454: #if ((' ' & 0x0FF) == 0x020)
                   8455: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8456: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8457: #else
                   8458: # define ISLOWER(c) \
                   8459:                   (('a' <= (c) && (c) <= 'i') \
                   8460:                     || ('j' <= (c) && (c) <= 'r') \
                   8461:                     || ('s' <= (c) && (c) <= 'z'))
                   8462: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8463: #endif
                   8464: 
                   8465: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8466: int
                   8467: main ()
                   8468: {
                   8469:   int i;
                   8470:   for (i = 0; i < 256; i++)
                   8471:     if (XOR (islower (i), ISLOWER (i))
                   8472:        || toupper (i) != TOUPPER (i))
1.150   ! moko     8473:       return 2;
        !          8474:   return 0;
1.128     moko     8475: }
                   8476: _ACEOF
1.150   ! moko     8477: if ac_fn_c_try_run "$LINENO"; then :
        !          8478: 
1.128     moko     8479: else
1.150   ! moko     8480:   ac_cv_header_stdc=no
1.128     moko     8481: fi
1.150   ! moko     8482: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          8483:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8484: fi
1.150   ! moko     8485: 
1.128     moko     8486: fi
                   8487: fi
1.150   ! moko     8488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
        !          8489: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8490: if test $ac_cv_header_stdc = yes; then
                   8491: 
1.150   ! moko     8492: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8493: 
                   8494: fi
                   8495: 
                   8496: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150   ! moko     8497: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
        !          8498:                  inttypes.h stdint.h unistd.h
        !          8499: do :
        !          8500:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          8501: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
        !          8502: "
        !          8503: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          8504:   cat >>confdefs.h <<_ACEOF
        !          8505: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          8506: _ACEOF
1.128     moko     8507: 
1.150   ! moko     8508: fi
1.128     moko     8509: 
1.150   ! moko     8510: done
1.128     moko     8511: 
                   8512: 
1.150   ! moko     8513: for ac_header in dlfcn.h
        !          8514: do :
        !          8515:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
        !          8516: "
        !          8517: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
        !          8518:   cat >>confdefs.h <<_ACEOF
        !          8519: #define HAVE_DLFCN_H 1
        !          8520: _ACEOF
1.128     moko     8521: 
1.150   ! moko     8522: fi
1.128     moko     8523: 
1.150   ! moko     8524: done
1.128     moko     8525: 
                   8526: 
                   8527: 
                   8528: 
1.150   ! moko     8529: func_stripname_cnf ()
        !          8530: {
        !          8531:   case ${2} in
        !          8532:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
        !          8533:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
        !          8534:   esac
        !          8535: } # func_stripname_cnf
1.128     moko     8536: 
                   8537: 
                   8538: 
                   8539: 
                   8540: 
                   8541: # Set options
                   8542: enable_dlopen=yes
                   8543: enable_win32_dll=yes
                   8544: 
                   8545: case $host in
                   8546: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8547:   if test -n "$ac_tool_prefix"; then
                   8548:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8549: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150   ! moko     8550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8551: $as_echo_n "checking for $ac_word... " >&6; }
        !          8552: if ${ac_cv_prog_AS+:} false; then :
        !          8553:   $as_echo_n "(cached) " >&6
1.128     moko     8554: else
                   8555:   if test -n "$AS"; then
                   8556:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8557: else
                   8558: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8559: for as_dir in $PATH
                   8560: do
                   8561:   IFS=$as_save_IFS
                   8562:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8563:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8564:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8565:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150   ! moko     8566:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8567:     break 2
                   8568:   fi
                   8569: done
1.150   ! moko     8570:   done
        !          8571: IFS=$as_save_IFS
1.128     moko     8572: 
                   8573: fi
                   8574: fi
                   8575: AS=$ac_cv_prog_AS
                   8576: if test -n "$AS"; then
1.150   ! moko     8577:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
        !          8578: $as_echo "$AS" >&6; }
1.128     moko     8579: else
1.150   ! moko     8580:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8581: $as_echo "no" >&6; }
1.128     moko     8582: fi
                   8583: 
1.150   ! moko     8584: 
1.128     moko     8585: fi
                   8586: if test -z "$ac_cv_prog_AS"; then
                   8587:   ac_ct_AS=$AS
                   8588:   # Extract the first word of "as", so it can be a program name with args.
                   8589: set dummy as; ac_word=$2
1.150   ! moko     8590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8591: $as_echo_n "checking for $ac_word... " >&6; }
        !          8592: if ${ac_cv_prog_ac_ct_AS+:} false; then :
        !          8593:   $as_echo_n "(cached) " >&6
1.128     moko     8594: else
                   8595:   if test -n "$ac_ct_AS"; then
                   8596:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8597: else
                   8598: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8599: for as_dir in $PATH
                   8600: do
                   8601:   IFS=$as_save_IFS
                   8602:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8603:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8604:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8605:     ac_cv_prog_ac_ct_AS="as"
1.150   ! moko     8606:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8607:     break 2
                   8608:   fi
                   8609: done
1.150   ! moko     8610:   done
        !          8611: IFS=$as_save_IFS
1.128     moko     8612: 
                   8613: fi
                   8614: fi
                   8615: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8616: if test -n "$ac_ct_AS"; then
1.150   ! moko     8617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
        !          8618: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8619: else
1.150   ! moko     8620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8621: $as_echo "no" >&6; }
1.128     moko     8622: fi
                   8623: 
1.150   ! moko     8624:   if test "x$ac_ct_AS" = x; then
        !          8625:     AS="false"
        !          8626:   else
        !          8627:     case $cross_compiling:$ac_tool_warned in
        !          8628: yes:)
        !          8629: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8630: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8631: ac_tool_warned=yes ;;
        !          8632: esac
        !          8633:     AS=$ac_ct_AS
        !          8634:   fi
1.128     moko     8635: else
                   8636:   AS="$ac_cv_prog_AS"
                   8637: fi
                   8638: 
                   8639:   if test -n "$ac_tool_prefix"; then
                   8640:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8641: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150   ! moko     8642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8643: $as_echo_n "checking for $ac_word... " >&6; }
        !          8644: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          8645:   $as_echo_n "(cached) " >&6
1.128     moko     8646: else
                   8647:   if test -n "$DLLTOOL"; then
                   8648:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8649: else
                   8650: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8651: for as_dir in $PATH
                   8652: do
                   8653:   IFS=$as_save_IFS
                   8654:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8655:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8656:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8657:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150   ! moko     8658:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8659:     break 2
                   8660:   fi
                   8661: done
1.150   ! moko     8662:   done
        !          8663: IFS=$as_save_IFS
1.128     moko     8664: 
                   8665: fi
                   8666: fi
                   8667: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8668: if test -n "$DLLTOOL"; then
1.150   ! moko     8669:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          8670: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8671: else
1.150   ! moko     8672:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8673: $as_echo "no" >&6; }
1.128     moko     8674: fi
                   8675: 
1.150   ! moko     8676: 
1.128     moko     8677: fi
                   8678: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8679:   ac_ct_DLLTOOL=$DLLTOOL
                   8680:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8681: set dummy dlltool; ac_word=$2
1.150   ! moko     8682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8683: $as_echo_n "checking for $ac_word... " >&6; }
        !          8684: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          8685:   $as_echo_n "(cached) " >&6
1.128     moko     8686: else
                   8687:   if test -n "$ac_ct_DLLTOOL"; then
                   8688:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8689: else
                   8690: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8691: for as_dir in $PATH
                   8692: do
                   8693:   IFS=$as_save_IFS
                   8694:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8695:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8696:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8697:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150   ! moko     8698:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8699:     break 2
                   8700:   fi
                   8701: done
1.150   ! moko     8702:   done
        !          8703: IFS=$as_save_IFS
1.128     moko     8704: 
                   8705: fi
                   8706: fi
                   8707: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8708: if test -n "$ac_ct_DLLTOOL"; then
1.150   ! moko     8709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          8710: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8711: else
1.150   ! moko     8712:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8713: $as_echo "no" >&6; }
1.128     moko     8714: fi
                   8715: 
1.150   ! moko     8716:   if test "x$ac_ct_DLLTOOL" = x; then
        !          8717:     DLLTOOL="false"
        !          8718:   else
        !          8719:     case $cross_compiling:$ac_tool_warned in
        !          8720: yes:)
        !          8721: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8722: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8723: ac_tool_warned=yes ;;
        !          8724: esac
        !          8725:     DLLTOOL=$ac_ct_DLLTOOL
        !          8726:   fi
1.128     moko     8727: else
                   8728:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8729: fi
                   8730: 
                   8731:   if test -n "$ac_tool_prefix"; then
                   8732:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8733: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150   ! moko     8734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8735: $as_echo_n "checking for $ac_word... " >&6; }
        !          8736: if ${ac_cv_prog_OBJDUMP+:} false; then :
        !          8737:   $as_echo_n "(cached) " >&6
1.128     moko     8738: else
                   8739:   if test -n "$OBJDUMP"; then
                   8740:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8741: else
                   8742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8743: for as_dir in $PATH
                   8744: do
                   8745:   IFS=$as_save_IFS
                   8746:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8747:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8748:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8749:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150   ! moko     8750:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8751:     break 2
                   8752:   fi
                   8753: done
1.150   ! moko     8754:   done
        !          8755: IFS=$as_save_IFS
1.128     moko     8756: 
                   8757: fi
                   8758: fi
                   8759: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8760: if test -n "$OBJDUMP"; then
1.150   ! moko     8761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          8762: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8763: else
1.150   ! moko     8764:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8765: $as_echo "no" >&6; }
1.128     moko     8766: fi
                   8767: 
1.150   ! moko     8768: 
1.128     moko     8769: fi
                   8770: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8771:   ac_ct_OBJDUMP=$OBJDUMP
                   8772:   # Extract the first word of "objdump", so it can be a program name with args.
                   8773: set dummy objdump; ac_word=$2
1.150   ! moko     8774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8775: $as_echo_n "checking for $ac_word... " >&6; }
        !          8776: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
        !          8777:   $as_echo_n "(cached) " >&6
1.128     moko     8778: else
                   8779:   if test -n "$ac_ct_OBJDUMP"; then
                   8780:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8781: else
                   8782: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8783: for as_dir in $PATH
                   8784: do
                   8785:   IFS=$as_save_IFS
                   8786:   test -z "$as_dir" && as_dir=.
1.150   ! moko     8787:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8788:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8789:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150   ! moko     8790:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8791:     break 2
                   8792:   fi
                   8793: done
1.150   ! moko     8794:   done
        !          8795: IFS=$as_save_IFS
1.128     moko     8796: 
                   8797: fi
                   8798: fi
                   8799: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8800: if test -n "$ac_ct_OBJDUMP"; then
1.150   ! moko     8801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          8802: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8803: else
1.150   ! moko     8804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8805: $as_echo "no" >&6; }
1.128     moko     8806: fi
                   8807: 
1.150   ! moko     8808:   if test "x$ac_ct_OBJDUMP" = x; then
        !          8809:     OBJDUMP="false"
        !          8810:   else
        !          8811:     case $cross_compiling:$ac_tool_warned in
        !          8812: yes:)
        !          8813: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8814: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8815: ac_tool_warned=yes ;;
        !          8816: esac
        !          8817:     OBJDUMP=$ac_ct_OBJDUMP
        !          8818:   fi
1.128     moko     8819: else
                   8820:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8821: fi
                   8822: 
                   8823:   ;;
                   8824: esac
                   8825: 
                   8826: test -z "$AS" && AS=as
                   8827: 
                   8828: 
                   8829: 
                   8830: 
                   8831: 
                   8832: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8833: 
                   8834: 
                   8835: 
                   8836: 
                   8837: 
                   8838: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8839: 
                   8840: 
                   8841: 
                   8842: 
                   8843: 
1.150   ! moko     8844: # Check whether --with-pic was given.
        !          8845: if test "${with_pic+set}" = set; then :
        !          8846:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8847:     case $withval in
                   8848:     yes|no) pic_mode=$withval ;;
                   8849:     *)
                   8850:       pic_mode=default
                   8851:       # Look at the argument we got.  We use all the common list separators.
                   8852:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8853:       for lt_pkg in $withval; do
                   8854:        IFS="$lt_save_ifs"
                   8855:        if test "X$lt_pkg" = "X$lt_p"; then
                   8856:          pic_mode=yes
                   8857:        fi
                   8858:       done
                   8859:       IFS="$lt_save_ifs"
                   8860:       ;;
                   8861:     esac
                   8862: else
                   8863:   pic_mode=default
1.150   ! moko     8864: fi
        !          8865: 
1.145     moko     8866: 
                   8867: test -z "$pic_mode" && pic_mode=no
                   8868: 
                   8869: 
                   8870: 
                   8871: 
                   8872: 
                   8873: 
1.128     moko     8874: 
                   8875: 
                   8876: 
                   8877: 
1.150   ! moko     8878:             # Check whether --enable-shared was given.
        !          8879: if test "${enable_shared+set}" = set; then :
        !          8880:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     8881:     case $enableval in
                   8882:     yes) enable_shared=yes ;;
                   8883:     no) enable_shared=no ;;
                   8884:     *)
                   8885:       enable_shared=no
                   8886:       # Look at the argument we got.  We use all the common list separators.
                   8887:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8888:       for pkg in $enableval; do
                   8889:        IFS="$lt_save_ifs"
                   8890:        if test "X$pkg" = "X$p"; then
                   8891:          enable_shared=yes
                   8892:        fi
                   8893:       done
                   8894:       IFS="$lt_save_ifs"
                   8895:       ;;
                   8896:     esac
                   8897: else
                   8898:   enable_shared=yes
1.150   ! moko     8899: fi
        !          8900: 
1.128     moko     8901: 
                   8902: 
                   8903: 
                   8904: 
                   8905: 
                   8906: 
                   8907: 
                   8908: 
1.150   ! moko     8909:   # Check whether --enable-static was given.
        !          8910: if test "${enable_static+set}" = set; then :
        !          8911:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     8912:     case $enableval in
                   8913:     yes) enable_static=yes ;;
                   8914:     no) enable_static=no ;;
                   8915:     *)
                   8916:      enable_static=no
                   8917:       # Look at the argument we got.  We use all the common list separators.
                   8918:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8919:       for pkg in $enableval; do
                   8920:        IFS="$lt_save_ifs"
                   8921:        if test "X$pkg" = "X$p"; then
                   8922:          enable_static=yes
                   8923:        fi
                   8924:       done
                   8925:       IFS="$lt_save_ifs"
                   8926:       ;;
                   8927:     esac
                   8928: else
                   8929:   enable_static=yes
1.150   ! moko     8930: fi
        !          8931: 
1.138     moko     8932: 
                   8933: 
                   8934: 
                   8935: 
                   8936: 
                   8937: 
                   8938: 
1.128     moko     8939: 
                   8940: 
1.150   ! moko     8941:   # Check whether --enable-fast-install was given.
        !          8942: if test "${enable_fast_install+set}" = set; then :
        !          8943:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     8944:     case $enableval in
                   8945:     yes) enable_fast_install=yes ;;
                   8946:     no) enable_fast_install=no ;;
                   8947:     *)
                   8948:       enable_fast_install=no
                   8949:       # Look at the argument we got.  We use all the common list separators.
                   8950:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8951:       for pkg in $enableval; do
                   8952:        IFS="$lt_save_ifs"
                   8953:        if test "X$pkg" = "X$p"; then
                   8954:          enable_fast_install=yes
                   8955:        fi
                   8956:       done
                   8957:       IFS="$lt_save_ifs"
                   8958:       ;;
                   8959:     esac
                   8960: else
                   8961:   enable_fast_install=yes
1.150   ! moko     8962: fi
        !          8963: 
1.128     moko     8964: 
                   8965: 
                   8966: 
                   8967: 
                   8968: 
                   8969: 
                   8970: 
                   8971: 
                   8972: 
                   8973: 
                   8974: # This can be used to rebuild libtool when needed
                   8975: LIBTOOL_DEPS="$ltmain"
                   8976: 
                   8977: # Always use our own libtool.
                   8978: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8979: 
                   8980: 
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985: 
                   8986: 
                   8987: 
                   8988: 
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993: 
                   8994: 
                   8995: 
                   8996: 
                   8997: 
                   8998: 
                   8999: 
                   9000: 
                   9001: 
                   9002: 
                   9003: 
                   9004: 
                   9005: 
                   9006: 
                   9007: 
                   9008: 
                   9009: test -z "$LN_S" && LN_S="ln -s"
                   9010: 
                   9011: 
                   9012: 
                   9013: 
                   9014: 
                   9015: 
                   9016: 
                   9017: 
                   9018: 
                   9019: 
                   9020: 
                   9021: 
                   9022: 
                   9023: 
                   9024: if test -n "${ZSH_VERSION+set}" ; then
                   9025:    setopt NO_GLOB_SUBST
                   9026: fi
                   9027: 
1.150   ! moko     9028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
        !          9029: $as_echo_n "checking for objdir... " >&6; }
        !          9030: if ${lt_cv_objdir+:} false; then :
        !          9031:   $as_echo_n "(cached) " >&6
1.128     moko     9032: else
                   9033:   rm -f .libs 2>/dev/null
                   9034: mkdir .libs 2>/dev/null
                   9035: if test -d .libs; then
                   9036:   lt_cv_objdir=.libs
                   9037: else
                   9038:   # MS-DOS does not allow filenames that begin with a dot.
                   9039:   lt_cv_objdir=_libs
                   9040: fi
                   9041: rmdir .libs 2>/dev/null
                   9042: fi
1.150   ! moko     9043: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
        !          9044: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9045: objdir=$lt_cv_objdir
                   9046: 
                   9047: 
                   9048: 
                   9049: 
                   9050: 
                   9051: cat >>confdefs.h <<_ACEOF
                   9052: #define LT_OBJDIR "$lt_cv_objdir/"
                   9053: _ACEOF
                   9054: 
                   9055: 
                   9056: 
                   9057: 
                   9058: case $host_os in
                   9059: aix3*)
                   9060:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9061:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9062:   # vanish in a puff of smoke.
                   9063:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9064:     COLLECT_NAMES=
                   9065:     export COLLECT_NAMES
                   9066:   fi
                   9067:   ;;
                   9068: esac
                   9069: 
                   9070: # Global variables:
                   9071: ofile=libtool
                   9072: can_build_shared=yes
                   9073: 
                   9074: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9075: # which needs '.lib').
                   9076: libext=a
                   9077: 
                   9078: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9079: 
                   9080: old_CC="$CC"
                   9081: old_CFLAGS="$CFLAGS"
                   9082: 
                   9083: # Set sane defaults for various variables
                   9084: test -z "$CC" && CC=cc
                   9085: test -z "$LTCC" && LTCC=$CC
                   9086: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9087: test -z "$LD" && LD=ld
                   9088: test -z "$ac_objext" && ac_objext=o
                   9089: 
                   9090: for cc_temp in $compiler""; do
                   9091:   case $cc_temp in
                   9092:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9093:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9094:     \-*) ;;
                   9095:     *) break;;
                   9096:   esac
                   9097: done
                   9098: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9099: 
                   9100: 
                   9101: # Only perform the check for file, if the check method requires it
                   9102: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9103: case $deplibs_check_method in
                   9104: file_magic*)
                   9105:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150   ! moko     9106:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
        !          9107: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
        !          9108: if ${lt_cv_path_MAGIC_CMD+:} false; then :
        !          9109:   $as_echo_n "(cached) " >&6
1.128     moko     9110: else
                   9111:   case $MAGIC_CMD in
                   9112: [\\/*] |  ?:[\\/]*)
                   9113:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9114:   ;;
                   9115: *)
                   9116:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9117:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9118:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9119:   for ac_dir in $ac_dummy; do
                   9120:     IFS="$lt_save_ifs"
                   9121:     test -z "$ac_dir" && ac_dir=.
                   9122:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9123:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9124:       if test -n "$file_magic_test_file"; then
                   9125:        case $deplibs_check_method in
                   9126:        "file_magic "*)
                   9127:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9128:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9129:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9130:            $EGREP "$file_magic_regex" > /dev/null; then
                   9131:            :
                   9132:          else
                   9133:            cat <<_LT_EOF 1>&2
                   9134: 
                   9135: *** Warning: the command libtool uses to detect shared libraries,
                   9136: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9137: *** The result is that libtool may fail to recognize shared libraries
                   9138: *** as such.  This will affect the creation of libtool libraries that
                   9139: *** depend on shared libraries, but programs linked with such libtool
                   9140: *** libraries will work regardless of this problem.  Nevertheless, you
                   9141: *** may want to report the problem to your system manager and/or to
                   9142: *** bug-libtool@gnu.org
                   9143: 
                   9144: _LT_EOF
                   9145:          fi ;;
                   9146:        esac
                   9147:       fi
                   9148:       break
                   9149:     fi
                   9150:   done
                   9151:   IFS="$lt_save_ifs"
                   9152:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9153:   ;;
                   9154: esac
                   9155: fi
                   9156: 
                   9157: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9158: if test -n "$MAGIC_CMD"; then
1.150   ! moko     9159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
        !          9160: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9161: else
1.150   ! moko     9162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9163: $as_echo "no" >&6; }
1.128     moko     9164: fi
                   9165: 
                   9166: 
                   9167: 
                   9168: 
                   9169: 
                   9170: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9171:   if test -n "$ac_tool_prefix"; then
1.150   ! moko     9172:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
        !          9173: $as_echo_n "checking for file... " >&6; }
        !          9174: if ${lt_cv_path_MAGIC_CMD+:} false; then :
        !          9175:   $as_echo_n "(cached) " >&6
1.128     moko     9176: else
                   9177:   case $MAGIC_CMD in
                   9178: [\\/*] |  ?:[\\/]*)
                   9179:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9180:   ;;
                   9181: *)
                   9182:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9183:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9184:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9185:   for ac_dir in $ac_dummy; do
                   9186:     IFS="$lt_save_ifs"
                   9187:     test -z "$ac_dir" && ac_dir=.
                   9188:     if test -f $ac_dir/file; then
                   9189:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9190:       if test -n "$file_magic_test_file"; then
                   9191:        case $deplibs_check_method in
                   9192:        "file_magic "*)
                   9193:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9194:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9195:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9196:            $EGREP "$file_magic_regex" > /dev/null; then
                   9197:            :
                   9198:          else
                   9199:            cat <<_LT_EOF 1>&2
                   9200: 
                   9201: *** Warning: the command libtool uses to detect shared libraries,
                   9202: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9203: *** The result is that libtool may fail to recognize shared libraries
                   9204: *** as such.  This will affect the creation of libtool libraries that
                   9205: *** depend on shared libraries, but programs linked with such libtool
                   9206: *** libraries will work regardless of this problem.  Nevertheless, you
                   9207: *** may want to report the problem to your system manager and/or to
                   9208: *** bug-libtool@gnu.org
                   9209: 
                   9210: _LT_EOF
                   9211:          fi ;;
                   9212:        esac
                   9213:       fi
                   9214:       break
                   9215:     fi
                   9216:   done
                   9217:   IFS="$lt_save_ifs"
                   9218:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9219:   ;;
                   9220: esac
                   9221: fi
                   9222: 
                   9223: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9224: if test -n "$MAGIC_CMD"; then
1.150   ! moko     9225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
        !          9226: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9227: else
1.150   ! moko     9228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9229: $as_echo "no" >&6; }
1.128     moko     9230: fi
                   9231: 
                   9232: 
                   9233:   else
                   9234:     MAGIC_CMD=:
                   9235:   fi
                   9236: fi
                   9237: 
                   9238:   fi
                   9239:   ;;
                   9240: esac
                   9241: 
                   9242: # Use C for the default configuration in the libtool script
                   9243: 
                   9244: lt_save_CC="$CC"
                   9245: ac_ext=c
                   9246: ac_cpp='$CPP $CPPFLAGS'
                   9247: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9248: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9249: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9250: 
                   9251: 
                   9252: # Source file extension for C test sources.
                   9253: ac_ext=c
                   9254: 
                   9255: # Object file extension for compiled C test sources.
                   9256: objext=o
                   9257: objext=$objext
                   9258: 
                   9259: # Code to be used in simple compile tests
                   9260: lt_simple_compile_test_code="int some_variable = 0;"
                   9261: 
                   9262: # Code to be used in simple link tests
                   9263: lt_simple_link_test_code='int main(){return(0);}'
                   9264: 
                   9265: 
                   9266: 
                   9267: 
                   9268: 
                   9269: 
                   9270: 
                   9271: # If no C compiler was specified, use CC.
                   9272: LTCC=${LTCC-"$CC"}
                   9273: 
                   9274: # If no C compiler flags were specified, use CFLAGS.
                   9275: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9276: 
                   9277: # Allow CC to be a program name with arguments.
                   9278: compiler=$CC
                   9279: 
                   9280: # Save the default compiler, since it gets overwritten when the other
                   9281: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9282: compiler_DEFAULT=$CC
                   9283: 
                   9284: # save warnings/boilerplate of simple test code
                   9285: ac_outfile=conftest.$ac_objext
                   9286: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9287: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9288: _lt_compiler_boilerplate=`cat conftest.err`
                   9289: $RM conftest*
                   9290: 
                   9291: ac_outfile=conftest.$ac_objext
                   9292: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9293: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9294: _lt_linker_boilerplate=`cat conftest.err`
                   9295: $RM -r conftest*
                   9296: 
                   9297: 
                   9298: ## CAVEAT EMPTOR:
                   9299: ## There is no encapsulation within the following macros, do not change
                   9300: ## the running order or otherwise move them around unless you know exactly
                   9301: ## what you are doing...
                   9302: if test -n "$compiler"; then
                   9303: 
                   9304: lt_prog_compiler_no_builtin_flag=
                   9305: 
                   9306: if test "$GCC" = yes; then
                   9307:   case $cc_basename in
                   9308:   nvcc*)
                   9309:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9310:   *)
                   9311:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9312:   esac
                   9313: 
1.150   ! moko     9314:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
        !          9315: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
        !          9316: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
        !          9317:   $as_echo_n "(cached) " >&6
1.128     moko     9318: else
                   9319:   lt_cv_prog_compiler_rtti_exceptions=no
                   9320:    ac_outfile=conftest.$ac_objext
                   9321:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9322:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9323:    # Insert the option either (1) after the last *FLAGS variable, or
                   9324:    # (2) before a word containing "conftest.", or (3) at the end.
                   9325:    # Note that $ac_compile itself does not contain backslashes and begins
                   9326:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9327:    # The option is referenced via a variable to avoid confusing sed.
                   9328:    lt_compile=`echo "$ac_compile" | $SED \
                   9329:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9330:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9331:    -e 's:$: $lt_compiler_flag:'`
                   9332:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9333:    (eval "$lt_compile" 2>conftest.err)
                   9334:    ac_status=$?
                   9335:    cat conftest.err >&5
                   9336:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9337:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9338:      # The compiler can only warn and ignore the option if not recognized
                   9339:      # So say no if there are warnings other than the usual output.
                   9340:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9341:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9342:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9343:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9344:      fi
                   9345:    fi
                   9346:    $RM conftest*
                   9347: 
                   9348: fi
1.150   ! moko     9349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
        !          9350: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9351: 
                   9352: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9353:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9354: else
                   9355:     :
                   9356: fi
                   9357: 
                   9358: fi
                   9359: 
                   9360: 
                   9361: 
                   9362: 
                   9363: 
                   9364: 
                   9365:   lt_prog_compiler_wl=
                   9366: lt_prog_compiler_pic=
                   9367: lt_prog_compiler_static=
                   9368: 
                   9369: 
                   9370:   if test "$GCC" = yes; then
                   9371:     lt_prog_compiler_wl='-Wl,'
                   9372:     lt_prog_compiler_static='-static'
                   9373: 
                   9374:     case $host_os in
                   9375:       aix*)
                   9376:       # All AIX code is PIC.
                   9377:       if test "$host_cpu" = ia64; then
                   9378:        # AIX 5 now supports IA64 processor
                   9379:        lt_prog_compiler_static='-Bstatic'
                   9380:       fi
                   9381:       ;;
                   9382: 
                   9383:     amigaos*)
                   9384:       case $host_cpu in
                   9385:       powerpc)
                   9386:             # see comment about AmigaOS4 .so support
                   9387:             lt_prog_compiler_pic='-fPIC'
                   9388:         ;;
                   9389:       m68k)
                   9390:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9391:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9392:             # like `-m68040'.
                   9393:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9394:         ;;
                   9395:       esac
                   9396:       ;;
                   9397: 
                   9398:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9399:       # PIC is the default for these OSes.
                   9400:       ;;
                   9401: 
                   9402:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9403:       # This hack is so that the source file can tell whether it is being
                   9404:       # built for inclusion in a dll (and should export symbols for example).
                   9405:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9406:       # (--disable-auto-import) libraries
                   9407:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9408:       ;;
                   9409: 
                   9410:     darwin* | rhapsody*)
                   9411:       # PIC is the default on this platform
                   9412:       # Common symbols not allowed in MH_DYLIB files
                   9413:       lt_prog_compiler_pic='-fno-common'
                   9414:       ;;
                   9415: 
                   9416:     haiku*)
                   9417:       # PIC is the default for Haiku.
                   9418:       # The "-static" flag exists, but is broken.
                   9419:       lt_prog_compiler_static=
                   9420:       ;;
                   9421: 
                   9422:     hpux*)
                   9423:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9424:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9425:       # sets the default TLS model and affects inlining.
                   9426:       case $host_cpu in
                   9427:       hppa*64*)
                   9428:        # +Z the default
                   9429:        ;;
                   9430:       *)
                   9431:        lt_prog_compiler_pic='-fPIC'
                   9432:        ;;
                   9433:       esac
                   9434:       ;;
                   9435: 
                   9436:     interix[3-9]*)
                   9437:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9438:       # Instead, we relocate shared libraries at runtime.
                   9439:       ;;
                   9440: 
                   9441:     msdosdjgpp*)
                   9442:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9443:       # on systems that don't support them.
                   9444:       lt_prog_compiler_can_build_shared=no
                   9445:       enable_shared=no
                   9446:       ;;
                   9447: 
                   9448:     *nto* | *qnx*)
                   9449:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9450:       # it will coredump.
                   9451:       lt_prog_compiler_pic='-fPIC -shared'
                   9452:       ;;
                   9453: 
                   9454:     sysv4*MP*)
                   9455:       if test -d /usr/nec; then
                   9456:        lt_prog_compiler_pic=-Kconform_pic
                   9457:       fi
                   9458:       ;;
                   9459: 
                   9460:     *)
                   9461:       lt_prog_compiler_pic='-fPIC'
                   9462:       ;;
                   9463:     esac
                   9464: 
                   9465:     case $cc_basename in
                   9466:     nvcc*) # Cuda Compiler Driver 2.2
                   9467:       lt_prog_compiler_wl='-Xlinker '
                   9468:       if test -n "$lt_prog_compiler_pic"; then
                   9469:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9470:       fi
                   9471:       ;;
                   9472:     esac
                   9473:   else
                   9474:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9475:     case $host_os in
                   9476:     aix*)
                   9477:       lt_prog_compiler_wl='-Wl,'
                   9478:       if test "$host_cpu" = ia64; then
                   9479:        # AIX 5 now supports IA64 processor
                   9480:        lt_prog_compiler_static='-Bstatic'
                   9481:       else
                   9482:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9483:       fi
                   9484:       ;;
                   9485: 
                   9486:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9487:       # This hack is so that the source file can tell whether it is being
                   9488:       # built for inclusion in a dll (and should export symbols for example).
                   9489:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9490:       ;;
                   9491: 
                   9492:     hpux9* | hpux10* | hpux11*)
                   9493:       lt_prog_compiler_wl='-Wl,'
                   9494:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9495:       # not for PA HP-UX.
                   9496:       case $host_cpu in
                   9497:       hppa*64*|ia64*)
                   9498:        # +Z the default
                   9499:        ;;
                   9500:       *)
                   9501:        lt_prog_compiler_pic='+Z'
                   9502:        ;;
                   9503:       esac
                   9504:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9505:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9506:       ;;
                   9507: 
                   9508:     irix5* | irix6* | nonstopux*)
                   9509:       lt_prog_compiler_wl='-Wl,'
                   9510:       # PIC (with -KPIC) is the default.
                   9511:       lt_prog_compiler_static='-non_shared'
                   9512:       ;;
                   9513: 
                   9514:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9515:       case $cc_basename in
                   9516:       # old Intel for x86_64 which still supported -KPIC.
                   9517:       ecc*)
                   9518:        lt_prog_compiler_wl='-Wl,'
                   9519:        lt_prog_compiler_pic='-KPIC'
                   9520:        lt_prog_compiler_static='-static'
                   9521:         ;;
                   9522:       # icc used to be incompatible with GCC.
                   9523:       # ICC 10 doesn't accept -KPIC any more.
                   9524:       icc* | ifort*)
                   9525:        lt_prog_compiler_wl='-Wl,'
                   9526:        lt_prog_compiler_pic='-fPIC'
                   9527:        lt_prog_compiler_static='-static'
                   9528:         ;;
                   9529:       # Lahey Fortran 8.1.
                   9530:       lf95*)
                   9531:        lt_prog_compiler_wl='-Wl,'
                   9532:        lt_prog_compiler_pic='--shared'
                   9533:        lt_prog_compiler_static='--static'
                   9534:        ;;
                   9535:       nagfor*)
                   9536:        # NAG Fortran compiler
                   9537:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9538:        lt_prog_compiler_pic='-PIC'
                   9539:        lt_prog_compiler_static='-Bstatic'
                   9540:        ;;
                   9541:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9542:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9543:        # which looks to be a dead project)
                   9544:        lt_prog_compiler_wl='-Wl,'
                   9545:        lt_prog_compiler_pic='-fpic'
                   9546:        lt_prog_compiler_static='-Bstatic'
                   9547:         ;;
                   9548:       ccc*)
                   9549:         lt_prog_compiler_wl='-Wl,'
                   9550:         # All Alpha code is PIC.
                   9551:         lt_prog_compiler_static='-non_shared'
                   9552:         ;;
                   9553:       xl* | bgxl* | bgf* | mpixl*)
                   9554:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9555:        lt_prog_compiler_wl='-Wl,'
                   9556:        lt_prog_compiler_pic='-qpic'
                   9557:        lt_prog_compiler_static='-qstaticlink'
                   9558:        ;;
                   9559:       *)
                   9560:        case `$CC -V 2>&1 | sed 5q` in
                   9561:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9562:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9563:          lt_prog_compiler_pic='-KPIC'
                   9564:          lt_prog_compiler_static='-Bstatic'
                   9565:          lt_prog_compiler_wl=''
                   9566:          ;;
                   9567:        *Sun\ F* | *Sun*Fortran*)
                   9568:          lt_prog_compiler_pic='-KPIC'
                   9569:          lt_prog_compiler_static='-Bstatic'
                   9570:          lt_prog_compiler_wl='-Qoption ld '
                   9571:          ;;
                   9572:        *Sun\ C*)
                   9573:          # Sun C 5.9
                   9574:          lt_prog_compiler_pic='-KPIC'
                   9575:          lt_prog_compiler_static='-Bstatic'
                   9576:          lt_prog_compiler_wl='-Wl,'
                   9577:          ;;
                   9578:         *Intel*\ [CF]*Compiler*)
                   9579:          lt_prog_compiler_wl='-Wl,'
                   9580:          lt_prog_compiler_pic='-fPIC'
                   9581:          lt_prog_compiler_static='-static'
                   9582:          ;;
                   9583:        *Portland\ Group*)
                   9584:          lt_prog_compiler_wl='-Wl,'
                   9585:          lt_prog_compiler_pic='-fpic'
                   9586:          lt_prog_compiler_static='-Bstatic'
                   9587:          ;;
                   9588:        esac
                   9589:        ;;
                   9590:       esac
                   9591:       ;;
                   9592: 
                   9593:     newsos6)
                   9594:       lt_prog_compiler_pic='-KPIC'
                   9595:       lt_prog_compiler_static='-Bstatic'
                   9596:       ;;
                   9597: 
                   9598:     *nto* | *qnx*)
                   9599:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9600:       # it will coredump.
                   9601:       lt_prog_compiler_pic='-fPIC -shared'
                   9602:       ;;
                   9603: 
                   9604:     osf3* | osf4* | osf5*)
                   9605:       lt_prog_compiler_wl='-Wl,'
                   9606:       # All OSF/1 code is PIC.
                   9607:       lt_prog_compiler_static='-non_shared'
                   9608:       ;;
                   9609: 
                   9610:     rdos*)
                   9611:       lt_prog_compiler_static='-non_shared'
                   9612:       ;;
                   9613: 
                   9614:     solaris*)
                   9615:       lt_prog_compiler_pic='-KPIC'
                   9616:       lt_prog_compiler_static='-Bstatic'
                   9617:       case $cc_basename in
                   9618:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9619:        lt_prog_compiler_wl='-Qoption ld ';;
                   9620:       *)
                   9621:        lt_prog_compiler_wl='-Wl,';;
                   9622:       esac
                   9623:       ;;
                   9624: 
                   9625:     sunos4*)
                   9626:       lt_prog_compiler_wl='-Qoption ld '
                   9627:       lt_prog_compiler_pic='-PIC'
                   9628:       lt_prog_compiler_static='-Bstatic'
                   9629:       ;;
                   9630: 
                   9631:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9632:       lt_prog_compiler_wl='-Wl,'
                   9633:       lt_prog_compiler_pic='-KPIC'
                   9634:       lt_prog_compiler_static='-Bstatic'
                   9635:       ;;
                   9636: 
                   9637:     sysv4*MP*)
                   9638:       if test -d /usr/nec ;then
                   9639:        lt_prog_compiler_pic='-Kconform_pic'
                   9640:        lt_prog_compiler_static='-Bstatic'
                   9641:       fi
                   9642:       ;;
                   9643: 
                   9644:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9645:       lt_prog_compiler_wl='-Wl,'
                   9646:       lt_prog_compiler_pic='-KPIC'
                   9647:       lt_prog_compiler_static='-Bstatic'
                   9648:       ;;
                   9649: 
                   9650:     unicos*)
                   9651:       lt_prog_compiler_wl='-Wl,'
                   9652:       lt_prog_compiler_can_build_shared=no
                   9653:       ;;
                   9654: 
                   9655:     uts4*)
                   9656:       lt_prog_compiler_pic='-pic'
                   9657:       lt_prog_compiler_static='-Bstatic'
                   9658:       ;;
                   9659: 
                   9660:     *)
                   9661:       lt_prog_compiler_can_build_shared=no
                   9662:       ;;
                   9663:     esac
                   9664:   fi
                   9665: 
                   9666: case $host_os in
                   9667:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9668:   *djgpp*)
                   9669:     lt_prog_compiler_pic=
                   9670:     ;;
                   9671:   *)
                   9672:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9673:     ;;
                   9674: esac
                   9675: 
1.150   ! moko     9676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          9677: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        !          9678: if ${lt_cv_prog_compiler_pic+:} false; then :
        !          9679:   $as_echo_n "(cached) " >&6
1.128     moko     9680: else
                   9681:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9682: fi
1.150   ! moko     9683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          9684: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9685: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9686: 
                   9687: #
                   9688: # Check to make sure the PIC flag actually works.
                   9689: #
                   9690: if test -n "$lt_prog_compiler_pic"; then
1.150   ! moko     9691:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
        !          9692: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
        !          9693: if ${lt_cv_prog_compiler_pic_works+:} false; then :
        !          9694:   $as_echo_n "(cached) " >&6
1.128     moko     9695: else
                   9696:   lt_cv_prog_compiler_pic_works=no
                   9697:    ac_outfile=conftest.$ac_objext
                   9698:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9699:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9700:    # Insert the option either (1) after the last *FLAGS variable, or
                   9701:    # (2) before a word containing "conftest.", or (3) at the end.
                   9702:    # Note that $ac_compile itself does not contain backslashes and begins
                   9703:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9704:    # The option is referenced via a variable to avoid confusing sed.
                   9705:    lt_compile=`echo "$ac_compile" | $SED \
                   9706:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9707:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9708:    -e 's:$: $lt_compiler_flag:'`
                   9709:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9710:    (eval "$lt_compile" 2>conftest.err)
                   9711:    ac_status=$?
                   9712:    cat conftest.err >&5
                   9713:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9714:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9715:      # The compiler can only warn and ignore the option if not recognized
                   9716:      # So say no if there are warnings other than the usual output.
                   9717:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9718:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9719:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9720:        lt_cv_prog_compiler_pic_works=yes
                   9721:      fi
                   9722:    fi
                   9723:    $RM conftest*
                   9724: 
                   9725: fi
1.150   ! moko     9726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
        !          9727: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9728: 
                   9729: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9730:     case $lt_prog_compiler_pic in
                   9731:      "" | " "*) ;;
                   9732:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9733:      esac
                   9734: else
                   9735:     lt_prog_compiler_pic=
                   9736:      lt_prog_compiler_can_build_shared=no
                   9737: fi
                   9738: 
                   9739: fi
                   9740: 
                   9741: 
                   9742: 
                   9743: 
                   9744: 
                   9745: 
                   9746: 
                   9747: 
                   9748: 
                   9749: 
                   9750: 
                   9751: #
                   9752: # Check to make sure the static flag actually works.
                   9753: #
                   9754: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150   ! moko     9755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        !          9756: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
        !          9757: if ${lt_cv_prog_compiler_static_works+:} false; then :
        !          9758:   $as_echo_n "(cached) " >&6
1.128     moko     9759: else
                   9760:   lt_cv_prog_compiler_static_works=no
                   9761:    save_LDFLAGS="$LDFLAGS"
                   9762:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9763:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9764:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9765:      # The linker can only warn and ignore the option if not recognized
                   9766:      # So say no if there are warnings
                   9767:      if test -s conftest.err; then
                   9768:        # Append any errors to the config.log.
                   9769:        cat conftest.err 1>&5
                   9770:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9771:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9772:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9773:          lt_cv_prog_compiler_static_works=yes
                   9774:        fi
                   9775:      else
                   9776:        lt_cv_prog_compiler_static_works=yes
                   9777:      fi
                   9778:    fi
                   9779:    $RM -r conftest*
                   9780:    LDFLAGS="$save_LDFLAGS"
                   9781: 
                   9782: fi
1.150   ! moko     9783: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
        !          9784: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9785: 
                   9786: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9787:     :
                   9788: else
                   9789:     lt_prog_compiler_static=
                   9790: fi
                   9791: 
                   9792: 
                   9793: 
                   9794: 
                   9795: 
                   9796: 
                   9797: 
1.150   ! moko     9798:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          9799: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          9800: if ${lt_cv_prog_compiler_c_o+:} false; then :
        !          9801:   $as_echo_n "(cached) " >&6
1.128     moko     9802: else
                   9803:   lt_cv_prog_compiler_c_o=no
                   9804:    $RM -r conftest 2>/dev/null
                   9805:    mkdir conftest
                   9806:    cd conftest
                   9807:    mkdir out
                   9808:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9809: 
                   9810:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9811:    # Insert the option either (1) after the last *FLAGS variable, or
                   9812:    # (2) before a word containing "conftest.", or (3) at the end.
                   9813:    # Note that $ac_compile itself does not contain backslashes and begins
                   9814:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9815:    lt_compile=`echo "$ac_compile" | $SED \
                   9816:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9817:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9818:    -e 's:$: $lt_compiler_flag:'`
                   9819:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9820:    (eval "$lt_compile" 2>out/conftest.err)
                   9821:    ac_status=$?
                   9822:    cat out/conftest.err >&5
                   9823:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9824:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9825:    then
                   9826:      # The compiler can only warn and ignore the option if not recognized
                   9827:      # So say no if there are warnings
                   9828:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9829:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9830:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9831:        lt_cv_prog_compiler_c_o=yes
                   9832:      fi
                   9833:    fi
                   9834:    chmod u+w . 2>&5
                   9835:    $RM conftest*
                   9836:    # SGI C++ compiler will create directory out/ii_files/ for
                   9837:    # template instantiation
                   9838:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9839:    $RM out/* && rmdir out
                   9840:    cd ..
                   9841:    $RM -r conftest
                   9842:    $RM conftest*
                   9843: 
                   9844: fi
1.150   ! moko     9845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
        !          9846: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
                   9852: 
1.150   ! moko     9853:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          9854: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          9855: if ${lt_cv_prog_compiler_c_o+:} false; then :
        !          9856:   $as_echo_n "(cached) " >&6
1.128     moko     9857: else
                   9858:   lt_cv_prog_compiler_c_o=no
                   9859:    $RM -r conftest 2>/dev/null
                   9860:    mkdir conftest
                   9861:    cd conftest
                   9862:    mkdir out
                   9863:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9864: 
                   9865:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9866:    # Insert the option either (1) after the last *FLAGS variable, or
                   9867:    # (2) before a word containing "conftest.", or (3) at the end.
                   9868:    # Note that $ac_compile itself does not contain backslashes and begins
                   9869:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9870:    lt_compile=`echo "$ac_compile" | $SED \
                   9871:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9872:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9873:    -e 's:$: $lt_compiler_flag:'`
                   9874:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9875:    (eval "$lt_compile" 2>out/conftest.err)
                   9876:    ac_status=$?
                   9877:    cat out/conftest.err >&5
                   9878:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9879:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9880:    then
                   9881:      # The compiler can only warn and ignore the option if not recognized
                   9882:      # So say no if there are warnings
                   9883:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9884:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9885:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9886:        lt_cv_prog_compiler_c_o=yes
                   9887:      fi
                   9888:    fi
                   9889:    chmod u+w . 2>&5
                   9890:    $RM conftest*
                   9891:    # SGI C++ compiler will create directory out/ii_files/ for
                   9892:    # template instantiation
                   9893:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9894:    $RM out/* && rmdir out
                   9895:    cd ..
                   9896:    $RM -r conftest
                   9897:    $RM conftest*
                   9898: 
                   9899: fi
1.150   ! moko     9900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
        !          9901: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9902: 
                   9903: 
                   9904: 
                   9905: 
                   9906: hard_links="nottested"
                   9907: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9908:   # do not overwrite the value of need_locks provided by the user
1.150   ! moko     9909:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
        !          9910: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     9911:   hard_links=yes
                   9912:   $RM conftest*
                   9913:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9914:   touch conftest.a
                   9915:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9916:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150   ! moko     9917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
        !          9918: $as_echo "$hard_links" >&6; }
1.128     moko     9919:   if test "$hard_links" = no; then
1.150   ! moko     9920:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
        !          9921: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     9922:     need_locks=warn
                   9923:   fi
                   9924: else
                   9925:   need_locks=no
                   9926: fi
                   9927: 
                   9928: 
                   9929: 
                   9930: 
                   9931: 
                   9932: 
1.150   ! moko     9933:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        !          9934: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     9935: 
                   9936:   runpath_var=
                   9937:   allow_undefined_flag=
                   9938:   always_export_symbols=no
                   9939:   archive_cmds=
                   9940:   archive_expsym_cmds=
                   9941:   compiler_needs_object=no
                   9942:   enable_shared_with_static_runtimes=no
                   9943:   export_dynamic_flag_spec=
                   9944:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9945:   hardcode_automatic=no
                   9946:   hardcode_direct=no
                   9947:   hardcode_direct_absolute=no
                   9948:   hardcode_libdir_flag_spec=
                   9949:   hardcode_libdir_separator=
                   9950:   hardcode_minus_L=no
                   9951:   hardcode_shlibpath_var=unsupported
                   9952:   inherit_rpath=no
                   9953:   link_all_deplibs=unknown
                   9954:   module_cmds=
                   9955:   module_expsym_cmds=
                   9956:   old_archive_from_new_cmds=
                   9957:   old_archive_from_expsyms_cmds=
                   9958:   thread_safe_flag_spec=
                   9959:   whole_archive_flag_spec=
                   9960:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9961:   # included in the symbol list
                   9962:   include_expsyms=
                   9963:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9964:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9965:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9966:   # as well as any symbol that contains `d'.
                   9967:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9968:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9969:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9970:   # the symbol is explicitly referenced.  Since portable code cannot
                   9971:   # rely on this symbol name, it's probably fine to never include it in
                   9972:   # preloaded symbol tables.
                   9973:   # Exclude shared library initialization/finalization symbols.
                   9974:   extract_expsyms_cmds=
                   9975: 
                   9976:   case $host_os in
                   9977:   cygwin* | mingw* | pw32* | cegcc*)
                   9978:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9979:     # When not using gcc, we currently assume that we are using
                   9980:     # Microsoft Visual C++.
                   9981:     if test "$GCC" != yes; then
                   9982:       with_gnu_ld=no
                   9983:     fi
                   9984:     ;;
                   9985:   interix*)
                   9986:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9987:     with_gnu_ld=yes
                   9988:     ;;
                   9989:   openbsd*)
                   9990:     with_gnu_ld=no
                   9991:     ;;
                   9992:   esac
                   9993: 
                   9994:   ld_shlibs=yes
                   9995: 
                   9996:   # On some targets, GNU ld is compatible enough with the native linker
                   9997:   # that we're better off using the native interface for both.
                   9998:   lt_use_gnu_ld_interface=no
                   9999:   if test "$with_gnu_ld" = yes; then
                   10000:     case $host_os in
                   10001:       aix*)
                   10002:        # The AIX port of GNU ld has always aspired to compatibility
                   10003:        # with the native linker.  However, as the warning in the GNU ld
                   10004:        # block says, versions before 2.19.5* couldn't really create working
                   10005:        # shared libraries, regardless of the interface used.
                   10006:        case `$LD -v 2>&1` in
                   10007:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10008:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10009:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10010:          *)
                   10011:            lt_use_gnu_ld_interface=yes
                   10012:            ;;
                   10013:        esac
                   10014:        ;;
                   10015:       *)
                   10016:        lt_use_gnu_ld_interface=yes
                   10017:        ;;
                   10018:     esac
                   10019:   fi
                   10020: 
                   10021:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10022:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10023:     wlarc='${wl}'
                   10024: 
                   10025:     # Set some defaults for GNU ld with shared library support. These
                   10026:     # are reset later if shared libraries are not supported. Putting them
                   10027:     # here allows them to be overridden if necessary.
                   10028:     runpath_var=LD_RUN_PATH
                   10029:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10030:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10031:     # ancient GNU ld didn't support --whole-archive et. al.
                   10032:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10033:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10034:     else
                   10035:       whole_archive_flag_spec=
                   10036:     fi
                   10037:     supports_anon_versioning=no
                   10038:     case `$LD -v 2>&1` in
                   10039:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10040:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10041:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10042:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10043:       *\ 2.11.*) ;; # other 2.11 versions
                   10044:       *) supports_anon_versioning=yes ;;
                   10045:     esac
                   10046: 
                   10047:     # See if GNU ld supports shared libraries.
                   10048:     case $host_os in
                   10049:     aix[3-9]*)
                   10050:       # On AIX/PPC, the GNU linker is very broken
                   10051:       if test "$host_cpu" != ia64; then
                   10052:        ld_shlibs=no
                   10053:        cat <<_LT_EOF 1>&2
                   10054: 
                   10055: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10056: *** to be unable to reliably create shared libraries on AIX.
                   10057: *** Therefore, libtool is disabling shared libraries support.  If you
                   10058: *** really care for shared libraries, you may want to install binutils
                   10059: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10060: *** You will then need to restart the configuration process.
                   10061: 
                   10062: _LT_EOF
                   10063:       fi
                   10064:       ;;
                   10065: 
                   10066:     amigaos*)
                   10067:       case $host_cpu in
                   10068:       powerpc)
                   10069:             # see comment about AmigaOS4 .so support
                   10070:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10071:             archive_expsym_cmds=''
                   10072:         ;;
                   10073:       m68k)
                   10074:             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)'
                   10075:             hardcode_libdir_flag_spec='-L$libdir'
                   10076:             hardcode_minus_L=yes
                   10077:         ;;
                   10078:       esac
                   10079:       ;;
                   10080: 
                   10081:     beos*)
                   10082:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10083:        allow_undefined_flag=unsupported
                   10084:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10085:        # support --undefined.  This deserves some investigation.  FIXME
                   10086:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10087:       else
                   10088:        ld_shlibs=no
                   10089:       fi
                   10090:       ;;
                   10091: 
                   10092:     cygwin* | mingw* | pw32* | cegcc*)
                   10093:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10094:       # as there is no search path for DLLs.
                   10095:       hardcode_libdir_flag_spec='-L$libdir'
                   10096:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10097:       allow_undefined_flag=unsupported
                   10098:       always_export_symbols=no
                   10099:       enable_shared_with_static_runtimes=yes
                   10100:       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'
                   10101:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10102: 
                   10103:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10104:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10105:        # If the export-symbols file already is a .def file (1st line
                   10106:        # is EXPORTS), use it as is; otherwise, prepend...
                   10107:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10108:          cp $export_symbols $output_objdir/$soname.def;
                   10109:        else
                   10110:          echo EXPORTS > $output_objdir/$soname.def;
                   10111:          cat $export_symbols >> $output_objdir/$soname.def;
                   10112:        fi~
                   10113:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10114:       else
                   10115:        ld_shlibs=no
                   10116:       fi
                   10117:       ;;
                   10118: 
                   10119:     haiku*)
                   10120:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10121:       link_all_deplibs=yes
                   10122:       ;;
                   10123: 
                   10124:     interix[3-9]*)
                   10125:       hardcode_direct=no
                   10126:       hardcode_shlibpath_var=no
                   10127:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10128:       export_dynamic_flag_spec='${wl}-E'
                   10129:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10130:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10131:       # default) and relocated if they conflict, which is a slow very memory
                   10132:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10133:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10134:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10135:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10136:       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'
                   10137:       ;;
                   10138: 
                   10139:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10140:       tmp_diet=no
                   10141:       if test "$host_os" = linux-dietlibc; then
                   10142:        case $cc_basename in
                   10143:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10144:        esac
                   10145:       fi
                   10146:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10147:         && test "$tmp_diet" = no
                   10148:       then
                   10149:        tmp_addflag=' $pic_flag'
                   10150:        tmp_sharedflag='-shared'
                   10151:        case $cc_basename,$host_cpu in
                   10152:         pgcc*)                         # Portland Group C compiler
                   10153:          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'
                   10154:          tmp_addflag=' $pic_flag'
                   10155:          ;;
                   10156:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10157:                                        # Portland Group f77 and f90 compilers
                   10158:          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'
                   10159:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10160:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10161:          tmp_addflag=' -i_dynamic' ;;
                   10162:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10163:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10164:        ifc* | ifort*)                  # Intel Fortran compiler
                   10165:          tmp_addflag=' -nofor_main' ;;
                   10166:        lf95*)                          # Lahey Fortran 8.1
                   10167:          whole_archive_flag_spec=
                   10168:          tmp_sharedflag='--shared' ;;
                   10169:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10170:          tmp_sharedflag='-qmkshrobj'
                   10171:          tmp_addflag= ;;
                   10172:        nvcc*)  # Cuda Compiler Driver 2.2
                   10173:          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'
                   10174:          compiler_needs_object=yes
                   10175:          ;;
                   10176:        esac
                   10177:        case `$CC -V 2>&1 | sed 5q` in
                   10178:        *Sun\ C*)                       # Sun C 5.9
                   10179:          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'
                   10180:          compiler_needs_object=yes
                   10181:          tmp_sharedflag='-G' ;;
                   10182:        *Sun\ F*)                       # Sun Fortran 8.3
                   10183:          tmp_sharedflag='-G' ;;
                   10184:        esac
                   10185:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10186: 
                   10187:         if test "x$supports_anon_versioning" = xyes; then
                   10188:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10189:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10190:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10191:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10192:         fi
                   10193: 
                   10194:        case $cc_basename in
                   10195:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10196:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10197:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10198:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10199:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10200:          if test "x$supports_anon_versioning" = xyes; then
                   10201:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10202:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10203:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10204:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10205:          fi
                   10206:          ;;
                   10207:        esac
                   10208:       else
                   10209:         ld_shlibs=no
                   10210:       fi
                   10211:       ;;
                   10212: 
                   10213:     netbsd*)
                   10214:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10215:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10216:        wlarc=
                   10217:       else
                   10218:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10219:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10220:       fi
                   10221:       ;;
                   10222: 
                   10223:     solaris*)
                   10224:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10225:        ld_shlibs=no
                   10226:        cat <<_LT_EOF 1>&2
                   10227: 
                   10228: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10229: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10230: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10231: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10232: *** your PATH or compiler configuration so that the native linker is
                   10233: *** used, and then restart.
                   10234: 
                   10235: _LT_EOF
                   10236:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10237:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10238:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10239:       else
                   10240:        ld_shlibs=no
                   10241:       fi
                   10242:       ;;
                   10243: 
                   10244:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10245:       case `$LD -v 2>&1` in
                   10246:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10247:        ld_shlibs=no
                   10248:        cat <<_LT_EOF 1>&2
                   10249: 
                   10250: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10251: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10252: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10253: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10254: *** your PATH or compiler configuration so that the native linker is
                   10255: *** used, and then restart.
                   10256: 
                   10257: _LT_EOF
                   10258:        ;;
                   10259:        *)
                   10260:          # For security reasons, it is highly recommended that you always
                   10261:          # use absolute paths for naming shared libraries, and exclude the
                   10262:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10263:          # requires that you compile everything twice, which is a pain.
                   10264:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10265:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10266:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10267:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10268:          else
                   10269:            ld_shlibs=no
                   10270:          fi
                   10271:        ;;
                   10272:       esac
                   10273:       ;;
                   10274: 
                   10275:     sunos4*)
                   10276:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10277:       wlarc=
                   10278:       hardcode_direct=yes
                   10279:       hardcode_shlibpath_var=no
                   10280:       ;;
                   10281: 
                   10282:     *)
                   10283:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10284:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10285:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10286:       else
                   10287:        ld_shlibs=no
                   10288:       fi
                   10289:       ;;
                   10290:     esac
                   10291: 
                   10292:     if test "$ld_shlibs" = no; then
                   10293:       runpath_var=
                   10294:       hardcode_libdir_flag_spec=
                   10295:       export_dynamic_flag_spec=
                   10296:       whole_archive_flag_spec=
                   10297:     fi
                   10298:   else
                   10299:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10300:     case $host_os in
                   10301:     aix3*)
                   10302:       allow_undefined_flag=unsupported
                   10303:       always_export_symbols=yes
                   10304:       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'
                   10305:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10306:       # are no directories specified by -L.
                   10307:       hardcode_minus_L=yes
                   10308:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10309:        # Neither direct hardcoding nor static linking is supported with a
                   10310:        # broken collect2.
                   10311:        hardcode_direct=unsupported
                   10312:       fi
                   10313:       ;;
                   10314: 
                   10315:     aix[4-9]*)
                   10316:       if test "$host_cpu" = ia64; then
                   10317:        # On IA64, the linker does run time linking by default, so we don't
                   10318:        # have to do anything special.
                   10319:        aix_use_runtimelinking=no
                   10320:        exp_sym_flag='-Bexport'
                   10321:        no_entry_flag=""
                   10322:       else
                   10323:        # If we're using GNU nm, then we don't want the "-C" option.
                   10324:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10325:        # Also, AIX nm treats weak defined symbols like other global
                   10326:        # defined symbols, whereas GNU nm marks them as "W".
                   10327:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10328:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   10329:        else
                   10330:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   10331:        fi
                   10332:        aix_use_runtimelinking=no
                   10333: 
                   10334:        # Test if we are trying to use run time linking or normal
                   10335:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10336:        # need to do runtime linking.
                   10337:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10338:          for ld_flag in $LDFLAGS; do
                   10339:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10340:            aix_use_runtimelinking=yes
                   10341:            break
                   10342:          fi
                   10343:          done
                   10344:          ;;
                   10345:        esac
                   10346: 
                   10347:        exp_sym_flag='-bexport'
                   10348:        no_entry_flag='-bnoentry'
                   10349:       fi
                   10350: 
                   10351:       # When large executables or shared objects are built, AIX ld can
                   10352:       # have problems creating the table of contents.  If linking a library
                   10353:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10354:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10355:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10356: 
                   10357:       archive_cmds=''
                   10358:       hardcode_direct=yes
                   10359:       hardcode_direct_absolute=yes
                   10360:       hardcode_libdir_separator=':'
                   10361:       link_all_deplibs=yes
                   10362:       file_list_spec='${wl}-f,'
                   10363: 
                   10364:       if test "$GCC" = yes; then
                   10365:        case $host_os in aix4.[012]|aix4.[012].*)
                   10366:        # We only want to do this on AIX 4.2 and lower, the check
                   10367:        # below for broken collect2 doesn't work under 4.3+
                   10368:          collect2name=`${CC} -print-prog-name=collect2`
                   10369:          if test -f "$collect2name" &&
                   10370:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10371:          then
                   10372:          # We have reworked collect2
                   10373:          :
                   10374:          else
                   10375:          # We have old collect2
                   10376:          hardcode_direct=unsupported
                   10377:          # It fails to find uninstalled libraries when the uninstalled
                   10378:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10379:          # to unsupported forces relinking
                   10380:          hardcode_minus_L=yes
                   10381:          hardcode_libdir_flag_spec='-L$libdir'
                   10382:          hardcode_libdir_separator=
                   10383:          fi
                   10384:          ;;
                   10385:        esac
                   10386:        shared_flag='-shared'
                   10387:        if test "$aix_use_runtimelinking" = yes; then
                   10388:          shared_flag="$shared_flag "'${wl}-G'
                   10389:        fi
                   10390:       else
                   10391:        # not using gcc
                   10392:        if test "$host_cpu" = ia64; then
                   10393:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10394:        # chokes on -Wl,-G. The following line is correct:
                   10395:          shared_flag='-G'
                   10396:        else
                   10397:          if test "$aix_use_runtimelinking" = yes; then
                   10398:            shared_flag='${wl}-G'
                   10399:          else
                   10400:            shared_flag='${wl}-bM:SRE'
                   10401:          fi
                   10402:        fi
                   10403:       fi
                   10404: 
                   10405:       export_dynamic_flag_spec='${wl}-bexpall'
                   10406:       # It seems that -bexpall does not export symbols beginning with
                   10407:       # underscore (_), so it is better to generate a list of symbols to export.
                   10408:       always_export_symbols=yes
                   10409:       if test "$aix_use_runtimelinking" = yes; then
                   10410:        # Warning - without using the other runtime loading flags (-brtl),
                   10411:        # -berok will link without error, but may produce a broken library.
                   10412:        allow_undefined_flag='-berok'
                   10413:         # Determine the default libpath from the value encoded in an
                   10414:         # empty executable.
                   10415:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10416:   aix_libpath=$lt_cv_aix_libpath
                   10417: else
1.150   ! moko     10418:   if ${lt_cv_aix_libpath_+:} false; then :
        !          10419:   $as_echo_n "(cached) " >&6
1.128     moko     10420: else
1.150   ! moko     10421:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10422: /* end confdefs.h.  */
                   10423: 
                   10424: int
                   10425: main ()
                   10426: {
                   10427: 
                   10428:   ;
                   10429:   return 0;
                   10430: }
                   10431: _ACEOF
1.150   ! moko     10432: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10433: 
                   10434:   lt_aix_libpath_sed='
                   10435:       /Import File Strings/,/^$/ {
                   10436:          /^0/ {
                   10437:              s/^0  *\([^ ]*\) *$/\1/
                   10438:              p
                   10439:          }
                   10440:       }'
                   10441:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10442:   # Check for a 64-bit object if we didn't find anything.
                   10443:   if test -z "$lt_cv_aix_libpath_"; then
                   10444:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10445:   fi
                   10446: fi
1.150   ! moko     10447: rm -f core conftest.err conftest.$ac_objext \
        !          10448:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10449:   if test -z "$lt_cv_aix_libpath_"; then
                   10450:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10451:   fi
                   10452: 
                   10453: fi
                   10454: 
                   10455:   aix_libpath=$lt_cv_aix_libpath_
                   10456: fi
                   10457: 
                   10458:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10459:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   10460:       else
                   10461:        if test "$host_cpu" = ia64; then
                   10462:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10463:          allow_undefined_flag="-z nodefs"
                   10464:          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"
                   10465:        else
                   10466:         # Determine the default libpath from the value encoded in an
                   10467:         # empty executable.
                   10468:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10469:   aix_libpath=$lt_cv_aix_libpath
                   10470: else
1.150   ! moko     10471:   if ${lt_cv_aix_libpath_+:} false; then :
        !          10472:   $as_echo_n "(cached) " >&6
1.128     moko     10473: else
1.150   ! moko     10474:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10475: /* end confdefs.h.  */
                   10476: 
                   10477: int
                   10478: main ()
                   10479: {
                   10480: 
                   10481:   ;
                   10482:   return 0;
                   10483: }
                   10484: _ACEOF
1.150   ! moko     10485: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10486: 
                   10487:   lt_aix_libpath_sed='
                   10488:       /Import File Strings/,/^$/ {
                   10489:          /^0/ {
                   10490:              s/^0  *\([^ ]*\) *$/\1/
                   10491:              p
                   10492:          }
                   10493:       }'
                   10494:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10495:   # Check for a 64-bit object if we didn't find anything.
                   10496:   if test -z "$lt_cv_aix_libpath_"; then
                   10497:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10498:   fi
                   10499: fi
1.150   ! moko     10500: rm -f core conftest.err conftest.$ac_objext \
        !          10501:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10502:   if test -z "$lt_cv_aix_libpath_"; then
                   10503:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10504:   fi
                   10505: 
                   10506: fi
                   10507: 
                   10508:   aix_libpath=$lt_cv_aix_libpath_
                   10509: fi
                   10510: 
                   10511:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10512:          # Warning - without using the other run time loading flags,
                   10513:          # -berok will link without error, but may produce a broken library.
                   10514:          no_undefined_flag=' ${wl}-bernotok'
                   10515:          allow_undefined_flag=' ${wl}-berok'
                   10516:          if test "$with_gnu_ld" = yes; then
                   10517:            # We only use this code for GNU lds that support --whole-archive.
                   10518:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10519:          else
                   10520:            # Exported symbols can be pulled into shared objects from archives
                   10521:            whole_archive_flag_spec='$convenience'
                   10522:          fi
                   10523:          archive_cmds_need_lc=yes
                   10524:          # This is similar to how AIX traditionally builds its shared libraries.
                   10525:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   10526:        fi
                   10527:       fi
                   10528:       ;;
                   10529: 
                   10530:     amigaos*)
                   10531:       case $host_cpu in
                   10532:       powerpc)
                   10533:             # see comment about AmigaOS4 .so support
                   10534:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10535:             archive_expsym_cmds=''
                   10536:         ;;
                   10537:       m68k)
                   10538:             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)'
                   10539:             hardcode_libdir_flag_spec='-L$libdir'
                   10540:             hardcode_minus_L=yes
                   10541:         ;;
                   10542:       esac
                   10543:       ;;
                   10544: 
                   10545:     bsdi[45]*)
                   10546:       export_dynamic_flag_spec=-rdynamic
                   10547:       ;;
                   10548: 
                   10549:     cygwin* | mingw* | pw32* | cegcc*)
                   10550:       # When not using gcc, we currently assume that we are using
                   10551:       # Microsoft Visual C++.
                   10552:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10553:       # no search path for DLLs.
                   10554:       case $cc_basename in
                   10555:       cl*)
                   10556:        # Native MSVC
                   10557:        hardcode_libdir_flag_spec=' '
                   10558:        allow_undefined_flag=unsupported
                   10559:        always_export_symbols=yes
                   10560:        file_list_spec='@'
                   10561:        # Tell ltmain to make .lib files, not .a files.
                   10562:        libext=lib
                   10563:        # Tell ltmain to make .dll files, not .so files.
                   10564:        shrext_cmds=".dll"
                   10565:        # FIXME: Setting linknames here is a bad hack.
                   10566:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10567:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10568:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10569:          else
                   10570:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10571:          fi~
                   10572:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10573:          linknames='
                   10574:        # The linker will not automatically build a static lib if we build a DLL.
                   10575:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10576:        enable_shared_with_static_runtimes=yes
                   10577:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10578:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10579:        # Don't use ranlib
                   10580:        old_postinstall_cmds='chmod 644 $oldlib'
                   10581:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10582:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10583:          case $lt_outputfile in
                   10584:            *.exe|*.EXE) ;;
                   10585:            *)
                   10586:              lt_outputfile="$lt_outputfile.exe"
                   10587:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10588:              ;;
                   10589:          esac~
                   10590:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10591:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10592:            $RM "$lt_outputfile.manifest";
                   10593:          fi'
                   10594:        ;;
                   10595:       *)
                   10596:        # Assume MSVC wrapper
                   10597:        hardcode_libdir_flag_spec=' '
                   10598:        allow_undefined_flag=unsupported
                   10599:        # Tell ltmain to make .lib files, not .a files.
                   10600:        libext=lib
                   10601:        # Tell ltmain to make .dll files, not .so files.
                   10602:        shrext_cmds=".dll"
                   10603:        # FIXME: Setting linknames here is a bad hack.
                   10604:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10605:        # The linker will automatically build a .lib file if we build a DLL.
                   10606:        old_archive_from_new_cmds='true'
                   10607:        # FIXME: Should let the user specify the lib program.
                   10608:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10609:        enable_shared_with_static_runtimes=yes
                   10610:        ;;
                   10611:       esac
                   10612:       ;;
                   10613: 
                   10614:     darwin* | rhapsody*)
                   10615: 
                   10616: 
                   10617:   archive_cmds_need_lc=no
                   10618:   hardcode_direct=no
                   10619:   hardcode_automatic=yes
                   10620:   hardcode_shlibpath_var=unsupported
                   10621:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10622:     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\"`'
                   10623: 
                   10624:   else
                   10625:     whole_archive_flag_spec=''
                   10626:   fi
                   10627:   link_all_deplibs=yes
                   10628:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10629:   case $cc_basename in
                   10630:      ifort*) _lt_dar_can_shared=yes ;;
                   10631:      *) _lt_dar_can_shared=$GCC ;;
                   10632:   esac
                   10633:   if test "$_lt_dar_can_shared" = "yes"; then
                   10634:     output_verbose_link_cmd=func_echo_all
                   10635:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10636:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10637:     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}"
                   10638:     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}"
                   10639: 
                   10640:   else
                   10641:   ld_shlibs=no
                   10642:   fi
                   10643: 
                   10644:       ;;
                   10645: 
                   10646:     dgux*)
                   10647:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10648:       hardcode_libdir_flag_spec='-L$libdir'
                   10649:       hardcode_shlibpath_var=no
                   10650:       ;;
                   10651: 
                   10652:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10653:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10654:     # does not break anything, and helps significantly (at the cost of a little
                   10655:     # extra space).
                   10656:     freebsd2.2*)
                   10657:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10658:       hardcode_libdir_flag_spec='-R$libdir'
                   10659:       hardcode_direct=yes
                   10660:       hardcode_shlibpath_var=no
                   10661:       ;;
                   10662: 
                   10663:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10664:     freebsd2.*)
                   10665:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10666:       hardcode_direct=yes
                   10667:       hardcode_minus_L=yes
                   10668:       hardcode_shlibpath_var=no
                   10669:       ;;
                   10670: 
                   10671:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10672:     freebsd* | dragonfly*)
                   10673:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10674:       hardcode_libdir_flag_spec='-R$libdir'
                   10675:       hardcode_direct=yes
                   10676:       hardcode_shlibpath_var=no
                   10677:       ;;
                   10678: 
                   10679:     hpux9*)
                   10680:       if test "$GCC" = yes; then
                   10681:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   10682:       else
                   10683:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   10684:       fi
                   10685:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10686:       hardcode_libdir_separator=:
                   10687:       hardcode_direct=yes
                   10688: 
                   10689:       # hardcode_minus_L: Not really in the search PATH,
                   10690:       # but as the default location of the library.
                   10691:       hardcode_minus_L=yes
                   10692:       export_dynamic_flag_spec='${wl}-E'
                   10693:       ;;
                   10694: 
                   10695:     hpux10*)
                   10696:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10697:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10698:       else
                   10699:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10700:       fi
                   10701:       if test "$with_gnu_ld" = no; then
                   10702:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10703:        hardcode_libdir_separator=:
                   10704:        hardcode_direct=yes
                   10705:        hardcode_direct_absolute=yes
                   10706:        export_dynamic_flag_spec='${wl}-E'
                   10707:        # hardcode_minus_L: Not really in the search PATH,
                   10708:        # but as the default location of the library.
                   10709:        hardcode_minus_L=yes
                   10710:       fi
                   10711:       ;;
                   10712: 
                   10713:     hpux11*)
                   10714:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10715:        case $host_cpu in
                   10716:        hppa*64*)
                   10717:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10718:          ;;
                   10719:        ia64*)
                   10720:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10721:          ;;
                   10722:        *)
                   10723:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10724:          ;;
                   10725:        esac
                   10726:       else
                   10727:        case $host_cpu in
                   10728:        hppa*64*)
                   10729:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10730:          ;;
                   10731:        ia64*)
                   10732:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10733:          ;;
                   10734:        *)
                   10735: 
                   10736:          # Older versions of the 11.00 compiler do not understand -b yet
                   10737:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150   ! moko     10738:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
        !          10739: $as_echo_n "checking if $CC understands -b... " >&6; }
        !          10740: if ${lt_cv_prog_compiler__b+:} false; then :
        !          10741:   $as_echo_n "(cached) " >&6
1.128     moko     10742: else
                   10743:   lt_cv_prog_compiler__b=no
                   10744:    save_LDFLAGS="$LDFLAGS"
                   10745:    LDFLAGS="$LDFLAGS -b"
                   10746:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10747:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10748:      # The linker can only warn and ignore the option if not recognized
                   10749:      # So say no if there are warnings
                   10750:      if test -s conftest.err; then
                   10751:        # Append any errors to the config.log.
                   10752:        cat conftest.err 1>&5
                   10753:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10754:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10755:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10756:          lt_cv_prog_compiler__b=yes
                   10757:        fi
                   10758:      else
                   10759:        lt_cv_prog_compiler__b=yes
                   10760:      fi
                   10761:    fi
                   10762:    $RM -r conftest*
                   10763:    LDFLAGS="$save_LDFLAGS"
                   10764: 
                   10765: fi
1.150   ! moko     10766: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
        !          10767: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10768: 
                   10769: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10770:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10771: else
                   10772:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10773: fi
                   10774: 
                   10775:          ;;
                   10776:        esac
                   10777:       fi
                   10778:       if test "$with_gnu_ld" = no; then
                   10779:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10780:        hardcode_libdir_separator=:
                   10781: 
                   10782:        case $host_cpu in
                   10783:        hppa*64*|ia64*)
                   10784:          hardcode_direct=no
                   10785:          hardcode_shlibpath_var=no
                   10786:          ;;
                   10787:        *)
                   10788:          hardcode_direct=yes
                   10789:          hardcode_direct_absolute=yes
                   10790:          export_dynamic_flag_spec='${wl}-E'
                   10791: 
                   10792:          # hardcode_minus_L: Not really in the search PATH,
                   10793:          # but as the default location of the library.
                   10794:          hardcode_minus_L=yes
                   10795:          ;;
                   10796:        esac
                   10797:       fi
                   10798:       ;;
                   10799: 
                   10800:     irix5* | irix6* | nonstopux*)
                   10801:       if test "$GCC" = yes; then
                   10802:        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'
                   10803:        # Try to use the -exported_symbol ld option, if it does not
                   10804:        # work, assume that -exports_file does not work either and
                   10805:        # implicitly export all symbols.
                   10806:        # This should be the same for all languages, so no per-tag cache variable.
1.150   ! moko     10807:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        !          10808: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
        !          10809: if ${lt_cv_irix_exported_symbol+:} false; then :
        !          10810:   $as_echo_n "(cached) " >&6
1.128     moko     10811: else
                   10812:   save_LDFLAGS="$LDFLAGS"
                   10813:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150   ! moko     10814:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10815: /* end confdefs.h.  */
                   10816: int foo (void) { return 0; }
                   10817: _ACEOF
1.150   ! moko     10818: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10819:   lt_cv_irix_exported_symbol=yes
                   10820: else
1.150   ! moko     10821:   lt_cv_irix_exported_symbol=no
1.128     moko     10822: fi
1.150   ! moko     10823: rm -f core conftest.err conftest.$ac_objext \
        !          10824:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10825:            LDFLAGS="$save_LDFLAGS"
                   10826: fi
1.150   ! moko     10827: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
        !          10828: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10829:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10830:           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'
                   10831:        fi
                   10832:       else
                   10833:        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'
                   10834:        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'
                   10835:       fi
                   10836:       archive_cmds_need_lc='no'
                   10837:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10838:       hardcode_libdir_separator=:
                   10839:       inherit_rpath=yes
                   10840:       link_all_deplibs=yes
                   10841:       ;;
                   10842: 
                   10843:     netbsd*)
                   10844:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10845:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10846:       else
                   10847:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10848:       fi
                   10849:       hardcode_libdir_flag_spec='-R$libdir'
                   10850:       hardcode_direct=yes
                   10851:       hardcode_shlibpath_var=no
                   10852:       ;;
                   10853: 
                   10854:     newsos6)
                   10855:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10856:       hardcode_direct=yes
                   10857:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10858:       hardcode_libdir_separator=:
                   10859:       hardcode_shlibpath_var=no
                   10860:       ;;
                   10861: 
                   10862:     *nto* | *qnx*)
                   10863:       ;;
                   10864: 
                   10865:     openbsd*)
                   10866:       if test -f /usr/libexec/ld.so; then
                   10867:        hardcode_direct=yes
                   10868:        hardcode_shlibpath_var=no
                   10869:        hardcode_direct_absolute=yes
                   10870:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10871:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10872:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10873:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10874:          export_dynamic_flag_spec='${wl}-E'
                   10875:        else
                   10876:          case $host_os in
                   10877:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10878:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10879:             hardcode_libdir_flag_spec='-R$libdir'
                   10880:             ;;
                   10881:           *)
                   10882:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10883:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10884:             ;;
                   10885:          esac
                   10886:        fi
                   10887:       else
                   10888:        ld_shlibs=no
                   10889:       fi
                   10890:       ;;
                   10891: 
                   10892:     os2*)
                   10893:       hardcode_libdir_flag_spec='-L$libdir'
                   10894:       hardcode_minus_L=yes
                   10895:       allow_undefined_flag=unsupported
                   10896:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
                   10897:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10898:       ;;
                   10899: 
                   10900:     osf3*)
                   10901:       if test "$GCC" = yes; then
                   10902:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10903:        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'
                   10904:       else
                   10905:        allow_undefined_flag=' -expect_unresolved \*'
                   10906:        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'
                   10907:       fi
                   10908:       archive_cmds_need_lc='no'
                   10909:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10910:       hardcode_libdir_separator=:
                   10911:       ;;
                   10912: 
                   10913:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10914:       if test "$GCC" = yes; then
                   10915:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10916:        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'
                   10917:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10918:       else
                   10919:        allow_undefined_flag=' -expect_unresolved \*'
                   10920:        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'
                   10921:        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~
                   10922:        $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'
                   10923: 
                   10924:        # Both c and cxx compiler support -rpath directly
                   10925:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10926:       fi
                   10927:       archive_cmds_need_lc='no'
                   10928:       hardcode_libdir_separator=:
                   10929:       ;;
                   10930: 
                   10931:     solaris*)
                   10932:       no_undefined_flag=' -z defs'
                   10933:       if test "$GCC" = yes; then
                   10934:        wlarc='${wl}'
                   10935:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10936:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10937:          $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'
                   10938:       else
                   10939:        case `$CC -V 2>&1` in
                   10940:        *"Compilers 5.0"*)
                   10941:          wlarc=''
                   10942:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10943:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10944:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10945:          ;;
                   10946:        *)
                   10947:          wlarc='${wl}'
                   10948:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10949:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10950:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10951:          ;;
                   10952:        esac
                   10953:       fi
                   10954:       hardcode_libdir_flag_spec='-R$libdir'
                   10955:       hardcode_shlibpath_var=no
                   10956:       case $host_os in
                   10957:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10958:       *)
                   10959:        # The compiler driver will combine and reorder linker options,
                   10960:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10961:        # but is careful enough not to reorder.
                   10962:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10963:        if test "$GCC" = yes; then
                   10964:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10965:        else
                   10966:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10967:        fi
                   10968:        ;;
                   10969:       esac
                   10970:       link_all_deplibs=yes
                   10971:       ;;
                   10972: 
                   10973:     sunos4*)
                   10974:       if test "x$host_vendor" = xsequent; then
                   10975:        # Use $CC to link under sequent, because it throws in some extra .o
                   10976:        # files that make .init and .fini sections work.
                   10977:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10978:       else
                   10979:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10980:       fi
                   10981:       hardcode_libdir_flag_spec='-L$libdir'
                   10982:       hardcode_direct=yes
                   10983:       hardcode_minus_L=yes
                   10984:       hardcode_shlibpath_var=no
                   10985:       ;;
                   10986: 
                   10987:     sysv4)
                   10988:       case $host_vendor in
                   10989:        sni)
                   10990:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10991:          hardcode_direct=yes # is this really true???
                   10992:        ;;
                   10993:        siemens)
                   10994:          ## LD is ld it makes a PLAMLIB
                   10995:          ## CC just makes a GrossModule.
                   10996:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10997:          reload_cmds='$CC -r -o $output$reload_objs'
                   10998:          hardcode_direct=no
                   10999:         ;;
                   11000:        motorola)
                   11001:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11002:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11003:        ;;
                   11004:       esac
                   11005:       runpath_var='LD_RUN_PATH'
                   11006:       hardcode_shlibpath_var=no
                   11007:       ;;
                   11008: 
                   11009:     sysv4.3*)
                   11010:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11011:       hardcode_shlibpath_var=no
                   11012:       export_dynamic_flag_spec='-Bexport'
                   11013:       ;;
                   11014: 
                   11015:     sysv4*MP*)
                   11016:       if test -d /usr/nec; then
                   11017:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11018:        hardcode_shlibpath_var=no
                   11019:        runpath_var=LD_RUN_PATH
                   11020:        hardcode_runpath_var=yes
                   11021:        ld_shlibs=yes
                   11022:       fi
                   11023:       ;;
                   11024: 
                   11025:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11026:       no_undefined_flag='${wl}-z,text'
                   11027:       archive_cmds_need_lc=no
                   11028:       hardcode_shlibpath_var=no
                   11029:       runpath_var='LD_RUN_PATH'
                   11030: 
                   11031:       if test "$GCC" = yes; then
                   11032:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11033:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11034:       else
                   11035:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11036:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11037:       fi
                   11038:       ;;
                   11039: 
                   11040:     sysv5* | sco3.2v5* | sco5v6*)
                   11041:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11042:       # link with -lc, and that would cause any symbols used from libc to
                   11043:       # always be unresolved, which means just about no library would
                   11044:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11045:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11046:       # as -z defs.
                   11047:       no_undefined_flag='${wl}-z,text'
                   11048:       allow_undefined_flag='${wl}-z,nodefs'
                   11049:       archive_cmds_need_lc=no
                   11050:       hardcode_shlibpath_var=no
                   11051:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11052:       hardcode_libdir_separator=':'
                   11053:       link_all_deplibs=yes
                   11054:       export_dynamic_flag_spec='${wl}-Bexport'
                   11055:       runpath_var='LD_RUN_PATH'
                   11056: 
                   11057:       if test "$GCC" = yes; then
                   11058:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11059:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11060:       else
                   11061:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11062:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11063:       fi
                   11064:       ;;
                   11065: 
                   11066:     uts4*)
                   11067:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11068:       hardcode_libdir_flag_spec='-L$libdir'
                   11069:       hardcode_shlibpath_var=no
                   11070:       ;;
                   11071: 
                   11072:     *)
                   11073:       ld_shlibs=no
                   11074:       ;;
                   11075:     esac
                   11076: 
                   11077:     if test x$host_vendor = xsni; then
                   11078:       case $host in
                   11079:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11080:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11081:        ;;
                   11082:       esac
                   11083:     fi
                   11084:   fi
                   11085: 
1.150   ! moko     11086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
        !          11087: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11088: test "$ld_shlibs" = no && can_build_shared=no
                   11089: 
                   11090: with_gnu_ld=$with_gnu_ld
                   11091: 
                   11092: 
                   11093: 
                   11094: 
                   11095: 
                   11096: 
                   11097: 
                   11098: 
                   11099: 
                   11100: 
                   11101: 
                   11102: 
                   11103: 
                   11104: 
                   11105: 
                   11106: #
                   11107: # Do we need to explicitly link libc?
                   11108: #
                   11109: case "x$archive_cmds_need_lc" in
                   11110: x|xyes)
                   11111:   # Assume -lc should be added
                   11112:   archive_cmds_need_lc=yes
                   11113: 
                   11114:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11115:     case $archive_cmds in
                   11116:     *'~'*)
                   11117:       # FIXME: we may have to deal with multi-command sequences.
                   11118:       ;;
                   11119:     '$CC '*)
                   11120:       # Test whether the compiler implicitly links with -lc since on some
                   11121:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11122:       # to ld, don't add -lc before -lgcc.
1.150   ! moko     11123:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
        !          11124: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
        !          11125: if ${lt_cv_archive_cmds_need_lc+:} false; then :
        !          11126:   $as_echo_n "(cached) " >&6
1.128     moko     11127: else
                   11128:   $RM conftest*
                   11129:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11130: 
1.150   ! moko     11131:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11132:   (eval $ac_compile) 2>&5
                   11133:   ac_status=$?
1.150   ! moko     11134:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          11135:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11136:          soname=conftest
                   11137:          lib=conftest
                   11138:          libobjs=conftest.$ac_objext
                   11139:          deplibs=
                   11140:          wl=$lt_prog_compiler_wl
                   11141:          pic_flag=$lt_prog_compiler_pic
                   11142:          compiler_flags=-v
                   11143:          linker_flags=-v
                   11144:          verstring=
                   11145:          output_objdir=.
                   11146:          libname=conftest
                   11147:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11148:          allow_undefined_flag=
1.150   ! moko     11149:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11150:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11151:   ac_status=$?
1.150   ! moko     11152:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          11153:   test $ac_status = 0; }
1.128     moko     11154:          then
                   11155:            lt_cv_archive_cmds_need_lc=no
                   11156:          else
                   11157:            lt_cv_archive_cmds_need_lc=yes
                   11158:          fi
                   11159:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11160:        else
                   11161:          cat conftest.err 1>&5
                   11162:        fi
                   11163:        $RM conftest*
                   11164: 
                   11165: fi
1.150   ! moko     11166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
        !          11167: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11168:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11169:       ;;
                   11170:     esac
                   11171:   fi
                   11172:   ;;
                   11173: esac
                   11174: 
                   11175: 
                   11176: 
                   11177: 
                   11178: 
                   11179: 
                   11180: 
                   11181: 
                   11182: 
                   11183: 
                   11184: 
                   11185: 
                   11186: 
                   11187: 
                   11188: 
                   11189: 
                   11190: 
                   11191: 
                   11192: 
                   11193: 
                   11194: 
                   11195: 
                   11196: 
                   11197: 
                   11198: 
                   11199: 
                   11200: 
                   11201: 
                   11202: 
                   11203: 
                   11204: 
                   11205: 
                   11206: 
                   11207: 
                   11208: 
                   11209: 
                   11210: 
                   11211: 
                   11212: 
                   11213: 
                   11214: 
                   11215: 
                   11216: 
                   11217: 
                   11218: 
                   11219: 
                   11220: 
                   11221: 
                   11222: 
                   11223: 
                   11224: 
                   11225: 
                   11226: 
                   11227: 
                   11228: 
                   11229: 
                   11230: 
                   11231: 
                   11232: 
                   11233: 
                   11234: 
                   11235: 
                   11236: 
                   11237: 
                   11238: 
                   11239: 
                   11240: 
                   11241: 
                   11242: 
                   11243: 
                   11244: 
                   11245: 
                   11246: 
                   11247: 
                   11248: 
                   11249: 
                   11250: 
                   11251: 
                   11252: 
                   11253: 
                   11254: 
                   11255: 
                   11256: 
                   11257: 
                   11258: 
                   11259: 
                   11260: 
                   11261: 
                   11262: 
                   11263: 
                   11264: 
                   11265: 
                   11266: 
                   11267: 
                   11268: 
                   11269: 
                   11270: 
                   11271: 
                   11272: 
                   11273: 
                   11274: 
                   11275: 
                   11276: 
                   11277: 
                   11278: 
                   11279: 
                   11280: 
                   11281: 
                   11282: 
                   11283: 
                   11284: 
                   11285: 
                   11286: 
                   11287: 
                   11288: 
                   11289: 
                   11290: 
                   11291: 
                   11292: 
                   11293: 
                   11294: 
                   11295: 
                   11296: 
                   11297: 
                   11298: 
                   11299: 
                   11300: 
                   11301: 
                   11302: 
                   11303: 
                   11304: 
                   11305: 
                   11306: 
                   11307: 
                   11308: 
                   11309: 
                   11310: 
                   11311: 
                   11312: 
                   11313: 
                   11314: 
                   11315: 
                   11316: 
                   11317: 
                   11318: 
                   11319: 
                   11320: 
                   11321: 
                   11322: 
                   11323: 
                   11324: 
                   11325: 
1.150   ! moko     11326:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
        !          11327: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11328: 
                   11329: if test "$GCC" = yes; then
                   11330:   case $host_os in
                   11331:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11332:     *) lt_awk_arg="/^libraries:/" ;;
                   11333:   esac
                   11334:   case $host_os in
                   11335:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11336:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11337:   esac
                   11338:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11339:   case $lt_search_path_spec in
                   11340:   *\;*)
                   11341:     # if the path contains ";" then we assume it to be the separator
                   11342:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11343:     # assumed that no part of a normal pathname contains ";" but that should
                   11344:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11345:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11346:     ;;
                   11347:   *)
                   11348:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11349:     ;;
                   11350:   esac
                   11351:   # Ok, now we have the path, separated by spaces, we can step through it
                   11352:   # and add multilib dir if necessary.
                   11353:   lt_tmp_lt_search_path_spec=
                   11354:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11355:   for lt_sys_path in $lt_search_path_spec; do
                   11356:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11357:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11358:     else
                   11359:       test -d "$lt_sys_path" && \
                   11360:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11361:     fi
                   11362:   done
                   11363:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11364: BEGIN {RS=" "; FS="/|\n";} {
                   11365:   lt_foo="";
                   11366:   lt_count=0;
                   11367:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11368:     if ($lt_i != "" && $lt_i != ".") {
                   11369:       if ($lt_i == "..") {
                   11370:         lt_count++;
                   11371:       } else {
                   11372:         if (lt_count == 0) {
                   11373:           lt_foo="/" $lt_i lt_foo;
                   11374:         } else {
                   11375:           lt_count--;
                   11376:         }
                   11377:       }
                   11378:     }
                   11379:   }
                   11380:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11381:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11382: }'`
                   11383:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11384:   # for these hosts.
                   11385:   case $host_os in
                   11386:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11387:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11388:   esac
                   11389:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11390: else
                   11391:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11392: fi
                   11393: library_names_spec=
                   11394: libname_spec='lib$name'
                   11395: soname_spec=
                   11396: shrext_cmds=".so"
                   11397: postinstall_cmds=
                   11398: postuninstall_cmds=
                   11399: finish_cmds=
                   11400: finish_eval=
                   11401: shlibpath_var=
                   11402: shlibpath_overrides_runpath=unknown
                   11403: version_type=none
                   11404: dynamic_linker="$host_os ld.so"
                   11405: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11406: need_lib_prefix=unknown
                   11407: hardcode_into_libs=no
                   11408: 
                   11409: # when you set need_version to no, make sure it does not cause -set_version
                   11410: # flags to be left without arguments
                   11411: need_version=unknown
                   11412: 
                   11413: case $host_os in
                   11414: aix3*)
                   11415:   version_type=linux # correct to gnu/linux during the next big refactor
                   11416:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11417:   shlibpath_var=LIBPATH
                   11418: 
                   11419:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11420:   soname_spec='${libname}${release}${shared_ext}$major'
                   11421:   ;;
                   11422: 
                   11423: aix[4-9]*)
                   11424:   version_type=linux # correct to gnu/linux during the next big refactor
                   11425:   need_lib_prefix=no
                   11426:   need_version=no
                   11427:   hardcode_into_libs=yes
                   11428:   if test "$host_cpu" = ia64; then
                   11429:     # AIX 5 supports IA64
                   11430:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11431:     shlibpath_var=LD_LIBRARY_PATH
                   11432:   else
                   11433:     # With GCC up to 2.95.x, collect2 would create an import file
                   11434:     # for dependence libraries.  The import file would start with
                   11435:     # the line `#! .'.  This would cause the generated library to
                   11436:     # depend on `.', always an invalid library.  This was fixed in
                   11437:     # development snapshots of GCC prior to 3.0.
                   11438:     case $host_os in
                   11439:       aix4 | aix4.[01] | aix4.[01].*)
                   11440:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11441:           echo ' yes '
                   11442:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11443:        :
                   11444:       else
                   11445:        can_build_shared=no
                   11446:       fi
                   11447:       ;;
                   11448:     esac
                   11449:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11450:     # soname into executable. Probably we can add versioning support to
                   11451:     # collect2, so additional links can be useful in future.
                   11452:     if test "$aix_use_runtimelinking" = yes; then
                   11453:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11454:       # instead of lib<name>.a to let people know that these are not
                   11455:       # typical AIX shared libraries.
                   11456:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11457:     else
                   11458:       # We preserve .a as extension for shared libraries through AIX4.2
                   11459:       # and later when we are not doing run time linking.
                   11460:       library_names_spec='${libname}${release}.a $libname.a'
                   11461:       soname_spec='${libname}${release}${shared_ext}$major'
                   11462:     fi
                   11463:     shlibpath_var=LIBPATH
                   11464:   fi
                   11465:   ;;
                   11466: 
                   11467: amigaos*)
                   11468:   case $host_cpu in
                   11469:   powerpc)
                   11470:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11471:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11472:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11473:     ;;
                   11474:   m68k)
                   11475:     library_names_spec='$libname.ixlibrary $libname.a'
                   11476:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11477:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   11478:     ;;
                   11479:   esac
                   11480:   ;;
                   11481: 
                   11482: beos*)
                   11483:   library_names_spec='${libname}${shared_ext}'
                   11484:   dynamic_linker="$host_os ld.so"
                   11485:   shlibpath_var=LIBRARY_PATH
                   11486:   ;;
                   11487: 
                   11488: bsdi[45]*)
                   11489:   version_type=linux # correct to gnu/linux during the next big refactor
                   11490:   need_version=no
                   11491:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11492:   soname_spec='${libname}${release}${shared_ext}$major'
                   11493:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11494:   shlibpath_var=LD_LIBRARY_PATH
                   11495:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11496:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11497:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11498:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11499:   # libtool to hard-code these into programs
                   11500:   ;;
                   11501: 
                   11502: cygwin* | mingw* | pw32* | cegcc*)
                   11503:   version_type=windows
                   11504:   shrext_cmds=".dll"
                   11505:   need_version=no
                   11506:   need_lib_prefix=no
                   11507: 
                   11508:   case $GCC,$cc_basename in
                   11509:   yes,*)
                   11510:     # gcc
                   11511:     library_names_spec='$libname.dll.a'
                   11512:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11513:     postinstall_cmds='base_file=`basename \${file}`~
                   11514:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11515:       dldir=$destdir/`dirname \$dlpath`~
                   11516:       test -d \$dldir || mkdir -p \$dldir~
                   11517:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11518:       chmod a+x \$dldir/$dlname~
                   11519:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11520:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11521:       fi'
                   11522:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11523:       dlpath=$dir/\$dldll~
                   11524:        $RM \$dlpath'
                   11525:     shlibpath_overrides_runpath=yes
                   11526: 
                   11527:     case $host_os in
                   11528:     cygwin*)
                   11529:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11530:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11531: 
                   11532:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11533:       ;;
                   11534:     mingw* | cegcc*)
                   11535:       # MinGW DLLs use traditional 'lib' prefix
                   11536:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11537:       ;;
                   11538:     pw32*)
                   11539:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11540:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11541:       ;;
                   11542:     esac
                   11543:     dynamic_linker='Win32 ld.exe'
                   11544:     ;;
                   11545: 
                   11546:   *,cl*)
                   11547:     # Native MSVC
                   11548:     libname_spec='$name'
                   11549:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11550:     library_names_spec='${libname}.dll.lib'
                   11551: 
                   11552:     case $build_os in
                   11553:     mingw*)
                   11554:       sys_lib_search_path_spec=
                   11555:       lt_save_ifs=$IFS
                   11556:       IFS=';'
                   11557:       for lt_path in $LIB
                   11558:       do
                   11559:         IFS=$lt_save_ifs
                   11560:         # Let DOS variable expansion print the short 8.3 style file name.
                   11561:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11562:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11563:       done
                   11564:       IFS=$lt_save_ifs
                   11565:       # Convert to MSYS style.
                   11566:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11567:       ;;
                   11568:     cygwin*)
                   11569:       # Convert to unix form, then to dos form, then back to unix form
                   11570:       # but this time dos style (no spaces!) so that the unix form looks
                   11571:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11572:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11573:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11574:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11575:       ;;
                   11576:     *)
                   11577:       sys_lib_search_path_spec="$LIB"
                   11578:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11579:         # It is most probably a Windows format PATH.
                   11580:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11581:       else
                   11582:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11583:       fi
                   11584:       # FIXME: find the short name or the path components, as spaces are
                   11585:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11586:       ;;
                   11587:     esac
                   11588: 
                   11589:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11590:     postinstall_cmds='base_file=`basename \${file}`~
                   11591:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11592:       dldir=$destdir/`dirname \$dlpath`~
                   11593:       test -d \$dldir || mkdir -p \$dldir~
                   11594:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11595:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11596:       dlpath=$dir/\$dldll~
                   11597:        $RM \$dlpath'
                   11598:     shlibpath_overrides_runpath=yes
                   11599:     dynamic_linker='Win32 link.exe'
                   11600:     ;;
                   11601: 
                   11602:   *)
                   11603:     # Assume MSVC wrapper
                   11604:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11605:     dynamic_linker='Win32 ld.exe'
                   11606:     ;;
                   11607:   esac
                   11608:   # FIXME: first we should search . and the directory the executable is in
                   11609:   shlibpath_var=PATH
                   11610:   ;;
                   11611: 
                   11612: darwin* | rhapsody*)
                   11613:   dynamic_linker="$host_os dyld"
                   11614:   version_type=darwin
                   11615:   need_lib_prefix=no
                   11616:   need_version=no
                   11617:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11618:   soname_spec='${libname}${release}${major}$shared_ext'
                   11619:   shlibpath_overrides_runpath=yes
                   11620:   shlibpath_var=DYLD_LIBRARY_PATH
                   11621:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11622: 
                   11623:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11624:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11625:   ;;
                   11626: 
                   11627: dgux*)
                   11628:   version_type=linux # correct to gnu/linux during the next big refactor
                   11629:   need_lib_prefix=no
                   11630:   need_version=no
                   11631:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11632:   soname_spec='${libname}${release}${shared_ext}$major'
                   11633:   shlibpath_var=LD_LIBRARY_PATH
                   11634:   ;;
                   11635: 
                   11636: freebsd* | dragonfly*)
                   11637:   # DragonFly does not have aout.  When/if they implement a new
                   11638:   # versioning mechanism, adjust this.
                   11639:   if test -x /usr/bin/objformat; then
                   11640:     objformat=`/usr/bin/objformat`
                   11641:   else
                   11642:     case $host_os in
                   11643:     freebsd[23].*) objformat=aout ;;
                   11644:     *) objformat=elf ;;
                   11645:     esac
                   11646:   fi
                   11647:   version_type=freebsd-$objformat
                   11648:   case $version_type in
                   11649:     freebsd-elf*)
                   11650:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11651:       need_version=no
                   11652:       need_lib_prefix=no
                   11653:       ;;
                   11654:     freebsd-*)
                   11655:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11656:       need_version=yes
                   11657:       ;;
                   11658:   esac
                   11659:   shlibpath_var=LD_LIBRARY_PATH
                   11660:   case $host_os in
                   11661:   freebsd2.*)
                   11662:     shlibpath_overrides_runpath=yes
                   11663:     ;;
                   11664:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11665:     shlibpath_overrides_runpath=yes
                   11666:     hardcode_into_libs=yes
                   11667:     ;;
                   11668:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11669:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11670:     shlibpath_overrides_runpath=no
                   11671:     hardcode_into_libs=yes
                   11672:     ;;
                   11673:   *) # from 4.6 on, and DragonFly
                   11674:     shlibpath_overrides_runpath=yes
                   11675:     hardcode_into_libs=yes
                   11676:     ;;
                   11677:   esac
                   11678:   ;;
                   11679: 
                   11680: gnu*)
                   11681:   version_type=linux # correct to gnu/linux during the next big refactor
                   11682:   need_lib_prefix=no
                   11683:   need_version=no
                   11684:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11685:   soname_spec='${libname}${release}${shared_ext}$major'
                   11686:   shlibpath_var=LD_LIBRARY_PATH
                   11687:   shlibpath_overrides_runpath=no
                   11688:   hardcode_into_libs=yes
                   11689:   ;;
                   11690: 
                   11691: haiku*)
                   11692:   version_type=linux # correct to gnu/linux during the next big refactor
                   11693:   need_lib_prefix=no
                   11694:   need_version=no
                   11695:   dynamic_linker="$host_os runtime_loader"
                   11696:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11697:   soname_spec='${libname}${release}${shared_ext}$major'
                   11698:   shlibpath_var=LIBRARY_PATH
                   11699:   shlibpath_overrides_runpath=yes
                   11700:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11701:   hardcode_into_libs=yes
                   11702:   ;;
                   11703: 
                   11704: hpux9* | hpux10* | hpux11*)
                   11705:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11706:   # link against other versions.
                   11707:   version_type=sunos
                   11708:   need_lib_prefix=no
                   11709:   need_version=no
                   11710:   case $host_cpu in
                   11711:   ia64*)
                   11712:     shrext_cmds='.so'
                   11713:     hardcode_into_libs=yes
                   11714:     dynamic_linker="$host_os dld.so"
                   11715:     shlibpath_var=LD_LIBRARY_PATH
                   11716:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11717:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11718:     soname_spec='${libname}${release}${shared_ext}$major'
                   11719:     if test "X$HPUX_IA64_MODE" = X32; then
                   11720:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11721:     else
                   11722:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11723:     fi
                   11724:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11725:     ;;
                   11726:   hppa*64*)
                   11727:     shrext_cmds='.sl'
                   11728:     hardcode_into_libs=yes
                   11729:     dynamic_linker="$host_os dld.sl"
                   11730:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11731:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11732:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11733:     soname_spec='${libname}${release}${shared_ext}$major'
                   11734:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11735:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11736:     ;;
                   11737:   *)
                   11738:     shrext_cmds='.sl'
                   11739:     dynamic_linker="$host_os dld.sl"
                   11740:     shlibpath_var=SHLIB_PATH
                   11741:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11742:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11743:     soname_spec='${libname}${release}${shared_ext}$major'
                   11744:     ;;
                   11745:   esac
                   11746:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11747:   postinstall_cmds='chmod 555 $lib'
                   11748:   # or fails outright, so override atomically:
                   11749:   install_override_mode=555
                   11750:   ;;
                   11751: 
                   11752: interix[3-9]*)
                   11753:   version_type=linux # correct to gnu/linux during the next big refactor
                   11754:   need_lib_prefix=no
                   11755:   need_version=no
                   11756:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11757:   soname_spec='${libname}${release}${shared_ext}$major'
                   11758:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11759:   shlibpath_var=LD_LIBRARY_PATH
                   11760:   shlibpath_overrides_runpath=no
                   11761:   hardcode_into_libs=yes
                   11762:   ;;
                   11763: 
                   11764: irix5* | irix6* | nonstopux*)
                   11765:   case $host_os in
                   11766:     nonstopux*) version_type=nonstopux ;;
                   11767:     *)
                   11768:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11769:                version_type=linux # correct to gnu/linux during the next big refactor
                   11770:        else
                   11771:                version_type=irix
                   11772:        fi ;;
                   11773:   esac
                   11774:   need_lib_prefix=no
                   11775:   need_version=no
                   11776:   soname_spec='${libname}${release}${shared_ext}$major'
                   11777:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11778:   case $host_os in
                   11779:   irix5* | nonstopux*)
                   11780:     libsuff= shlibsuff=
                   11781:     ;;
                   11782:   *)
                   11783:     case $LD in # libtool.m4 will add one of these switches to LD
                   11784:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11785:       libsuff= shlibsuff= libmagic=32-bit;;
                   11786:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11787:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11788:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11789:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11790:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11791:     esac
                   11792:     ;;
                   11793:   esac
                   11794:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11795:   shlibpath_overrides_runpath=no
                   11796:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11797:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11798:   hardcode_into_libs=yes
                   11799:   ;;
                   11800: 
                   11801: # No shared lib support for Linux oldld, aout, or coff.
                   11802: linux*oldld* | linux*aout* | linux*coff*)
                   11803:   dynamic_linker=no
                   11804:   ;;
                   11805: 
                   11806: # This must be glibc/ELF.
                   11807: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11808:   version_type=linux # correct to gnu/linux during the next big refactor
                   11809:   need_lib_prefix=no
                   11810:   need_version=no
                   11811:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11812:   soname_spec='${libname}${release}${shared_ext}$major'
                   11813:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11814:   shlibpath_var=LD_LIBRARY_PATH
                   11815:   shlibpath_overrides_runpath=no
                   11816: 
                   11817:   # Some binutils ld are patched to set DT_RUNPATH
1.150   ! moko     11818:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
        !          11819:   $as_echo_n "(cached) " >&6
1.128     moko     11820: else
                   11821:   lt_cv_shlibpath_overrides_runpath=no
                   11822:     save_LDFLAGS=$LDFLAGS
                   11823:     save_libdir=$libdir
                   11824:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11825:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150   ! moko     11826:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11827: /* end confdefs.h.  */
                   11828: 
                   11829: int
                   11830: main ()
                   11831: {
                   11832: 
                   11833:   ;
                   11834:   return 0;
                   11835: }
                   11836: _ACEOF
1.150   ! moko     11837: if ac_fn_c_try_link "$LINENO"; then :
        !          11838:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11839:   lt_cv_shlibpath_overrides_runpath=yes
                   11840: fi
                   11841: fi
1.150   ! moko     11842: rm -f core conftest.err conftest.$ac_objext \
        !          11843:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11844:     LDFLAGS=$save_LDFLAGS
                   11845:     libdir=$save_libdir
                   11846: 
                   11847: fi
                   11848: 
                   11849:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11850: 
                   11851:   # This implies no fast_install, which is unacceptable.
                   11852:   # Some rework will be needed to allow for fast_install
                   11853:   # before this can be enabled.
                   11854:   hardcode_into_libs=yes
                   11855: 
                   11856:   # Append ld.so.conf contents to the search path
                   11857:   if test -f /etc/ld.so.conf; then
                   11858:     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' ' '`
                   11859:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11860:   fi
                   11861: 
                   11862:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11863:   # powerpc, because MkLinux only supported shared libraries with the
                   11864:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11865:   # most powerpc-linux boxes support dynamic linking these days and
                   11866:   # people can always --disable-shared, the test was removed, and we
                   11867:   # assume the GNU/Linux dynamic linker is in use.
                   11868:   dynamic_linker='GNU/Linux ld.so'
                   11869:   ;;
                   11870: 
                   11871: netbsd*)
                   11872:   version_type=sunos
                   11873:   need_lib_prefix=no
                   11874:   need_version=no
                   11875:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11876:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11877:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11878:     dynamic_linker='NetBSD (a.out) ld.so'
                   11879:   else
                   11880:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11881:     soname_spec='${libname}${release}${shared_ext}$major'
                   11882:     dynamic_linker='NetBSD ld.elf_so'
                   11883:   fi
                   11884:   shlibpath_var=LD_LIBRARY_PATH
                   11885:   shlibpath_overrides_runpath=yes
                   11886:   hardcode_into_libs=yes
                   11887:   ;;
                   11888: 
                   11889: newsos6)
                   11890:   version_type=linux # correct to gnu/linux during the next big refactor
                   11891:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11892:   shlibpath_var=LD_LIBRARY_PATH
                   11893:   shlibpath_overrides_runpath=yes
                   11894:   ;;
                   11895: 
                   11896: *nto* | *qnx*)
                   11897:   version_type=qnx
                   11898:   need_lib_prefix=no
                   11899:   need_version=no
                   11900:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11901:   soname_spec='${libname}${release}${shared_ext}$major'
                   11902:   shlibpath_var=LD_LIBRARY_PATH
                   11903:   shlibpath_overrides_runpath=no
                   11904:   hardcode_into_libs=yes
                   11905:   dynamic_linker='ldqnx.so'
                   11906:   ;;
                   11907: 
                   11908: openbsd*)
                   11909:   version_type=sunos
                   11910:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11911:   need_lib_prefix=no
                   11912:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11913:   case $host_os in
                   11914:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11915:     *)                         need_version=no  ;;
                   11916:   esac
                   11917:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11918:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11919:   shlibpath_var=LD_LIBRARY_PATH
                   11920:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11921:     case $host_os in
                   11922:       openbsd2.[89] | openbsd2.[89].*)
                   11923:        shlibpath_overrides_runpath=no
                   11924:        ;;
                   11925:       *)
                   11926:        shlibpath_overrides_runpath=yes
                   11927:        ;;
                   11928:       esac
                   11929:   else
                   11930:     shlibpath_overrides_runpath=yes
                   11931:   fi
                   11932:   ;;
                   11933: 
                   11934: os2*)
                   11935:   libname_spec='$name'
                   11936:   shrext_cmds=".dll"
                   11937:   need_lib_prefix=no
                   11938:   library_names_spec='$libname${shared_ext} $libname.a'
                   11939:   dynamic_linker='OS/2 ld.exe'
                   11940:   shlibpath_var=LIBPATH
                   11941:   ;;
                   11942: 
                   11943: osf3* | osf4* | osf5*)
                   11944:   version_type=osf
                   11945:   need_lib_prefix=no
                   11946:   need_version=no
                   11947:   soname_spec='${libname}${release}${shared_ext}$major'
                   11948:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11949:   shlibpath_var=LD_LIBRARY_PATH
                   11950:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11951:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11952:   ;;
                   11953: 
                   11954: rdos*)
                   11955:   dynamic_linker=no
                   11956:   ;;
                   11957: 
                   11958: solaris*)
                   11959:   version_type=linux # correct to gnu/linux during the next big refactor
                   11960:   need_lib_prefix=no
                   11961:   need_version=no
                   11962:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11963:   soname_spec='${libname}${release}${shared_ext}$major'
                   11964:   shlibpath_var=LD_LIBRARY_PATH
                   11965:   shlibpath_overrides_runpath=yes
                   11966:   hardcode_into_libs=yes
                   11967:   # ldd complains unless libraries are executable
                   11968:   postinstall_cmds='chmod +x $lib'
                   11969:   ;;
                   11970: 
                   11971: sunos4*)
                   11972:   version_type=sunos
                   11973:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11974:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11975:   shlibpath_var=LD_LIBRARY_PATH
                   11976:   shlibpath_overrides_runpath=yes
                   11977:   if test "$with_gnu_ld" = yes; then
                   11978:     need_lib_prefix=no
                   11979:   fi
                   11980:   need_version=yes
                   11981:   ;;
                   11982: 
                   11983: sysv4 | sysv4.3*)
                   11984:   version_type=linux # correct to gnu/linux during the next big refactor
                   11985:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11986:   soname_spec='${libname}${release}${shared_ext}$major'
                   11987:   shlibpath_var=LD_LIBRARY_PATH
                   11988:   case $host_vendor in
                   11989:     sni)
                   11990:       shlibpath_overrides_runpath=no
                   11991:       need_lib_prefix=no
                   11992:       runpath_var=LD_RUN_PATH
                   11993:       ;;
                   11994:     siemens)
                   11995:       need_lib_prefix=no
                   11996:       ;;
                   11997:     motorola)
                   11998:       need_lib_prefix=no
                   11999:       need_version=no
                   12000:       shlibpath_overrides_runpath=no
                   12001:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12002:       ;;
                   12003:   esac
                   12004:   ;;
                   12005: 
                   12006: sysv4*MP*)
                   12007:   if test -d /usr/nec ;then
                   12008:     version_type=linux # correct to gnu/linux during the next big refactor
                   12009:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12010:     soname_spec='$libname${shared_ext}.$major'
                   12011:     shlibpath_var=LD_LIBRARY_PATH
                   12012:   fi
                   12013:   ;;
                   12014: 
                   12015: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12016:   version_type=freebsd-elf
                   12017:   need_lib_prefix=no
                   12018:   need_version=no
                   12019:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12020:   soname_spec='${libname}${release}${shared_ext}$major'
                   12021:   shlibpath_var=LD_LIBRARY_PATH
                   12022:   shlibpath_overrides_runpath=yes
                   12023:   hardcode_into_libs=yes
                   12024:   if test "$with_gnu_ld" = yes; then
                   12025:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12026:   else
                   12027:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12028:     case $host_os in
                   12029:       sco3.2v5*)
                   12030:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12031:        ;;
                   12032:     esac
                   12033:   fi
                   12034:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12035:   ;;
                   12036: 
                   12037: tpf*)
                   12038:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12039:   version_type=linux # correct to gnu/linux during the next big refactor
                   12040:   need_lib_prefix=no
                   12041:   need_version=no
                   12042:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12043:   shlibpath_var=LD_LIBRARY_PATH
                   12044:   shlibpath_overrides_runpath=no
                   12045:   hardcode_into_libs=yes
                   12046:   ;;
                   12047: 
                   12048: uts4*)
                   12049:   version_type=linux # correct to gnu/linux during the next big refactor
                   12050:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12051:   soname_spec='${libname}${release}${shared_ext}$major'
                   12052:   shlibpath_var=LD_LIBRARY_PATH
                   12053:   ;;
                   12054: 
                   12055: *)
                   12056:   dynamic_linker=no
                   12057:   ;;
                   12058: esac
1.150   ! moko     12059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
        !          12060: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12061: test "$dynamic_linker" = no && can_build_shared=no
                   12062: 
                   12063: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12064: if test "$GCC" = yes; then
                   12065:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12066: fi
                   12067: 
                   12068: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12069:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12070: fi
                   12071: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12072:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12073: fi
                   12074: 
                   12075: 
                   12076: 
                   12077: 
                   12078: 
                   12079: 
                   12080: 
                   12081: 
                   12082: 
                   12083: 
                   12084: 
                   12085: 
                   12086: 
                   12087: 
                   12088: 
                   12089: 
                   12090: 
                   12091: 
                   12092: 
                   12093: 
                   12094: 
                   12095: 
                   12096: 
                   12097: 
                   12098: 
                   12099: 
                   12100: 
                   12101: 
                   12102: 
                   12103: 
                   12104: 
                   12105: 
                   12106: 
                   12107: 
                   12108: 
                   12109: 
                   12110: 
                   12111: 
                   12112: 
                   12113: 
                   12114: 
                   12115: 
                   12116: 
                   12117: 
                   12118: 
                   12119: 
                   12120: 
                   12121: 
                   12122: 
                   12123: 
                   12124: 
                   12125: 
                   12126: 
                   12127: 
                   12128: 
                   12129: 
                   12130: 
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135: 
                   12136: 
                   12137: 
                   12138: 
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: 
                   12156: 
                   12157: 
                   12158: 
                   12159: 
                   12160: 
                   12161: 
                   12162: 
                   12163: 
                   12164: 
                   12165: 
1.150   ! moko     12166:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
        !          12167: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12168: hardcode_action=
                   12169: if test -n "$hardcode_libdir_flag_spec" ||
                   12170:    test -n "$runpath_var" ||
                   12171:    test "X$hardcode_automatic" = "Xyes" ; then
                   12172: 
                   12173:   # We can hardcode non-existent directories.
                   12174:   if test "$hardcode_direct" != no &&
                   12175:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12176:      # have to relink, otherwise we might link with an installed library
                   12177:      # when we should be linking with a yet-to-be-installed one
                   12178:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12179:      test "$hardcode_minus_L" != no; then
                   12180:     # Linking always hardcodes the temporary library directory.
                   12181:     hardcode_action=relink
                   12182:   else
                   12183:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12184:     hardcode_action=immediate
                   12185:   fi
                   12186: else
                   12187:   # We cannot hardcode anything, or else we can only hardcode existing
                   12188:   # directories.
                   12189:   hardcode_action=unsupported
                   12190: fi
1.150   ! moko     12191: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
        !          12192: $as_echo "$hardcode_action" >&6; }
1.128     moko     12193: 
                   12194: if test "$hardcode_action" = relink ||
                   12195:    test "$inherit_rpath" = yes; then
                   12196:   # Fast installation is not supported
                   12197:   enable_fast_install=no
                   12198: elif test "$shlibpath_overrides_runpath" = yes ||
                   12199:      test "$enable_shared" = no; then
                   12200:   # Fast installation is not necessary
                   12201:   enable_fast_install=needless
                   12202: fi
                   12203: 
                   12204: 
                   12205: 
                   12206: 
                   12207: 
                   12208: 
                   12209:   if test "x$enable_dlopen" != xyes; then
                   12210:   enable_dlopen=unknown
                   12211:   enable_dlopen_self=unknown
                   12212:   enable_dlopen_self_static=unknown
                   12213: else
                   12214:   lt_cv_dlopen=no
                   12215:   lt_cv_dlopen_libs=
                   12216: 
                   12217:   case $host_os in
                   12218:   beos*)
                   12219:     lt_cv_dlopen="load_add_on"
                   12220:     lt_cv_dlopen_libs=
                   12221:     lt_cv_dlopen_self=yes
                   12222:     ;;
                   12223: 
                   12224:   mingw* | pw32* | cegcc*)
                   12225:     lt_cv_dlopen="LoadLibrary"
                   12226:     lt_cv_dlopen_libs=
                   12227:     ;;
                   12228: 
                   12229:   cygwin*)
                   12230:     lt_cv_dlopen="dlopen"
                   12231:     lt_cv_dlopen_libs=
                   12232:     ;;
                   12233: 
                   12234:   darwin*)
                   12235:   # if libdl is installed we need to link against it
1.150   ! moko     12236:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          12237: $as_echo_n "checking for dlopen in -ldl... " >&6; }
        !          12238: if ${ac_cv_lib_dl_dlopen+:} false; then :
        !          12239:   $as_echo_n "(cached) " >&6
1.128     moko     12240: else
                   12241:   ac_check_lib_save_LIBS=$LIBS
                   12242: LIBS="-ldl  $LIBS"
1.150   ! moko     12243: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12244: /* end confdefs.h.  */
                   12245: 
1.150   ! moko     12246: /* Override any GCC internal prototype to avoid an error.
        !          12247:    Use char because int might match the return type of a GCC
        !          12248:    builtin and then its argument prototype would still apply.  */
1.128     moko     12249: #ifdef __cplusplus
                   12250: extern "C"
                   12251: #endif
                   12252: char dlopen ();
                   12253: int
                   12254: main ()
                   12255: {
1.150   ! moko     12256: return dlopen ();
1.128     moko     12257:   ;
                   12258:   return 0;
                   12259: }
                   12260: _ACEOF
1.150   ! moko     12261: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12262:   ac_cv_lib_dl_dlopen=yes
                   12263: else
1.150   ! moko     12264:   ac_cv_lib_dl_dlopen=no
1.128     moko     12265: fi
1.150   ! moko     12266: rm -f core conftest.err conftest.$ac_objext \
        !          12267:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12268: LIBS=$ac_check_lib_save_LIBS
                   12269: fi
1.150   ! moko     12270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          12271: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
        !          12272: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12273:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12274: else
                   12275: 
                   12276:     lt_cv_dlopen="dyld"
                   12277:     lt_cv_dlopen_libs=
                   12278:     lt_cv_dlopen_self=yes
                   12279: 
                   12280: fi
                   12281: 
                   12282:     ;;
                   12283: 
                   12284:   *)
1.150   ! moko     12285:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
        !          12286: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12287:   lt_cv_dlopen="shl_load"
                   12288: else
1.150   ! moko     12289:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
        !          12290: $as_echo_n "checking for shl_load in -ldld... " >&6; }
        !          12291: if ${ac_cv_lib_dld_shl_load+:} false; then :
        !          12292:   $as_echo_n "(cached) " >&6
1.128     moko     12293: else
                   12294:   ac_check_lib_save_LIBS=$LIBS
                   12295: LIBS="-ldld  $LIBS"
1.150   ! moko     12296: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12297: /* end confdefs.h.  */
                   12298: 
1.150   ! moko     12299: /* Override any GCC internal prototype to avoid an error.
        !          12300:    Use char because int might match the return type of a GCC
        !          12301:    builtin and then its argument prototype would still apply.  */
1.128     moko     12302: #ifdef __cplusplus
                   12303: extern "C"
                   12304: #endif
                   12305: char shl_load ();
                   12306: int
                   12307: main ()
                   12308: {
1.150   ! moko     12309: return shl_load ();
1.128     moko     12310:   ;
                   12311:   return 0;
                   12312: }
                   12313: _ACEOF
1.150   ! moko     12314: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12315:   ac_cv_lib_dld_shl_load=yes
                   12316: else
1.150   ! moko     12317:   ac_cv_lib_dld_shl_load=no
1.128     moko     12318: fi
1.150   ! moko     12319: rm -f core conftest.err conftest.$ac_objext \
        !          12320:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12321: LIBS=$ac_check_lib_save_LIBS
                   12322: fi
1.150   ! moko     12323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
        !          12324: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
        !          12325: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12326:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12327: else
1.150   ! moko     12328:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
        !          12329: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12330:   lt_cv_dlopen="dlopen"
                   12331: else
1.150   ! moko     12332:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
        !          12333: $as_echo_n "checking for dlopen in -ldl... " >&6; }
        !          12334: if ${ac_cv_lib_dl_dlopen+:} false; then :
        !          12335:   $as_echo_n "(cached) " >&6
1.128     moko     12336: else
                   12337:   ac_check_lib_save_LIBS=$LIBS
                   12338: LIBS="-ldl  $LIBS"
1.150   ! moko     12339: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12340: /* end confdefs.h.  */
                   12341: 
1.150   ! moko     12342: /* Override any GCC internal prototype to avoid an error.
        !          12343:    Use char because int might match the return type of a GCC
        !          12344:    builtin and then its argument prototype would still apply.  */
1.128     moko     12345: #ifdef __cplusplus
                   12346: extern "C"
                   12347: #endif
                   12348: char dlopen ();
                   12349: int
                   12350: main ()
                   12351: {
1.150   ! moko     12352: return dlopen ();
1.128     moko     12353:   ;
                   12354:   return 0;
                   12355: }
                   12356: _ACEOF
1.150   ! moko     12357: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12358:   ac_cv_lib_dl_dlopen=yes
                   12359: else
1.150   ! moko     12360:   ac_cv_lib_dl_dlopen=no
1.128     moko     12361: fi
1.150   ! moko     12362: rm -f core conftest.err conftest.$ac_objext \
        !          12363:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12364: LIBS=$ac_check_lib_save_LIBS
                   12365: fi
1.150   ! moko     12366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
        !          12367: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
        !          12368: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12369:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12370: else
1.150   ! moko     12371:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
        !          12372: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
        !          12373: if ${ac_cv_lib_svld_dlopen+:} false; then :
        !          12374:   $as_echo_n "(cached) " >&6
1.128     moko     12375: else
                   12376:   ac_check_lib_save_LIBS=$LIBS
                   12377: LIBS="-lsvld  $LIBS"
1.150   ! moko     12378: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12379: /* end confdefs.h.  */
                   12380: 
1.150   ! moko     12381: /* Override any GCC internal prototype to avoid an error.
        !          12382:    Use char because int might match the return type of a GCC
        !          12383:    builtin and then its argument prototype would still apply.  */
1.128     moko     12384: #ifdef __cplusplus
                   12385: extern "C"
                   12386: #endif
                   12387: char dlopen ();
                   12388: int
                   12389: main ()
                   12390: {
1.150   ! moko     12391: return dlopen ();
1.128     moko     12392:   ;
                   12393:   return 0;
                   12394: }
                   12395: _ACEOF
1.150   ! moko     12396: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12397:   ac_cv_lib_svld_dlopen=yes
                   12398: else
1.150   ! moko     12399:   ac_cv_lib_svld_dlopen=no
1.128     moko     12400: fi
1.150   ! moko     12401: rm -f core conftest.err conftest.$ac_objext \
        !          12402:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12403: LIBS=$ac_check_lib_save_LIBS
                   12404: fi
1.150   ! moko     12405: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
        !          12406: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
        !          12407: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12408:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12409: else
1.150   ! moko     12410:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
        !          12411: $as_echo_n "checking for dld_link in -ldld... " >&6; }
        !          12412: if ${ac_cv_lib_dld_dld_link+:} false; then :
        !          12413:   $as_echo_n "(cached) " >&6
1.128     moko     12414: else
                   12415:   ac_check_lib_save_LIBS=$LIBS
                   12416: LIBS="-ldld  $LIBS"
1.150   ! moko     12417: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12418: /* end confdefs.h.  */
                   12419: 
1.150   ! moko     12420: /* Override any GCC internal prototype to avoid an error.
        !          12421:    Use char because int might match the return type of a GCC
        !          12422:    builtin and then its argument prototype would still apply.  */
1.128     moko     12423: #ifdef __cplusplus
                   12424: extern "C"
                   12425: #endif
                   12426: char dld_link ();
                   12427: int
                   12428: main ()
                   12429: {
1.150   ! moko     12430: return dld_link ();
1.128     moko     12431:   ;
                   12432:   return 0;
                   12433: }
                   12434: _ACEOF
1.150   ! moko     12435: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12436:   ac_cv_lib_dld_dld_link=yes
                   12437: else
1.150   ! moko     12438:   ac_cv_lib_dld_dld_link=no
        !          12439: fi
        !          12440: rm -f core conftest.err conftest.$ac_objext \
        !          12441:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12442: LIBS=$ac_check_lib_save_LIBS
                   12443: fi
1.150   ! moko     12444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
        !          12445: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
        !          12446: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12447:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12448: fi
                   12449: 
                   12450: 
                   12451: fi
                   12452: 
                   12453: 
                   12454: fi
                   12455: 
                   12456: 
                   12457: fi
                   12458: 
                   12459: 
                   12460: fi
                   12461: 
                   12462: 
                   12463: fi
                   12464: 
                   12465:     ;;
                   12466:   esac
                   12467: 
                   12468:   if test "x$lt_cv_dlopen" != xno; then
                   12469:     enable_dlopen=yes
                   12470:   else
                   12471:     enable_dlopen=no
                   12472:   fi
                   12473: 
                   12474:   case $lt_cv_dlopen in
                   12475:   dlopen)
                   12476:     save_CPPFLAGS="$CPPFLAGS"
                   12477:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12478: 
                   12479:     save_LDFLAGS="$LDFLAGS"
                   12480:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12481: 
                   12482:     save_LIBS="$LIBS"
                   12483:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12484: 
1.150   ! moko     12485:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
        !          12486: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
        !          12487: if ${lt_cv_dlopen_self+:} false; then :
        !          12488:   $as_echo_n "(cached) " >&6
1.128     moko     12489: else
                   12490:          if test "$cross_compiling" = yes; then :
                   12491:   lt_cv_dlopen_self=cross
                   12492: else
                   12493:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12494:   lt_status=$lt_dlunknown
                   12495:   cat > conftest.$ac_ext <<_LT_EOF
                   12496: #line $LINENO "configure"
                   12497: #include "confdefs.h"
                   12498: 
                   12499: #if HAVE_DLFCN_H
                   12500: #include <dlfcn.h>
                   12501: #endif
                   12502: 
                   12503: #include <stdio.h>
                   12504: 
                   12505: #ifdef RTLD_GLOBAL
                   12506: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12507: #else
                   12508: #  ifdef DL_GLOBAL
                   12509: #    define LT_DLGLOBAL                DL_GLOBAL
                   12510: #  else
                   12511: #    define LT_DLGLOBAL                0
                   12512: #  endif
                   12513: #endif
                   12514: 
                   12515: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12516:    find out it does not work in some platform. */
                   12517: #ifndef LT_DLLAZY_OR_NOW
                   12518: #  ifdef RTLD_LAZY
                   12519: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12520: #  else
                   12521: #    ifdef DL_LAZY
                   12522: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12523: #    else
                   12524: #      ifdef RTLD_NOW
                   12525: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12526: #      else
                   12527: #        ifdef DL_NOW
                   12528: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12529: #        else
                   12530: #          define LT_DLLAZY_OR_NOW     0
                   12531: #        endif
                   12532: #      endif
                   12533: #    endif
                   12534: #  endif
                   12535: #endif
                   12536: 
                   12537: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12538:    correspondingly for the symbols needed.  */
                   12539: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12540: int fnord () __attribute__((visibility("default")));
                   12541: #endif
                   12542: 
                   12543: int fnord () { return 42; }
                   12544: int main ()
                   12545: {
                   12546:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12547:   int status = $lt_dlunknown;
                   12548: 
                   12549:   if (self)
                   12550:     {
                   12551:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12552:       else
                   12553:         {
                   12554:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12555:           else puts (dlerror ());
                   12556:        }
                   12557:       /* dlclose (self); */
                   12558:     }
                   12559:   else
                   12560:     puts (dlerror ());
                   12561: 
                   12562:   return status;
                   12563: }
                   12564: _LT_EOF
1.150   ! moko     12565:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12566:   (eval $ac_link) 2>&5
                   12567:   ac_status=$?
1.150   ! moko     12568:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          12569:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12570:     (./conftest; exit; ) >&5 2>/dev/null
                   12571:     lt_status=$?
                   12572:     case x$lt_status in
                   12573:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12574:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12575:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12576:     esac
                   12577:   else :
                   12578:     # compilation failed
                   12579:     lt_cv_dlopen_self=no
                   12580:   fi
                   12581: fi
                   12582: rm -fr conftest*
                   12583: 
                   12584: 
                   12585: fi
1.150   ! moko     12586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
        !          12587: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12588: 
                   12589:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12590:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150   ! moko     12591:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
        !          12592: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
        !          12593: if ${lt_cv_dlopen_self_static+:} false; then :
        !          12594:   $as_echo_n "(cached) " >&6
1.128     moko     12595: else
                   12596:          if test "$cross_compiling" = yes; then :
                   12597:   lt_cv_dlopen_self_static=cross
                   12598: else
                   12599:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12600:   lt_status=$lt_dlunknown
                   12601:   cat > conftest.$ac_ext <<_LT_EOF
                   12602: #line $LINENO "configure"
                   12603: #include "confdefs.h"
                   12604: 
                   12605: #if HAVE_DLFCN_H
                   12606: #include <dlfcn.h>
                   12607: #endif
                   12608: 
                   12609: #include <stdio.h>
                   12610: 
                   12611: #ifdef RTLD_GLOBAL
                   12612: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12613: #else
                   12614: #  ifdef DL_GLOBAL
                   12615: #    define LT_DLGLOBAL                DL_GLOBAL
                   12616: #  else
                   12617: #    define LT_DLGLOBAL                0
                   12618: #  endif
                   12619: #endif
                   12620: 
                   12621: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12622:    find out it does not work in some platform. */
                   12623: #ifndef LT_DLLAZY_OR_NOW
                   12624: #  ifdef RTLD_LAZY
                   12625: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12626: #  else
                   12627: #    ifdef DL_LAZY
                   12628: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12629: #    else
                   12630: #      ifdef RTLD_NOW
                   12631: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12632: #      else
                   12633: #        ifdef DL_NOW
                   12634: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12635: #        else
                   12636: #          define LT_DLLAZY_OR_NOW     0
                   12637: #        endif
                   12638: #      endif
                   12639: #    endif
                   12640: #  endif
                   12641: #endif
                   12642: 
                   12643: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12644:    correspondingly for the symbols needed.  */
                   12645: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12646: int fnord () __attribute__((visibility("default")));
                   12647: #endif
                   12648: 
                   12649: int fnord () { return 42; }
                   12650: int main ()
                   12651: {
                   12652:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12653:   int status = $lt_dlunknown;
                   12654: 
                   12655:   if (self)
                   12656:     {
                   12657:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12658:       else
                   12659:         {
                   12660:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12661:           else puts (dlerror ());
                   12662:        }
                   12663:       /* dlclose (self); */
                   12664:     }
                   12665:   else
                   12666:     puts (dlerror ());
                   12667: 
                   12668:   return status;
                   12669: }
                   12670: _LT_EOF
1.150   ! moko     12671:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12672:   (eval $ac_link) 2>&5
                   12673:   ac_status=$?
1.150   ! moko     12674:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          12675:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12676:     (./conftest; exit; ) >&5 2>/dev/null
                   12677:     lt_status=$?
                   12678:     case x$lt_status in
                   12679:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12680:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12681:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12682:     esac
                   12683:   else :
                   12684:     # compilation failed
                   12685:     lt_cv_dlopen_self_static=no
                   12686:   fi
                   12687: fi
                   12688: rm -fr conftest*
                   12689: 
                   12690: 
                   12691: fi
1.150   ! moko     12692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
        !          12693: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12694:     fi
                   12695: 
                   12696:     CPPFLAGS="$save_CPPFLAGS"
                   12697:     LDFLAGS="$save_LDFLAGS"
                   12698:     LIBS="$save_LIBS"
                   12699:     ;;
                   12700:   esac
                   12701: 
                   12702:   case $lt_cv_dlopen_self in
                   12703:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12704:   *) enable_dlopen_self=unknown ;;
                   12705:   esac
                   12706: 
                   12707:   case $lt_cv_dlopen_self_static in
                   12708:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12709:   *) enable_dlopen_self_static=unknown ;;
                   12710:   esac
                   12711: fi
                   12712: 
                   12713: 
                   12714: 
                   12715: 
                   12716: 
                   12717: 
                   12718: 
                   12719: 
                   12720: 
                   12721: 
                   12722: 
                   12723: 
                   12724: 
                   12725: 
                   12726: 
                   12727: 
                   12728: 
                   12729: striplib=
                   12730: old_striplib=
1.150   ! moko     12731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
        !          12732: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12733: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12734:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12735:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150   ! moko     12736:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          12737: $as_echo "yes" >&6; }
1.128     moko     12738: else
                   12739: # FIXME - insert some real tests, host_os isn't really good enough
                   12740:   case $host_os in
                   12741:   darwin*)
                   12742:     if test -n "$STRIP" ; then
                   12743:       striplib="$STRIP -x"
                   12744:       old_striplib="$STRIP -S"
1.150   ! moko     12745:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          12746: $as_echo "yes" >&6; }
1.128     moko     12747:     else
1.150   ! moko     12748:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          12749: $as_echo "no" >&6; }
1.128     moko     12750:     fi
                   12751:     ;;
                   12752:   *)
1.150   ! moko     12753:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          12754: $as_echo "no" >&6; }
1.128     moko     12755:     ;;
                   12756:   esac
                   12757: fi
                   12758: 
                   12759: 
                   12760: 
                   12761: 
                   12762: 
                   12763: 
                   12764: 
                   12765: 
                   12766: 
                   12767: 
                   12768: 
                   12769: 
                   12770:   # Report which library types will actually be built
1.150   ! moko     12771:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
        !          12772: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
        !          12773:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
        !          12774: $as_echo "$can_build_shared" >&6; }
1.128     moko     12775: 
1.150   ! moko     12776:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
        !          12777: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12778:   test "$can_build_shared" = "no" && enable_shared=no
                   12779: 
                   12780:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12781:   # are all built from PIC.
                   12782:   case $host_os in
                   12783:   aix3*)
                   12784:     test "$enable_shared" = yes && enable_static=no
                   12785:     if test -n "$RANLIB"; then
                   12786:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12787:       postinstall_cmds='$RANLIB $lib'
                   12788:     fi
                   12789:     ;;
                   12790: 
                   12791:   aix[4-9]*)
                   12792:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12793:       test "$enable_shared" = yes && enable_static=no
                   12794:     fi
                   12795:     ;;
                   12796:   esac
1.150   ! moko     12797:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
        !          12798: $as_echo "$enable_shared" >&6; }
1.128     moko     12799: 
1.150   ! moko     12800:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
        !          12801: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12802:   # Make sure either enable_shared or enable_static is yes.
                   12803:   test "$enable_shared" = yes || enable_static=yes
1.150   ! moko     12804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
        !          12805: $as_echo "$enable_static" >&6; }
1.128     moko     12806: 
                   12807: 
                   12808: 
                   12809: 
                   12810: fi
                   12811: ac_ext=c
                   12812: ac_cpp='$CPP $CPPFLAGS'
                   12813: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12814: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12815: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12816: 
                   12817: CC="$lt_save_CC"
                   12818: 
                   12819:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12820:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12821:     (test "X$CXX" != "Xg++"))) ; then
1.150   ! moko     12822:   ac_ext=cpp
1.128     moko     12823: ac_cpp='$CXXCPP $CPPFLAGS'
                   12824: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12825: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12826: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150   ! moko     12827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
        !          12828: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12829: if test -z "$CXXCPP"; then
1.150   ! moko     12830:   if ${ac_cv_prog_CXXCPP+:} false; then :
        !          12831:   $as_echo_n "(cached) " >&6
1.128     moko     12832: else
                   12833:       # Double quotes because CXXCPP needs to be expanded
                   12834:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12835:     do
                   12836:       ac_preproc_ok=false
                   12837: for ac_cxx_preproc_warn_flag in '' yes
                   12838: do
                   12839:   # Use a header file that comes with gcc, so configuring glibc
                   12840:   # with a fresh cross-compiler works.
                   12841:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12842:   # <limits.h> exists even on freestanding compilers.
                   12843:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12844:   # not just through cpp. "Syntax error" is here to catch this case.
1.150   ! moko     12845:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12846: /* end confdefs.h.  */
                   12847: #ifdef __STDC__
                   12848: # include <limits.h>
                   12849: #else
                   12850: # include <assert.h>
                   12851: #endif
                   12852:                     Syntax error
                   12853: _ACEOF
1.150   ! moko     12854: if ac_fn_cxx_try_cpp "$LINENO"; then :
        !          12855: 
1.128     moko     12856: else
                   12857:   # Broken: fails on valid input.
                   12858: continue
                   12859: fi
1.150   ! moko     12860: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12861: 
1.150   ! moko     12862:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12863:   # can be detected and how.
1.150   ! moko     12864:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12865: /* end confdefs.h.  */
                   12866: #include <ac_nonexistent.h>
                   12867: _ACEOF
1.150   ! moko     12868: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12869:   # Broken: success on invalid input.
                   12870: continue
                   12871: else
                   12872:   # Passes both tests.
                   12873: ac_preproc_ok=:
                   12874: break
                   12875: fi
1.150   ! moko     12876: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12877: 
                   12878: done
                   12879: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150   ! moko     12880: rm -f conftest.i conftest.err conftest.$ac_ext
        !          12881: if $ac_preproc_ok; then :
1.128     moko     12882:   break
                   12883: fi
                   12884: 
                   12885:     done
                   12886:     ac_cv_prog_CXXCPP=$CXXCPP
                   12887: 
                   12888: fi
                   12889:   CXXCPP=$ac_cv_prog_CXXCPP
                   12890: else
                   12891:   ac_cv_prog_CXXCPP=$CXXCPP
                   12892: fi
1.150   ! moko     12893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
        !          12894: $as_echo "$CXXCPP" >&6; }
1.128     moko     12895: ac_preproc_ok=false
                   12896: for ac_cxx_preproc_warn_flag in '' yes
                   12897: do
                   12898:   # Use a header file that comes with gcc, so configuring glibc
                   12899:   # with a fresh cross-compiler works.
                   12900:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12901:   # <limits.h> exists even on freestanding compilers.
                   12902:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12903:   # not just through cpp. "Syntax error" is here to catch this case.
1.150   ! moko     12904:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12905: /* end confdefs.h.  */
                   12906: #ifdef __STDC__
                   12907: # include <limits.h>
                   12908: #else
                   12909: # include <assert.h>
                   12910: #endif
                   12911:                     Syntax error
                   12912: _ACEOF
1.150   ! moko     12913: if ac_fn_cxx_try_cpp "$LINENO"; then :
        !          12914: 
1.128     moko     12915: else
                   12916:   # Broken: fails on valid input.
                   12917: continue
                   12918: fi
1.150   ! moko     12919: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12920: 
1.150   ! moko     12921:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12922:   # can be detected and how.
1.150   ! moko     12923:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12924: /* end confdefs.h.  */
                   12925: #include <ac_nonexistent.h>
                   12926: _ACEOF
1.150   ! moko     12927: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12928:   # Broken: success on invalid input.
                   12929: continue
                   12930: else
                   12931:   # Passes both tests.
                   12932: ac_preproc_ok=:
                   12933: break
                   12934: fi
1.150   ! moko     12935: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12936: 
                   12937: done
                   12938: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150   ! moko     12939: rm -f conftest.i conftest.err conftest.$ac_ext
        !          12940: if $ac_preproc_ok; then :
        !          12941: 
1.128     moko     12942: else
1.150   ! moko     12943:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          12944: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          12945: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
        !          12946: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     12947: fi
                   12948: 
                   12949: ac_ext=c
                   12950: ac_cpp='$CPP $CPPFLAGS'
                   12951: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12952: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12953: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12954: 
                   12955: else
                   12956:   _lt_caught_CXX_error=yes
                   12957: fi
                   12958: 
1.150   ! moko     12959: ac_ext=cpp
1.128     moko     12960: ac_cpp='$CXXCPP $CPPFLAGS'
                   12961: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12962: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12963: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12964: 
                   12965: archive_cmds_need_lc_CXX=no
                   12966: allow_undefined_flag_CXX=
                   12967: always_export_symbols_CXX=no
                   12968: archive_expsym_cmds_CXX=
                   12969: compiler_needs_object_CXX=no
                   12970: export_dynamic_flag_spec_CXX=
                   12971: hardcode_direct_CXX=no
                   12972: hardcode_direct_absolute_CXX=no
                   12973: hardcode_libdir_flag_spec_CXX=
                   12974: hardcode_libdir_separator_CXX=
                   12975: hardcode_minus_L_CXX=no
                   12976: hardcode_shlibpath_var_CXX=unsupported
                   12977: hardcode_automatic_CXX=no
                   12978: inherit_rpath_CXX=no
                   12979: module_cmds_CXX=
                   12980: module_expsym_cmds_CXX=
                   12981: link_all_deplibs_CXX=unknown
                   12982: old_archive_cmds_CXX=$old_archive_cmds
                   12983: reload_flag_CXX=$reload_flag
                   12984: reload_cmds_CXX=$reload_cmds
                   12985: no_undefined_flag_CXX=
                   12986: whole_archive_flag_spec_CXX=
                   12987: enable_shared_with_static_runtimes_CXX=no
                   12988: 
                   12989: # Source file extension for C++ test sources.
                   12990: ac_ext=cpp
                   12991: 
                   12992: # Object file extension for compiled C++ test sources.
                   12993: objext=o
                   12994: objext_CXX=$objext
                   12995: 
                   12996: # No sense in running all these tests if we already determined that
                   12997: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12998: # are currently assumed to apply to all compilers on this platform,
                   12999: # and will be corrupted by setting them based on a non-working compiler.
                   13000: if test "$_lt_caught_CXX_error" != yes; then
                   13001:   # Code to be used in simple compile tests
                   13002:   lt_simple_compile_test_code="int some_variable = 0;"
                   13003: 
                   13004:   # Code to be used in simple link tests
                   13005:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13006: 
                   13007:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13008: 
                   13009: 
                   13010: 
                   13011: 
                   13012: 
                   13013: 
                   13014: # If no C compiler was specified, use CC.
                   13015: LTCC=${LTCC-"$CC"}
                   13016: 
                   13017: # If no C compiler flags were specified, use CFLAGS.
                   13018: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13019: 
                   13020: # Allow CC to be a program name with arguments.
                   13021: compiler=$CC
                   13022: 
                   13023: 
                   13024:   # save warnings/boilerplate of simple test code
                   13025:   ac_outfile=conftest.$ac_objext
                   13026: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13027: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13028: _lt_compiler_boilerplate=`cat conftest.err`
                   13029: $RM conftest*
                   13030: 
                   13031:   ac_outfile=conftest.$ac_objext
                   13032: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13033: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13034: _lt_linker_boilerplate=`cat conftest.err`
                   13035: $RM -r conftest*
                   13036: 
                   13037: 
                   13038:   # Allow CC to be a program name with arguments.
                   13039:   lt_save_CC=$CC
                   13040:   lt_save_CFLAGS=$CFLAGS
                   13041:   lt_save_LD=$LD
                   13042:   lt_save_GCC=$GCC
                   13043:   GCC=$GXX
                   13044:   lt_save_with_gnu_ld=$with_gnu_ld
                   13045:   lt_save_path_LD=$lt_cv_path_LD
                   13046:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13047:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13048:   else
                   13049:     $as_unset lt_cv_prog_gnu_ld
                   13050:   fi
                   13051:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13052:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13053:   else
                   13054:     $as_unset lt_cv_path_LD
                   13055:   fi
                   13056:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13057:   CC=${CXX-"c++"}
                   13058:   CFLAGS=$CXXFLAGS
                   13059:   compiler=$CC
                   13060:   compiler_CXX=$CC
                   13061:   for cc_temp in $compiler""; do
                   13062:   case $cc_temp in
                   13063:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13064:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13065:     \-*) ;;
                   13066:     *) break;;
                   13067:   esac
                   13068: done
                   13069: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13070: 
                   13071: 
                   13072:   if test -n "$compiler"; then
                   13073:     # We don't want -fno-exception when compiling C++ code, so set the
                   13074:     # no_builtin_flag separately
                   13075:     if test "$GXX" = yes; then
                   13076:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13077:     else
                   13078:       lt_prog_compiler_no_builtin_flag_CXX=
                   13079:     fi
                   13080: 
                   13081:     if test "$GXX" = yes; then
                   13082:       # Set up default GNU C++ configuration
                   13083: 
                   13084: 
                   13085: 
1.150   ! moko     13086: # Check whether --with-gnu-ld was given.
        !          13087: if test "${with_gnu_ld+set}" = set; then :
        !          13088:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13089: else
                   13090:   with_gnu_ld=no
1.150   ! moko     13091: fi
        !          13092: 
1.128     moko     13093: ac_prog=ld
                   13094: if test "$GCC" = yes; then
                   13095:   # Check if gcc -print-prog-name=ld gives a path.
1.150   ! moko     13096:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          13097: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13098:   case $host in
                   13099:   *-*-mingw*)
                   13100:     # gcc leaves a trailing carriage return which upsets mingw
                   13101:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13102:   *)
                   13103:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13104:   esac
                   13105:   case $ac_prog in
                   13106:     # Accept absolute paths.
                   13107:     [\\/]* | ?:[\\/]*)
                   13108:       re_direlt='/[^/][^/]*/\.\./'
                   13109:       # Canonicalize the pathname of ld
                   13110:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13111:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13112:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13113:       done
                   13114:       test -z "$LD" && LD="$ac_prog"
                   13115:       ;;
                   13116:   "")
                   13117:     # If it fails, then pretend we aren't using GCC.
                   13118:     ac_prog=ld
                   13119:     ;;
                   13120:   *)
                   13121:     # If it is relative, then search for the first ld in PATH.
                   13122:     with_gnu_ld=unknown
                   13123:     ;;
                   13124:   esac
                   13125: elif test "$with_gnu_ld" = yes; then
1.150   ! moko     13126:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
        !          13127: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13128: else
1.150   ! moko     13129:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
        !          13130: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13131: fi
1.150   ! moko     13132: if ${lt_cv_path_LD+:} false; then :
        !          13133:   $as_echo_n "(cached) " >&6
1.128     moko     13134: else
                   13135:   if test -z "$LD"; then
                   13136:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13137:   for ac_dir in $PATH; do
                   13138:     IFS="$lt_save_ifs"
                   13139:     test -z "$ac_dir" && ac_dir=.
                   13140:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13141:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13142:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13143:       # but apparently some variants of GNU ld only accept -v.
                   13144:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13145:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13146:       *GNU* | *'with BFD'*)
                   13147:        test "$with_gnu_ld" != no && break
                   13148:        ;;
                   13149:       *)
                   13150:        test "$with_gnu_ld" != yes && break
                   13151:        ;;
                   13152:       esac
                   13153:     fi
                   13154:   done
                   13155:   IFS="$lt_save_ifs"
                   13156: else
                   13157:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13158: fi
                   13159: fi
                   13160: 
                   13161: LD="$lt_cv_path_LD"
                   13162: if test -n "$LD"; then
1.150   ! moko     13163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
        !          13164: $as_echo "$LD" >&6; }
1.128     moko     13165: else
1.150   ! moko     13166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13167: $as_echo "no" >&6; }
1.128     moko     13168: fi
1.150   ! moko     13169: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
        !          13170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
        !          13171: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
        !          13172: if ${lt_cv_prog_gnu_ld+:} false; then :
        !          13173:   $as_echo_n "(cached) " >&6
1.128     moko     13174: else
                   13175:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13176: case `$LD -v 2>&1 </dev/null` in
                   13177: *GNU* | *'with BFD'*)
                   13178:   lt_cv_prog_gnu_ld=yes
                   13179:   ;;
                   13180: *)
                   13181:   lt_cv_prog_gnu_ld=no
                   13182:   ;;
                   13183: esac
                   13184: fi
1.150   ! moko     13185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
        !          13186: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13187: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13188: 
                   13189: 
                   13190: 
                   13191: 
                   13192: 
                   13193: 
                   13194: 
                   13195:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13196:       # archiving commands below assume that GNU ld is being used.
                   13197:       if test "$with_gnu_ld" = yes; then
                   13198:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13199:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13200: 
                   13201:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13202:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13203: 
                   13204:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13205:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13206:         #     investigate it a little bit more. (MM)
                   13207:         wlarc='${wl}'
                   13208: 
                   13209:         # ancient GNU ld didn't support --whole-archive et. al.
                   13210:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13211:          $GREP 'no-whole-archive' > /dev/null; then
                   13212:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13213:         else
                   13214:           whole_archive_flag_spec_CXX=
                   13215:         fi
                   13216:       else
                   13217:         with_gnu_ld=no
                   13218:         wlarc=
                   13219: 
                   13220:         # A generic and very simple default shared library creation
                   13221:         # command for GNU C++ for the case where it uses the native
                   13222:         # linker, instead of GNU ld.  If possible, this setting should
                   13223:         # overridden to take advantage of the native linker features on
                   13224:         # the platform it is being used on.
                   13225:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13226:       fi
                   13227: 
                   13228:       # Commands to make compiler produce verbose output that lists
                   13229:       # what "hidden" libraries, object files and flags are used when
                   13230:       # linking a shared library.
                   13231:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13232: 
                   13233:     else
                   13234:       GXX=no
                   13235:       with_gnu_ld=no
                   13236:       wlarc=
                   13237:     fi
                   13238: 
                   13239:     # PORTME: fill in a description of your system's C++ link characteristics
1.150   ! moko     13240:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        !          13241: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13242:     ld_shlibs_CXX=yes
                   13243:     case $host_os in
                   13244:       aix3*)
                   13245:         # FIXME: insert proper C++ library support
                   13246:         ld_shlibs_CXX=no
                   13247:         ;;
                   13248:       aix[4-9]*)
                   13249:         if test "$host_cpu" = ia64; then
                   13250:           # On IA64, the linker does run time linking by default, so we don't
                   13251:           # have to do anything special.
                   13252:           aix_use_runtimelinking=no
                   13253:           exp_sym_flag='-Bexport'
                   13254:           no_entry_flag=""
                   13255:         else
                   13256:           aix_use_runtimelinking=no
                   13257: 
                   13258:           # Test if we are trying to use run time linking or normal
                   13259:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13260:           # need to do runtime linking.
                   13261:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13262:            for ld_flag in $LDFLAGS; do
                   13263:              case $ld_flag in
                   13264:              *-brtl*)
                   13265:                aix_use_runtimelinking=yes
                   13266:                break
                   13267:                ;;
                   13268:              esac
                   13269:            done
                   13270:            ;;
                   13271:           esac
                   13272: 
                   13273:           exp_sym_flag='-bexport'
                   13274:           no_entry_flag='-bnoentry'
                   13275:         fi
                   13276: 
                   13277:         # When large executables or shared objects are built, AIX ld can
                   13278:         # have problems creating the table of contents.  If linking a library
                   13279:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13280:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13281:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13282: 
                   13283:         archive_cmds_CXX=''
                   13284:         hardcode_direct_CXX=yes
                   13285:         hardcode_direct_absolute_CXX=yes
                   13286:         hardcode_libdir_separator_CXX=':'
                   13287:         link_all_deplibs_CXX=yes
                   13288:         file_list_spec_CXX='${wl}-f,'
                   13289: 
                   13290:         if test "$GXX" = yes; then
                   13291:           case $host_os in aix4.[012]|aix4.[012].*)
                   13292:           # We only want to do this on AIX 4.2 and lower, the check
                   13293:           # below for broken collect2 doesn't work under 4.3+
                   13294:          collect2name=`${CC} -print-prog-name=collect2`
                   13295:          if test -f "$collect2name" &&
                   13296:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13297:          then
                   13298:            # We have reworked collect2
                   13299:            :
                   13300:          else
                   13301:            # We have old collect2
                   13302:            hardcode_direct_CXX=unsupported
                   13303:            # It fails to find uninstalled libraries when the uninstalled
                   13304:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13305:            # to unsupported forces relinking
                   13306:            hardcode_minus_L_CXX=yes
                   13307:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13308:            hardcode_libdir_separator_CXX=
                   13309:          fi
                   13310:           esac
                   13311:           shared_flag='-shared'
                   13312:          if test "$aix_use_runtimelinking" = yes; then
                   13313:            shared_flag="$shared_flag "'${wl}-G'
                   13314:          fi
                   13315:         else
                   13316:           # not using gcc
                   13317:           if test "$host_cpu" = ia64; then
                   13318:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13319:          # chokes on -Wl,-G. The following line is correct:
                   13320:          shared_flag='-G'
                   13321:           else
                   13322:            if test "$aix_use_runtimelinking" = yes; then
                   13323:              shared_flag='${wl}-G'
                   13324:            else
                   13325:              shared_flag='${wl}-bM:SRE'
                   13326:            fi
                   13327:           fi
                   13328:         fi
                   13329: 
                   13330:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13331:         # It seems that -bexpall does not export symbols beginning with
                   13332:         # underscore (_), so it is better to generate a list of symbols to
                   13333:        # export.
                   13334:         always_export_symbols_CXX=yes
                   13335:         if test "$aix_use_runtimelinking" = yes; then
                   13336:           # Warning - without using the other runtime loading flags (-brtl),
                   13337:           # -berok will link without error, but may produce a broken library.
                   13338:           allow_undefined_flag_CXX='-berok'
                   13339:           # Determine the default libpath from the value encoded in an empty
                   13340:           # executable.
                   13341:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13342:   aix_libpath=$lt_cv_aix_libpath
                   13343: else
1.150   ! moko     13344:   if ${lt_cv_aix_libpath__CXX+:} false; then :
        !          13345:   $as_echo_n "(cached) " >&6
1.128     moko     13346: else
1.150   ! moko     13347:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13348: /* end confdefs.h.  */
                   13349: 
                   13350: int
                   13351: main ()
                   13352: {
                   13353: 
                   13354:   ;
                   13355:   return 0;
                   13356: }
                   13357: _ACEOF
1.150   ! moko     13358: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13359: 
                   13360:   lt_aix_libpath_sed='
                   13361:       /Import File Strings/,/^$/ {
                   13362:          /^0/ {
                   13363:              s/^0  *\([^ ]*\) *$/\1/
                   13364:              p
                   13365:          }
                   13366:       }'
                   13367:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13368:   # Check for a 64-bit object if we didn't find anything.
                   13369:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13370:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13371:   fi
                   13372: fi
1.150   ! moko     13373: rm -f core conftest.err conftest.$ac_objext \
        !          13374:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13375:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13376:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13377:   fi
                   13378: 
                   13379: fi
                   13380: 
                   13381:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13382: fi
                   13383: 
                   13384:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13385: 
                   13386:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   13387:         else
                   13388:           if test "$host_cpu" = ia64; then
                   13389:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13390:            allow_undefined_flag_CXX="-z nodefs"
                   13391:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
                   13392:           else
                   13393:            # Determine the default libpath from the value encoded in an
                   13394:            # empty executable.
                   13395:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13396:   aix_libpath=$lt_cv_aix_libpath
                   13397: else
1.150   ! moko     13398:   if ${lt_cv_aix_libpath__CXX+:} false; then :
        !          13399:   $as_echo_n "(cached) " >&6
1.128     moko     13400: else
1.150   ! moko     13401:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13402: /* end confdefs.h.  */
                   13403: 
                   13404: int
                   13405: main ()
                   13406: {
                   13407: 
                   13408:   ;
                   13409:   return 0;
                   13410: }
                   13411: _ACEOF
1.150   ! moko     13412: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13413: 
                   13414:   lt_aix_libpath_sed='
                   13415:       /Import File Strings/,/^$/ {
                   13416:          /^0/ {
                   13417:              s/^0  *\([^ ]*\) *$/\1/
                   13418:              p
                   13419:          }
                   13420:       }'
                   13421:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13422:   # Check for a 64-bit object if we didn't find anything.
                   13423:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13424:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13425:   fi
                   13426: fi
1.150   ! moko     13427: rm -f core conftest.err conftest.$ac_objext \
        !          13428:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13429:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13430:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13431:   fi
                   13432: 
                   13433: fi
                   13434: 
                   13435:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13436: fi
                   13437: 
                   13438:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13439:            # Warning - without using the other run time loading flags,
                   13440:            # -berok will link without error, but may produce a broken library.
                   13441:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13442:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13443:            if test "$with_gnu_ld" = yes; then
                   13444:              # We only use this code for GNU lds that support --whole-archive.
                   13445:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13446:            else
                   13447:              # Exported symbols can be pulled into shared objects from archives
                   13448:              whole_archive_flag_spec_CXX='$convenience'
                   13449:            fi
                   13450:            archive_cmds_need_lc_CXX=yes
                   13451:            # This is similar to how AIX traditionally builds its shared
                   13452:            # libraries.
                   13453:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   13454:           fi
                   13455:         fi
                   13456:         ;;
                   13457: 
                   13458:       beos*)
                   13459:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13460:          allow_undefined_flag_CXX=unsupported
                   13461:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13462:          # support --undefined.  This deserves some investigation.  FIXME
                   13463:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13464:        else
                   13465:          ld_shlibs_CXX=no
                   13466:        fi
                   13467:        ;;
                   13468: 
                   13469:       chorus*)
                   13470:         case $cc_basename in
                   13471:           *)
                   13472:          # FIXME: insert proper C++ library support
                   13473:          ld_shlibs_CXX=no
                   13474:          ;;
                   13475:         esac
                   13476:         ;;
                   13477: 
                   13478:       cygwin* | mingw* | pw32* | cegcc*)
                   13479:        case $GXX,$cc_basename in
                   13480:        ,cl* | no,cl*)
                   13481:          # Native MSVC
                   13482:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13483:          # no search path for DLLs.
                   13484:          hardcode_libdir_flag_spec_CXX=' '
                   13485:          allow_undefined_flag_CXX=unsupported
                   13486:          always_export_symbols_CXX=yes
                   13487:          file_list_spec_CXX='@'
                   13488:          # Tell ltmain to make .lib files, not .a files.
                   13489:          libext=lib
                   13490:          # Tell ltmain to make .dll files, not .so files.
                   13491:          shrext_cmds=".dll"
                   13492:          # FIXME: Setting linknames here is a bad hack.
                   13493:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13494:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13495:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13496:            else
                   13497:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13498:            fi~
                   13499:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13500:            linknames='
                   13501:          # The linker will not automatically build a static lib if we build a DLL.
                   13502:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13503:          enable_shared_with_static_runtimes_CXX=yes
                   13504:          # Don't use ranlib
                   13505:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13506:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13507:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13508:            case $lt_outputfile in
                   13509:              *.exe|*.EXE) ;;
                   13510:              *)
                   13511:                lt_outputfile="$lt_outputfile.exe"
                   13512:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13513:                ;;
                   13514:            esac~
                   13515:            func_to_tool_file "$lt_outputfile"~
                   13516:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13517:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13518:              $RM "$lt_outputfile.manifest";
                   13519:            fi'
                   13520:          ;;
                   13521:        *)
                   13522:          # g++
                   13523:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13524:          # as there is no search path for DLLs.
                   13525:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13526:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13527:          allow_undefined_flag_CXX=unsupported
                   13528:          always_export_symbols_CXX=no
                   13529:          enable_shared_with_static_runtimes_CXX=yes
                   13530: 
                   13531:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13532:            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   13533:            # If the export-symbols file already is a .def file (1st line
                   13534:            # is EXPORTS), use it as is; otherwise, prepend...
                   13535:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13536:              cp $export_symbols $output_objdir/$soname.def;
                   13537:            else
                   13538:              echo EXPORTS > $output_objdir/$soname.def;
                   13539:              cat $export_symbols >> $output_objdir/$soname.def;
                   13540:            fi~
                   13541:            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   13542:          else
                   13543:            ld_shlibs_CXX=no
                   13544:          fi
                   13545:          ;;
                   13546:        esac
                   13547:        ;;
                   13548:       darwin* | rhapsody*)
                   13549: 
                   13550: 
                   13551:   archive_cmds_need_lc_CXX=no
                   13552:   hardcode_direct_CXX=no
                   13553:   hardcode_automatic_CXX=yes
                   13554:   hardcode_shlibpath_var_CXX=unsupported
                   13555:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13556:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   13557: 
                   13558:   else
                   13559:     whole_archive_flag_spec_CXX=''
                   13560:   fi
                   13561:   link_all_deplibs_CXX=yes
                   13562:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13563:   case $cc_basename in
                   13564:      ifort*) _lt_dar_can_shared=yes ;;
                   13565:      *) _lt_dar_can_shared=$GCC ;;
                   13566:   esac
                   13567:   if test "$_lt_dar_can_shared" = "yes"; then
                   13568:     output_verbose_link_cmd=func_echo_all
                   13569:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   13570:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13571:     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
                   13572:     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
                   13573:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13574:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
                   13575:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
                   13576:     fi
                   13577: 
                   13578:   else
                   13579:   ld_shlibs_CXX=no
                   13580:   fi
                   13581: 
                   13582:        ;;
                   13583: 
                   13584:       dgux*)
                   13585:         case $cc_basename in
                   13586:           ec++*)
                   13587:            # FIXME: insert proper C++ library support
                   13588:            ld_shlibs_CXX=no
                   13589:            ;;
                   13590:           ghcx*)
                   13591:            # Green Hills C++ Compiler
                   13592:            # FIXME: insert proper C++ library support
                   13593:            ld_shlibs_CXX=no
                   13594:            ;;
                   13595:           *)
                   13596:            # FIXME: insert proper C++ library support
                   13597:            ld_shlibs_CXX=no
                   13598:            ;;
                   13599:         esac
                   13600:         ;;
                   13601: 
                   13602:       freebsd2.*)
                   13603:         # C++ shared libraries reported to be fairly broken before
                   13604:        # switch to ELF
                   13605:         ld_shlibs_CXX=no
                   13606:         ;;
                   13607: 
                   13608:       freebsd-elf*)
                   13609:         archive_cmds_need_lc_CXX=no
                   13610:         ;;
                   13611: 
                   13612:       freebsd* | dragonfly*)
                   13613:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13614:         # conventions
                   13615:         ld_shlibs_CXX=yes
                   13616:         ;;
                   13617: 
                   13618:       gnu*)
                   13619:         ;;
                   13620: 
                   13621:       haiku*)
                   13622:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13623:         link_all_deplibs_CXX=yes
                   13624:         ;;
                   13625: 
                   13626:       hpux9*)
                   13627:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13628:         hardcode_libdir_separator_CXX=:
                   13629:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13630:         hardcode_direct_CXX=yes
                   13631:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13632:                                             # but as the default
                   13633:                                             # location of the library.
                   13634: 
                   13635:         case $cc_basename in
                   13636:           CC*)
                   13637:             # FIXME: insert proper C++ library support
                   13638:             ld_shlibs_CXX=no
                   13639:             ;;
                   13640:           aCC*)
                   13641:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   13642:             # Commands to make compiler produce verbose output that lists
                   13643:             # what "hidden" libraries, object files and flags are used when
                   13644:             # linking a shared library.
                   13645:             #
                   13646:             # There doesn't appear to be a way to prevent this compiler from
                   13647:             # explicitly linking system object files so we need to strip them
                   13648:             # from the output so that they don't get included in the library
                   13649:             # dependencies.
                   13650:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13651:             ;;
                   13652:           *)
                   13653:             if test "$GXX" = yes; then
                   13654:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   13655:             else
                   13656:               # FIXME: insert proper C++ library support
                   13657:               ld_shlibs_CXX=no
                   13658:             fi
                   13659:             ;;
                   13660:         esac
                   13661:         ;;
                   13662: 
                   13663:       hpux10*|hpux11*)
                   13664:         if test $with_gnu_ld = no; then
                   13665:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13666:          hardcode_libdir_separator_CXX=:
                   13667: 
                   13668:           case $host_cpu in
                   13669:             hppa*64*|ia64*)
                   13670:               ;;
                   13671:             *)
                   13672:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13673:               ;;
                   13674:           esac
                   13675:         fi
                   13676:         case $host_cpu in
                   13677:           hppa*64*|ia64*)
                   13678:             hardcode_direct_CXX=no
                   13679:             hardcode_shlibpath_var_CXX=no
                   13680:             ;;
                   13681:           *)
                   13682:             hardcode_direct_CXX=yes
                   13683:             hardcode_direct_absolute_CXX=yes
                   13684:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13685:                                                 # but as the default
                   13686:                                                 # location of the library.
                   13687:             ;;
                   13688:         esac
                   13689: 
                   13690:         case $cc_basename in
                   13691:           CC*)
                   13692:            # FIXME: insert proper C++ library support
                   13693:            ld_shlibs_CXX=no
                   13694:            ;;
                   13695:           aCC*)
                   13696:            case $host_cpu in
                   13697:              hppa*64*)
                   13698:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13699:                ;;
                   13700:              ia64*)
                   13701:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13702:                ;;
                   13703:              *)
                   13704:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13705:                ;;
                   13706:            esac
                   13707:            # Commands to make compiler produce verbose output that lists
                   13708:            # what "hidden" libraries, object files and flags are used when
                   13709:            # linking a shared library.
                   13710:            #
                   13711:            # There doesn't appear to be a way to prevent this compiler from
                   13712:            # explicitly linking system object files so we need to strip them
                   13713:            # from the output so that they don't get included in the library
                   13714:            # dependencies.
                   13715:            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13716:            ;;
                   13717:           *)
                   13718:            if test "$GXX" = yes; then
                   13719:              if test $with_gnu_ld = no; then
                   13720:                case $host_cpu in
                   13721:                  hppa*64*)
                   13722:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13723:                    ;;
                   13724:                  ia64*)
                   13725:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13726:                    ;;
                   13727:                  *)
                   13728:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13729:                    ;;
                   13730:                esac
                   13731:              fi
                   13732:            else
                   13733:              # FIXME: insert proper C++ library support
                   13734:              ld_shlibs_CXX=no
                   13735:            fi
                   13736:            ;;
                   13737:         esac
                   13738:         ;;
                   13739: 
                   13740:       interix[3-9]*)
                   13741:        hardcode_direct_CXX=no
                   13742:        hardcode_shlibpath_var_CXX=no
                   13743:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13744:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13745:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13746:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13747:        # default) and relocated if they conflict, which is a slow very memory
                   13748:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13749:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13750:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13751:        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   13752:        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   13753:        ;;
                   13754:       irix5* | irix6*)
                   13755:         case $cc_basename in
                   13756:           CC*)
                   13757:            # SGI C++
                   13758:            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13759: 
                   13760:            # Archives containing C++ object files must be created using
                   13761:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13762:            # necessary to make sure instantiated templates are included
                   13763:            # in the archive.
                   13764:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13765:            ;;
                   13766:           *)
                   13767:            if test "$GXX" = yes; then
                   13768:              if test "$with_gnu_ld" = no; then
                   13769:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13770:              else
                   13771:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
                   13772:              fi
                   13773:            fi
                   13774:            link_all_deplibs_CXX=yes
                   13775:            ;;
                   13776:         esac
                   13777:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13778:         hardcode_libdir_separator_CXX=:
                   13779:         inherit_rpath_CXX=yes
                   13780:         ;;
                   13781: 
                   13782:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13783:         case $cc_basename in
                   13784:           KCC*)
                   13785:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13786: 
                   13787:            # KCC will only create a shared library if the output file
                   13788:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13789:            # to its proper name (with version) after linking.
                   13790:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13791:            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
                   13792:            # Commands to make compiler produce verbose output that lists
                   13793:            # what "hidden" libraries, object files and flags are used when
                   13794:            # linking a shared library.
                   13795:            #
                   13796:            # There doesn't appear to be a way to prevent this compiler from
                   13797:            # explicitly linking system object files so we need to strip them
                   13798:            # from the output so that they don't get included in the library
                   13799:            # dependencies.
                   13800:            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13801: 
                   13802:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13803:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13804: 
                   13805:            # Archives containing C++ object files must be created using
                   13806:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13807:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13808:            ;;
                   13809:          icpc* | ecpc* )
                   13810:            # Intel C++
                   13811:            with_gnu_ld=yes
                   13812:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13813:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13814:            # earlier do not add the objects themselves.
                   13815:            case `$CC -V 2>&1` in
                   13816:              *"Version 7."*)
                   13817:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13818:                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13819:                ;;
                   13820:              *)  # Version 8.0 or newer
                   13821:                tmp_idyn=
                   13822:                case $host_cpu in
                   13823:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13824:                esac
                   13825:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13826:                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13827:                ;;
                   13828:            esac
                   13829:            archive_cmds_need_lc_CXX=no
                   13830:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13831:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13832:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13833:            ;;
                   13834:           pgCC* | pgcpp*)
                   13835:             # Portland Group C++ compiler
                   13836:            case `$CC -V` in
                   13837:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13838:              prelink_cmds_CXX='tpldir=Template.dir~
                   13839:                rm -rf $tpldir~
                   13840:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13841:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13842:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13843:                rm -rf $tpldir~
                   13844:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13845:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13846:                $RANLIB $oldlib'
                   13847:              archive_cmds_CXX='tpldir=Template.dir~
                   13848:                rm -rf $tpldir~
                   13849:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13850:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13851:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13852:                rm -rf $tpldir~
                   13853:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13854:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   13855:              ;;
                   13856:            *) # Version 6 and above use weak symbols
                   13857:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13858:              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   13859:              ;;
                   13860:            esac
                   13861: 
                   13862:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13863:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13864:            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   13865:             ;;
                   13866:          cxx*)
                   13867:            # Compaq C++
                   13868:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13869:            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
                   13870: 
                   13871:            runpath_var=LD_RUN_PATH
                   13872:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13873:            hardcode_libdir_separator_CXX=:
                   13874: 
                   13875:            # Commands to make compiler produce verbose output that lists
                   13876:            # what "hidden" libraries, object files and flags are used when
                   13877:            # linking a shared library.
                   13878:            #
                   13879:            # There doesn't appear to be a way to prevent this compiler from
                   13880:            # explicitly linking system object files so we need to strip them
                   13881:            # from the output so that they don't get included in the library
                   13882:            # dependencies.
                   13883:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
                   13884:            ;;
                   13885:          xl* | mpixl* | bgxl*)
                   13886:            # IBM XL 8.0 on PPC, with GNU ld
                   13887:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13888:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13889:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13890:            if test "x$supports_anon_versioning" = xyes; then
                   13891:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13892:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13893:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13894:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13895:            fi
                   13896:            ;;
                   13897:          *)
                   13898:            case `$CC -V 2>&1 | sed 5q` in
                   13899:            *Sun\ C*)
                   13900:              # Sun C++ 5.9
                   13901:              no_undefined_flag_CXX=' -zdefs'
                   13902:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13903:              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
                   13904:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13905:              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   13906:              compiler_needs_object_CXX=yes
                   13907: 
                   13908:              # Not sure whether something based on
                   13909:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13910:              # would be better.
                   13911:              output_verbose_link_cmd='func_echo_all'
                   13912: 
                   13913:              # Archives containing C++ object files must be created using
                   13914:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13915:              # necessary to make sure instantiated templates are included
                   13916:              # in the archive.
                   13917:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13918:              ;;
                   13919:            esac
                   13920:            ;;
                   13921:        esac
                   13922:        ;;
                   13923: 
                   13924:       lynxos*)
                   13925:         # FIXME: insert proper C++ library support
                   13926:        ld_shlibs_CXX=no
                   13927:        ;;
                   13928: 
                   13929:       m88k*)
                   13930:         # FIXME: insert proper C++ library support
                   13931:         ld_shlibs_CXX=no
                   13932:        ;;
                   13933: 
                   13934:       mvs*)
                   13935:         case $cc_basename in
                   13936:           cxx*)
                   13937:            # FIXME: insert proper C++ library support
                   13938:            ld_shlibs_CXX=no
                   13939:            ;;
                   13940:          *)
                   13941:            # FIXME: insert proper C++ library support
                   13942:            ld_shlibs_CXX=no
                   13943:            ;;
                   13944:        esac
                   13945:        ;;
                   13946: 
                   13947:       netbsd*)
                   13948:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13949:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13950:          wlarc=
                   13951:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13952:          hardcode_direct_CXX=yes
                   13953:          hardcode_shlibpath_var_CXX=no
                   13954:        fi
                   13955:        # Workaround some broken pre-1.5 toolchains
                   13956:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13957:        ;;
                   13958: 
                   13959:       *nto* | *qnx*)
                   13960:         ld_shlibs_CXX=yes
                   13961:        ;;
                   13962: 
                   13963:       openbsd2*)
                   13964:         # C++ shared libraries are fairly broken
                   13965:        ld_shlibs_CXX=no
                   13966:        ;;
                   13967: 
                   13968:       openbsd*)
                   13969:        if test -f /usr/libexec/ld.so; then
                   13970:          hardcode_direct_CXX=yes
                   13971:          hardcode_shlibpath_var_CXX=no
                   13972:          hardcode_direct_absolute_CXX=yes
                   13973:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13974:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13975:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13976:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13977:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13978:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13979:          fi
                   13980:          output_verbose_link_cmd=func_echo_all
                   13981:        else
                   13982:          ld_shlibs_CXX=no
                   13983:        fi
                   13984:        ;;
                   13985: 
                   13986:       osf3* | osf4* | osf5*)
                   13987:         case $cc_basename in
                   13988:           KCC*)
                   13989:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13990: 
                   13991:            # KCC will only create a shared library if the output file
                   13992:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13993:            # to its proper name (with version) after linking.
                   13994:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13995: 
                   13996:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13997:            hardcode_libdir_separator_CXX=:
                   13998: 
                   13999:            # Archives containing C++ object files must be created using
                   14000:            # the KAI C++ compiler.
                   14001:            case $host in
                   14002:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14003:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14004:            esac
                   14005:            ;;
                   14006:           RCC*)
                   14007:            # Rational C++ 2.4.1
                   14008:            # FIXME: insert proper C++ library support
                   14009:            ld_shlibs_CXX=no
                   14010:            ;;
                   14011:           cxx*)
                   14012:            case $host in
                   14013:              osf3*)
                   14014:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14015:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14016:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14017:                ;;
                   14018:              *)
                   14019:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14020:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14021:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14022:                  echo "-hidden">> $lib.exp~
                   14023:                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                   14024:                  $RM $lib.exp'
                   14025:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14026:                ;;
                   14027:            esac
                   14028: 
                   14029:            hardcode_libdir_separator_CXX=:
                   14030: 
                   14031:            # Commands to make compiler produce verbose output that lists
                   14032:            # what "hidden" libraries, object files and flags are used when
                   14033:            # linking a shared library.
                   14034:            #
                   14035:            # There doesn't appear to be a way to prevent this compiler from
                   14036:            # explicitly linking system object files so we need to strip them
                   14037:            # from the output so that they don't get included in the library
                   14038:            # dependencies.
                   14039:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14040:            ;;
                   14041:          *)
                   14042:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14043:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14044:              case $host in
                   14045:                osf3*)
                   14046:                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   14047:                  ;;
                   14048:                *)
                   14049:                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   14050:                  ;;
                   14051:              esac
                   14052: 
                   14053:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14054:              hardcode_libdir_separator_CXX=:
                   14055: 
                   14056:              # Commands to make compiler produce verbose output that lists
                   14057:              # what "hidden" libraries, object files and flags are used when
                   14058:              # linking a shared library.
                   14059:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14060: 
                   14061:            else
                   14062:              # FIXME: insert proper C++ library support
                   14063:              ld_shlibs_CXX=no
                   14064:            fi
                   14065:            ;;
                   14066:         esac
                   14067:         ;;
                   14068: 
                   14069:       psos*)
                   14070:         # FIXME: insert proper C++ library support
                   14071:         ld_shlibs_CXX=no
                   14072:         ;;
                   14073: 
                   14074:       sunos4*)
                   14075:         case $cc_basename in
                   14076:           CC*)
                   14077:            # Sun C++ 4.x
                   14078:            # FIXME: insert proper C++ library support
                   14079:            ld_shlibs_CXX=no
                   14080:            ;;
                   14081:           lcc*)
                   14082:            # Lucid
                   14083:            # FIXME: insert proper C++ library support
                   14084:            ld_shlibs_CXX=no
                   14085:            ;;
                   14086:           *)
                   14087:            # FIXME: insert proper C++ library support
                   14088:            ld_shlibs_CXX=no
                   14089:            ;;
                   14090:         esac
                   14091:         ;;
                   14092: 
                   14093:       solaris*)
                   14094:         case $cc_basename in
                   14095:           CC* | sunCC*)
                   14096:            # Sun C++ 4.2, 5.x and Centerline C++
                   14097:             archive_cmds_need_lc_CXX=yes
                   14098:            no_undefined_flag_CXX=' -zdefs'
                   14099:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14100:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14101:              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14102: 
                   14103:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14104:            hardcode_shlibpath_var_CXX=no
                   14105:            case $host_os in
                   14106:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14107:              *)
                   14108:                # The compiler driver will combine and reorder linker options,
                   14109:                # but understands `-z linker_flag'.
                   14110:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14111:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14112:                ;;
                   14113:            esac
                   14114:            link_all_deplibs_CXX=yes
                   14115: 
                   14116:            output_verbose_link_cmd='func_echo_all'
                   14117: 
                   14118:            # Archives containing C++ object files must be created using
                   14119:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14120:            # necessary to make sure instantiated templates are included
                   14121:            # in the archive.
                   14122:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14123:            ;;
                   14124:           gcx*)
                   14125:            # Green Hills C++ Compiler
                   14126:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14127: 
                   14128:            # The C++ compiler must be used to create the archive.
                   14129:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14130:            ;;
                   14131:           *)
                   14132:            # GNU C++ compiler with Solaris linker
                   14133:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14134:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14135:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14136:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14137:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14138:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14139: 
                   14140:                # Commands to make compiler produce verbose output that lists
                   14141:                # what "hidden" libraries, object files and flags are used when
                   14142:                # linking a shared library.
                   14143:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14144:              else
                   14145:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14146:                # platform.
                   14147:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14148:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14149:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14150: 
                   14151:                # Commands to make compiler produce verbose output that lists
                   14152:                # what "hidden" libraries, object files and flags are used when
                   14153:                # linking a shared library.
                   14154:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14155:              fi
                   14156: 
                   14157:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14158:              case $host_os in
                   14159:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14160:                *)
                   14161:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14162:                  ;;
                   14163:              esac
                   14164:            fi
                   14165:            ;;
                   14166:         esac
                   14167:         ;;
                   14168: 
                   14169:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14170:       no_undefined_flag_CXX='${wl}-z,text'
                   14171:       archive_cmds_need_lc_CXX=no
                   14172:       hardcode_shlibpath_var_CXX=no
                   14173:       runpath_var='LD_RUN_PATH'
                   14174: 
                   14175:       case $cc_basename in
                   14176:         CC*)
                   14177:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14178:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14179:          ;;
                   14180:        *)
                   14181:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14182:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14183:          ;;
                   14184:       esac
                   14185:       ;;
                   14186: 
                   14187:       sysv5* | sco3.2v5* | sco5v6*)
                   14188:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14189:        # link with -lc, and that would cause any symbols used from libc to
                   14190:        # always be unresolved, which means just about no library would
                   14191:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14192:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14193:        # as -z defs.
                   14194:        no_undefined_flag_CXX='${wl}-z,text'
                   14195:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14196:        archive_cmds_need_lc_CXX=no
                   14197:        hardcode_shlibpath_var_CXX=no
                   14198:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14199:        hardcode_libdir_separator_CXX=':'
                   14200:        link_all_deplibs_CXX=yes
                   14201:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14202:        runpath_var='LD_RUN_PATH'
                   14203: 
                   14204:        case $cc_basename in
                   14205:           CC*)
                   14206:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14207:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14208:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14209:              '"$old_archive_cmds_CXX"
                   14210:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14211:              '"$reload_cmds_CXX"
                   14212:            ;;
                   14213:          *)
                   14214:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14215:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14216:            ;;
                   14217:        esac
                   14218:       ;;
                   14219: 
                   14220:       tandem*)
                   14221:         case $cc_basename in
                   14222:           NCC*)
                   14223:            # NonStop-UX NCC 3.20
                   14224:            # FIXME: insert proper C++ library support
                   14225:            ld_shlibs_CXX=no
                   14226:            ;;
                   14227:           *)
                   14228:            # FIXME: insert proper C++ library support
                   14229:            ld_shlibs_CXX=no
                   14230:            ;;
                   14231:         esac
                   14232:         ;;
                   14233: 
                   14234:       vxworks*)
                   14235:         # FIXME: insert proper C++ library support
                   14236:         ld_shlibs_CXX=no
                   14237:         ;;
                   14238: 
                   14239:       *)
                   14240:         # FIXME: insert proper C++ library support
                   14241:         ld_shlibs_CXX=no
                   14242:         ;;
                   14243:     esac
                   14244: 
1.150   ! moko     14245:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
        !          14246: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14247:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14248: 
                   14249:     GCC_CXX="$GXX"
                   14250:     LD_CXX="$LD"
                   14251: 
                   14252:     ## CAVEAT EMPTOR:
                   14253:     ## There is no encapsulation within the following macros, do not change
                   14254:     ## the running order or otherwise move them around unless you know exactly
                   14255:     ## what you are doing...
                   14256:     # Dependencies to place before and after the object being linked:
                   14257: predep_objects_CXX=
                   14258: postdep_objects_CXX=
                   14259: predeps_CXX=
                   14260: postdeps_CXX=
                   14261: compiler_lib_search_path_CXX=
                   14262: 
                   14263: cat > conftest.$ac_ext <<_LT_EOF
                   14264: class Foo
                   14265: {
                   14266: public:
                   14267:   Foo (void) { a = 0; }
                   14268: private:
                   14269:   int a;
                   14270: };
                   14271: _LT_EOF
                   14272: 
                   14273: 
                   14274: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14275: case "$CC $CFLAGS " in #(
                   14276: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14277: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14278: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14279: esac
                   14280: 
1.150   ! moko     14281: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14282:   (eval $ac_compile) 2>&5
                   14283:   ac_status=$?
1.150   ! moko     14284:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          14285:   test $ac_status = 0; }; then
1.128     moko     14286:   # Parse the compiler output and extract the necessary
                   14287:   # objects, libraries and library flags.
                   14288: 
                   14289:   # Sentinel used to keep track of whether or not we are before
                   14290:   # the conftest object file.
                   14291:   pre_test_object_deps_done=no
                   14292: 
                   14293:   for p in `eval "$output_verbose_link_cmd"`; do
                   14294:     case ${prev}${p} in
                   14295: 
                   14296:     -L* | -R* | -l*)
                   14297:        # Some compilers place space between "-{L,R}" and the path.
                   14298:        # Remove the space.
                   14299:        if test $p = "-L" ||
                   14300:           test $p = "-R"; then
                   14301:         prev=$p
                   14302:         continue
                   14303:        fi
                   14304: 
                   14305:        # Expand the sysroot to ease extracting the directories later.
                   14306:        if test -z "$prev"; then
                   14307:          case $p in
                   14308:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14309:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14310:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14311:          esac
                   14312:        fi
                   14313:        case $p in
                   14314:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14315:        esac
                   14316:        if test "$pre_test_object_deps_done" = no; then
                   14317:         case ${prev} in
                   14318:         -L | -R)
                   14319:           # Internal compiler library paths should come after those
                   14320:           # provided the user.  The postdeps already come after the
                   14321:           # user supplied libs so there is no need to process them.
                   14322:           if test -z "$compiler_lib_search_path_CXX"; then
                   14323:             compiler_lib_search_path_CXX="${prev}${p}"
                   14324:           else
                   14325:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14326:           fi
                   14327:           ;;
                   14328:         # The "-l" case would never come before the object being
                   14329:         # linked, so don't bother handling this case.
                   14330:         esac
                   14331:        else
                   14332:         if test -z "$postdeps_CXX"; then
                   14333:           postdeps_CXX="${prev}${p}"
                   14334:         else
                   14335:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14336:         fi
                   14337:        fi
                   14338:        prev=
                   14339:        ;;
                   14340: 
                   14341:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14342:     *.$objext)
                   14343:        # This assumes that the test object file only shows up
                   14344:        # once in the compiler output.
                   14345:        if test "$p" = "conftest.$objext"; then
                   14346:         pre_test_object_deps_done=yes
                   14347:         continue
                   14348:        fi
                   14349: 
                   14350:        if test "$pre_test_object_deps_done" = no; then
                   14351:         if test -z "$predep_objects_CXX"; then
                   14352:           predep_objects_CXX="$p"
                   14353:         else
                   14354:           predep_objects_CXX="$predep_objects_CXX $p"
                   14355:         fi
                   14356:        else
                   14357:         if test -z "$postdep_objects_CXX"; then
                   14358:           postdep_objects_CXX="$p"
                   14359:         else
                   14360:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14361:         fi
                   14362:        fi
                   14363:        ;;
                   14364: 
                   14365:     *) ;; # Ignore the rest.
                   14366: 
                   14367:     esac
                   14368:   done
                   14369: 
                   14370:   # Clean up.
                   14371:   rm -f a.out a.exe
                   14372: else
                   14373:   echo "libtool.m4: error: problem compiling CXX test program"
                   14374: fi
                   14375: 
                   14376: $RM -f confest.$objext
                   14377: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14378: 
                   14379: # PORTME: override above test on systems where it is broken
                   14380: case $host_os in
                   14381: interix[3-9]*)
                   14382:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14383:   # hack all around it, let's just trust "g++" to DTRT.
                   14384:   predep_objects_CXX=
                   14385:   postdep_objects_CXX=
                   14386:   postdeps_CXX=
                   14387:   ;;
                   14388: 
                   14389: linux*)
                   14390:   case `$CC -V 2>&1 | sed 5q` in
                   14391:   *Sun\ C*)
                   14392:     # Sun C++ 5.9
                   14393: 
                   14394:     # The more standards-conforming stlport4 library is
                   14395:     # incompatible with the Cstd library. Avoid specifying
                   14396:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14397:     # -library=stlport4 depends on it.
                   14398:     case " $CXX $CXXFLAGS " in
                   14399:     *" -library=stlport4 "*)
                   14400:       solaris_use_stlport4=yes
                   14401:       ;;
                   14402:     esac
                   14403: 
                   14404:     if test "$solaris_use_stlport4" != yes; then
                   14405:       postdeps_CXX='-library=Cstd -library=Crun'
                   14406:     fi
                   14407:     ;;
                   14408:   esac
                   14409:   ;;
                   14410: 
                   14411: solaris*)
                   14412:   case $cc_basename in
                   14413:   CC* | sunCC*)
                   14414:     # The more standards-conforming stlport4 library is
                   14415:     # incompatible with the Cstd library. Avoid specifying
                   14416:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14417:     # -library=stlport4 depends on it.
                   14418:     case " $CXX $CXXFLAGS " in
                   14419:     *" -library=stlport4 "*)
                   14420:       solaris_use_stlport4=yes
                   14421:       ;;
                   14422:     esac
                   14423: 
                   14424:     # Adding this requires a known-good setup of shared libraries for
                   14425:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14426:     # archive will be linked into the output, leading to subtle bugs.
                   14427:     if test "$solaris_use_stlport4" != yes; then
                   14428:       postdeps_CXX='-library=Cstd -library=Crun'
                   14429:     fi
                   14430:     ;;
                   14431:   esac
                   14432:   ;;
                   14433: esac
                   14434: 
                   14435: 
                   14436: case " $postdeps_CXX " in
                   14437: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14438: esac
                   14439:  compiler_lib_search_dirs_CXX=
                   14440: if test -n "${compiler_lib_search_path_CXX}"; then
                   14441:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14442: fi
                   14443: 
                   14444: 
                   14445: 
                   14446: 
                   14447: 
                   14448: 
                   14449: 
                   14450: 
                   14451: 
                   14452: 
                   14453: 
                   14454: 
                   14455: 
                   14456: 
                   14457: 
                   14458: 
                   14459: 
                   14460: 
                   14461: 
                   14462: 
                   14463: 
                   14464: 
                   14465: 
                   14466: 
                   14467: 
                   14468: 
                   14469: 
                   14470: 
                   14471: 
                   14472: 
                   14473: 
                   14474:     lt_prog_compiler_wl_CXX=
                   14475: lt_prog_compiler_pic_CXX=
                   14476: lt_prog_compiler_static_CXX=
                   14477: 
                   14478: 
                   14479:   # C++ specific cases for pic, static, wl, etc.
                   14480:   if test "$GXX" = yes; then
                   14481:     lt_prog_compiler_wl_CXX='-Wl,'
                   14482:     lt_prog_compiler_static_CXX='-static'
                   14483: 
                   14484:     case $host_os in
                   14485:     aix*)
                   14486:       # All AIX code is PIC.
                   14487:       if test "$host_cpu" = ia64; then
                   14488:        # AIX 5 now supports IA64 processor
                   14489:        lt_prog_compiler_static_CXX='-Bstatic'
                   14490:       fi
                   14491:       ;;
                   14492: 
                   14493:     amigaos*)
                   14494:       case $host_cpu in
                   14495:       powerpc)
                   14496:             # see comment about AmigaOS4 .so support
                   14497:             lt_prog_compiler_pic_CXX='-fPIC'
                   14498:         ;;
                   14499:       m68k)
                   14500:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14501:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14502:             # like `-m68040'.
                   14503:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14504:         ;;
                   14505:       esac
                   14506:       ;;
                   14507: 
                   14508:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14509:       # PIC is the default for these OSes.
                   14510:       ;;
                   14511:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14512:       # This hack is so that the source file can tell whether it is being
                   14513:       # built for inclusion in a dll (and should export symbols for example).
                   14514:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14515:       # (--disable-auto-import) libraries
                   14516:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14517:       ;;
                   14518:     darwin* | rhapsody*)
                   14519:       # PIC is the default on this platform
                   14520:       # Common symbols not allowed in MH_DYLIB files
                   14521:       lt_prog_compiler_pic_CXX='-fno-common'
                   14522:       ;;
                   14523:     *djgpp*)
                   14524:       # DJGPP does not support shared libraries at all
                   14525:       lt_prog_compiler_pic_CXX=
                   14526:       ;;
                   14527:     haiku*)
                   14528:       # PIC is the default for Haiku.
                   14529:       # The "-static" flag exists, but is broken.
                   14530:       lt_prog_compiler_static_CXX=
                   14531:       ;;
                   14532:     interix[3-9]*)
                   14533:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14534:       # Instead, we relocate shared libraries at runtime.
                   14535:       ;;
                   14536:     sysv4*MP*)
                   14537:       if test -d /usr/nec; then
                   14538:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14539:       fi
                   14540:       ;;
                   14541:     hpux*)
                   14542:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14543:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14544:       # sets the default TLS model and affects inlining.
                   14545:       case $host_cpu in
                   14546:       hppa*64*)
                   14547:        ;;
                   14548:       *)
                   14549:        lt_prog_compiler_pic_CXX='-fPIC'
                   14550:        ;;
                   14551:       esac
                   14552:       ;;
                   14553:     *qnx* | *nto*)
                   14554:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14555:       # it will coredump.
                   14556:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14557:       ;;
                   14558:     *)
                   14559:       lt_prog_compiler_pic_CXX='-fPIC'
                   14560:       ;;
                   14561:     esac
                   14562:   else
                   14563:     case $host_os in
                   14564:       aix[4-9]*)
                   14565:        # All AIX code is PIC.
                   14566:        if test "$host_cpu" = ia64; then
                   14567:          # AIX 5 now supports IA64 processor
                   14568:          lt_prog_compiler_static_CXX='-Bstatic'
                   14569:        else
                   14570:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14571:        fi
                   14572:        ;;
                   14573:       chorus*)
                   14574:        case $cc_basename in
                   14575:        cxch68*)
                   14576:          # Green Hills C++ Compiler
                   14577:          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
                   14578:          ;;
                   14579:        esac
                   14580:        ;;
                   14581:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14582:        # This hack is so that the source file can tell whether it is being
                   14583:        # built for inclusion in a dll (and should export symbols for example).
                   14584:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14585:        ;;
                   14586:       dgux*)
                   14587:        case $cc_basename in
                   14588:          ec++*)
                   14589:            lt_prog_compiler_pic_CXX='-KPIC'
                   14590:            ;;
                   14591:          ghcx*)
                   14592:            # Green Hills C++ Compiler
                   14593:            lt_prog_compiler_pic_CXX='-pic'
                   14594:            ;;
                   14595:          *)
                   14596:            ;;
                   14597:        esac
                   14598:        ;;
                   14599:       freebsd* | dragonfly*)
                   14600:        # FreeBSD uses GNU C++
                   14601:        ;;
                   14602:       hpux9* | hpux10* | hpux11*)
                   14603:        case $cc_basename in
                   14604:          CC*)
                   14605:            lt_prog_compiler_wl_CXX='-Wl,'
                   14606:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14607:            if test "$host_cpu" != ia64; then
                   14608:              lt_prog_compiler_pic_CXX='+Z'
                   14609:            fi
                   14610:            ;;
                   14611:          aCC*)
                   14612:            lt_prog_compiler_wl_CXX='-Wl,'
                   14613:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14614:            case $host_cpu in
                   14615:            hppa*64*|ia64*)
                   14616:              # +Z the default
                   14617:              ;;
                   14618:            *)
                   14619:              lt_prog_compiler_pic_CXX='+Z'
                   14620:              ;;
                   14621:            esac
                   14622:            ;;
                   14623:          *)
                   14624:            ;;
                   14625:        esac
                   14626:        ;;
                   14627:       interix*)
                   14628:        # This is c89, which is MS Visual C++ (no shared libs)
                   14629:        # Anyone wants to do a port?
                   14630:        ;;
                   14631:       irix5* | irix6* | nonstopux*)
                   14632:        case $cc_basename in
                   14633:          CC*)
                   14634:            lt_prog_compiler_wl_CXX='-Wl,'
                   14635:            lt_prog_compiler_static_CXX='-non_shared'
                   14636:            # CC pic flag -KPIC is the default.
                   14637:            ;;
                   14638:          *)
                   14639:            ;;
                   14640:        esac
                   14641:        ;;
                   14642:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14643:        case $cc_basename in
                   14644:          KCC*)
                   14645:            # KAI C++ Compiler
                   14646:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14647:            lt_prog_compiler_pic_CXX='-fPIC'
                   14648:            ;;
                   14649:          ecpc* )
                   14650:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14651:            lt_prog_compiler_wl_CXX='-Wl,'
                   14652:            lt_prog_compiler_pic_CXX='-KPIC'
                   14653:            lt_prog_compiler_static_CXX='-static'
                   14654:            ;;
                   14655:          icpc* )
                   14656:            # Intel C++, used to be incompatible with GCC.
                   14657:            # ICC 10 doesn't accept -KPIC any more.
                   14658:            lt_prog_compiler_wl_CXX='-Wl,'
                   14659:            lt_prog_compiler_pic_CXX='-fPIC'
                   14660:            lt_prog_compiler_static_CXX='-static'
                   14661:            ;;
                   14662:          pgCC* | pgcpp*)
                   14663:            # Portland Group C++ compiler
                   14664:            lt_prog_compiler_wl_CXX='-Wl,'
                   14665:            lt_prog_compiler_pic_CXX='-fpic'
                   14666:            lt_prog_compiler_static_CXX='-Bstatic'
                   14667:            ;;
                   14668:          cxx*)
                   14669:            # Compaq C++
                   14670:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14671:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14672:            lt_prog_compiler_pic_CXX=
                   14673:            lt_prog_compiler_static_CXX='-non_shared'
                   14674:            ;;
                   14675:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14676:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14677:            lt_prog_compiler_wl_CXX='-Wl,'
                   14678:            lt_prog_compiler_pic_CXX='-qpic'
                   14679:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14680:            ;;
                   14681:          *)
                   14682:            case `$CC -V 2>&1 | sed 5q` in
                   14683:            *Sun\ C*)
                   14684:              # Sun C++ 5.9
                   14685:              lt_prog_compiler_pic_CXX='-KPIC'
                   14686:              lt_prog_compiler_static_CXX='-Bstatic'
                   14687:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14688:              ;;
                   14689:            esac
                   14690:            ;;
                   14691:        esac
                   14692:        ;;
                   14693:       lynxos*)
                   14694:        ;;
                   14695:       m88k*)
                   14696:        ;;
                   14697:       mvs*)
                   14698:        case $cc_basename in
                   14699:          cxx*)
                   14700:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14701:            ;;
                   14702:          *)
                   14703:            ;;
                   14704:        esac
                   14705:        ;;
                   14706:       netbsd*)
                   14707:        ;;
                   14708:       *qnx* | *nto*)
                   14709:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14710:         # it will coredump.
                   14711:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14712:         ;;
                   14713:       osf3* | osf4* | osf5*)
                   14714:        case $cc_basename in
                   14715:          KCC*)
                   14716:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14717:            ;;
                   14718:          RCC*)
                   14719:            # Rational C++ 2.4.1
                   14720:            lt_prog_compiler_pic_CXX='-pic'
                   14721:            ;;
                   14722:          cxx*)
                   14723:            # Digital/Compaq C++
                   14724:            lt_prog_compiler_wl_CXX='-Wl,'
                   14725:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14726:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14727:            lt_prog_compiler_pic_CXX=
                   14728:            lt_prog_compiler_static_CXX='-non_shared'
                   14729:            ;;
                   14730:          *)
                   14731:            ;;
                   14732:        esac
                   14733:        ;;
                   14734:       psos*)
                   14735:        ;;
                   14736:       solaris*)
                   14737:        case $cc_basename in
                   14738:          CC* | sunCC*)
                   14739:            # Sun C++ 4.2, 5.x and Centerline C++
                   14740:            lt_prog_compiler_pic_CXX='-KPIC'
                   14741:            lt_prog_compiler_static_CXX='-Bstatic'
                   14742:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14743:            ;;
                   14744:          gcx*)
                   14745:            # Green Hills C++ Compiler
                   14746:            lt_prog_compiler_pic_CXX='-PIC'
                   14747:            ;;
                   14748:          *)
                   14749:            ;;
                   14750:        esac
                   14751:        ;;
                   14752:       sunos4*)
                   14753:        case $cc_basename in
                   14754:          CC*)
                   14755:            # Sun C++ 4.x
                   14756:            lt_prog_compiler_pic_CXX='-pic'
                   14757:            lt_prog_compiler_static_CXX='-Bstatic'
                   14758:            ;;
                   14759:          lcc*)
                   14760:            # Lucid
                   14761:            lt_prog_compiler_pic_CXX='-pic'
                   14762:            ;;
                   14763:          *)
                   14764:            ;;
                   14765:        esac
                   14766:        ;;
                   14767:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14768:        case $cc_basename in
                   14769:          CC*)
                   14770:            lt_prog_compiler_wl_CXX='-Wl,'
                   14771:            lt_prog_compiler_pic_CXX='-KPIC'
                   14772:            lt_prog_compiler_static_CXX='-Bstatic'
                   14773:            ;;
                   14774:        esac
                   14775:        ;;
                   14776:       tandem*)
                   14777:        case $cc_basename in
                   14778:          NCC*)
                   14779:            # NonStop-UX NCC 3.20
                   14780:            lt_prog_compiler_pic_CXX='-KPIC'
                   14781:            ;;
                   14782:          *)
                   14783:            ;;
                   14784:        esac
                   14785:        ;;
                   14786:       vxworks*)
                   14787:        ;;
                   14788:       *)
                   14789:        lt_prog_compiler_can_build_shared_CXX=no
                   14790:        ;;
                   14791:     esac
                   14792:   fi
                   14793: 
                   14794: case $host_os in
                   14795:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14796:   *djgpp*)
                   14797:     lt_prog_compiler_pic_CXX=
                   14798:     ;;
                   14799:   *)
                   14800:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14801:     ;;
                   14802: esac
                   14803: 
1.150   ! moko     14804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          14805: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        !          14806: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
        !          14807:   $as_echo_n "(cached) " >&6
1.128     moko     14808: else
                   14809:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14810: fi
1.150   ! moko     14811: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
        !          14812: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14813: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14814: 
                   14815: #
                   14816: # Check to make sure the PIC flag actually works.
                   14817: #
                   14818: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150   ! moko     14819:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
        !          14820: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
        !          14821: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
        !          14822:   $as_echo_n "(cached) " >&6
1.128     moko     14823: else
                   14824:   lt_cv_prog_compiler_pic_works_CXX=no
                   14825:    ac_outfile=conftest.$ac_objext
                   14826:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14827:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14828:    # Insert the option either (1) after the last *FLAGS variable, or
                   14829:    # (2) before a word containing "conftest.", or (3) at the end.
                   14830:    # Note that $ac_compile itself does not contain backslashes and begins
                   14831:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14832:    # The option is referenced via a variable to avoid confusing sed.
                   14833:    lt_compile=`echo "$ac_compile" | $SED \
                   14834:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14835:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14836:    -e 's:$: $lt_compiler_flag:'`
                   14837:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14838:    (eval "$lt_compile" 2>conftest.err)
                   14839:    ac_status=$?
                   14840:    cat conftest.err >&5
                   14841:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14842:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14843:      # The compiler can only warn and ignore the option if not recognized
                   14844:      # So say no if there are warnings other than the usual output.
                   14845:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14846:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14847:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14848:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14849:      fi
                   14850:    fi
                   14851:    $RM conftest*
                   14852: 
                   14853: fi
1.150   ! moko     14854: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
        !          14855: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14856: 
                   14857: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14858:     case $lt_prog_compiler_pic_CXX in
                   14859:      "" | " "*) ;;
                   14860:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14861:      esac
                   14862: else
                   14863:     lt_prog_compiler_pic_CXX=
                   14864:      lt_prog_compiler_can_build_shared_CXX=no
                   14865: fi
                   14866: 
                   14867: fi
                   14868: 
                   14869: 
                   14870: 
                   14871: 
                   14872: 
                   14873: #
                   14874: # Check to make sure the static flag actually works.
                   14875: #
                   14876: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150   ! moko     14877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
        !          14878: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
        !          14879: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
        !          14880:   $as_echo_n "(cached) " >&6
1.128     moko     14881: else
                   14882:   lt_cv_prog_compiler_static_works_CXX=no
                   14883:    save_LDFLAGS="$LDFLAGS"
                   14884:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14885:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14886:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14887:      # The linker can only warn and ignore the option if not recognized
                   14888:      # So say no if there are warnings
                   14889:      if test -s conftest.err; then
                   14890:        # Append any errors to the config.log.
                   14891:        cat conftest.err 1>&5
                   14892:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14893:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14894:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14895:          lt_cv_prog_compiler_static_works_CXX=yes
                   14896:        fi
                   14897:      else
                   14898:        lt_cv_prog_compiler_static_works_CXX=yes
                   14899:      fi
                   14900:    fi
                   14901:    $RM -r conftest*
                   14902:    LDFLAGS="$save_LDFLAGS"
                   14903: 
                   14904: fi
1.150   ! moko     14905: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
        !          14906: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     14907: 
                   14908: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14909:     :
                   14910: else
                   14911:     lt_prog_compiler_static_CXX=
                   14912: fi
                   14913: 
                   14914: 
                   14915: 
                   14916: 
1.150   ! moko     14917:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          14918: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          14919: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
        !          14920:   $as_echo_n "(cached) " >&6
1.128     moko     14921: else
                   14922:   lt_cv_prog_compiler_c_o_CXX=no
                   14923:    $RM -r conftest 2>/dev/null
                   14924:    mkdir conftest
                   14925:    cd conftest
                   14926:    mkdir out
                   14927:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14928: 
                   14929:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14930:    # Insert the option either (1) after the last *FLAGS variable, or
                   14931:    # (2) before a word containing "conftest.", or (3) at the end.
                   14932:    # Note that $ac_compile itself does not contain backslashes and begins
                   14933:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14934:    lt_compile=`echo "$ac_compile" | $SED \
                   14935:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14936:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14937:    -e 's:$: $lt_compiler_flag:'`
                   14938:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14939:    (eval "$lt_compile" 2>out/conftest.err)
                   14940:    ac_status=$?
                   14941:    cat out/conftest.err >&5
                   14942:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14943:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14944:    then
                   14945:      # The compiler can only warn and ignore the option if not recognized
                   14946:      # So say no if there are warnings
                   14947:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14948:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14949:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14950:        lt_cv_prog_compiler_c_o_CXX=yes
                   14951:      fi
                   14952:    fi
                   14953:    chmod u+w . 2>&5
                   14954:    $RM conftest*
                   14955:    # SGI C++ compiler will create directory out/ii_files/ for
                   14956:    # template instantiation
                   14957:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14958:    $RM out/* && rmdir out
                   14959:    cd ..
                   14960:    $RM -r conftest
                   14961:    $RM conftest*
                   14962: 
                   14963: fi
1.150   ! moko     14964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
        !          14965: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     14966: 
                   14967: 
                   14968: 
1.150   ! moko     14969:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
        !          14970: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
        !          14971: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
        !          14972:   $as_echo_n "(cached) " >&6
1.128     moko     14973: else
                   14974:   lt_cv_prog_compiler_c_o_CXX=no
                   14975:    $RM -r conftest 2>/dev/null
                   14976:    mkdir conftest
                   14977:    cd conftest
                   14978:    mkdir out
                   14979:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14980: 
                   14981:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14982:    # Insert the option either (1) after the last *FLAGS variable, or
                   14983:    # (2) before a word containing "conftest.", or (3) at the end.
                   14984:    # Note that $ac_compile itself does not contain backslashes and begins
                   14985:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14986:    lt_compile=`echo "$ac_compile" | $SED \
                   14987:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14988:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14989:    -e 's:$: $lt_compiler_flag:'`
                   14990:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14991:    (eval "$lt_compile" 2>out/conftest.err)
                   14992:    ac_status=$?
                   14993:    cat out/conftest.err >&5
                   14994:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14995:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14996:    then
                   14997:      # The compiler can only warn and ignore the option if not recognized
                   14998:      # So say no if there are warnings
                   14999:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15000:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15001:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15002:        lt_cv_prog_compiler_c_o_CXX=yes
                   15003:      fi
                   15004:    fi
                   15005:    chmod u+w . 2>&5
                   15006:    $RM conftest*
                   15007:    # SGI C++ compiler will create directory out/ii_files/ for
                   15008:    # template instantiation
                   15009:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15010:    $RM out/* && rmdir out
                   15011:    cd ..
                   15012:    $RM -r conftest
                   15013:    $RM conftest*
                   15014: 
                   15015: fi
1.150   ! moko     15016: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
        !          15017: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15018: 
                   15019: 
                   15020: 
                   15021: 
                   15022: hard_links="nottested"
                   15023: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15024:   # do not overwrite the value of need_locks provided by the user
1.150   ! moko     15025:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
        !          15026: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15027:   hard_links=yes
                   15028:   $RM conftest*
                   15029:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15030:   touch conftest.a
                   15031:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15032:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150   ! moko     15033:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
        !          15034: $as_echo "$hard_links" >&6; }
1.128     moko     15035:   if test "$hard_links" = no; then
1.150   ! moko     15036:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
        !          15037: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15038:     need_locks=warn
                   15039:   fi
                   15040: else
                   15041:   need_locks=no
                   15042: fi
                   15043: 
                   15044: 
                   15045: 
1.150   ! moko     15046:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
        !          15047: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15048: 
                   15049:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15050:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15051:   case $host_os in
                   15052:   aix[4-9]*)
                   15053:     # If we're using GNU nm, then we don't want the "-C" option.
                   15054:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15055:     # Also, AIX nm treats weak defined symbols like other global defined
                   15056:     # symbols, whereas GNU nm marks them as "W".
                   15057:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15058:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   15059:     else
                   15060:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   15061:     fi
                   15062:     ;;
                   15063:   pw32*)
                   15064:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15065:     ;;
                   15066:   cygwin* | mingw* | cegcc*)
                   15067:     case $cc_basename in
                   15068:     cl*)
                   15069:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15070:       ;;
                   15071:     *)
                   15072:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   15073:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15074:       ;;
                   15075:     esac
                   15076:     ;;
                   15077:   *)
                   15078:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15079:     ;;
                   15080:   esac
                   15081: 
1.150   ! moko     15082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
        !          15083: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15084: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15085: 
                   15086: with_gnu_ld_CXX=$with_gnu_ld
                   15087: 
                   15088: 
                   15089: 
                   15090: 
                   15091: 
                   15092: 
                   15093: #
                   15094: # Do we need to explicitly link libc?
                   15095: #
                   15096: case "x$archive_cmds_need_lc_CXX" in
                   15097: x|xyes)
                   15098:   # Assume -lc should be added
                   15099:   archive_cmds_need_lc_CXX=yes
                   15100: 
                   15101:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15102:     case $archive_cmds_CXX in
                   15103:     *'~'*)
                   15104:       # FIXME: we may have to deal with multi-command sequences.
                   15105:       ;;
                   15106:     '$CC '*)
                   15107:       # Test whether the compiler implicitly links with -lc since on some
                   15108:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15109:       # to ld, don't add -lc before -lgcc.
1.150   ! moko     15110:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
        !          15111: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
        !          15112: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
        !          15113:   $as_echo_n "(cached) " >&6
1.128     moko     15114: else
                   15115:   $RM conftest*
                   15116:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15117: 
1.150   ! moko     15118:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15119:   (eval $ac_compile) 2>&5
                   15120:   ac_status=$?
1.150   ! moko     15121:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          15122:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15123:          soname=conftest
                   15124:          lib=conftest
                   15125:          libobjs=conftest.$ac_objext
                   15126:          deplibs=
                   15127:          wl=$lt_prog_compiler_wl_CXX
                   15128:          pic_flag=$lt_prog_compiler_pic_CXX
                   15129:          compiler_flags=-v
                   15130:          linker_flags=-v
                   15131:          verstring=
                   15132:          output_objdir=.
                   15133:          libname=conftest
                   15134:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15135:          allow_undefined_flag_CXX=
1.150   ! moko     15136:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15137:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15138:   ac_status=$?
1.150   ! moko     15139:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          15140:   test $ac_status = 0; }
1.128     moko     15141:          then
                   15142:            lt_cv_archive_cmds_need_lc_CXX=no
                   15143:          else
                   15144:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15145:          fi
                   15146:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15147:        else
                   15148:          cat conftest.err 1>&5
                   15149:        fi
                   15150:        $RM conftest*
                   15151: 
                   15152: fi
1.150   ! moko     15153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
        !          15154: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15155:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15156:       ;;
                   15157:     esac
                   15158:   fi
                   15159:   ;;
                   15160: esac
                   15161: 
                   15162: 
                   15163: 
                   15164: 
                   15165: 
                   15166: 
                   15167: 
                   15168: 
                   15169: 
                   15170: 
                   15171: 
                   15172: 
                   15173: 
                   15174: 
                   15175: 
                   15176: 
                   15177: 
                   15178: 
                   15179: 
                   15180: 
                   15181: 
                   15182: 
                   15183: 
                   15184: 
                   15185: 
                   15186: 
                   15187: 
                   15188: 
                   15189: 
                   15190: 
                   15191: 
                   15192: 
                   15193: 
                   15194: 
                   15195: 
                   15196: 
                   15197: 
                   15198: 
                   15199: 
                   15200: 
                   15201: 
                   15202: 
                   15203: 
                   15204: 
                   15205: 
                   15206: 
                   15207: 
                   15208: 
                   15209: 
                   15210: 
                   15211: 
                   15212: 
                   15213: 
                   15214: 
                   15215: 
                   15216: 
                   15217: 
                   15218: 
                   15219: 
                   15220: 
                   15221: 
                   15222: 
1.150   ! moko     15223:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
        !          15224: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15225: 
                   15226: library_names_spec=
                   15227: libname_spec='lib$name'
                   15228: soname_spec=
                   15229: shrext_cmds=".so"
                   15230: postinstall_cmds=
                   15231: postuninstall_cmds=
                   15232: finish_cmds=
                   15233: finish_eval=
                   15234: shlibpath_var=
                   15235: shlibpath_overrides_runpath=unknown
                   15236: version_type=none
                   15237: dynamic_linker="$host_os ld.so"
                   15238: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15239: need_lib_prefix=unknown
                   15240: hardcode_into_libs=no
                   15241: 
                   15242: # when you set need_version to no, make sure it does not cause -set_version
                   15243: # flags to be left without arguments
                   15244: need_version=unknown
                   15245: 
                   15246: case $host_os in
                   15247: aix3*)
                   15248:   version_type=linux # correct to gnu/linux during the next big refactor
                   15249:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15250:   shlibpath_var=LIBPATH
                   15251: 
                   15252:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15253:   soname_spec='${libname}${release}${shared_ext}$major'
                   15254:   ;;
                   15255: 
                   15256: aix[4-9]*)
                   15257:   version_type=linux # correct to gnu/linux during the next big refactor
                   15258:   need_lib_prefix=no
                   15259:   need_version=no
                   15260:   hardcode_into_libs=yes
                   15261:   if test "$host_cpu" = ia64; then
                   15262:     # AIX 5 supports IA64
                   15263:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15264:     shlibpath_var=LD_LIBRARY_PATH
                   15265:   else
                   15266:     # With GCC up to 2.95.x, collect2 would create an import file
                   15267:     # for dependence libraries.  The import file would start with
                   15268:     # the line `#! .'.  This would cause the generated library to
                   15269:     # depend on `.', always an invalid library.  This was fixed in
                   15270:     # development snapshots of GCC prior to 3.0.
                   15271:     case $host_os in
                   15272:       aix4 | aix4.[01] | aix4.[01].*)
                   15273:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15274:           echo ' yes '
                   15275:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15276:        :
                   15277:       else
                   15278:        can_build_shared=no
                   15279:       fi
                   15280:       ;;
                   15281:     esac
                   15282:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15283:     # soname into executable. Probably we can add versioning support to
                   15284:     # collect2, so additional links can be useful in future.
                   15285:     if test "$aix_use_runtimelinking" = yes; then
                   15286:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15287:       # instead of lib<name>.a to let people know that these are not
                   15288:       # typical AIX shared libraries.
                   15289:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15290:     else
                   15291:       # We preserve .a as extension for shared libraries through AIX4.2
                   15292:       # and later when we are not doing run time linking.
                   15293:       library_names_spec='${libname}${release}.a $libname.a'
                   15294:       soname_spec='${libname}${release}${shared_ext}$major'
                   15295:     fi
                   15296:     shlibpath_var=LIBPATH
                   15297:   fi
                   15298:   ;;
                   15299: 
                   15300: amigaos*)
                   15301:   case $host_cpu in
                   15302:   powerpc)
                   15303:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15304:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15305:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15306:     ;;
                   15307:   m68k)
                   15308:     library_names_spec='$libname.ixlibrary $libname.a'
                   15309:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15310:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   15311:     ;;
                   15312:   esac
                   15313:   ;;
                   15314: 
                   15315: beos*)
                   15316:   library_names_spec='${libname}${shared_ext}'
                   15317:   dynamic_linker="$host_os ld.so"
                   15318:   shlibpath_var=LIBRARY_PATH
                   15319:   ;;
                   15320: 
                   15321: bsdi[45]*)
                   15322:   version_type=linux # correct to gnu/linux during the next big refactor
                   15323:   need_version=no
                   15324:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15325:   soname_spec='${libname}${release}${shared_ext}$major'
                   15326:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15327:   shlibpath_var=LD_LIBRARY_PATH
                   15328:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15329:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15330:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15331:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15332:   # libtool to hard-code these into programs
                   15333:   ;;
                   15334: 
                   15335: cygwin* | mingw* | pw32* | cegcc*)
                   15336:   version_type=windows
                   15337:   shrext_cmds=".dll"
                   15338:   need_version=no
                   15339:   need_lib_prefix=no
                   15340: 
                   15341:   case $GCC,$cc_basename in
                   15342:   yes,*)
                   15343:     # gcc
                   15344:     library_names_spec='$libname.dll.a'
                   15345:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15346:     postinstall_cmds='base_file=`basename \${file}`~
                   15347:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15348:       dldir=$destdir/`dirname \$dlpath`~
                   15349:       test -d \$dldir || mkdir -p \$dldir~
                   15350:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15351:       chmod a+x \$dldir/$dlname~
                   15352:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15353:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15354:       fi'
                   15355:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15356:       dlpath=$dir/\$dldll~
                   15357:        $RM \$dlpath'
                   15358:     shlibpath_overrides_runpath=yes
                   15359: 
                   15360:     case $host_os in
                   15361:     cygwin*)
                   15362:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15363:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15364: 
                   15365:       ;;
                   15366:     mingw* | cegcc*)
                   15367:       # MinGW DLLs use traditional 'lib' prefix
                   15368:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15369:       ;;
                   15370:     pw32*)
                   15371:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15372:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15373:       ;;
                   15374:     esac
                   15375:     dynamic_linker='Win32 ld.exe'
                   15376:     ;;
                   15377: 
                   15378:   *,cl*)
                   15379:     # Native MSVC
                   15380:     libname_spec='$name'
                   15381:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15382:     library_names_spec='${libname}.dll.lib'
                   15383: 
                   15384:     case $build_os in
                   15385:     mingw*)
                   15386:       sys_lib_search_path_spec=
                   15387:       lt_save_ifs=$IFS
                   15388:       IFS=';'
                   15389:       for lt_path in $LIB
                   15390:       do
                   15391:         IFS=$lt_save_ifs
                   15392:         # Let DOS variable expansion print the short 8.3 style file name.
                   15393:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15394:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15395:       done
                   15396:       IFS=$lt_save_ifs
                   15397:       # Convert to MSYS style.
                   15398:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15399:       ;;
                   15400:     cygwin*)
                   15401:       # Convert to unix form, then to dos form, then back to unix form
                   15402:       # but this time dos style (no spaces!) so that the unix form looks
                   15403:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15404:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15405:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15406:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15407:       ;;
                   15408:     *)
                   15409:       sys_lib_search_path_spec="$LIB"
                   15410:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15411:         # It is most probably a Windows format PATH.
                   15412:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15413:       else
                   15414:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15415:       fi
                   15416:       # FIXME: find the short name or the path components, as spaces are
                   15417:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15418:       ;;
                   15419:     esac
                   15420: 
                   15421:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15422:     postinstall_cmds='base_file=`basename \${file}`~
                   15423:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15424:       dldir=$destdir/`dirname \$dlpath`~
                   15425:       test -d \$dldir || mkdir -p \$dldir~
                   15426:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15427:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15428:       dlpath=$dir/\$dldll~
                   15429:        $RM \$dlpath'
                   15430:     shlibpath_overrides_runpath=yes
                   15431:     dynamic_linker='Win32 link.exe'
                   15432:     ;;
                   15433: 
                   15434:   *)
                   15435:     # Assume MSVC wrapper
                   15436:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15437:     dynamic_linker='Win32 ld.exe'
                   15438:     ;;
                   15439:   esac
                   15440:   # FIXME: first we should search . and the directory the executable is in
                   15441:   shlibpath_var=PATH
                   15442:   ;;
                   15443: 
                   15444: darwin* | rhapsody*)
                   15445:   dynamic_linker="$host_os dyld"
                   15446:   version_type=darwin
                   15447:   need_lib_prefix=no
                   15448:   need_version=no
                   15449:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15450:   soname_spec='${libname}${release}${major}$shared_ext'
                   15451:   shlibpath_overrides_runpath=yes
                   15452:   shlibpath_var=DYLD_LIBRARY_PATH
                   15453:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15454: 
                   15455:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15456:   ;;
                   15457: 
                   15458: dgux*)
                   15459:   version_type=linux # correct to gnu/linux during the next big refactor
                   15460:   need_lib_prefix=no
                   15461:   need_version=no
                   15462:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15463:   soname_spec='${libname}${release}${shared_ext}$major'
                   15464:   shlibpath_var=LD_LIBRARY_PATH
                   15465:   ;;
                   15466: 
                   15467: freebsd* | dragonfly*)
                   15468:   # DragonFly does not have aout.  When/if they implement a new
                   15469:   # versioning mechanism, adjust this.
                   15470:   if test -x /usr/bin/objformat; then
                   15471:     objformat=`/usr/bin/objformat`
                   15472:   else
                   15473:     case $host_os in
                   15474:     freebsd[23].*) objformat=aout ;;
                   15475:     *) objformat=elf ;;
                   15476:     esac
                   15477:   fi
                   15478:   version_type=freebsd-$objformat
                   15479:   case $version_type in
                   15480:     freebsd-elf*)
                   15481:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15482:       need_version=no
                   15483:       need_lib_prefix=no
                   15484:       ;;
                   15485:     freebsd-*)
                   15486:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15487:       need_version=yes
                   15488:       ;;
                   15489:   esac
                   15490:   shlibpath_var=LD_LIBRARY_PATH
                   15491:   case $host_os in
                   15492:   freebsd2.*)
                   15493:     shlibpath_overrides_runpath=yes
                   15494:     ;;
                   15495:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15496:     shlibpath_overrides_runpath=yes
                   15497:     hardcode_into_libs=yes
                   15498:     ;;
                   15499:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15500:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15501:     shlibpath_overrides_runpath=no
                   15502:     hardcode_into_libs=yes
                   15503:     ;;
                   15504:   *) # from 4.6 on, and DragonFly
                   15505:     shlibpath_overrides_runpath=yes
                   15506:     hardcode_into_libs=yes
                   15507:     ;;
                   15508:   esac
                   15509:   ;;
                   15510: 
                   15511: gnu*)
                   15512:   version_type=linux # correct to gnu/linux during the next big refactor
                   15513:   need_lib_prefix=no
                   15514:   need_version=no
                   15515:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15516:   soname_spec='${libname}${release}${shared_ext}$major'
                   15517:   shlibpath_var=LD_LIBRARY_PATH
                   15518:   shlibpath_overrides_runpath=no
                   15519:   hardcode_into_libs=yes
                   15520:   ;;
                   15521: 
                   15522: haiku*)
                   15523:   version_type=linux # correct to gnu/linux during the next big refactor
                   15524:   need_lib_prefix=no
                   15525:   need_version=no
                   15526:   dynamic_linker="$host_os runtime_loader"
                   15527:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15528:   soname_spec='${libname}${release}${shared_ext}$major'
                   15529:   shlibpath_var=LIBRARY_PATH
                   15530:   shlibpath_overrides_runpath=yes
                   15531:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15532:   hardcode_into_libs=yes
                   15533:   ;;
                   15534: 
                   15535: hpux9* | hpux10* | hpux11*)
                   15536:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15537:   # link against other versions.
                   15538:   version_type=sunos
                   15539:   need_lib_prefix=no
                   15540:   need_version=no
                   15541:   case $host_cpu in
                   15542:   ia64*)
                   15543:     shrext_cmds='.so'
                   15544:     hardcode_into_libs=yes
                   15545:     dynamic_linker="$host_os dld.so"
                   15546:     shlibpath_var=LD_LIBRARY_PATH
                   15547:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15548:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15549:     soname_spec='${libname}${release}${shared_ext}$major'
                   15550:     if test "X$HPUX_IA64_MODE" = X32; then
                   15551:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15552:     else
                   15553:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15554:     fi
                   15555:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15556:     ;;
                   15557:   hppa*64*)
                   15558:     shrext_cmds='.sl'
                   15559:     hardcode_into_libs=yes
                   15560:     dynamic_linker="$host_os dld.sl"
                   15561:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15562:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15563:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15564:     soname_spec='${libname}${release}${shared_ext}$major'
                   15565:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15566:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15567:     ;;
                   15568:   *)
                   15569:     shrext_cmds='.sl'
                   15570:     dynamic_linker="$host_os dld.sl"
                   15571:     shlibpath_var=SHLIB_PATH
                   15572:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15573:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15574:     soname_spec='${libname}${release}${shared_ext}$major'
                   15575:     ;;
                   15576:   esac
                   15577:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15578:   postinstall_cmds='chmod 555 $lib'
                   15579:   # or fails outright, so override atomically:
                   15580:   install_override_mode=555
                   15581:   ;;
                   15582: 
                   15583: interix[3-9]*)
                   15584:   version_type=linux # correct to gnu/linux during the next big refactor
                   15585:   need_lib_prefix=no
                   15586:   need_version=no
                   15587:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15588:   soname_spec='${libname}${release}${shared_ext}$major'
                   15589:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15590:   shlibpath_var=LD_LIBRARY_PATH
                   15591:   shlibpath_overrides_runpath=no
                   15592:   hardcode_into_libs=yes
                   15593:   ;;
                   15594: 
                   15595: irix5* | irix6* | nonstopux*)
                   15596:   case $host_os in
                   15597:     nonstopux*) version_type=nonstopux ;;
                   15598:     *)
                   15599:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15600:                version_type=linux # correct to gnu/linux during the next big refactor
                   15601:        else
                   15602:                version_type=irix
                   15603:        fi ;;
                   15604:   esac
                   15605:   need_lib_prefix=no
                   15606:   need_version=no
                   15607:   soname_spec='${libname}${release}${shared_ext}$major'
                   15608:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15609:   case $host_os in
                   15610:   irix5* | nonstopux*)
                   15611:     libsuff= shlibsuff=
                   15612:     ;;
                   15613:   *)
                   15614:     case $LD in # libtool.m4 will add one of these switches to LD
                   15615:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15616:       libsuff= shlibsuff= libmagic=32-bit;;
                   15617:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15618:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15619:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15620:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15621:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15622:     esac
                   15623:     ;;
                   15624:   esac
                   15625:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15626:   shlibpath_overrides_runpath=no
                   15627:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15628:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15629:   hardcode_into_libs=yes
                   15630:   ;;
                   15631: 
                   15632: # No shared lib support for Linux oldld, aout, or coff.
                   15633: linux*oldld* | linux*aout* | linux*coff*)
                   15634:   dynamic_linker=no
                   15635:   ;;
                   15636: 
                   15637: # This must be glibc/ELF.
                   15638: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15639:   version_type=linux # correct to gnu/linux during the next big refactor
                   15640:   need_lib_prefix=no
                   15641:   need_version=no
                   15642:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15643:   soname_spec='${libname}${release}${shared_ext}$major'
                   15644:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15645:   shlibpath_var=LD_LIBRARY_PATH
                   15646:   shlibpath_overrides_runpath=no
                   15647: 
                   15648:   # Some binutils ld are patched to set DT_RUNPATH
1.150   ! moko     15649:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
        !          15650:   $as_echo_n "(cached) " >&6
1.128     moko     15651: else
                   15652:   lt_cv_shlibpath_overrides_runpath=no
                   15653:     save_LDFLAGS=$LDFLAGS
                   15654:     save_libdir=$libdir
                   15655:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15656:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150   ! moko     15657:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15658: /* end confdefs.h.  */
                   15659: 
                   15660: int
                   15661: main ()
                   15662: {
                   15663: 
                   15664:   ;
                   15665:   return 0;
                   15666: }
                   15667: _ACEOF
1.150   ! moko     15668: if ac_fn_cxx_try_link "$LINENO"; then :
        !          15669:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15670:   lt_cv_shlibpath_overrides_runpath=yes
                   15671: fi
                   15672: fi
1.150   ! moko     15673: rm -f core conftest.err conftest.$ac_objext \
        !          15674:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15675:     LDFLAGS=$save_LDFLAGS
                   15676:     libdir=$save_libdir
                   15677: 
                   15678: fi
                   15679: 
                   15680:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15681: 
                   15682:   # This implies no fast_install, which is unacceptable.
                   15683:   # Some rework will be needed to allow for fast_install
                   15684:   # before this can be enabled.
                   15685:   hardcode_into_libs=yes
                   15686: 
                   15687:   # Append ld.so.conf contents to the search path
                   15688:   if test -f /etc/ld.so.conf; then
                   15689:     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' ' '`
                   15690:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15691:   fi
                   15692: 
                   15693:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15694:   # powerpc, because MkLinux only supported shared libraries with the
                   15695:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15696:   # most powerpc-linux boxes support dynamic linking these days and
                   15697:   # people can always --disable-shared, the test was removed, and we
                   15698:   # assume the GNU/Linux dynamic linker is in use.
                   15699:   dynamic_linker='GNU/Linux ld.so'
                   15700:   ;;
                   15701: 
                   15702: netbsd*)
                   15703:   version_type=sunos
                   15704:   need_lib_prefix=no
                   15705:   need_version=no
                   15706:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15707:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15708:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15709:     dynamic_linker='NetBSD (a.out) ld.so'
                   15710:   else
                   15711:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15712:     soname_spec='${libname}${release}${shared_ext}$major'
                   15713:     dynamic_linker='NetBSD ld.elf_so'
                   15714:   fi
                   15715:   shlibpath_var=LD_LIBRARY_PATH
                   15716:   shlibpath_overrides_runpath=yes
                   15717:   hardcode_into_libs=yes
                   15718:   ;;
                   15719: 
                   15720: newsos6)
                   15721:   version_type=linux # correct to gnu/linux during the next big refactor
                   15722:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15723:   shlibpath_var=LD_LIBRARY_PATH
                   15724:   shlibpath_overrides_runpath=yes
                   15725:   ;;
                   15726: 
                   15727: *nto* | *qnx*)
                   15728:   version_type=qnx
                   15729:   need_lib_prefix=no
                   15730:   need_version=no
                   15731:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15732:   soname_spec='${libname}${release}${shared_ext}$major'
                   15733:   shlibpath_var=LD_LIBRARY_PATH
                   15734:   shlibpath_overrides_runpath=no
                   15735:   hardcode_into_libs=yes
                   15736:   dynamic_linker='ldqnx.so'
                   15737:   ;;
                   15738: 
                   15739: openbsd*)
                   15740:   version_type=sunos
                   15741:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15742:   need_lib_prefix=no
                   15743:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15744:   case $host_os in
                   15745:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15746:     *)                         need_version=no  ;;
                   15747:   esac
                   15748:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15749:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15750:   shlibpath_var=LD_LIBRARY_PATH
                   15751:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15752:     case $host_os in
                   15753:       openbsd2.[89] | openbsd2.[89].*)
                   15754:        shlibpath_overrides_runpath=no
                   15755:        ;;
                   15756:       *)
                   15757:        shlibpath_overrides_runpath=yes
                   15758:        ;;
                   15759:       esac
                   15760:   else
                   15761:     shlibpath_overrides_runpath=yes
                   15762:   fi
                   15763:   ;;
                   15764: 
                   15765: os2*)
                   15766:   libname_spec='$name'
                   15767:   shrext_cmds=".dll"
                   15768:   need_lib_prefix=no
                   15769:   library_names_spec='$libname${shared_ext} $libname.a'
                   15770:   dynamic_linker='OS/2 ld.exe'
                   15771:   shlibpath_var=LIBPATH
                   15772:   ;;
                   15773: 
                   15774: osf3* | osf4* | osf5*)
                   15775:   version_type=osf
                   15776:   need_lib_prefix=no
                   15777:   need_version=no
                   15778:   soname_spec='${libname}${release}${shared_ext}$major'
                   15779:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15780:   shlibpath_var=LD_LIBRARY_PATH
                   15781:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15782:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15783:   ;;
                   15784: 
                   15785: rdos*)
                   15786:   dynamic_linker=no
                   15787:   ;;
                   15788: 
                   15789: solaris*)
                   15790:   version_type=linux # correct to gnu/linux during the next big refactor
                   15791:   need_lib_prefix=no
                   15792:   need_version=no
                   15793:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15794:   soname_spec='${libname}${release}${shared_ext}$major'
                   15795:   shlibpath_var=LD_LIBRARY_PATH
                   15796:   shlibpath_overrides_runpath=yes
                   15797:   hardcode_into_libs=yes
                   15798:   # ldd complains unless libraries are executable
                   15799:   postinstall_cmds='chmod +x $lib'
                   15800:   ;;
                   15801: 
                   15802: sunos4*)
                   15803:   version_type=sunos
                   15804:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15805:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15806:   shlibpath_var=LD_LIBRARY_PATH
                   15807:   shlibpath_overrides_runpath=yes
                   15808:   if test "$with_gnu_ld" = yes; then
                   15809:     need_lib_prefix=no
                   15810:   fi
                   15811:   need_version=yes
                   15812:   ;;
                   15813: 
                   15814: sysv4 | sysv4.3*)
                   15815:   version_type=linux # correct to gnu/linux during the next big refactor
                   15816:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15817:   soname_spec='${libname}${release}${shared_ext}$major'
                   15818:   shlibpath_var=LD_LIBRARY_PATH
                   15819:   case $host_vendor in
                   15820:     sni)
                   15821:       shlibpath_overrides_runpath=no
                   15822:       need_lib_prefix=no
                   15823:       runpath_var=LD_RUN_PATH
                   15824:       ;;
                   15825:     siemens)
                   15826:       need_lib_prefix=no
                   15827:       ;;
                   15828:     motorola)
                   15829:       need_lib_prefix=no
                   15830:       need_version=no
                   15831:       shlibpath_overrides_runpath=no
                   15832:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15833:       ;;
                   15834:   esac
                   15835:   ;;
                   15836: 
                   15837: sysv4*MP*)
                   15838:   if test -d /usr/nec ;then
                   15839:     version_type=linux # correct to gnu/linux during the next big refactor
                   15840:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15841:     soname_spec='$libname${shared_ext}.$major'
                   15842:     shlibpath_var=LD_LIBRARY_PATH
                   15843:   fi
                   15844:   ;;
                   15845: 
                   15846: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15847:   version_type=freebsd-elf
                   15848:   need_lib_prefix=no
                   15849:   need_version=no
                   15850:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15851:   soname_spec='${libname}${release}${shared_ext}$major'
                   15852:   shlibpath_var=LD_LIBRARY_PATH
                   15853:   shlibpath_overrides_runpath=yes
                   15854:   hardcode_into_libs=yes
                   15855:   if test "$with_gnu_ld" = yes; then
                   15856:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15857:   else
                   15858:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15859:     case $host_os in
                   15860:       sco3.2v5*)
                   15861:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15862:        ;;
                   15863:     esac
                   15864:   fi
                   15865:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15866:   ;;
                   15867: 
                   15868: tpf*)
                   15869:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15870:   version_type=linux # correct to gnu/linux during the next big refactor
                   15871:   need_lib_prefix=no
                   15872:   need_version=no
                   15873:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15874:   shlibpath_var=LD_LIBRARY_PATH
                   15875:   shlibpath_overrides_runpath=no
                   15876:   hardcode_into_libs=yes
                   15877:   ;;
                   15878: 
                   15879: uts4*)
                   15880:   version_type=linux # correct to gnu/linux during the next big refactor
                   15881:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15882:   soname_spec='${libname}${release}${shared_ext}$major'
                   15883:   shlibpath_var=LD_LIBRARY_PATH
                   15884:   ;;
                   15885: 
                   15886: *)
                   15887:   dynamic_linker=no
                   15888:   ;;
                   15889: esac
1.150   ! moko     15890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
        !          15891: $as_echo "$dynamic_linker" >&6; }
1.128     moko     15892: test "$dynamic_linker" = no && can_build_shared=no
                   15893: 
                   15894: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15895: if test "$GCC" = yes; then
                   15896:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15897: fi
                   15898: 
                   15899: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15900:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15901: fi
                   15902: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15903:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15904: fi
                   15905: 
                   15906: 
                   15907: 
                   15908: 
                   15909: 
                   15910: 
                   15911: 
                   15912: 
                   15913: 
                   15914: 
                   15915: 
                   15916: 
                   15917: 
                   15918: 
                   15919: 
                   15920: 
                   15921: 
                   15922: 
                   15923: 
                   15924: 
                   15925: 
                   15926: 
                   15927: 
                   15928: 
                   15929: 
                   15930: 
                   15931: 
                   15932: 
                   15933: 
                   15934: 
                   15935: 
                   15936: 
                   15937: 
                   15938: 
                   15939: 
                   15940: 
                   15941: 
                   15942: 
1.150   ! moko     15943:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
        !          15944: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15945: hardcode_action_CXX=
                   15946: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15947:    test -n "$runpath_var_CXX" ||
                   15948:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15949: 
                   15950:   # We can hardcode non-existent directories.
                   15951:   if test "$hardcode_direct_CXX" != no &&
                   15952:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15953:      # have to relink, otherwise we might link with an installed library
                   15954:      # when we should be linking with a yet-to-be-installed one
                   15955:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15956:      test "$hardcode_minus_L_CXX" != no; then
                   15957:     # Linking always hardcodes the temporary library directory.
                   15958:     hardcode_action_CXX=relink
                   15959:   else
                   15960:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15961:     hardcode_action_CXX=immediate
                   15962:   fi
                   15963: else
                   15964:   # We cannot hardcode anything, or else we can only hardcode existing
                   15965:   # directories.
                   15966:   hardcode_action_CXX=unsupported
                   15967: fi
1.150   ! moko     15968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
        !          15969: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     15970: 
                   15971: if test "$hardcode_action_CXX" = relink ||
                   15972:    test "$inherit_rpath_CXX" = yes; then
                   15973:   # Fast installation is not supported
                   15974:   enable_fast_install=no
                   15975: elif test "$shlibpath_overrides_runpath" = yes ||
                   15976:      test "$enable_shared" = no; then
                   15977:   # Fast installation is not necessary
                   15978:   enable_fast_install=needless
                   15979: fi
                   15980: 
                   15981: 
                   15982: 
                   15983: 
                   15984: 
                   15985: 
                   15986: 
                   15987:   fi # test -n "$compiler"
                   15988: 
                   15989:   CC=$lt_save_CC
                   15990:   CFLAGS=$lt_save_CFLAGS
                   15991:   LDCXX=$LD
                   15992:   LD=$lt_save_LD
                   15993:   GCC=$lt_save_GCC
                   15994:   with_gnu_ld=$lt_save_with_gnu_ld
                   15995:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15996:   lt_cv_path_LD=$lt_save_path_LD
                   15997:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15998:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15999: fi # test "$_lt_caught_CXX_error" != yes
                   16000: 
                   16001: ac_ext=c
                   16002: ac_cpp='$CPP $CPPFLAGS'
                   16003: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16004: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16005: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16006: 
                   16007: 
                   16008: 
                   16009: 
                   16010: 
                   16011: 
                   16012: 
                   16013: 
                   16014: 
                   16015: 
                   16016: 
                   16017: 
                   16018: 
                   16019: 
                   16020: 
1.150   ! moko     16021:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16022: 
                   16023: 
                   16024: 
                   16025: 
                   16026: # Only expand once:
                   16027: 
                   16028: 
1.150   ! moko     16029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
        !          16030: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
        !          16031: if ${libltdl_cv_shlibext+:} false; then :
        !          16032:   $as_echo_n "(cached) " >&6
1.128     moko     16033: else
                   16034: 
                   16035: module=yes
                   16036: eval libltdl_cv_shlibext=$shrext_cmds
                   16037: module=no
                   16038: eval libltdl_cv_shrext=$shrext_cmds
                   16039: 
                   16040: fi
1.150   ! moko     16041: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
        !          16042: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16043: if test -n "$libltdl_cv_shlibext"; then
                   16044: 
                   16045: cat >>confdefs.h <<_ACEOF
                   16046: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16047: _ACEOF
                   16048: 
                   16049: fi
                   16050: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16051: 
                   16052: cat >>confdefs.h <<_ACEOF
                   16053: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16054: _ACEOF
                   16055: 
                   16056: fi
                   16057: 
1.150   ! moko     16058: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
        !          16059: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
        !          16060: if ${lt_cv_module_path_var+:} false; then :
        !          16061:   $as_echo_n "(cached) " >&6
1.128     moko     16062: else
                   16063:   lt_cv_module_path_var="$shlibpath_var"
                   16064: fi
1.150   ! moko     16065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
        !          16066: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16067: if test -n "$lt_cv_module_path_var"; then
                   16068: 
                   16069: cat >>confdefs.h <<_ACEOF
                   16070: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16071: _ACEOF
                   16072: 
                   16073: fi
                   16074: 
1.150   ! moko     16075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
        !          16076: $as_echo_n "checking for the default library search path... " >&6; }
        !          16077: if ${lt_cv_sys_dlsearch_path+:} false; then :
        !          16078:   $as_echo_n "(cached) " >&6
1.128     moko     16079: else
                   16080:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16081: fi
1.150   ! moko     16082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
        !          16083: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16084: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16085:   sys_dlsearch_path=
                   16086:   for dir in $lt_cv_sys_dlsearch_path; do
                   16087:     if test -z "$sys_dlsearch_path"; then
                   16088:       sys_dlsearch_path="$dir"
                   16089:     else
                   16090:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16091:     fi
                   16092:   done
                   16093: 
                   16094: cat >>confdefs.h <<_ACEOF
                   16095: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16096: _ACEOF
                   16097: 
                   16098: fi
                   16099: 
                   16100: 
                   16101: LT_DLLOADERS=
                   16102: 
                   16103: 
                   16104: ac_ext=c
                   16105: ac_cpp='$CPP $CPPFLAGS'
                   16106: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16107: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16108: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16109: 
                   16110: 
                   16111: LIBADD_DLOPEN=
1.150   ! moko     16112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
        !          16113: $as_echo_n "checking for library containing dlopen... " >&6; }
        !          16114: if ${ac_cv_search_dlopen+:} false; then :
        !          16115:   $as_echo_n "(cached) " >&6
1.128     moko     16116: else
                   16117:   ac_func_search_save_LIBS=$LIBS
1.150   ! moko     16118: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16119: /* end confdefs.h.  */
                   16120: 
1.150   ! moko     16121: /* Override any GCC internal prototype to avoid an error.
        !          16122:    Use char because int might match the return type of a GCC
        !          16123:    builtin and then its argument prototype would still apply.  */
1.128     moko     16124: #ifdef __cplusplus
                   16125: extern "C"
                   16126: #endif
                   16127: char dlopen ();
                   16128: int
                   16129: main ()
                   16130: {
1.150   ! moko     16131: return dlopen ();
1.128     moko     16132:   ;
                   16133:   return 0;
                   16134: }
                   16135: _ACEOF
1.150   ! moko     16136: for ac_lib in '' dl; do
        !          16137:   if test -z "$ac_lib"; then
        !          16138:     ac_res="none required"
        !          16139:   else
        !          16140:     ac_res=-l$ac_lib
        !          16141:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          16142:   fi
        !          16143:   if ac_fn_c_try_link "$LINENO"; then :
        !          16144:   ac_cv_search_dlopen=$ac_res
        !          16145: fi
        !          16146: rm -f core conftest.err conftest.$ac_objext \
        !          16147:     conftest$ac_exeext
        !          16148:   if ${ac_cv_search_dlopen+:} false; then :
        !          16149:   break
1.128     moko     16150: fi
1.150   ! moko     16151: done
        !          16152: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16153: 
                   16154: else
1.150   ! moko     16155:   ac_cv_search_dlopen=no
1.128     moko     16156: fi
1.150   ! moko     16157: rm conftest.$ac_ext
1.128     moko     16158: LIBS=$ac_func_search_save_LIBS
                   16159: fi
1.150   ! moko     16160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
        !          16161: $as_echo "$ac_cv_search_dlopen" >&6; }
        !          16162: ac_res=$ac_cv_search_dlopen
        !          16163: if test "$ac_res" != no; then :
        !          16164:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16165: 
1.150   ! moko     16166: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16167: 
                   16168:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16169:          LIBADD_DLOPEN="-ldl"
                   16170:        fi
                   16171:        libltdl_cv_lib_dl_dlopen="yes"
                   16172:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16173: else
1.150   ! moko     16174:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16175: /* end confdefs.h.  */
                   16176: #if HAVE_DLFCN_H
                   16177: #  include <dlfcn.h>
                   16178: #endif
                   16179: 
                   16180: int
                   16181: main ()
                   16182: {
                   16183: dlopen(0, 0);
                   16184:   ;
                   16185:   return 0;
                   16186: }
                   16187: _ACEOF
1.150   ! moko     16188: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16189: 
1.150   ! moko     16190: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16191: 
                   16192:            libltdl_cv_func_dlopen="yes"
                   16193:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16194: else
1.150   ! moko     16195:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
        !          16196: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
        !          16197: if ${ac_cv_lib_svld_dlopen+:} false; then :
        !          16198:   $as_echo_n "(cached) " >&6
1.128     moko     16199: else
                   16200:   ac_check_lib_save_LIBS=$LIBS
                   16201: LIBS="-lsvld  $LIBS"
1.150   ! moko     16202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16203: /* end confdefs.h.  */
                   16204: 
1.150   ! moko     16205: /* Override any GCC internal prototype to avoid an error.
        !          16206:    Use char because int might match the return type of a GCC
        !          16207:    builtin and then its argument prototype would still apply.  */
1.128     moko     16208: #ifdef __cplusplus
                   16209: extern "C"
                   16210: #endif
                   16211: char dlopen ();
                   16212: int
                   16213: main ()
                   16214: {
1.150   ! moko     16215: return dlopen ();
1.128     moko     16216:   ;
                   16217:   return 0;
                   16218: }
                   16219: _ACEOF
1.150   ! moko     16220: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16221:   ac_cv_lib_svld_dlopen=yes
                   16222: else
1.150   ! moko     16223:   ac_cv_lib_svld_dlopen=no
1.128     moko     16224: fi
1.150   ! moko     16225: rm -f core conftest.err conftest.$ac_objext \
        !          16226:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16227: LIBS=$ac_check_lib_save_LIBS
                   16228: fi
1.150   ! moko     16229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
        !          16230: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
        !          16231: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16232: 
1.150   ! moko     16233: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16234: 
                   16235:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16236:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16237: fi
                   16238: 
                   16239: fi
1.150   ! moko     16240: rm -f core conftest.err conftest.$ac_objext \
        !          16241:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16242: fi
                   16243: 
                   16244: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16245: then
                   16246:   lt_save_LIBS="$LIBS"
                   16247:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150   ! moko     16248:   for ac_func in dlerror
        !          16249: do :
        !          16250:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
        !          16251: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16252:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     16253: #define HAVE_DLERROR 1
1.128     moko     16254: _ACEOF
                   16255: 
                   16256: fi
                   16257: done
                   16258: 
                   16259:   LIBS="$lt_save_LIBS"
                   16260: fi
                   16261: 
                   16262: 
                   16263: LIBADD_SHL_LOAD=
1.150   ! moko     16264: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
        !          16265: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16266: 
1.150   ! moko     16267: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16268: 
                   16269:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16270: else
1.150   ! moko     16271:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
        !          16272: $as_echo_n "checking for shl_load in -ldld... " >&6; }
        !          16273: if ${ac_cv_lib_dld_shl_load+:} false; then :
        !          16274:   $as_echo_n "(cached) " >&6
1.66      paf      16275: else
                   16276:   ac_check_lib_save_LIBS=$LIBS
                   16277: LIBS="-ldld  $LIBS"
1.150   ! moko     16278: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16279: /* end confdefs.h.  */
1.10      paf      16280: 
1.150   ! moko     16281: /* Override any GCC internal prototype to avoid an error.
        !          16282:    Use char because int might match the return type of a GCC
        !          16283:    builtin and then its argument prototype would still apply.  */
1.66      paf      16284: #ifdef __cplusplus
                   16285: extern "C"
                   16286: #endif
                   16287: char shl_load ();
                   16288: int
                   16289: main ()
                   16290: {
1.150   ! moko     16291: return shl_load ();
1.66      paf      16292:   ;
                   16293:   return 0;
                   16294: }
                   16295: _ACEOF
1.150   ! moko     16296: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16297:   ac_cv_lib_dld_shl_load=yes
                   16298: else
1.150   ! moko     16299:   ac_cv_lib_dld_shl_load=no
1.66      paf      16300: fi
1.150   ! moko     16301: rm -f core conftest.err conftest.$ac_objext \
        !          16302:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16303: LIBS=$ac_check_lib_save_LIBS
                   16304: fi
1.150   ! moko     16305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
        !          16306: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
        !          16307: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16308: 
1.150   ! moko     16309: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16310: 
1.128     moko     16311:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16312:            LIBADD_SHL_LOAD="-ldld"
                   16313: fi
                   16314: 
                   16315: fi
                   16316: 
                   16317: 
                   16318: 
                   16319: case $host_os in
                   16320: darwin[1567].*)
                   16321: # We only want this for pre-Mac OS X 10.4.
1.150   ! moko     16322:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
        !          16323: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
        !          16324: 
        !          16325: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16326: 
1.150   ! moko     16327:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
        !          16328: fi
1.128     moko     16329: 
1.150   ! moko     16330:   ;;
        !          16331: beos*)
1.128     moko     16332:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16333:   ;;
                   16334: cygwin* | mingw* | os2* | pw32*)
1.150   ! moko     16335:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
        !          16336: "
        !          16337: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
        !          16338:   ac_have_decl=1
1.128     moko     16339: else
1.150   ! moko     16340:   ac_have_decl=0
1.128     moko     16341: fi
                   16342: 
                   16343: cat >>confdefs.h <<_ACEOF
1.150   ! moko     16344: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16345: _ACEOF
                   16346: 
                   16347:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16348:   ;;
                   16349: esac
                   16350: 
1.150   ! moko     16351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
        !          16352: $as_echo_n "checking for dld_link in -ldld... " >&6; }
        !          16353: if ${ac_cv_lib_dld_dld_link+:} false; then :
        !          16354:   $as_echo_n "(cached) " >&6
1.66      paf      16355: else
                   16356:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16357: LIBS="-ldld  $LIBS"
1.150   ! moko     16358: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16359: /* end confdefs.h.  */
1.62      paf      16360: 
1.150   ! moko     16361: /* Override any GCC internal prototype to avoid an error.
        !          16362:    Use char because int might match the return type of a GCC
        !          16363:    builtin and then its argument prototype would still apply.  */
1.66      paf      16364: #ifdef __cplusplus
                   16365: extern "C"
                   16366: #endif
1.128     moko     16367: char dld_link ();
1.66      paf      16368: int
                   16369: main ()
                   16370: {
1.150   ! moko     16371: return dld_link ();
1.66      paf      16372:   ;
                   16373:   return 0;
                   16374: }
                   16375: _ACEOF
1.150   ! moko     16376: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16377:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16378: else
1.150   ! moko     16379:   ac_cv_lib_dld_dld_link=no
1.128     moko     16380: fi
1.150   ! moko     16381: rm -f core conftest.err conftest.$ac_objext \
        !          16382:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16383: LIBS=$ac_check_lib_save_LIBS
                   16384: fi
1.150   ! moko     16385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
        !          16386: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
        !          16387: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16388: 
1.150   ! moko     16389: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16390: 
                   16391:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16392: fi
                   16393: 
                   16394: 
                   16395: 
                   16396: 
                   16397: LT_DLPREOPEN=
                   16398: if test -n "$LT_DLLOADERS"
                   16399: then
                   16400:   for lt_loader in $LT_DLLOADERS; do
                   16401:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16402:   done
                   16403: 
1.150   ! moko     16404: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16405: 
                   16406: fi
                   16407: 
                   16408: 
                   16409: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16410: 
                   16411: 
                   16412: ac_ext=c
                   16413: ac_cpp='$CPP $CPPFLAGS'
                   16414: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16415: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16416: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16417: 
                   16418: 
1.150   ! moko     16419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
        !          16420: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
        !          16421: if ${lt_cv_sys_symbol_underscore+:} false; then :
        !          16422:   $as_echo_n "(cached) " >&6
1.128     moko     16423: else
                   16424:   lt_cv_sys_symbol_underscore=no
                   16425:   cat > conftest.$ac_ext <<_LT_EOF
                   16426: void nm_test_func(){}
                   16427: int main(){nm_test_func;return 0;}
                   16428: _LT_EOF
1.150   ! moko     16429:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16430:   (eval $ac_compile) 2>&5
                   16431:   ac_status=$?
1.150   ! moko     16432:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          16433:   test $ac_status = 0; }; then
1.128     moko     16434:     # Now try to grab the symbols.
                   16435:     ac_nlist=conftest.nm
1.150   ! moko     16436:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16437:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16438:   ac_status=$?
1.150   ! moko     16439:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          16440:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16441:       # See whether the symbols have a leading underscore.
                   16442:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16443:         lt_cv_sys_symbol_underscore=yes
                   16444:       else
                   16445:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16446:          :
                   16447:         else
                   16448:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16449:         fi
                   16450:       fi
                   16451:     else
                   16452:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16453:     fi
                   16454:   else
                   16455:     echo "configure: failed program was:" >&5
                   16456:     cat conftest.c >&5
                   16457:   fi
                   16458:   rm -rf conftest*
1.29      paf      16459: 
1.66      paf      16460: fi
1.150   ! moko     16461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
        !          16462: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16463:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16464: 
1.62      paf      16465: 
1.128     moko     16466: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16467:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16468:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150   ! moko     16469:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
        !          16470: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
        !          16471: if ${libltdl_cv_need_uscore+:} false; then :
        !          16472:   $as_echo_n "(cached) " >&6
1.66      paf      16473: else
1.128     moko     16474:   libltdl_cv_need_uscore=unknown
                   16475:           save_LIBS="$LIBS"
                   16476:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16477:          if test "$cross_compiling" = yes; then :
                   16478:   libltdl_cv_need_uscore=cross
                   16479: else
                   16480:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16481:   lt_status=$lt_dlunknown
                   16482:   cat > conftest.$ac_ext <<_LT_EOF
                   16483: #line $LINENO "configure"
                   16484: #include "confdefs.h"
                   16485: 
1.66      paf      16486: #if HAVE_DLFCN_H
1.128     moko     16487: #include <dlfcn.h>
                   16488: #endif
                   16489: 
                   16490: #include <stdio.h>
                   16491: 
                   16492: #ifdef RTLD_GLOBAL
                   16493: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16494: #else
                   16495: #  ifdef DL_GLOBAL
                   16496: #    define LT_DLGLOBAL                DL_GLOBAL
                   16497: #  else
                   16498: #    define LT_DLGLOBAL                0
                   16499: #  endif
                   16500: #endif
                   16501: 
                   16502: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16503:    find out it does not work in some platform. */
                   16504: #ifndef LT_DLLAZY_OR_NOW
                   16505: #  ifdef RTLD_LAZY
                   16506: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16507: #  else
                   16508: #    ifdef DL_LAZY
                   16509: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16510: #    else
                   16511: #      ifdef RTLD_NOW
                   16512: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16513: #      else
                   16514: #        ifdef DL_NOW
                   16515: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16516: #        else
                   16517: #          define LT_DLLAZY_OR_NOW     0
                   16518: #        endif
                   16519: #      endif
                   16520: #    endif
                   16521: #  endif
                   16522: #endif
                   16523: 
                   16524: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16525:    correspondingly for the symbols needed.  */
                   16526: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16527: int fnord () __attribute__((visibility("default")));
1.66      paf      16528: #endif
1.62      paf      16529: 
1.128     moko     16530: int fnord () { return 42; }
                   16531: int main ()
1.66      paf      16532: {
1.128     moko     16533:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16534:   int status = $lt_dlunknown;
                   16535: 
                   16536:   if (self)
                   16537:     {
                   16538:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16539:       else
                   16540:         {
                   16541:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16542:           else puts (dlerror ());
                   16543:        }
                   16544:       /* dlclose (self); */
                   16545:     }
                   16546:   else
                   16547:     puts (dlerror ());
                   16548: 
                   16549:   return status;
1.66      paf      16550: }
1.128     moko     16551: _LT_EOF
1.150   ! moko     16552:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16553:   (eval $ac_link) 2>&5
1.66      paf      16554:   ac_status=$?
1.150   ! moko     16555:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          16556:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16557:     (./conftest; exit; ) >&5 2>/dev/null
                   16558:     lt_status=$?
                   16559:     case x$lt_status in
                   16560:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16561:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16562:       x$lt_dlunknown|x*)  ;;
                   16563:     esac
                   16564:   else :
                   16565:     # compilation failed
                   16566: 
                   16567:   fi
                   16568: fi
                   16569: rm -fr conftest*
                   16570: 
                   16571:          LIBS="$save_LIBS"
                   16572: 
                   16573: fi
1.150   ! moko     16574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
        !          16575: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16576:   fi
                   16577: fi
                   16578: 
                   16579: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16580: 
1.150   ! moko     16581: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16582: 
1.128     moko     16583: fi
                   16584: 
1.150   ! moko     16585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
        !          16586: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
        !          16587: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
        !          16588:   $as_echo_n "(cached) " >&6
1.66      paf      16589: else
1.128     moko     16590:   # PORTME does your system automatically load deplibs for dlopen?
                   16591:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16592:   # For now, we just catch OSes we know something about -- in the
                   16593:   # future, we'll try test this programmatically.
                   16594:   lt_cv_sys_dlopen_deplibs=unknown
                   16595:   case $host_os in
                   16596:   aix3*|aix4.1.*|aix4.2.*)
                   16597:     # Unknown whether this is true for these versions of AIX, but
                   16598:     # we want this `case' here to explicitly catch those versions.
                   16599:     lt_cv_sys_dlopen_deplibs=unknown
                   16600:     ;;
                   16601:   aix[4-9]*)
                   16602:     lt_cv_sys_dlopen_deplibs=yes
                   16603:     ;;
                   16604:   amigaos*)
                   16605:     case $host_cpu in
                   16606:     powerpc)
                   16607:       lt_cv_sys_dlopen_deplibs=no
                   16608:       ;;
                   16609:     esac
                   16610:     ;;
                   16611:   darwin*)
                   16612:     # Assuming the user has installed a libdl from somewhere, this is true
                   16613:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16614:     lt_cv_sys_dlopen_deplibs=yes
                   16615:     ;;
                   16616:   freebsd* | dragonfly*)
                   16617:     lt_cv_sys_dlopen_deplibs=yes
                   16618:     ;;
                   16619:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16620:     # GNU and its variants, using gnu ld.so (Glibc)
                   16621:     lt_cv_sys_dlopen_deplibs=yes
                   16622:     ;;
                   16623:   hpux10*|hpux11*)
                   16624:     lt_cv_sys_dlopen_deplibs=yes
                   16625:     ;;
                   16626:   interix*)
                   16627:     lt_cv_sys_dlopen_deplibs=yes
                   16628:     ;;
                   16629:   irix[12345]*|irix6.[01]*)
                   16630:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16631:     # know how it worked for any of those versions.
                   16632:     lt_cv_sys_dlopen_deplibs=unknown
                   16633:     ;;
                   16634:   irix*)
                   16635:     # The case above catches anything before 6.2, and it's known that
                   16636:     # at 6.2 and later dlopen does load deplibs.
                   16637:     lt_cv_sys_dlopen_deplibs=yes
                   16638:     ;;
                   16639:   netbsd*)
                   16640:     lt_cv_sys_dlopen_deplibs=yes
                   16641:     ;;
                   16642:   openbsd*)
                   16643:     lt_cv_sys_dlopen_deplibs=yes
                   16644:     ;;
                   16645:   osf[1234]*)
                   16646:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16647:     # it did *not* use an RPATH in a shared library to find objects the
                   16648:     # library depends on, so we explicitly say `no'.
                   16649:     lt_cv_sys_dlopen_deplibs=no
                   16650:     ;;
                   16651:   osf5.0|osf5.0a|osf5.1)
                   16652:     # dlopen *does* load deplibs and with the right loader patch applied
                   16653:     # it even uses RPATH in a shared library to search for shared objects
                   16654:     # that the library depends on, but there's no easy way to know if that
                   16655:     # patch is installed.  Since this is the case, all we can really
                   16656:     # say is unknown -- it depends on the patch being installed.  If
                   16657:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16658:     lt_cv_sys_dlopen_deplibs=unknown
                   16659:     ;;
                   16660:   osf*)
                   16661:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16662:     # the comments above for what we know about them.
                   16663:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16664:     # is used to find them so we can finally say `yes'.
                   16665:     lt_cv_sys_dlopen_deplibs=yes
                   16666:     ;;
                   16667:   qnx*)
                   16668:     lt_cv_sys_dlopen_deplibs=yes
                   16669:     ;;
                   16670:   solaris*)
                   16671:     lt_cv_sys_dlopen_deplibs=yes
                   16672:     ;;
                   16673:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16674:     libltdl_cv_sys_dlopen_deplibs=yes
                   16675:     ;;
                   16676:   esac
                   16677: 
                   16678: fi
1.150   ! moko     16679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
        !          16680: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16681: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16682: 
1.150   ! moko     16683: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16684: 
                   16685: fi
                   16686: 
                   16687: :
                   16688: 
                   16689: for ac_header in argz.h
1.150   ! moko     16690: do :
        !          16691:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
        !          16692: "
        !          16693: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16694:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     16695: #define HAVE_ARGZ_H 1
1.128     moko     16696: _ACEOF
                   16697: 
1.66      paf      16698: fi
1.62      paf      16699: 
1.128     moko     16700: done
                   16701: 
1.29      paf      16702: 
1.150   ! moko     16703: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16704: #  include <argz.h>
                   16705: #endif
1.150   ! moko     16706: "
        !          16707: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16708: 
1.128     moko     16709: cat >>confdefs.h <<_ACEOF
                   16710: #define HAVE_ERROR_T 1
1.62      paf      16711: _ACEOF
1.16      paf      16712: 
                   16713: 
1.128     moko     16714: else
1.16      paf      16715: 
1.150   ! moko     16716: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16717: 
1.12      paf      16718: 
1.150   ! moko     16719: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16720: 
1.66      paf      16721: fi
1.12      paf      16722: 
1.128     moko     16723: 
                   16724: ARGZ_H=
                   16725: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16726:        argz_next argz_stringify
1.150   ! moko     16727: do :
        !          16728:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          16729: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          16730: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16731:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     16732: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16733: _ACEOF
                   16734: 
                   16735: else
                   16736:   ARGZ_H=argz.h;
                   16737: 
                   16738:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16739: 
                   16740: fi
                   16741: done
                   16742: 
                   16743: 
1.150   ! moko     16744: if test -z "$ARGZ_H"; then :
        !          16745:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
        !          16746: $as_echo_n "checking if argz actually works... " >&6; }
        !          16747: if ${lt_cv_sys_argz_works+:} false; then :
        !          16748:   $as_echo_n "(cached) " >&6
1.128     moko     16749: else
                   16750:   case $host_os in #(
                   16751:         *cygwin*)
                   16752:           lt_cv_sys_argz_works=no
                   16753:           if test "$cross_compiling" != no; then
                   16754:             lt_cv_sys_argz_works="guessing no"
                   16755:           else
                   16756:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16757:             save_IFS=$IFS
                   16758:             IFS=-.
                   16759:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16760:             IFS=$save_IFS
                   16761:             lt_os_major=${2-0}
                   16762:             lt_os_minor=${3-0}
                   16763:             lt_os_micro=${4-0}
                   16764:             if test "$lt_os_major" -gt 1 \
                   16765:                || { test "$lt_os_major" -eq 1 \
                   16766:                  && { test "$lt_os_minor" -gt 5 \
                   16767:                    || { test "$lt_os_minor" -eq 5 \
                   16768:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16769:               lt_cv_sys_argz_works=yes
                   16770:             fi
                   16771:           fi
                   16772:           ;; #(
                   16773:         *) lt_cv_sys_argz_works=yes ;;
                   16774:         esac
                   16775: fi
1.150   ! moko     16776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
        !          16777: $as_echo "$lt_cv_sys_argz_works" >&6; }
        !          16778:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16779: 
1.150   ! moko     16780: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16781: 
1.62      paf      16782: else
1.128     moko     16783:   ARGZ_H=argz.h
                   16784: 
                   16785: 
                   16786:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16787: 
                   16788: fi
1.62      paf      16789: fi
1.128     moko     16790: 
                   16791: 
                   16792: 
1.150   ! moko     16793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
        !          16794: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
        !          16795: if ${libltdl_cv_preloaded_symbols+:} false; then :
        !          16796:   $as_echo_n "(cached) " >&6
1.128     moko     16797: else
                   16798:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16799:     libltdl_cv_preloaded_symbols=yes
                   16800:   else
                   16801:     libltdl_cv_preloaded_symbols=no
                   16802:   fi
                   16803: 
1.62      paf      16804: fi
1.150   ! moko     16805: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
        !          16806: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16807: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16808: 
1.150   ! moko     16809: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16810: 
                   16811: fi
                   16812: 
1.150   ! moko     16813: 
        !          16814: 
1.128     moko     16815: # Set options
                   16816: 
                   16817: 
                   16818: 
                   16819: 
                   16820: 
                   16821: 
                   16822: 
                   16823: 
                   16824: 
                   16825: 
1.66      paf      16826: 
                   16827: 
1.150   ! moko     16828: # Check whether --with-included_ltdl was given.
        !          16829: if test "${with_included_ltdl+set}" = set; then :
        !          16830:   withval=$with_included_ltdl;
        !          16831: fi
1.64      paf      16832: 
                   16833: 
1.128     moko     16834: if test "x$with_included_ltdl" != xyes; then
                   16835:   # We are not being forced to use the included libltdl sources, so
                   16836:   # decide whether there is a useful installed version we can use.
1.150   ! moko     16837:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16838: 
1.150   ! moko     16839: "
        !          16840: if test "x$ac_cv_header_ltdl_h" = xyes; then :
        !          16841:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16842:            #include <ltdl.h>
1.150   ! moko     16843: "
        !          16844: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
        !          16845:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
        !          16846: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
        !          16847: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
        !          16848:   $as_echo_n "(cached) " >&6
1.79      paf      16849: else
1.128     moko     16850:   ac_check_lib_save_LIBS=$LIBS
                   16851: LIBS="-lltdl  $LIBS"
1.150   ! moko     16852: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16853: /* end confdefs.h.  */
1.128     moko     16854: 
1.150   ! moko     16855: /* Override any GCC internal prototype to avoid an error.
        !          16856:    Use char because int might match the return type of a GCC
        !          16857:    builtin and then its argument prototype would still apply.  */
1.128     moko     16858: #ifdef __cplusplus
                   16859: extern "C"
                   16860: #endif
                   16861: char lt_dladvise_preload ();
1.79      paf      16862: int
                   16863: main ()
                   16864: {
1.150   ! moko     16865: return lt_dladvise_preload ();
1.79      paf      16866:   ;
                   16867:   return 0;
                   16868: }
                   16869: _ACEOF
1.150   ! moko     16870: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16871:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      16872: else
1.150   ! moko     16873:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     16874: fi
1.150   ! moko     16875: rm -f core conftest.err conftest.$ac_objext \
        !          16876:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16877: LIBS=$ac_check_lib_save_LIBS
1.79      paf      16878: fi
1.150   ! moko     16879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
        !          16880: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
        !          16881: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     16882:   with_included_ltdl=no
1.79      paf      16883: else
1.128     moko     16884:   with_included_ltdl=yes
                   16885: fi
                   16886: 
1.79      paf      16887: else
1.128     moko     16888:   with_included_ltdl=yes
                   16889: fi
1.79      paf      16890: 
1.128     moko     16891: else
                   16892:   with_included_ltdl=yes
1.79      paf      16893: fi
1.128     moko     16894: 
                   16895: 
1.79      paf      16896: fi
1.128     moko     16897: 
                   16898: 
                   16899: 
                   16900: 
1.150   ! moko     16901: # Check whether --with-ltdl_include was given.
        !          16902: if test "${with_ltdl_include+set}" = set; then :
        !          16903:   withval=$with_ltdl_include;
        !          16904: fi
1.128     moko     16905: 
                   16906: 
                   16907: if test -n "$with_ltdl_include"; then
                   16908:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16909:   else
1.150   ! moko     16910:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     16911:   fi
                   16912: else
                   16913:   with_ltdl_include=no
1.79      paf      16914: fi
1.128     moko     16915: 
                   16916: 
1.150   ! moko     16917: # Check whether --with-ltdl_lib was given.
        !          16918: if test "${with_ltdl_lib+set}" = set; then :
        !          16919:   withval=$with_ltdl_lib;
        !          16920: fi
1.128     moko     16921: 
                   16922: 
                   16923: if test -n "$with_ltdl_lib"; then
                   16924:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16925:   else
1.150   ! moko     16926:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     16927:   fi
                   16928: else
                   16929:   with_ltdl_lib=no
1.79      paf      16930: fi
                   16931: 
1.128     moko     16932: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16933:   ,yes,no,no,)
                   16934:        case $enable_ltdl_convenience in
1.150   ! moko     16935:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     16936:   "") enable_ltdl_convenience=yes
                   16937:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16938: esac
1.150   ! moko     16939: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     16940: LTDLDEPS=$LIBLTDL
                   16941: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16942: 
                   16943: 
                   16944: 
                   16945: 
                   16946: 
                   16947: # For backwards non-gettext consistent compatibility...
                   16948: INCLTDL="$LTDLINCL"
                   16949: 
1.79      paf      16950: 
1.128     moko     16951:        ;;
                   16952:   ,no,no,no,)
                   16953:        # If the included ltdl is not to be used, then use the
                   16954:        # preinstalled libltdl we found.
1.79      paf      16955: 
1.150   ! moko     16956: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      16957: 
1.128     moko     16958:        LIBLTDL=-lltdl
                   16959:        LTDLDEPS=
                   16960:        LTDLINCL=
                   16961:        ;;
                   16962:   ,no*,no,*)
1.150   ! moko     16963:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     16964:        ;;
                   16965:   *)   with_included_ltdl=no
                   16966:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16967:        LTDLDEPS=
                   16968:        LTDLINCL="-I$with_ltdl_include"
                   16969:        ;;
                   16970: esac
                   16971: INCLTDL="$LTDLINCL"
                   16972: 
                   16973: # Report our decision...
1.150   ! moko     16974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
        !          16975: $as_echo_n "checking where to find libltdl headers... " >&6; }
        !          16976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
        !          16977: $as_echo "$LTDLINCL" >&6; }
        !          16978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
        !          16979: $as_echo_n "checking where to find libltdl library... " >&6; }
        !          16980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
        !          16981: $as_echo "$LIBLTDL" >&6; }
1.128     moko     16982: 
                   16983: 
                   16984: 
1.150   ! moko     16985: # Check whether --enable-ltdl-install was given.
        !          16986: if test "${enable_ltdl_install+set}" = set; then :
        !          16987:   enableval=$enable_ltdl_install;
        !          16988: fi
1.128     moko     16989: 
                   16990: 
                   16991: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16992:   *yes*) ;;
                   16993:   *) enable_ltdl_convenience=yes ;;
                   16994: esac
                   16995: 
1.150   ! moko     16996:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     16997:   INSTALL_LTDL_TRUE=
                   16998:   INSTALL_LTDL_FALSE='#'
                   16999: else
                   17000:   INSTALL_LTDL_TRUE='#'
                   17001:   INSTALL_LTDL_FALSE=
                   17002: fi
                   17003: 
1.150   ! moko     17004:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17005:   CONVENIENCE_LTDL_TRUE=
                   17006:   CONVENIENCE_LTDL_FALSE='#'
                   17007: else
                   17008:   CONVENIENCE_LTDL_TRUE='#'
                   17009:   CONVENIENCE_LTDL_FALSE=
                   17010: fi
                   17011: 
                   17012: 
                   17013: 
1.150   ! moko     17014:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17015: 
                   17016: 
                   17017: 
                   17018: 
                   17019: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17020: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17021: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17022: # definitions required by ltdl.c.
                   17023: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17024: 
                   17025: 
                   17026: 
1.150   ! moko     17027: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
        !          17028: do :
        !          17029:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          17030: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
        !          17031: "
        !          17032: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
        !          17033:   cat >>confdefs.h <<_ACEOF
        !          17034: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          17035: _ACEOF
1.128     moko     17036: 
1.150   ! moko     17037: fi
1.128     moko     17038: 
1.150   ! moko     17039: done
1.128     moko     17040: 
                   17041: 
1.150   ! moko     17042: for ac_func in closedir opendir readdir
        !          17043: do :
        !          17044:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          17045: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          17046: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
        !          17047:   cat >>confdefs.h <<_ACEOF
        !          17048: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          17049: _ACEOF
1.66      paf      17050: 
                   17051: else
1.64      paf      17052: 
1.66      paf      17053: 
1.128     moko     17054:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17055: 
1.66      paf      17056: fi
1.128     moko     17057: done
                   17058: 
                   17059: for ac_func in strlcat strlcpy
1.150   ! moko     17060: do :
        !          17061:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          17062: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          17063: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17064:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     17065: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17066: _ACEOF
                   17067: 
                   17068: else
                   17069: 
                   17070: 
                   17071:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17072: 
1.62      paf      17073: fi
1.128     moko     17074: done
                   17075: 
                   17076: 
1.64      paf      17077: 
1.128     moko     17078: cat >>confdefs.h <<_ACEOF
                   17079: #define LT_LIBEXT "$libext"
1.62      paf      17080: _ACEOF
1.64      paf      17081: 
1.128     moko     17082: 
                   17083: name=
                   17084: eval "lt_libprefix=\"$libname_spec\""
                   17085: 
                   17086: cat >>confdefs.h <<_ACEOF
                   17087: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17088: _ACEOF
1.128     moko     17089: 
                   17090: 
                   17091: name=ltdl
                   17092: eval "LTDLOPEN=\"$libname_spec\""
                   17093: 
                   17094: 
                   17095: 
                   17096: 
                   17097: 
                   17098: 
                   17099: 
                   17100: 
                   17101: # Only expand once:
                   17102: 
                   17103: 
                   17104: 
                   17105: 
1.150   ! moko     17106:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
        !          17107: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
        !          17108: if ${ac_cv_c_bigendian+:} false; then :
        !          17109:   $as_echo_n "(cached) " >&6
        !          17110: else
        !          17111:   ac_cv_c_bigendian=unknown
        !          17112:     # See if we're dealing with a universal compiler.
        !          17113:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17114: /* end confdefs.h.  */
        !          17115: #ifndef __APPLE_CC__
        !          17116:               not a universal capable compiler
        !          17117:             #endif
        !          17118:             typedef int dummy;
        !          17119: 
        !          17120: _ACEOF
        !          17121: if ac_fn_c_try_compile "$LINENO"; then :
        !          17122: 
        !          17123:        # Check for potential -arch flags.  It is not universal unless
        !          17124:        # there are at least two -arch flags with different values.
        !          17125:        ac_arch=
        !          17126:        ac_prev=
        !          17127:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
        !          17128:         if test -n "$ac_prev"; then
        !          17129:           case $ac_word in
        !          17130:             i?86 | x86_64 | ppc | ppc64)
        !          17131:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
        !          17132:                 ac_arch=$ac_word
        !          17133:               else
        !          17134:                 ac_cv_c_bigendian=universal
        !          17135:                 break
        !          17136:               fi
        !          17137:               ;;
        !          17138:           esac
        !          17139:           ac_prev=
        !          17140:         elif test "x$ac_word" = "x-arch"; then
        !          17141:           ac_prev=arch
        !          17142:         fi
        !          17143:        done
        !          17144: fi
        !          17145: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17146:     if test $ac_cv_c_bigendian = unknown; then
        !          17147:       # See if sys/param.h defines the BYTE_ORDER macro.
        !          17148:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17149: /* end confdefs.h.  */
1.128     moko     17150: #include <sys/types.h>
1.150   ! moko     17151:             #include <sys/param.h>
1.128     moko     17152: 
                   17153: int
                   17154: main ()
                   17155: {
1.150   ! moko     17156: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
        !          17157:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
        !          17158:                     && LITTLE_ENDIAN)
        !          17159:              bogus endian macros
        !          17160:             #endif
1.64      paf      17161: 
1.128     moko     17162:   ;
                   17163:   return 0;
                   17164: }
1.66      paf      17165: _ACEOF
1.150   ! moko     17166: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17167:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150   ! moko     17168:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17169: /* end confdefs.h.  */
1.128     moko     17170: #include <sys/types.h>
1.150   ! moko     17171:                #include <sys/param.h>
1.64      paf      17172: 
                   17173: int
                   17174: main ()
1.128     moko     17175: {
                   17176: #if BYTE_ORDER != BIG_ENDIAN
1.150   ! moko     17177:                 not big endian
        !          17178:                #endif
1.128     moko     17179: 
                   17180:   ;
                   17181:   return 0;
1.64      paf      17182: }
                   17183: _ACEOF
1.150   ! moko     17184: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17185:   ac_cv_c_bigendian=yes
1.64      paf      17186: else
1.150   ! moko     17187:   ac_cv_c_bigendian=no
        !          17188: fi
        !          17189: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17190: fi
        !          17191: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17192:     fi
        !          17193:     if test $ac_cv_c_bigendian = unknown; then
        !          17194:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
        !          17195:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17196: /* end confdefs.h.  */
        !          17197: #include <limits.h>
1.64      paf      17198: 
1.150   ! moko     17199: int
        !          17200: main ()
        !          17201: {
        !          17202: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
        !          17203:              bogus endian macros
        !          17204:             #endif
1.66      paf      17205: 
1.150   ! moko     17206:   ;
        !          17207:   return 0;
        !          17208: }
1.62      paf      17209: _ACEOF
1.150   ! moko     17210: if ac_fn_c_try_compile "$LINENO"; then :
        !          17211:   # It does; now see whether it defined to _BIG_ENDIAN or not.
        !          17212:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17213: /* end confdefs.h.  */
1.150   ! moko     17214: #include <limits.h>
        !          17215: 
1.128     moko     17216: int
                   17217: main ()
                   17218: {
1.150   ! moko     17219: #ifndef _BIG_ENDIAN
        !          17220:                 not big endian
        !          17221:                #endif
        !          17222: 
1.128     moko     17223:   ;
                   17224:   return 0;
                   17225: }
1.62      paf      17226: _ACEOF
1.150   ! moko     17227: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17228:   ac_cv_c_bigendian=yes
1.150   ! moko     17229: else
        !          17230:   ac_cv_c_bigendian=no
1.128     moko     17231: fi
1.150   ! moko     17232: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17233: fi
1.150   ! moko     17234: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17235:     fi
        !          17236:     if test $ac_cv_c_bigendian = unknown; then
        !          17237:       # Compile a test program.
        !          17238:       if test "$cross_compiling" = yes; then :
        !          17239:   # Try to guess by grepping values from an object file.
        !          17240:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17241: /* end confdefs.h.  */
        !          17242: short int ascii_mm[] =
        !          17243:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
        !          17244:                short int ascii_ii[] =
        !          17245:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
        !          17246:                int use_ascii (int i) {
        !          17247:                  return ascii_mm[i] + ascii_ii[i];
        !          17248:                }
        !          17249:                short int ebcdic_ii[] =
        !          17250:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
        !          17251:                short int ebcdic_mm[] =
        !          17252:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
        !          17253:                int use_ebcdic (int i) {
        !          17254:                  return ebcdic_mm[i] + ebcdic_ii[i];
        !          17255:                }
        !          17256:                extern int foo;
1.62      paf      17257: 
1.150   ! moko     17258: int
        !          17259: main ()
        !          17260: {
        !          17261: return use_ascii (foo) == use_ebcdic (foo);
        !          17262:   ;
        !          17263:   return 0;
        !          17264: }
        !          17265: _ACEOF
        !          17266: if ac_fn_c_try_compile "$LINENO"; then :
        !          17267:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
        !          17268:              ac_cv_c_bigendian=yes
        !          17269:            fi
        !          17270:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
        !          17271:              if test "$ac_cv_c_bigendian" = unknown; then
        !          17272:                ac_cv_c_bigendian=no
        !          17273:              else
        !          17274:                # finding both strings is unlikely to happen, but who knows?
        !          17275:                ac_cv_c_bigendian=unknown
        !          17276:              fi
        !          17277:            fi
1.128     moko     17278: fi
1.150   ! moko     17279: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17280: else
1.150   ! moko     17281:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17282: /* end confdefs.h.  */
1.150   ! moko     17283: $ac_includes_default
1.128     moko     17284: int
                   17285: main ()
                   17286: {
1.150   ! moko     17287: 
        !          17288:             /* Are we little or big endian?  From Harbison&Steele.  */
        !          17289:             union
        !          17290:             {
        !          17291:               long int l;
        !          17292:               char c[sizeof (long int)];
        !          17293:             } u;
        !          17294:             u.l = 1;
        !          17295:             return u.c[sizeof (long int) - 1] == 1;
        !          17296: 
        !          17297:   ;
        !          17298:   return 0;
1.128     moko     17299: }
                   17300: _ACEOF
1.150   ! moko     17301: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17302:   ac_cv_c_bigendian=no
                   17303: else
1.150   ! moko     17304:   ac_cv_c_bigendian=yes
1.128     moko     17305: fi
1.150   ! moko     17306: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          17307:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17308: fi
1.150   ! moko     17309: 
        !          17310:     fi
1.66      paf      17311: fi
1.150   ! moko     17312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
        !          17313: $as_echo "$ac_cv_c_bigendian" >&6; }
        !          17314:  case $ac_cv_c_bigendian in #(
        !          17315:    yes)
        !          17316: 
        !          17317: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
        !          17318: 
        !          17319: ;; #(
        !          17320:    no)
1.128     moko     17321: 
1.150   ! moko     17322: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17323: 
1.150   ! moko     17324:  ;; #(
        !          17325:    universal)
1.128     moko     17326: 
1.150   ! moko     17327: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17328: 
1.150   ! moko     17329:      ;; #(
        !          17330:    *)
        !          17331:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17332:  ;;
1.150   ! moko     17333:  esac
1.66      paf      17334: 
                   17335: 
1.150   ! moko     17336: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
        !          17337: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17338: 
1.66      paf      17339: else
1.1       paf      17340: 
1.66      paf      17341: cat >>confdefs.h <<_ACEOF
1.150   ! moko     17342: #define size_t unsigned int
1.66      paf      17343: _ACEOF
1.62      paf      17344: 
                   17345: fi
1.66      paf      17346: 
1.128     moko     17347: 
                   17348: 
1.150   ! moko     17349: ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
        !          17350: if test "x$ac_cv_type_off_t" = xyes; then :
1.66      paf      17351: 
1.62      paf      17352: else
1.1       paf      17353: 
1.66      paf      17354: cat >>confdefs.h <<_ACEOF
                   17355: #define off_t long
                   17356: _ACEOF
                   17357: 
1.62      paf      17358: fi
1.1       paf      17359: 
1.150   ! moko     17360: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
        !          17361: if test "x$ac_cv_type_ssize_t" = xyes; then :
1.62      paf      17362: 
1.1       paf      17363: else
1.66      paf      17364: 
                   17365: cat >>confdefs.h <<_ACEOF
                   17366: #define ssize_t int
                   17367: _ACEOF
                   17368: 
1.1       paf      17369: fi
1.62      paf      17370: 
                   17371: 
                   17372: 
1.150   ! moko     17373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
        !          17374: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
        !          17375: if ${ac_cv_header_time+:} false; then :
        !          17376:   $as_echo_n "(cached) " >&6
1.62      paf      17377: else
1.150   ! moko     17378:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17379: /* end confdefs.h.  */
1.66      paf      17380: #include <sys/types.h>
                   17381: #include <sys/time.h>
                   17382: #include <time.h>
1.62      paf      17383: 
                   17384: int
                   17385: main ()
                   17386: {
1.66      paf      17387: if ((struct tm *) 0)
                   17388: return 0;
1.62      paf      17389:   ;
                   17390:   return 0;
                   17391: }
                   17392: _ACEOF
1.150   ! moko     17393: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      17394:   ac_cv_header_time=yes
1.1       paf      17395: else
1.150   ! moko     17396:   ac_cv_header_time=no
1.1       paf      17397: fi
1.150   ! moko     17398: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17399: fi
1.150   ! moko     17400: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
        !          17401: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      17402: if test $ac_cv_header_time = yes; then
1.1       paf      17403: 
1.150   ! moko     17404: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      17405: 
1.1       paf      17406: fi
1.66      paf      17407: 
1.1       paf      17408: 
1.150   ! moko     17409: for ac_header in assert.h \
        !          17410: signal.h \
        !          17411: unistd.h \
        !          17412: process.h \
        !          17413: stddef.h \
        !          17414: stdarg.h \
        !          17415: fcntl.h \
        !          17416: sys/stat.h \
        !          17417: io.h \
        !          17418: stdio.h \
        !          17419: errno.h \
        !          17420: ctype.h \
        !          17421: math.h \
        !          17422: crypt.h \
        !          17423: time.h sys/time.h \
        !          17424: string.h \
        !          17425: direct.h \
        !          17426: setjmp.h \
        !          17427: memory.h \
        !          17428: limits.h \
        !          17429: sys/file.h \
        !          17430: sys/locking.h \
        !          17431: sys/types.h \
        !          17432: sys/select.h \
        !          17433: sys/resource.h \
        !          17434: winsock.h \
        !          17435: sys/socket.h \
        !          17436: netinet/in.h \
        !          17437: arpa/inet.h \
        !          17438: netdb.h
        !          17439: 
        !          17440: do :
        !          17441:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          17442: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
        !          17443: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      17444:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     17445: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17446: _ACEOF
                   17447: 
                   17448: fi
                   17449: 
1.66      paf      17450: done
1.62      paf      17451: 
                   17452: 
                   17453: 
1.128     moko     17454: 
                   17455: 
1.66      paf      17456: case "$host" in
1.107     misha    17457:   *-freebsd4*)
                   17458: 
1.150   ! moko     17459: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    17460: 
                   17461:   ;;
1.66      paf      17462:   *-sunos5.6* | *-solaris2.6*)
1.150   ! moko     17463:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
        !          17464: $as_echo_n "checking for main in -lxnet... " >&6; }
        !          17465: if ${ac_cv_lib_xnet_main+:} false; then :
        !          17466:   $as_echo_n "(cached) " >&6
1.62      paf      17467: else
1.66      paf      17468:   ac_check_lib_save_LIBS=$LIBS
                   17469: LIBS="-lxnet  $LIBS"
1.150   ! moko     17470: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17471: /* end confdefs.h.  */
                   17472: 
1.66      paf      17473: 
                   17474: int
                   17475: main ()
                   17476: {
1.150   ! moko     17477: return main ();
1.66      paf      17478:   ;
                   17479:   return 0;
                   17480: }
1.62      paf      17481: _ACEOF
1.150   ! moko     17482: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17483:   ac_cv_lib_xnet_main=yes
1.62      paf      17484: else
1.150   ! moko     17485:   ac_cv_lib_xnet_main=no
1.62      paf      17486: fi
1.150   ! moko     17487: rm -f core conftest.err conftest.$ac_objext \
        !          17488:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17489: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17490: fi
1.150   ! moko     17491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
        !          17492: $as_echo "$ac_cv_lib_xnet_main" >&6; }
        !          17493: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      17494:   cat >>confdefs.h <<_ACEOF
1.66      paf      17495: #define HAVE_LIBXNET 1
1.62      paf      17496: _ACEOF
1.1       paf      17497: 
1.66      paf      17498:   LIBS="-lxnet $LIBS"
                   17499: 
1.1       paf      17500: fi
                   17501: 
1.66      paf      17502:   ;;
                   17503:   *-sunos5* | *-solaris2*)
1.150   ! moko     17504:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
        !          17505: $as_echo_n "checking for main in -lsocket... " >&6; }
        !          17506: if ${ac_cv_lib_socket_main+:} false; then :
        !          17507:   $as_echo_n "(cached) " >&6
1.62      paf      17508: else
1.66      paf      17509:   ac_check_lib_save_LIBS=$LIBS
                   17510: LIBS="-lsocket  $LIBS"
1.150   ! moko     17511: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17512: /* end confdefs.h.  */
1.66      paf      17513: 
                   17514: 
1.62      paf      17515: int
                   17516: main ()
                   17517: {
1.150   ! moko     17518: return main ();
1.62      paf      17519:   ;
                   17520:   return 0;
                   17521: }
                   17522: _ACEOF
1.150   ! moko     17523: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17524:   ac_cv_lib_socket_main=yes
1.1       paf      17525: else
1.150   ! moko     17526:   ac_cv_lib_socket_main=no
1.1       paf      17527: fi
1.150   ! moko     17528: rm -f core conftest.err conftest.$ac_objext \
        !          17529:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17530: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17531: fi
1.150   ! moko     17532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
        !          17533: $as_echo "$ac_cv_lib_socket_main" >&6; }
        !          17534: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      17535:   cat >>confdefs.h <<_ACEOF
                   17536: #define HAVE_LIBSOCKET 1
                   17537: _ACEOF
1.1       paf      17538: 
1.66      paf      17539:   LIBS="-lsocket $LIBS"
1.1       paf      17540: 
                   17541: fi
                   17542: 
1.150   ! moko     17543:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
        !          17544: $as_echo_n "checking for main in -lnsl... " >&6; }
        !          17545: if ${ac_cv_lib_nsl_main+:} false; then :
        !          17546:   $as_echo_n "(cached) " >&6
1.62      paf      17547: else
1.66      paf      17548:   ac_check_lib_save_LIBS=$LIBS
                   17549: LIBS="-lnsl  $LIBS"
1.150   ! moko     17550: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17551: /* end confdefs.h.  */
1.66      paf      17552: 
                   17553: 
1.62      paf      17554: int
                   17555: main ()
                   17556: {
1.150   ! moko     17557: return main ();
1.62      paf      17558:   ;
                   17559:   return 0;
                   17560: }
                   17561: _ACEOF
1.150   ! moko     17562: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17563:   ac_cv_lib_nsl_main=yes
1.30      paf      17564: else
1.150   ! moko     17565:   ac_cv_lib_nsl_main=no
1.30      paf      17566: fi
1.150   ! moko     17567: rm -f core conftest.err conftest.$ac_objext \
        !          17568:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17569: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17570: fi
1.150   ! moko     17571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
        !          17572: $as_echo "$ac_cv_lib_nsl_main" >&6; }
        !          17573: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      17574:   cat >>confdefs.h <<_ACEOF
                   17575: #define HAVE_LIBNSL 1
                   17576: _ACEOF
1.30      paf      17577: 
1.66      paf      17578:   LIBS="-lnsl $LIBS"
1.30      paf      17579: 
                   17580: fi
                   17581: 
1.66      paf      17582:   ;;
                   17583:   *-nec-sysv4*)
1.150   ! moko     17584:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
        !          17585: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
        !          17586: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
        !          17587:   $as_echo_n "(cached) " >&6
1.62      paf      17588: else
1.66      paf      17589:   ac_check_lib_save_LIBS=$LIBS
                   17590: LIBS="-lnsl  $LIBS"
1.150   ! moko     17591: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17592: /* end confdefs.h.  */
1.66      paf      17593: 
1.150   ! moko     17594: /* Override any GCC internal prototype to avoid an error.
        !          17595:    Use char because int might match the return type of a GCC
        !          17596:    builtin and then its argument prototype would still apply.  */
1.66      paf      17597: #ifdef __cplusplus
                   17598: extern "C"
                   17599: #endif
                   17600: char gethostbyname ();
1.62      paf      17601: int
                   17602: main ()
                   17603: {
1.150   ! moko     17604: return gethostbyname ();
1.62      paf      17605:   ;
                   17606:   return 0;
                   17607: }
                   17608: _ACEOF
1.150   ! moko     17609: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17610:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      17611: else
1.150   ! moko     17612:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      17613: fi
1.150   ! moko     17614: rm -f core conftest.err conftest.$ac_objext \
        !          17615:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17616: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17617: fi
1.150   ! moko     17618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          17619: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
        !          17620: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      17621:   cat >>confdefs.h <<_ACEOF
                   17622: #define HAVE_LIBNSL 1
                   17623: _ACEOF
1.30      paf      17624: 
1.66      paf      17625:   LIBS="-lnsl $LIBS"
1.30      paf      17626: 
                   17627: fi
                   17628: 
1.150   ! moko     17629:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
        !          17630: $as_echo_n "checking for socket in -lsocket... " >&6; }
        !          17631: if ${ac_cv_lib_socket_socket+:} false; then :
        !          17632:   $as_echo_n "(cached) " >&6
1.8       paf      17633: else
1.66      paf      17634:   ac_check_lib_save_LIBS=$LIBS
                   17635: LIBS="-lsocket  $LIBS"
1.150   ! moko     17636: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17637: /* end confdefs.h.  */
                   17638: 
1.150   ! moko     17639: /* Override any GCC internal prototype to avoid an error.
        !          17640:    Use char because int might match the return type of a GCC
        !          17641:    builtin and then its argument prototype would still apply.  */
1.66      paf      17642: #ifdef __cplusplus
                   17643: extern "C"
                   17644: #endif
                   17645: char socket ();
1.62      paf      17646: int
                   17647: main ()
                   17648: {
1.150   ! moko     17649: return socket ();
1.62      paf      17650:   ;
                   17651:   return 0;
                   17652: }
                   17653: _ACEOF
1.150   ! moko     17654: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17655:   ac_cv_lib_socket_socket=yes
1.8       paf      17656: else
1.150   ! moko     17657:   ac_cv_lib_socket_socket=no
1.8       paf      17658: fi
1.150   ! moko     17659: rm -f core conftest.err conftest.$ac_objext \
        !          17660:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17661: LIBS=$ac_check_lib_save_LIBS
1.8       paf      17662: fi
1.150   ! moko     17663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
        !          17664: $as_echo "$ac_cv_lib_socket_socket" >&6; }
        !          17665: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      17666:   cat >>confdefs.h <<_ACEOF
1.128     moko     17667: #define HAVE_LIBSOCKET 1
1.66      paf      17668: _ACEOF
                   17669: 
1.128     moko     17670:   LIBS="-lsocket $LIBS"
1.66      paf      17671: 
1.62      paf      17672: fi
                   17673: 
1.66      paf      17674:   ;;
1.128     moko     17675:   *-cygwin*)
                   17676: 
1.150   ! moko     17677: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     17678: 
1.150   ! moko     17679:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5
        !          17680: $as_echo_n "checking for socket in -lwsock32... " >&6; }
        !          17681: if ${ac_cv_lib_wsock32_socket+:} false; then :
        !          17682:   $as_echo_n "(cached) " >&6
1.66      paf      17683: else
                   17684:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     17685: LIBS="-lwsock32  $LIBS"
1.150   ! moko     17686: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17687: /* end confdefs.h.  */
1.66      paf      17688: 
1.150   ! moko     17689: /* Override any GCC internal prototype to avoid an error.
        !          17690:    Use char because int might match the return type of a GCC
        !          17691:    builtin and then its argument prototype would still apply.  */
1.128     moko     17692: #ifdef __cplusplus
                   17693: extern "C"
                   17694: #endif
                   17695: char socket ();
1.66      paf      17696: int
                   17697: main ()
                   17698: {
1.150   ! moko     17699: return socket ();
1.66      paf      17700:   ;
                   17701:   return 0;
                   17702: }
1.62      paf      17703: _ACEOF
1.150   ! moko     17704: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17705:   ac_cv_lib_wsock32_socket=yes
1.62      paf      17706: else
1.150   ! moko     17707:   ac_cv_lib_wsock32_socket=no
1.62      paf      17708: fi
1.150   ! moko     17709: rm -f core conftest.err conftest.$ac_objext \
        !          17710:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17711: LIBS=$ac_check_lib_save_LIBS
1.1       paf      17712: fi
1.150   ! moko     17713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_socket" >&5
        !          17714: $as_echo "$ac_cv_lib_wsock32_socket" >&6; }
        !          17715: if test "x$ac_cv_lib_wsock32_socket" = xyes; then :
1.62      paf      17716:   cat >>confdefs.h <<_ACEOF
1.128     moko     17717: #define HAVE_LIBWSOCK32 1
1.62      paf      17718: _ACEOF
                   17719: 
1.128     moko     17720:   LIBS="-lwsock32 $LIBS"
1.66      paf      17721: 
1.1       paf      17722: fi
1.62      paf      17723: 
1.66      paf      17724:   ;;
                   17725: esac
1.1       paf      17726: 
1.150   ! moko     17727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
        !          17728: $as_echo_n "checking for sin in -lm... " >&6; }
        !          17729: if ${ac_cv_lib_m_sin+:} false; then :
        !          17730:   $as_echo_n "(cached) " >&6
1.1       paf      17731: else
1.62      paf      17732:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17733: LIBS="-lm  $LIBS"
1.150   ! moko     17734: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17735: /* end confdefs.h.  */
                   17736: 
1.150   ! moko     17737: /* Override any GCC internal prototype to avoid an error.
        !          17738:    Use char because int might match the return type of a GCC
        !          17739:    builtin and then its argument prototype would still apply.  */
1.66      paf      17740: #ifdef __cplusplus
                   17741: extern "C"
                   17742: #endif
                   17743: char sin ();
1.62      paf      17744: int
                   17745: main ()
                   17746: {
1.150   ! moko     17747: return sin ();
1.62      paf      17748:   ;
                   17749:   return 0;
                   17750: }
                   17751: _ACEOF
1.150   ! moko     17752: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17753:   ac_cv_lib_m_sin=yes
1.62      paf      17754: else
1.150   ! moko     17755:   ac_cv_lib_m_sin=no
1.62      paf      17756: fi
1.150   ! moko     17757: rm -f core conftest.err conftest.$ac_objext \
        !          17758:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17759: LIBS=$ac_check_lib_save_LIBS
                   17760: fi
1.150   ! moko     17761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
        !          17762: $as_echo "$ac_cv_lib_m_sin" >&6; }
        !          17763: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      17764:   cat >>confdefs.h <<_ACEOF
1.66      paf      17765: #define HAVE_LIBM 1
1.62      paf      17766: _ACEOF
1.1       paf      17767: 
1.66      paf      17768:   LIBS="-lm $LIBS"
1.1       paf      17769: 
                   17770: fi
                   17771: 
1.150   ! moko     17772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
        !          17773: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
        !          17774: if ${ac_cv_lib_crypt_crypt+:} false; then :
        !          17775:   $as_echo_n "(cached) " >&6
1.1       paf      17776: else
1.62      paf      17777:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17778: LIBS="-lcrypt  $LIBS"
1.150   ! moko     17779: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17780: /* end confdefs.h.  */
                   17781: 
1.150   ! moko     17782: /* Override any GCC internal prototype to avoid an error.
        !          17783:    Use char because int might match the return type of a GCC
        !          17784:    builtin and then its argument prototype would still apply.  */
1.66      paf      17785: #ifdef __cplusplus
                   17786: extern "C"
                   17787: #endif
                   17788: char crypt ();
1.62      paf      17789: int
                   17790: main ()
                   17791: {
1.150   ! moko     17792: return crypt ();
1.62      paf      17793:   ;
                   17794:   return 0;
                   17795: }
                   17796: _ACEOF
1.150   ! moko     17797: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17798:   ac_cv_lib_crypt_crypt=yes
1.62      paf      17799: else
1.150   ! moko     17800:   ac_cv_lib_crypt_crypt=no
1.62      paf      17801: fi
1.150   ! moko     17802: rm -f core conftest.err conftest.$ac_objext \
        !          17803:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17804: LIBS=$ac_check_lib_save_LIBS
                   17805: fi
1.150   ! moko     17806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
        !          17807: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
        !          17808: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      17809:   cat >>confdefs.h <<_ACEOF
1.66      paf      17810: #define HAVE_LIBCRYPT 1
1.62      paf      17811: _ACEOF
1.1       paf      17812: 
1.66      paf      17813:   LIBS="-lcrypt $LIBS"
                   17814: 
                   17815: fi
                   17816: 
                   17817: 
                   17818: 
1.67      paf      17819: for ac_func in flock \
1.66      paf      17820: _locking \
                   17821: fcntl \
                   17822: lockf \
                   17823: ftruncate \
1.112     misha    17824: fchmod \
1.66      paf      17825: getrusage \
                   17826: gettimeofday \
                   17827: crypt \
1.80      paf      17828: sigsetjmp \
1.92      misha    17829: siglongjmp \
                   17830: unsetenv
1.66      paf      17831: 
1.150   ! moko     17832: do :
        !          17833:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          17834: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          17835: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      17836:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     17837: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      17838: _ACEOF
1.1       paf      17839: 
1.66      paf      17840: fi
                   17841: done
                   17842: 
1.1       paf      17843: 
                   17844: 
1.67      paf      17845: pa_func=sigsetjmp
1.150   ! moko     17846: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
        !          17847: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
        !          17848: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17849: /* end confdefs.h.  */
                   17850: 
                   17851: #ifdef HAVE_SETJMP_H
                   17852: #      include <setjmp.h>
                   17853: #endif
                   17854: 
                   17855: int
                   17856: main ()
                   17857: {
                   17858: 
                   17859:         $pa_func(0,0);
                   17860: 
                   17861:   ;
                   17862:   return 0;
                   17863: }
                   17864: _ACEOF
1.150   ! moko     17865: if ac_fn_c_try_compile "$LINENO"; then :
        !          17866:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17867: $as_echo "yes" >&6; }
1.67      paf      17868: cat >>confdefs.h <<_ACEOF
1.150   ! moko     17869: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      17870: _ACEOF
                   17871: 
                   17872: 
                   17873: else
1.150   ! moko     17874:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          17875: $as_echo "no" >&6; }
1.67      paf      17876: 
                   17877: fi
1.150   ! moko     17878: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      17879: 
                   17880: 
                   17881: 
1.150   ! moko     17882: ac_ext=cpp
1.67      paf      17883: ac_cpp='$CXXCPP $CPPFLAGS'
                   17884: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17885: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17886: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   17887: 
                   17888: 
                   17889: 
                   17890: for pa_func in trunc \
                   17891: round \
                   17892: sign
                   17893: 
                   17894: do
                   17895: 
1.150   ! moko     17896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
        !          17897: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
        !          17898: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17899: /* end confdefs.h.  */
                   17900: 
                   17901: #ifdef HAVE_MATH_H
                   17902: #       include <math.h>
                   17903: #endif
                   17904: 
                   17905: int
                   17906: main ()
                   17907: {
                   17908: 
                   17909:         double result=$pa_func(1.6);
                   17910: 
                   17911:   ;
                   17912:   return 0;
                   17913: }
                   17914: _ACEOF
1.150   ! moko     17915: if ac_fn_cxx_try_compile "$LINENO"; then :
        !          17916:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17917: $as_echo "yes" >&6; }
1.67      paf      17918: cat >>confdefs.h <<_ACEOF
1.150   ! moko     17919: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      17920: _ACEOF
1.66      paf      17921: 
1.62      paf      17922: else
1.150   ! moko     17923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          17924: $as_echo "no" >&6; }
1.62      paf      17925: 
                   17926: fi
1.150   ! moko     17927: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          17928: 
        !          17929: done
        !          17930: 
        !          17931: ac_ext=c
        !          17932: ac_cpp='$CPP $CPPFLAGS'
        !          17933: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          17934: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          17935: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          17936: 
        !          17937: 
        !          17938: 
        !          17939: for ac_func in qsort
        !          17940: do :
        !          17941:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
        !          17942: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      17943:   cat >>confdefs.h <<_ACEOF
1.150   ! moko     17944: #define HAVE_QSORT 1
1.62      paf      17945: _ACEOF
1.1       paf      17946: 
1.66      paf      17947: else
1.150   ! moko     17948:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      17949: fi
1.66      paf      17950: done
1.1       paf      17951: 
                   17952: 
1.62      paf      17953: 
1.150   ! moko     17954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
        !          17955: $as_echo_n "checking for timezone variable... " >&6; }
        !          17956: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17957: /* end confdefs.h.  */
1.66      paf      17958: #include <time.h>
1.62      paf      17959: int
                   17960: main ()
                   17961: {
1.66      paf      17962: 
                   17963: time_t test=timezone;
                   17964: 
1.62      paf      17965:   ;
                   17966:   return 0;
                   17967: }
                   17968: _ACEOF
1.150   ! moko     17969: if ac_fn_c_try_compile "$LINENO"; then :
        !          17970:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.66      paf      17971: 
1.150   ! moko     17972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17973: $as_echo "yes" >&6; }
1.62      paf      17974: else
1.150   ! moko     17975:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          17976: $as_echo "no" >&6; }
1.62      paf      17977: fi
1.150   ! moko     17978: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      17979: 
1.150   ! moko     17980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
        !          17981: $as_echo_n "checking for daylight variable... " >&6; }
        !          17982: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17983: /* end confdefs.h.  */
1.66      paf      17984: #include <time.h>
1.62      paf      17985: int
                   17986: main ()
                   17987: {
1.66      paf      17988: 
                   17989: int test=daylight;
                   17990: 
1.62      paf      17991:   ;
                   17992:   return 0;
                   17993: }
                   17994: _ACEOF
1.150   ! moko     17995: if ac_fn_c_try_compile "$LINENO"; then :
        !          17996:   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
1.66      paf      17997: 
1.150   ! moko     17998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          17999: $as_echo "yes" >&6; }
1.62      paf      18000: else
1.150   ! moko     18001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18002: $as_echo "no" >&6; }
1.62      paf      18003: fi
1.150   ! moko     18004: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18005: 
1.150   ! moko     18006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
        !          18007: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
        !          18008: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18009: /* end confdefs.h.  */
1.66      paf      18010: #include <time.h>
1.62      paf      18011: int
                   18012: main ()
                   18013: {
1.66      paf      18014: struct tm tm;
                   18015: tm.tm_gmtoff=0;
                   18016: 
1.62      paf      18017:   ;
                   18018:   return 0;
                   18019: }
                   18020: _ACEOF
1.150   ! moko     18021: if ac_fn_c_try_compile "$LINENO"; then :
        !          18022:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.66      paf      18023: 
1.150   ! moko     18024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18025: $as_echo "yes" >&6; }
1.62      paf      18026: else
1.150   ! moko     18027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18028: $as_echo "no" >&6; }
1.62      paf      18029: fi
1.150   ! moko     18030: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18031: 
1.150   ! moko     18032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
        !          18033: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
        !          18034: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18035: /* end confdefs.h.  */
1.66      paf      18036: #include <time.h>
1.62      paf      18037: int
                   18038: main ()
                   18039: {
1.66      paf      18040: struct tm tm;
                   18041: tm.tm_tzadj=0;
                   18042: 
1.62      paf      18043:   ;
                   18044:   return 0;
                   18045: }
                   18046: _ACEOF
1.150   ! moko     18047: if ac_fn_c_try_compile "$LINENO"; then :
        !          18048:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.66      paf      18049: 
1.150   ! moko     18050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18051: $as_echo "yes" >&6; }
1.62      paf      18052: else
1.150   ! moko     18053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18054: $as_echo "no" >&6; }
1.62      paf      18055: fi
1.150   ! moko     18056: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      18057: 
1.1       paf      18058: 
                   18059: 
                   18060: 
1.62      paf      18061: 
                   18062: 
                   18063: 
                   18064: 
                   18065: 
                   18066: 
                   18067: 
                   18068: 
                   18069: 
                   18070: 
                   18071: 
                   18072: 
                   18073: 
                   18074: 
                   18075: 
                   18076: 
                   18077: 
                   18078: 
1.150   ! moko     18079: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18080: 
                   18081: 
1.150   ! moko     18082: ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/memcached/Makefile src/lib/curl/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
1.62      paf      18083: 
                   18084: cat >confcache <<\_ACEOF
1.1       paf      18085: # This file is a shell script that caches the results of configure
                   18086: # tests run on this system so they can be shared between configure
1.62      paf      18087: # scripts and configure runs, see configure's option --config-cache.
                   18088: # It is not useful on other systems.  If it contains results you don't
                   18089: # want to keep, you may remove or edit it.
1.1       paf      18090: #
1.62      paf      18091: # config.status only pays attention to the cache file if you give it
                   18092: # the --recheck option to rerun configure.
1.1       paf      18093: #
1.62      paf      18094: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18095: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18096: # following values.
                   18097: 
                   18098: _ACEOF
                   18099: 
1.1       paf      18100: # The following way of writing the cache mishandles newlines in values,
                   18101: # but we know of no workaround that is simple, portable, and efficient.
1.150   ! moko     18102: # So, we kill variables containing newlines.
1.1       paf      18103: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18104: # and sets the high bit in the cache file unless we assign to the vars.
1.150   ! moko     18105: (
        !          18106:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
        !          18107:     eval ac_val=\$$ac_var
        !          18108:     case $ac_val in #(
        !          18109:     *${as_nl}*)
        !          18110:       case $ac_var in #(
        !          18111:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          18112: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
        !          18113:       esac
        !          18114:       case $ac_var in #(
        !          18115:       _ | IFS | as_nl) ;; #(
        !          18116:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
        !          18117:       *) { eval $ac_var=; unset $ac_var;} ;;
        !          18118:       esac ;;
        !          18119:     esac
        !          18120:   done
        !          18121: 
1.62      paf      18122:   (set) 2>&1 |
1.150   ! moko     18123:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
        !          18124:     *${as_nl}ac_space=\ *)
        !          18125:       # `set' does not quote correctly, so add quotes: double-quote
        !          18126:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18127:       sed -n \
1.86      paf      18128:        "s/'/'\\\\''/g;
                   18129:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150   ! moko     18130:       ;; #(
1.62      paf      18131:     *)
                   18132:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150   ! moko     18133:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18134:       ;;
1.150   ! moko     18135:     esac |
        !          18136:     sort
        !          18137: ) |
1.62      paf      18138:   sed '
1.150   ! moko     18139:      /^ac_cv_env_/b end
1.62      paf      18140:      t clear
1.150   ! moko     18141:      :clear
1.62      paf      18142:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18143:      t end
1.150   ! moko     18144:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        !          18145:      :end' >>confcache
        !          18146: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
        !          18147:   if test -w "$cache_file"; then
        !          18148:     if test "x$cache_file" != "x/dev/null"; then
        !          18149:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          18150: $as_echo "$as_me: updating cache $cache_file" >&6;}
        !          18151:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          18152:        cat confcache >"$cache_file"
        !          18153:       else
        !          18154:         case $cache_file in #(
        !          18155:         */* | ?:*)
        !          18156:          mv -f confcache "$cache_file"$$ &&
        !          18157:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          18158:         *)
        !          18159:          mv -f confcache "$cache_file" ;;
        !          18160:        esac
        !          18161:       fi
        !          18162:     fi
1.1       paf      18163:   else
1.150   ! moko     18164:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          18165: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18166:   fi
                   18167: fi
                   18168: rm -f confcache
                   18169: 
                   18170: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18171: # Let make expand exec_prefix.
                   18172: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18173: 
1.62      paf      18174: DEFS=-DHAVE_CONFIG_H
                   18175: 
                   18176: ac_libobjs=
                   18177: ac_ltlibobjs=
1.150   ! moko     18178: U=
1.62      paf      18179: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18180:   # 1. Remove the extension, and $U if already installed.
1.150   ! moko     18181:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
        !          18182:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
        !          18183:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
        !          18184:   #    will be set to the directory where LIBOBJS objects are built.
        !          18185:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
        !          18186:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18187: done
                   18188: LIBOBJS=$ac_libobjs
                   18189: 
                   18190: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18191: 
                   18192: 
1.150   ! moko     18193:  if test -n "$EXEEXT"; then
        !          18194:   am__EXEEXT_TRUE=
        !          18195:   am__EXEEXT_FALSE='#'
        !          18196: else
        !          18197:   am__EXEEXT_TRUE='#'
        !          18198:   am__EXEEXT_FALSE=
        !          18199: fi
        !          18200: 
1.62      paf      18201: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150   ! moko     18202:   as_fn_error $? "conditional \"AMDEP\" was never defined.
        !          18203: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18204: fi
1.66      paf      18205: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150   ! moko     18206:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
        !          18207: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18208: fi
1.66      paf      18209: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150   ! moko     18210:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
        !          18211: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18212: fi
1.122     moko     18213: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150   ! moko     18214:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
        !          18215: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18216: fi
1.128     moko     18217: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150   ! moko     18218:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
        !          18219: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18220: fi
                   18221: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150   ! moko     18222:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
        !          18223: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18224: fi
1.150   ! moko     18225: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18226: 
                   18227:     _ltdl_libobjs=
                   18228:     _ltdl_ltlibobjs=
                   18229:     if test -n "$_LT_LIBOBJS"; then
                   18230:       # Remove the extension.
                   18231:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18232:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18233:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18234:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18235:       done
                   18236:     fi
                   18237:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18238: 
                   18239:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18240: 
                   18241: 
1.62      paf      18242: 
1.150   ! moko     18243: 
        !          18244: : "${CONFIG_STATUS=./config.status}"
        !          18245: ac_write_fail=0
1.62      paf      18246: ac_clean_files_save=$ac_clean_files
                   18247: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150   ! moko     18248: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          18249: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          18250: as_write_fail=0
        !          18251: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18252: #! $SHELL
                   18253: # Generated by $as_me.
                   18254: # Run this file to recreate the current configuration.
                   18255: # Compiler output produced by configure, useful for debugging
                   18256: # configure, is in config.log if it exists.
                   18257: 
                   18258: debug=false
                   18259: ac_cs_recheck=false
                   18260: ac_cs_silent=false
1.150   ! moko     18261: 
1.62      paf      18262: SHELL=\${CONFIG_SHELL-$SHELL}
1.150   ! moko     18263: export SHELL
        !          18264: _ASEOF
        !          18265: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
        !          18266: ## -------------------- ##
        !          18267: ## M4sh Initialization. ##
        !          18268: ## -------------------- ##
1.62      paf      18269: 
1.150   ! moko     18270: # Be more Bourne compatible
        !          18271: DUALCASE=1; export DUALCASE # for MKS sh
        !          18272: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18273:   emulate sh
                   18274:   NULLCMD=:
1.150   ! moko     18275:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18276:   # is contrary to our usage.  Disable this feature.
                   18277:   alias -g '${1+"$@"}'='"$@"'
1.150   ! moko     18278:   setopt NO_GLOB_SUBST
        !          18279: else
        !          18280:   case `(set -o) 2>/dev/null` in #(
        !          18281:   *posix*) :
        !          18282:     set -o posix ;; #(
        !          18283:   *) :
        !          18284:      ;;
        !          18285: esac
        !          18286: fi
        !          18287: 
        !          18288: 
        !          18289: as_nl='
        !          18290: '
        !          18291: export as_nl
        !          18292: # Printing a long string crashes Solaris 7 /usr/bin/printf.
        !          18293: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          18294: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
        !          18295: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
        !          18296: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !          18297: # but without wasting forks for bash or zsh.
        !          18298: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !          18299:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          18300:   as_echo='print -r --'
        !          18301:   as_echo_n='print -rn --'
        !          18302: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          18303:   as_echo='printf %s\n'
        !          18304:   as_echo_n='printf %s'
        !          18305: else
        !          18306:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        !          18307:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        !          18308:     as_echo_n='/usr/ucb/echo -n'
        !          18309:   else
        !          18310:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        !          18311:     as_echo_n_body='eval
        !          18312:       arg=$1;
        !          18313:       case $arg in #(
        !          18314:       *"$as_nl"*)
        !          18315:        expr "X$arg" : "X\\(.*\\)$as_nl";
        !          18316:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
        !          18317:       esac;
        !          18318:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        !          18319:     '
        !          18320:     export as_echo_n_body
        !          18321:     as_echo_n='sh -c $as_echo_n_body as_echo'
        !          18322:   fi
        !          18323:   export as_echo_body
        !          18324:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18325: fi
                   18326: 
1.150   ! moko     18327: # The user is always right.
        !          18328: if test "${PATH_SEPARATOR+set}" != set; then
        !          18329:   PATH_SEPARATOR=:
        !          18330:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        !          18331:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
        !          18332:       PATH_SEPARATOR=';'
        !          18333:   }
1.62      paf      18334: fi
                   18335: 
                   18336: 
1.150   ! moko     18337: # IFS
        !          18338: # We need space, tab and new line, in precisely that order.  Quoting is
        !          18339: # there to prevent editors from complaining about space-tab.
        !          18340: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
        !          18341: # splitting by setting IFS to empty value.)
        !          18342: IFS=" ""       $as_nl"
        !          18343: 
        !          18344: # Find who we are.  Look in the path if we contain no directory separator.
        !          18345: as_myself=
        !          18346: case $0 in #((
        !          18347:   *[\\/]* ) as_myself=$0 ;;
        !          18348:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          18349: for as_dir in $PATH
        !          18350: do
        !          18351:   IFS=$as_save_IFS
        !          18352:   test -z "$as_dir" && as_dir=.
        !          18353:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          18354:   done
        !          18355: IFS=$as_save_IFS
        !          18356: 
        !          18357:      ;;
        !          18358: esac
        !          18359: # We did not find ourselves, most probably we were run as `sh COMMAND'
        !          18360: # in which case we are not to be found in the path.
        !          18361: if test "x$as_myself" = x; then
        !          18362:   as_myself=$0
        !          18363: fi
        !          18364: if test ! -f "$as_myself"; then
        !          18365:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
        !          18366:   exit 1
        !          18367: fi
        !          18368: 
        !          18369: # Unset variables that we do not need and which cause bugs (e.g. in
        !          18370: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !          18371: # suppresses any "Segmentation fault" message there.  '((' could
        !          18372: # trigger a bug in pdksh 5.2.14.
        !          18373: for as_var in BASH_ENV ENV MAIL MAILPATH
        !          18374: do eval test x\${$as_var+set} = xset \
        !          18375:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !          18376: done
1.62      paf      18377: PS1='$ '
                   18378: PS2='> '
                   18379: PS4='+ '
                   18380: 
                   18381: # NLS nuisances.
1.150   ! moko     18382: LC_ALL=C
        !          18383: export LC_ALL
        !          18384: LANGUAGE=C
        !          18385: export LANGUAGE
        !          18386: 
        !          18387: # CDPATH.
        !          18388: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          18389: 
        !          18390: 
        !          18391: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !          18392: # ----------------------------------------
        !          18393: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !          18394: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !          18395: # script with STATUS, using 1 if that was 0.
        !          18396: as_fn_error ()
        !          18397: {
        !          18398:   as_status=$1; test $as_status -eq 0 && as_status=1
        !          18399:   if test "$4"; then
        !          18400:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          18401:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !          18402:   fi
        !          18403:   $as_echo "$as_me: error: $2" >&2
        !          18404:   as_fn_exit $as_status
        !          18405: } # as_fn_error
        !          18406: 
        !          18407: 
        !          18408: # as_fn_set_status STATUS
        !          18409: # -----------------------
        !          18410: # Set $? to STATUS, without forking.
        !          18411: as_fn_set_status ()
        !          18412: {
        !          18413:   return $1
        !          18414: } # as_fn_set_status
        !          18415: 
        !          18416: # as_fn_exit STATUS
        !          18417: # -----------------
        !          18418: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !          18419: as_fn_exit ()
        !          18420: {
        !          18421:   set +e
        !          18422:   as_fn_set_status $1
        !          18423:   exit $1
        !          18424: } # as_fn_exit
        !          18425: 
        !          18426: # as_fn_unset VAR
        !          18427: # ---------------
        !          18428: # Portably unset VAR.
        !          18429: as_fn_unset ()
        !          18430: {
        !          18431:   { eval $1=; unset $1;}
        !          18432: }
        !          18433: as_unset=as_fn_unset
        !          18434: # as_fn_append VAR VALUE
        !          18435: # ----------------------
        !          18436: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !          18437: # advantage of any shell optimizations that allow amortized linear growth over
        !          18438: # repeated appends, instead of the typical quadratic growth present in naive
        !          18439: # implementations.
        !          18440: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !          18441:   eval 'as_fn_append ()
        !          18442:   {
        !          18443:     eval $1+=\$2
        !          18444:   }'
        !          18445: else
        !          18446:   as_fn_append ()
        !          18447:   {
        !          18448:     eval $1=\$$1\$2
        !          18449:   }
        !          18450: fi # as_fn_append
        !          18451: 
        !          18452: # as_fn_arith ARG...
        !          18453: # ------------------
        !          18454: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !          18455: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !          18456: # must be portable across $(()) and expr.
        !          18457: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !          18458:   eval 'as_fn_arith ()
        !          18459:   {
        !          18460:     as_val=$(( $* ))
        !          18461:   }'
        !          18462: else
        !          18463:   as_fn_arith ()
        !          18464:   {
        !          18465:     as_val=`expr "$@" || test $? -eq 1`
        !          18466:   }
        !          18467: fi # as_fn_arith
        !          18468: 
1.1       paf      18469: 
1.150   ! moko     18470: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !          18471:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      18472:   as_expr=expr
                   18473: else
                   18474:   as_expr=false
                   18475: fi
                   18476: 
1.150   ! moko     18477: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      18478:   as_basename=basename
                   18479: else
                   18480:   as_basename=false
                   18481: fi
                   18482: 
1.150   ! moko     18483: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !          18484:   as_dirname=dirname
        !          18485: else
        !          18486:   as_dirname=false
        !          18487: fi
1.62      paf      18488: 
1.150   ! moko     18489: as_me=`$as_basename -- "$0" ||
1.62      paf      18490: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   18491:         X"$0" : 'X\(//\)$' \| \
1.150   ! moko     18492:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !          18493: $as_echo X/"$0" |
        !          18494:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !          18495:            s//\1/
        !          18496:            q
        !          18497:          }
        !          18498:          /^X\/\(\/\/\)$/{
        !          18499:            s//\1/
        !          18500:            q
        !          18501:          }
        !          18502:          /^X\/\(\/\).*/{
        !          18503:            s//\1/
        !          18504:            q
        !          18505:          }
        !          18506:          s/.*/./; q'`
1.62      paf      18507: 
                   18508: # Avoid depending upon Character Ranges.
                   18509: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   18510: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   18511: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   18512: as_cr_digits='0123456789'
                   18513: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   18514: 
1.150   ! moko     18515: ECHO_C= ECHO_N= ECHO_T=
        !          18516: case `echo -n x` in #(((((
        !          18517: -n*)
        !          18518:   case `echo 'xy\c'` in
        !          18519:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
        !          18520:   xy)  ECHO_C='\c';;
        !          18521:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !          18522:        ECHO_T='        ';;
        !          18523:   esac;;
        !          18524: *)
        !          18525:   ECHO_N='-n';;
1.62      paf      18526: esac
                   18527: 
1.150   ! moko     18528: rm -f conf$$ conf$$.exe conf$$.file
        !          18529: if test -d conf$$.dir; then
        !          18530:   rm -f conf$$.dir/conf$$.file
1.62      paf      18531: else
1.150   ! moko     18532:   rm -f conf$$.dir
        !          18533:   mkdir conf$$.dir 2>/dev/null
1.62      paf      18534: fi
1.150   ! moko     18535: if (echo >conf$$.file) 2>/dev/null; then
        !          18536:   if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          18537:     as_ln_s='ln -s'
        !          18538:     # ... but there are two gotchas:
        !          18539:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        !          18540:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
        !          18541:     # In both cases, we have to default to `cp -p'.
        !          18542:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
        !          18543:       as_ln_s='cp -p'
        !          18544:   elif ln conf$$.file conf$$ 2>/dev/null; then
        !          18545:     as_ln_s=ln
        !          18546:   else
1.62      paf      18547:     as_ln_s='cp -p'
                   18548:   fi
                   18549: else
                   18550:   as_ln_s='cp -p'
                   18551: fi
1.150   ! moko     18552: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
        !          18553: rmdir conf$$.dir 2>/dev/null
        !          18554: 
        !          18555: 
        !          18556: # as_fn_mkdir_p
        !          18557: # -------------
        !          18558: # Create "$as_dir" as a directory, including parents if necessary.
        !          18559: as_fn_mkdir_p ()
        !          18560: {
        !          18561: 
        !          18562:   case $as_dir in #(
        !          18563:   -*) as_dir=./$as_dir;;
        !          18564:   esac
        !          18565:   test -d "$as_dir" || eval $as_mkdir_p || {
        !          18566:     as_dirs=
        !          18567:     while :; do
        !          18568:       case $as_dir in #(
        !          18569:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !          18570:       *) as_qdir=$as_dir;;
        !          18571:       esac
        !          18572:       as_dirs="'$as_qdir' $as_dirs"
        !          18573:       as_dir=`$as_dirname -- "$as_dir" ||
        !          18574: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          18575:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          18576:         X"$as_dir" : 'X\(//\)$' \| \
        !          18577:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !          18578: $as_echo X"$as_dir" |
        !          18579:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          18580:            s//\1/
        !          18581:            q
        !          18582:          }
        !          18583:          /^X\(\/\/\)[^/].*/{
        !          18584:            s//\1/
        !          18585:            q
        !          18586:          }
        !          18587:          /^X\(\/\/\)$/{
        !          18588:            s//\1/
        !          18589:            q
        !          18590:          }
        !          18591:          /^X\(\/\).*/{
        !          18592:            s//\1/
        !          18593:            q
        !          18594:          }
        !          18595:          s/.*/./; q'`
        !          18596:       test -d "$as_dir" && break
        !          18597:     done
        !          18598:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !          18599:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !          18600: 
1.62      paf      18601: 
1.150   ! moko     18602: } # as_fn_mkdir_p
1.62      paf      18603: if mkdir -p . 2>/dev/null; then
1.150   ! moko     18604:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      18605: else
1.86      paf      18606:   test -d ./-p && rmdir ./-p
1.62      paf      18607:   as_mkdir_p=false
                   18608: fi
                   18609: 
1.150   ! moko     18610: if test -x / >/dev/null 2>&1; then
        !          18611:   as_test_x='test -x'
        !          18612: else
        !          18613:   if ls -dL / >/dev/null 2>&1; then
        !          18614:     as_ls_L_option=L
        !          18615:   else
        !          18616:     as_ls_L_option=
        !          18617:   fi
        !          18618:   as_test_x='
        !          18619:     eval sh -c '\''
        !          18620:       if test -d "$1"; then
        !          18621:        test -d "$1/.";
        !          18622:       else
        !          18623:        case $1 in #(
        !          18624:        -*)set "./$1";;
        !          18625:        esac;
        !          18626:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
        !          18627:        ???[sx]*):;;*)false;;esac;fi
        !          18628:     '\'' sh
        !          18629:   '
        !          18630: fi
        !          18631: as_executable_p=$as_test_x
1.62      paf      18632: 
                   18633: # Sed expression to map a string onto a valid CPP name.
1.86      paf      18634: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18635: 
                   18636: # Sed expression to map a string onto a valid variable name.
1.86      paf      18637: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18638: 
                   18639: 
                   18640: exec 6>&1
1.150   ! moko     18641: ## ----------------------------------- ##
        !          18642: ## Main body of $CONFIG_STATUS script. ##
        !          18643: ## ----------------------------------- ##
        !          18644: _ASEOF
        !          18645: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      18646: 
1.150   ! moko     18647: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          18648: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      18649: # report actual input values of CONFIG_FILES etc. instead of their
1.150   ! moko     18650: # values after options handling.
        !          18651: ac_log="
1.147     moko     18652: This file was extended by parser $as_me 3.4.2, which was
1.150   ! moko     18653: generated by GNU Autoconf 2.68.  Invocation command line was
1.62      paf      18654: 
                   18655:   CONFIG_FILES    = $CONFIG_FILES
                   18656:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18657:   CONFIG_LINKS    = $CONFIG_LINKS
                   18658:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18659:   $ $0 $@
                   18660: 
1.150   ! moko     18661: on `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          18662: "
        !          18663: 
1.62      paf      18664: _ACEOF
                   18665: 
1.150   ! moko     18666: case $ac_config_files in *"
        !          18667: "*) set x $ac_config_files; shift; ac_config_files=$*;;
        !          18668: esac
1.62      paf      18669: 
1.150   ! moko     18670: case $ac_config_headers in *"
        !          18671: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
        !          18672: esac
1.62      paf      18673: 
                   18674: 
1.150   ! moko     18675: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          18676: # Files that config.status was made for.
        !          18677: config_files="$ac_config_files"
        !          18678: config_headers="$ac_config_headers"
        !          18679: config_commands="$ac_config_commands"
1.62      paf      18680: 
1.150   ! moko     18681: _ACEOF
1.62      paf      18682: 
1.150   ! moko     18683: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      18684: ac_cs_usage="\
1.150   ! moko     18685: \`$as_me' instantiates files and other configuration actions
        !          18686: from templates according to the current configuration.  Unless the files
        !          18687: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      18688: 
1.150   ! moko     18689: Usage: $0 [OPTION]... [TAG]...
1.62      paf      18690: 
                   18691:   -h, --help       print this help, then exit
1.150   ! moko     18692:   -V, --version    print version number and configuration settings, then exit
        !          18693:       --config     print configuration, then exit
        !          18694:   -q, --quiet, --silent
        !          18695:                    do not print progress messages
1.62      paf      18696:   -d, --debug      don't remove temporary files
                   18697:       --recheck    update $as_me by reconfiguring in the same conditions
1.150   ! moko     18698:       --file=FILE[:TEMPLATE]
        !          18699:                    instantiate the configuration file FILE
        !          18700:       --header=FILE[:TEMPLATE]
        !          18701:                    instantiate the configuration header FILE
1.62      paf      18702: 
                   18703: Configuration files:
                   18704: $config_files
                   18705: 
                   18706: Configuration headers:
                   18707: $config_headers
                   18708: 
                   18709: Configuration commands:
                   18710: $config_commands
                   18711: 
1.150   ! moko     18712: Report bugs to the package provider."
        !          18713: 
1.62      paf      18714: _ACEOF
1.150   ! moko     18715: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          18716: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      18717: ac_cs_version="\\
1.147     moko     18718: parser config.status 3.4.2
1.150   ! moko     18719: configured by $0, generated by GNU Autoconf 2.68,
        !          18720:   with options \\"\$ac_cs_config\\"
1.62      paf      18721: 
1.150   ! moko     18722: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      18723: This config.status script is free software; the Free Software Foundation
                   18724: gives unlimited permission to copy, distribute and modify it."
1.150   ! moko     18725: 
        !          18726: ac_pwd='$ac_pwd'
        !          18727: srcdir='$srcdir'
        !          18728: INSTALL='$INSTALL'
        !          18729: MKDIR_P='$MKDIR_P'
        !          18730: AWK='$AWK'
        !          18731: test -n "\$AWK" || AWK=awk
1.62      paf      18732: _ACEOF
                   18733: 
1.150   ! moko     18734: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          18735: # The default lists apply if the user does not specify any file.
1.62      paf      18736: ac_need_defaults=:
                   18737: while test $# != 0
                   18738: do
                   18739:   case $1 in
1.150   ! moko     18740:   --*=?*)
        !          18741:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          18742:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      18743:     ac_shift=:
                   18744:     ;;
1.150   ! moko     18745:   --*=)
        !          18746:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          18747:     ac_optarg=
        !          18748:     ac_shift=:
        !          18749:     ;;
        !          18750:   *)
1.62      paf      18751:     ac_option=$1
                   18752:     ac_optarg=$2
                   18753:     ac_shift=shift
                   18754:     ;;
                   18755:   esac
                   18756: 
                   18757:   case $ac_option in
                   18758:   # Handling of the options.
                   18759:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18760:     ac_cs_recheck=: ;;
1.150   ! moko     18761:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
        !          18762:     $as_echo "$ac_cs_version"; exit ;;
        !          18763:   --config | --confi | --conf | --con | --co | --c )
        !          18764:     $as_echo "$ac_cs_config"; exit ;;
        !          18765:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      18766:     debug=: ;;
                   18767:   --file | --fil | --fi | --f )
                   18768:     $ac_shift
1.150   ! moko     18769:     case $ac_optarg in
        !          18770:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          18771:     '') as_fn_error $? "missing file argument" ;;
        !          18772:     esac
        !          18773:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      18774:     ac_need_defaults=false;;
                   18775:   --header | --heade | --head | --hea )
                   18776:     $ac_shift
1.150   ! moko     18777:     case $ac_optarg in
        !          18778:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          18779:     esac
        !          18780:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      18781:     ac_need_defaults=false;;
1.150   ! moko     18782:   --he | --h)
        !          18783:     # Conflict between --help and --header
        !          18784:     as_fn_error $? "ambiguous option: \`$1'
        !          18785: Try \`$0 --help' for more information.";;
        !          18786:   --help | --hel | -h )
        !          18787:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      18788:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18789:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18790:     ac_cs_silent=: ;;
                   18791: 
                   18792:   # This is an error.
1.150   ! moko     18793:   -*) as_fn_error $? "unrecognized option: \`$1'
        !          18794: Try \`$0 --help' for more information." ;;
1.62      paf      18795: 
1.150   ! moko     18796:   *) as_fn_append ac_config_targets " $1"
        !          18797:      ac_need_defaults=false ;;
1.62      paf      18798: 
                   18799:   esac
                   18800:   shift
                   18801: done
                   18802: 
                   18803: ac_configure_extra_args=
                   18804: 
                   18805: if $ac_cs_silent; then
                   18806:   exec 6>/dev/null
1.150   ! moko     18807:   ac_configure_extra_args="$ac_configure_extra_args --silent"
        !          18808: fi
        !          18809: 
        !          18810: _ACEOF
        !          18811: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          18812: if \$ac_cs_recheck; then
        !          18813:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
        !          18814:   shift
        !          18815:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
        !          18816:   CONFIG_SHELL='$SHELL'
        !          18817:   export CONFIG_SHELL
        !          18818:   exec "\$@"
        !          18819: fi
        !          18820: 
        !          18821: _ACEOF
        !          18822: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          18823: exec 5>>config.log
        !          18824: {
        !          18825:   echo
        !          18826:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
        !          18827: ## Running $as_me. ##
        !          18828: _ASBOX
        !          18829:   $as_echo "$ac_log"
        !          18830: } >&5
1.62      paf      18831: 
                   18832: _ACEOF
1.150   ! moko     18833: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      18834: #
1.150   ! moko     18835: # INIT-COMMANDS
1.1       paf      18836: #
1.62      paf      18837: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18838: 
1.128     moko     18839: 
                   18840: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18841: # if CDPATH is set.
                   18842: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18843: 
                   18844: sed_quote_subst='$sed_quote_subst'
                   18845: double_quote_subst='$double_quote_subst'
                   18846: delay_variable_subst='$delay_variable_subst'
                   18847: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18848: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18849: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18850: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18851: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     18852: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     18853: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     18854: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     18855: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18856: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18857: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18858: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18859: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18860: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18861: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18862: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18863: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18864: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18865: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18866: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18867: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18868: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18869: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18870: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18871: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18872: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18873: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18874: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18875: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18876: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18877: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18878: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18879: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18880: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18881: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18882: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18883: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18884: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18885: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18886: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18887: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18888: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18889: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18890: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18891: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18892: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18893: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18894: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18895: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18896: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18897: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18898: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18899: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18900: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18901: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18902: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18903: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18904: 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"`'
                   18905: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18906: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18907: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18908: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18909: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18910: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18911: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18912: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18913: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18914: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18915: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18916: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18917: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18918: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18919: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18920: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18921: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18922: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18923: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18924: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18925: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18926: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18927: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18928: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18929: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18930: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18931: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18932: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18933: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18934: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18935: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18936: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18937: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18938: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18939: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18940: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18941: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18942: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18943: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18944: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18945: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18946: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18947: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18948: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18949: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18950: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18951: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18952: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18953: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18954: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18955: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18956: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18957: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18958: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18959: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18960: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18961: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18962: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18963: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18964: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18965: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18966: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18967: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18968: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18969: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18970: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18971: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18972: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18973: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18974: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18975: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18976: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18977: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18978: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18979: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18980: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18981: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18982: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18983: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18984: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18985: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18986: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18987: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18988: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18989: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18990: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18991: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18992: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18993: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18994: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18995: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18996: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18997: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18998: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18999: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19000: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19001: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19002: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19003: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19004: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19005: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19006: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19007: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19008: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19009: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19010: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19011: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19012: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19013: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19014: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19015: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19016: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19017: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19018: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19019: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19020: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19021: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19022: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19023: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19024: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19025: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19026: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19027: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19028: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19029: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19030: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19031: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19032: 
                   19033: LTCC='$LTCC'
                   19034: LTCFLAGS='$LTCFLAGS'
                   19035: compiler='$compiler_DEFAULT'
                   19036: 
                   19037: # A function that is used when there is no print builtin or printf.
                   19038: func_fallback_echo ()
                   19039: {
                   19040:   eval 'cat <<_LTECHO_EOF
                   19041: \$1
                   19042: _LTECHO_EOF'
                   19043: }
                   19044: 
                   19045: # Quote evaled strings.
                   19046: for var in AS \
                   19047: DLLTOOL \
                   19048: OBJDUMP \
                   19049: SHELL \
                   19050: ECHO \
                   19051: PATH_SEPARATOR \
                   19052: SED \
                   19053: GREP \
                   19054: EGREP \
                   19055: FGREP \
                   19056: LD \
                   19057: NM \
                   19058: LN_S \
                   19059: lt_SP2NL \
                   19060: lt_NL2SP \
                   19061: reload_flag \
                   19062: deplibs_check_method \
                   19063: file_magic_cmd \
                   19064: file_magic_glob \
                   19065: want_nocaseglob \
                   19066: sharedlib_from_linklib_cmd \
                   19067: AR \
                   19068: AR_FLAGS \
                   19069: archiver_list_spec \
                   19070: STRIP \
                   19071: RANLIB \
                   19072: CC \
                   19073: CFLAGS \
                   19074: compiler \
                   19075: lt_cv_sys_global_symbol_pipe \
                   19076: lt_cv_sys_global_symbol_to_cdecl \
                   19077: lt_cv_sys_global_symbol_to_c_name_address \
                   19078: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19079: nm_file_list_spec \
                   19080: lt_prog_compiler_no_builtin_flag \
                   19081: lt_prog_compiler_pic \
                   19082: lt_prog_compiler_wl \
                   19083: lt_prog_compiler_static \
                   19084: lt_cv_prog_compiler_c_o \
                   19085: need_locks \
                   19086: MANIFEST_TOOL \
                   19087: DSYMUTIL \
                   19088: NMEDIT \
                   19089: LIPO \
                   19090: OTOOL \
                   19091: OTOOL64 \
                   19092: shrext_cmds \
                   19093: export_dynamic_flag_spec \
                   19094: whole_archive_flag_spec \
                   19095: compiler_needs_object \
                   19096: with_gnu_ld \
                   19097: allow_undefined_flag \
                   19098: no_undefined_flag \
                   19099: hardcode_libdir_flag_spec \
                   19100: hardcode_libdir_separator \
                   19101: exclude_expsyms \
                   19102: include_expsyms \
                   19103: file_list_spec \
                   19104: variables_saved_for_relink \
                   19105: libname_spec \
                   19106: library_names_spec \
                   19107: soname_spec \
                   19108: install_override_mode \
                   19109: finish_eval \
                   19110: old_striplib \
                   19111: striplib \
                   19112: compiler_lib_search_dirs \
                   19113: predep_objects \
                   19114: postdep_objects \
                   19115: predeps \
                   19116: postdeps \
                   19117: compiler_lib_search_path \
                   19118: LD_CXX \
                   19119: reload_flag_CXX \
                   19120: compiler_CXX \
                   19121: lt_prog_compiler_no_builtin_flag_CXX \
                   19122: lt_prog_compiler_pic_CXX \
                   19123: lt_prog_compiler_wl_CXX \
                   19124: lt_prog_compiler_static_CXX \
                   19125: lt_cv_prog_compiler_c_o_CXX \
                   19126: export_dynamic_flag_spec_CXX \
                   19127: whole_archive_flag_spec_CXX \
                   19128: compiler_needs_object_CXX \
                   19129: with_gnu_ld_CXX \
                   19130: allow_undefined_flag_CXX \
                   19131: no_undefined_flag_CXX \
                   19132: hardcode_libdir_flag_spec_CXX \
                   19133: hardcode_libdir_separator_CXX \
                   19134: exclude_expsyms_CXX \
                   19135: include_expsyms_CXX \
                   19136: file_list_spec_CXX \
                   19137: compiler_lib_search_dirs_CXX \
                   19138: predep_objects_CXX \
                   19139: postdep_objects_CXX \
                   19140: predeps_CXX \
                   19141: postdeps_CXX \
                   19142: compiler_lib_search_path_CXX; do
                   19143:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19144:     *[\\\\\\\`\\"\\\$]*)
                   19145:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19146:       ;;
                   19147:     *)
                   19148:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19149:       ;;
                   19150:     esac
                   19151: done
                   19152: 
                   19153: # Double-quote double-evaled strings.
                   19154: for var in reload_cmds \
                   19155: old_postinstall_cmds \
                   19156: old_postuninstall_cmds \
                   19157: old_archive_cmds \
                   19158: extract_expsyms_cmds \
                   19159: old_archive_from_new_cmds \
                   19160: old_archive_from_expsyms_cmds \
                   19161: archive_cmds \
                   19162: archive_expsym_cmds \
                   19163: module_cmds \
                   19164: module_expsym_cmds \
                   19165: export_symbols_cmds \
                   19166: prelink_cmds \
                   19167: postlink_cmds \
                   19168: postinstall_cmds \
                   19169: postuninstall_cmds \
                   19170: finish_cmds \
                   19171: sys_lib_search_path_spec \
                   19172: sys_lib_dlsearch_path_spec \
                   19173: reload_cmds_CXX \
                   19174: old_archive_cmds_CXX \
                   19175: old_archive_from_new_cmds_CXX \
                   19176: old_archive_from_expsyms_cmds_CXX \
                   19177: archive_cmds_CXX \
                   19178: archive_expsym_cmds_CXX \
                   19179: module_cmds_CXX \
                   19180: module_expsym_cmds_CXX \
                   19181: export_symbols_cmds_CXX \
                   19182: prelink_cmds_CXX \
                   19183: postlink_cmds_CXX; do
                   19184:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19185:     *[\\\\\\\`\\"\\\$]*)
                   19186:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19187:       ;;
                   19188:     *)
                   19189:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19190:       ;;
                   19191:     esac
                   19192: done
                   19193: 
                   19194: ac_aux_dir='$ac_aux_dir'
                   19195: xsi_shell='$xsi_shell'
                   19196: lt_shell_append='$lt_shell_append'
                   19197: 
                   19198: # See if we are running on zsh, and set the options which allow our
                   19199: # commands through without removal of \ escapes INIT.
                   19200: if test -n "\${ZSH_VERSION+set}" ; then
                   19201:    setopt NO_GLOB_SUBST
                   19202: fi
                   19203: 
                   19204: 
                   19205:     PACKAGE='$PACKAGE'
                   19206:     VERSION='$VERSION'
                   19207:     TIMESTAMP='$TIMESTAMP'
                   19208:     RM='$RM'
                   19209:     ofile='$ofile'
                   19210: 
                   19211: 
                   19212: 
                   19213: 
                   19214: 
                   19215: 
1.62      paf      19216: _ACEOF
                   19217: 
1.150   ! moko     19218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19219: 
1.150   ! moko     19220: # Handling of arguments.
1.62      paf      19221: for ac_config_target in $ac_config_targets
1.1       paf      19222: do
1.150   ! moko     19223:   case $ac_config_target in
        !          19224:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
        !          19225:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
        !          19226:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
        !          19227:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
        !          19228:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
        !          19229:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
        !          19230:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
        !          19231:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
        !          19232:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
        !          19233:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
        !          19234:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
        !          19235:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
        !          19236:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
        !          19237:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
        !          19238:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
        !          19239:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
        !          19240:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
        !          19241:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
        !          19242:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
        !          19243:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
        !          19244:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
        !          19245:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
        !          19246:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
        !          19247:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
        !          19248:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
        !          19249:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
        !          19250:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
        !          19251:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
        !          19252:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
        !          19253:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
        !          19254:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
        !          19255:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
        !          19256:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
        !          19257: 
        !          19258:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19259:   esac
                   19260: done
                   19261: 
1.150   ! moko     19262: 
1.62      paf      19263: # If the user did not use the arguments to specify the items to instantiate,
                   19264: # then the envvar interface is used.  Set only those that are not.
                   19265: # We use the long form for the default assignment because of an extremely
                   19266: # bizarre bug on SunOS 4.1.3.
                   19267: if $ac_need_defaults; then
                   19268:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19269:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19270:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19271: fi
                   19272: 
                   19273: # Have a temporary directory for convenience.  Make it in the build tree
1.150   ! moko     19274: # simply because there is no reason against having it here, and in addition,
1.62      paf      19275: # creating and moving files from /tmp can sometimes cause problems.
1.150   ! moko     19276: # Hook for its removal unless debugging.
        !          19277: # Note that there is a small window in which the directory will not be cleaned:
        !          19278: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19279: $debug ||
                   19280: {
1.150   ! moko     19281:   tmp= ac_tmp=
        !          19282:   trap 'exit_status=$?
        !          19283:   : "${ac_tmp:=$tmp}"
        !          19284:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
        !          19285: ' 0
        !          19286:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19287: }
                   19288: # Create a (secure) tmp directory for tmp files.
                   19289: 
                   19290: {
1.150   ! moko     19291:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
        !          19292:   test -d "$tmp"
1.62      paf      19293: }  ||
                   19294: {
1.150   ! moko     19295:   tmp=./conf$$-$RANDOM
        !          19296:   (umask 077 && mkdir "$tmp")
        !          19297: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
        !          19298: ac_tmp=$tmp
        !          19299: 
        !          19300: # Set up the scripts for CONFIG_FILES section.
        !          19301: # No need to generate them if there are no CONFIG_FILES.
        !          19302: # This happens for instance with `./config.status config.h'.
        !          19303: if test -n "$CONFIG_FILES"; then
        !          19304: 
        !          19305: 
        !          19306: ac_cr=`echo X | tr X '\015'`
        !          19307: # On cygwin, bash can eat \r inside `` if the user requested igncr.
        !          19308: # But we know of no other shell where ac_cr would be empty at this
        !          19309: # point, so we can use a bashism as a fallback.
        !          19310: if test "x$ac_cr" = x; then
        !          19311:   eval ac_cr=\$\'\\r\'
        !          19312: fi
        !          19313: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
        !          19314: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
        !          19315:   ac_cs_awk_cr='\\r'
        !          19316: else
        !          19317:   ac_cs_awk_cr=$ac_cr
        !          19318: fi
        !          19319: 
        !          19320: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
        !          19321: _ACEOF
        !          19322: 
        !          19323: 
1.62      paf      19324: {
1.150   ! moko     19325:   echo "cat >conf$$subs.awk <<_ACEOF" &&
        !          19326:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
        !          19327:   echo "_ACEOF"
        !          19328: } >conf$$subs.sh ||
        !          19329:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          19330: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
        !          19331: ac_delim='%!_!# '
        !          19332: for ac_last_try in false false false false false :; do
        !          19333:   . ./conf$$subs.sh ||
        !          19334:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          19335: 
        !          19336:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
        !          19337:   if test $ac_delim_n = $ac_delim_num; then
        !          19338:     break
        !          19339:   elif $ac_last_try; then
        !          19340:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          19341:   else
        !          19342:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
        !          19343:   fi
        !          19344: done
        !          19345: rm -f conf$$subs.sh
        !          19346: 
        !          19347: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          19348: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
        !          19349: _ACEOF
        !          19350: sed -n '
        !          19351: h
        !          19352: s/^/S["/; s/!.*/"]=/
        !          19353: p
        !          19354: g
        !          19355: s/^[^!]*!//
        !          19356: :repl
        !          19357: t repl
        !          19358: s/'"$ac_delim"'$//
        !          19359: t delim
        !          19360: :nl
        !          19361: h
        !          19362: s/\(.\{148\}\)..*/\1/
        !          19363: t more1
        !          19364: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
        !          19365: p
        !          19366: n
        !          19367: b repl
        !          19368: :more1
        !          19369: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          19370: p
        !          19371: g
        !          19372: s/.\{148\}//
        !          19373: t nl
        !          19374: :delim
        !          19375: h
        !          19376: s/\(.\{148\}\)..*/\1/
        !          19377: t more2
        !          19378: s/["\\]/\\&/g; s/^/"/; s/$/"/
        !          19379: p
        !          19380: b
        !          19381: :more2
        !          19382: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
        !          19383: p
        !          19384: g
        !          19385: s/.\{148\}//
        !          19386: t delim
        !          19387: ' <conf$$subs.awk | sed '
        !          19388: /^[^""]/{
        !          19389:   N
        !          19390:   s/\n//
        !          19391: }
        !          19392: ' >>$CONFIG_STATUS || ac_write_fail=1
        !          19393: rm -f conf$$subs.awk
        !          19394: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          19395: _ACAWK
        !          19396: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
        !          19397:   for (key in S) S_is_set[key] = 1
        !          19398:   FS = ""
        !          19399: 
        !          19400: }
        !          19401: {
        !          19402:   line = $ 0
        !          19403:   nfields = split(line, field, "@")
        !          19404:   substed = 0
        !          19405:   len = length(field[1])
        !          19406:   for (i = 2; i < nfields; i++) {
        !          19407:     key = field[i]
        !          19408:     keylen = length(key)
        !          19409:     if (S_is_set[key]) {
        !          19410:       value = S[key]
        !          19411:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
        !          19412:       len += length(value) + length(field[++i])
        !          19413:       substed = 1
        !          19414:     } else
        !          19415:       len += 1 + keylen
        !          19416:   }
        !          19417: 
        !          19418:   print line
1.62      paf      19419: }
                   19420: 
1.150   ! moko     19421: _ACAWK
        !          19422: _ACEOF
        !          19423: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          19424: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
        !          19425:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
        !          19426: else
        !          19427:   cat
        !          19428: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
        !          19429:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      19430: _ACEOF
1.1       paf      19431: 
1.150   ! moko     19432: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
        !          19433: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
        !          19434: # trailing colons and then remove the whole line if VPATH becomes empty
        !          19435: # (actually we leave an empty line to preserve line numbers).
        !          19436: if test "x$srcdir" = x.; then
        !          19437:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
        !          19438: h
        !          19439: s///
        !          19440: s/^/:/
        !          19441: s/[     ]*$/:/
        !          19442: s/:\$(srcdir):/:/g
        !          19443: s/:\${srcdir}:/:/g
        !          19444: s/:@srcdir@:/:/g
        !          19445: s/^:*//
        !          19446: s/:*$//
        !          19447: x
        !          19448: s/\(=[  ]*\).*/\1/
        !          19449: G
        !          19450: s/\n//
        !          19451: s/^[^=]*=[      ]*$//
        !          19452: }'
        !          19453: fi
1.62      paf      19454: 
1.150   ! moko     19455: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          19456: fi # test -n "$CONFIG_FILES"
1.1       paf      19457: 
1.150   ! moko     19458: # Set up the scripts for CONFIG_HEADERS section.
        !          19459: # No need to generate them if there are no CONFIG_HEADERS.
        !          19460: # This happens for instance with `./config.status Makefile'.
        !          19461: if test -n "$CONFIG_HEADERS"; then
        !          19462: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
        !          19463: BEGIN {
        !          19464: _ACEOF
        !          19465: 
        !          19466: # Transform confdefs.h into an awk script `defines.awk', embedded as
        !          19467: # here-document in config.status, that substitutes the proper values into
        !          19468: # config.h.in to produce config.h.
        !          19469: 
        !          19470: # Create a delimiter string that does not exist in confdefs.h, to ease
        !          19471: # handling of long lines.
        !          19472: ac_delim='%!_!# '
        !          19473: for ac_last_try in false false :; do
        !          19474:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
        !          19475:   if test -z "$ac_tt"; then
        !          19476:     break
        !          19477:   elif $ac_last_try; then
        !          19478:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
        !          19479:   else
        !          19480:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      19481:   fi
1.150   ! moko     19482: done
1.1       paf      19483: 
1.150   ! moko     19484: # For the awk script, D is an array of macro values keyed by name,
        !          19485: # likewise P contains macro parameters if any.  Preserve backslash
        !          19486: # newline sequences.
        !          19487: 
        !          19488: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
        !          19489: sed -n '
        !          19490: s/.\{148\}/&'"$ac_delim"'/g
        !          19491: t rset
        !          19492: :rset
        !          19493: s/^[    ]*#[    ]*define[       ][      ]*/ /
        !          19494: t def
        !          19495: d
        !          19496: :def
        !          19497: s/\\$//
        !          19498: t bsnl
        !          19499: s/["\\]/\\&/g
        !          19500: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          19501: D["\1"]=" \3"/p
        !          19502: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
        !          19503: d
        !          19504: :bsnl
        !          19505: s/["\\]/\\&/g
        !          19506: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
        !          19507: D["\1"]=" \3\\\\\\n"\\/p
        !          19508: t cont
        !          19509: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
        !          19510: t cont
        !          19511: d
        !          19512: :cont
        !          19513: n
        !          19514: s/.\{148\}/&'"$ac_delim"'/g
        !          19515: t clear
        !          19516: :clear
        !          19517: s/\\$//
        !          19518: t bsnlc
        !          19519: s/["\\]/\\&/g; s/^/"/; s/$/"/p
        !          19520: d
        !          19521: :bsnlc
        !          19522: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
        !          19523: b cont
        !          19524: ' <confdefs.h | sed '
        !          19525: s/'"$ac_delim"'/"\\\
        !          19526: "/g' >>$CONFIG_STATUS || ac_write_fail=1
        !          19527: 
        !          19528: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          19529:   for (key in D) D_is_set[key] = 1
        !          19530:   FS = ""
        !          19531: }
        !          19532: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
        !          19533:   line = \$ 0
        !          19534:   split(line, arg, " ")
        !          19535:   if (arg[1] == "#") {
        !          19536:     defundef = arg[2]
        !          19537:     mac1 = arg[3]
        !          19538:   } else {
        !          19539:     defundef = substr(arg[1], 2)
        !          19540:     mac1 = arg[2]
        !          19541:   }
        !          19542:   split(mac1, mac2, "(") #)
        !          19543:   macro = mac2[1]
        !          19544:   prefix = substr(line, 1, index(line, defundef) - 1)
        !          19545:   if (D_is_set[macro]) {
        !          19546:     # Preserve the white space surrounding the "#".
        !          19547:     print prefix "define", macro P[macro] D[macro]
        !          19548:     next
        !          19549:   } else {
        !          19550:     # Replace #undef with comments.  This is necessary, for example,
        !          19551:     # in the case of _POSIX_SOURCE, which is predefined and required
        !          19552:     # on some systems where configure will not decide to define it.
        !          19553:     if (defundef == "undef") {
        !          19554:       print "/*", prefix defundef, macro, "*/"
        !          19555:       next
        !          19556:     }
        !          19557:   }
        !          19558: }
        !          19559: { print }
        !          19560: _ACAWK
1.62      paf      19561: _ACEOF
1.150   ! moko     19562: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          19563:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
        !          19564: fi # test -n "$CONFIG_HEADERS"
        !          19565: 
        !          19566: 
        !          19567: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
        !          19568: shift
        !          19569: for ac_tag
        !          19570: do
        !          19571:   case $ac_tag in
        !          19572:   :[FHLC]) ac_mode=$ac_tag; continue;;
        !          19573:   esac
        !          19574:   case $ac_mode$ac_tag in
        !          19575:   :[FHL]*:*);;
        !          19576:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
        !          19577:   :[FH]-) ac_tag=-:-;;
        !          19578:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
        !          19579:   esac
        !          19580:   ac_save_IFS=$IFS
        !          19581:   IFS=:
        !          19582:   set x $ac_tag
        !          19583:   IFS=$ac_save_IFS
        !          19584:   shift
        !          19585:   ac_file=$1
        !          19586:   shift
        !          19587: 
        !          19588:   case $ac_mode in
        !          19589:   :L) ac_source=$1;;
        !          19590:   :[FH])
        !          19591:     ac_file_inputs=
        !          19592:     for ac_f
        !          19593:     do
        !          19594:       case $ac_f in
        !          19595:       -) ac_f="$ac_tmp/stdin";;
        !          19596:       *) # Look for the file first in the build tree, then in the source tree
        !          19597:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
        !          19598:         # because $ac_f cannot contain `:'.
        !          19599:         test -f "$ac_f" ||
        !          19600:           case $ac_f in
        !          19601:           [\\/$]*) false;;
        !          19602:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
        !          19603:           esac ||
        !          19604:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
        !          19605:       esac
        !          19606:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
        !          19607:       as_fn_append ac_file_inputs " '$ac_f'"
        !          19608:     done
        !          19609: 
        !          19610:     # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          19611:     # use $as_me), people would be surprised to read:
        !          19612:     #    /* config.h.  Generated by config.status.  */
        !          19613:     configure_input='Generated from '`
        !          19614:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
        !          19615:        `' by configure.'
        !          19616:     if test x"$ac_file" != x-; then
        !          19617:       configure_input="$ac_file.  $configure_input"
        !          19618:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          19619: $as_echo "$as_me: creating $ac_file" >&6;}
        !          19620:     fi
        !          19621:     # Neutralize special characters interpreted by sed in replacement strings.
        !          19622:     case $configure_input in #(
        !          19623:     *\&* | *\|* | *\\* )
        !          19624:        ac_sed_conf_input=`$as_echo "$configure_input" |
        !          19625:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
        !          19626:     *) ac_sed_conf_input=$configure_input;;
        !          19627:     esac
        !          19628: 
        !          19629:     case $ac_tag in
        !          19630:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          19631:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
        !          19632:     esac
        !          19633:     ;;
1.1       paf      19634:   esac
                   19635: 
1.150   ! moko     19636:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      19637: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19638:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19639:         X"$ac_file" : 'X\(//\)$' \| \
1.150   ! moko     19640:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
        !          19641: $as_echo X"$ac_file" |
        !          19642:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          19643:            s//\1/
        !          19644:            q
        !          19645:          }
        !          19646:          /^X\(\/\/\)[^/].*/{
        !          19647:            s//\1/
        !          19648:            q
        !          19649:          }
        !          19650:          /^X\(\/\/\)$/{
        !          19651:            s//\1/
        !          19652:            q
        !          19653:          }
        !          19654:          /^X\(\/\).*/{
        !          19655:            s//\1/
        !          19656:            q
        !          19657:          }
        !          19658:          s/.*/./; q'`
        !          19659:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      19660:   ac_builddir=.
                   19661: 
1.150   ! moko     19662: case "$ac_dir" in
        !          19663: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          19664: *)
        !          19665:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          19666:   # A ".." for each directory in $ac_dir_suffix.
        !          19667:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          19668:   case $ac_top_builddir_sub in
        !          19669:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          19670:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          19671:   esac ;;
        !          19672: esac
        !          19673: ac_abs_top_builddir=$ac_pwd
        !          19674: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          19675: # for backward compatibility:
        !          19676: ac_top_builddir=$ac_top_build_prefix
1.62      paf      19677: 
                   19678: case $srcdir in
1.150   ! moko     19679:   .)  # We are building in place.
1.62      paf      19680:     ac_srcdir=.
1.150   ! moko     19681:     ac_top_srcdir=$ac_top_builddir_sub
        !          19682:     ac_abs_top_srcdir=$ac_pwd ;;
        !          19683:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      19684:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150   ! moko     19685:     ac_top_srcdir=$srcdir
        !          19686:     ac_abs_top_srcdir=$srcdir ;;
        !          19687:   *) # Relative name.
        !          19688:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          19689:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          19690:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      19691: esac
1.150   ! moko     19692: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      19693: 
1.62      paf      19694: 
1.150   ! moko     19695:   case $ac_mode in
        !          19696:   :F)
        !          19697:   #
        !          19698:   # CONFIG_FILE
        !          19699:   #
1.1       paf      19700: 
1.62      paf      19701:   case $INSTALL in
                   19702:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150   ! moko     19703:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      19704:   esac
1.150   ! moko     19705:   ac_MKDIR_P=$MKDIR_P
        !          19706:   case $MKDIR_P in
        !          19707:   [\\/$]* | ?:[\\/]* ) ;;
        !          19708:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
        !          19709:   esac
        !          19710: _ACEOF
1.1       paf      19711: 
1.150   ! moko     19712: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          19713: # If the template does not know about datarootdir, expand it.
        !          19714: # FIXME: This hack should be removed a few years after 2.60.
        !          19715: ac_datarootdir_hack=; ac_datarootdir_seen=
        !          19716: ac_sed_dataroot='
        !          19717: /datarootdir/ {
        !          19718:   p
        !          19719:   q
        !          19720: }
        !          19721: /@datadir@/p
        !          19722: /@docdir@/p
        !          19723: /@infodir@/p
        !          19724: /@localedir@/p
        !          19725: /@mandir@/p'
        !          19726: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
        !          19727: *datarootdir*) ac_datarootdir_seen=yes;;
        !          19728: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
        !          19729:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          19730: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
        !          19731: _ACEOF
        !          19732: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          19733:   ac_datarootdir_hack='
        !          19734:   s&@datadir@&$datadir&g
        !          19735:   s&@docdir@&$docdir&g
        !          19736:   s&@infodir@&$infodir&g
        !          19737:   s&@localedir@&$localedir&g
        !          19738:   s&@mandir@&$mandir&g
        !          19739:   s&\\\${datarootdir}&$datarootdir&g' ;;
        !          19740: esac
        !          19741: _ACEOF
1.62      paf      19742: 
1.150   ! moko     19743: # Neutralize VPATH when `$srcdir' = `.'.
        !          19744: # Shell code in configure.ac might set extrasub.
        !          19745: # FIXME: do we really want to maintain this feature?
        !          19746: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
        !          19747: ac_sed_extra="$ac_vpsub
1.62      paf      19748: $extrasub
                   19749: _ACEOF
1.150   ! moko     19750: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19751: :t
                   19752: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150   ! moko     19753: s|@configure_input@|$ac_sed_conf_input|;t t
        !          19754: s&@top_builddir@&$ac_top_builddir_sub&;t t
        !          19755: s&@top_build_prefix@&$ac_top_build_prefix&;t t
        !          19756: s&@srcdir@&$ac_srcdir&;t t
        !          19757: s&@abs_srcdir@&$ac_abs_srcdir&;t t
        !          19758: s&@top_srcdir@&$ac_top_srcdir&;t t
        !          19759: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
        !          19760: s&@builddir@&$ac_builddir&;t t
        !          19761: s&@abs_builddir@&$ac_abs_builddir&;t t
        !          19762: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
        !          19763: s&@INSTALL@&$ac_INSTALL&;t t
        !          19764: s&@MKDIR_P@&$ac_MKDIR_P&;t t
        !          19765: $ac_datarootdir_hack
        !          19766: "
        !          19767: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          19768:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          19769: 
        !          19770: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
        !          19771:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          19772:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          19773:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
        !          19774:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          19775: which seems to be undefined.  Please make sure it is defined" >&5
        !          19776: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          19777: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      19778: 
1.150   ! moko     19779:   rm -f "$ac_tmp/stdin"
1.62      paf      19780:   case $ac_file in
1.150   ! moko     19781:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          19782:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
        !          19783:   esac \
        !          19784:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          19785:  ;;
        !          19786:   :H)
        !          19787:   #
        !          19788:   # CONFIG_HEADER
        !          19789:   #
1.62      paf      19790:   if test x"$ac_file" != x-; then
1.150   ! moko     19791:     {
        !          19792:       $as_echo "/* $configure_input  */" \
        !          19793:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        !          19794:     } >"$ac_tmp/config.h" \
        !          19795:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          19796:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
        !          19797:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
        !          19798: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      19799:     else
1.150   ! moko     19800:       rm -f "$ac_file"
        !          19801:       mv "$ac_tmp/config.h" "$ac_file" \
        !          19802:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      19803:     fi
                   19804:   else
1.150   ! moko     19805:     $as_echo "/* $configure_input  */" \
        !          19806:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
        !          19807:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      19808:   fi
1.150   ! moko     19809: # Compute "$ac_file"'s index in $config_headers.
        !          19810: _am_arg="$ac_file"
1.86      paf      19811: _am_stamp_count=1
                   19812: for _am_header in $config_headers :; do
                   19813:   case $_am_header in
1.150   ! moko     19814:     $_am_arg | $_am_arg:* )
1.86      paf      19815:       break ;;
                   19816:     * )
                   19817:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19818:   esac
                   19819: done
1.150   ! moko     19820: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
        !          19821: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          19822:         X"$_am_arg" : 'X\(//\)[^/]' \| \
        !          19823:         X"$_am_arg" : 'X\(//\)$' \| \
        !          19824:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
        !          19825: $as_echo X"$_am_arg" |
        !          19826:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          19827:            s//\1/
        !          19828:            q
        !          19829:          }
        !          19830:          /^X\(\/\/\)[^/].*/{
        !          19831:            s//\1/
        !          19832:            q
        !          19833:          }
        !          19834:          /^X\(\/\/\)$/{
        !          19835:            s//\1/
        !          19836:            q
        !          19837:          }
        !          19838:          /^X\(\/\).*/{
        !          19839:            s//\1/
        !          19840:            q
        !          19841:          }
        !          19842:          s/.*/./; q'`/stamp-h$_am_stamp_count
        !          19843:  ;;
1.62      paf      19844: 
1.150   ! moko     19845:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
        !          19846: $as_echo "$as_me: executing $ac_file commands" >&6;}
        !          19847:  ;;
        !          19848:   esac
1.86      paf      19849: 
1.62      paf      19850: 
1.150   ! moko     19851:   case $ac_file$ac_mode in
        !          19852:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
        !          19853:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
        !          19854:   # are listed without --file.  Let's play safe and only enable the eval
        !          19855:   # if we detect the quoting.
        !          19856:   case $CONFIG_FILES in
        !          19857:   *\'*) eval set x "$CONFIG_FILES" ;;
        !          19858:   *)   set x $CONFIG_FILES ;;
        !          19859:   esac
        !          19860:   shift
        !          19861:   for mf
        !          19862:   do
        !          19863:     # Strip MF so we end up with the name of the file.
        !          19864:     mf=`echo "$mf" | sed -e 's/:.*$//'`
        !          19865:     # Check whether this is an Automake generated Makefile or not.
        !          19866:     # We used to match only the files named `Makefile.in', but
        !          19867:     # some people rename them; so instead we look at the file content.
        !          19868:     # Grep'ing the first line is not enough: some people post-process
        !          19869:     # each Makefile.in and add a new line on top of each file to say so.
        !          19870:     # Grep'ing the whole file is not good either: AIX grep has a line
        !          19871:     # limit of 2048, but all sed's we know have understand at least 4000.
        !          19872:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
        !          19873:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      19874: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19875:         X"$mf" : 'X\(//\)[^/]' \| \
                   19876:         X"$mf" : 'X\(//\)$' \| \
1.150   ! moko     19877:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          19878: $as_echo X"$mf" |
        !          19879:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          19880:            s//\1/
        !          19881:            q
        !          19882:          }
        !          19883:          /^X\(\/\/\)[^/].*/{
        !          19884:            s//\1/
        !          19885:            q
        !          19886:          }
        !          19887:          /^X\(\/\/\)$/{
        !          19888:            s//\1/
        !          19889:            q
        !          19890:          }
        !          19891:          /^X\(\/\).*/{
        !          19892:            s//\1/
        !          19893:            q
        !          19894:          }
        !          19895:          s/.*/./; q'`
        !          19896:     else
        !          19897:       continue
        !          19898:     fi
        !          19899:     # Extract the definition of DEPDIR, am__include, and am__quote
        !          19900:     # from the Makefile without running `make'.
        !          19901:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
        !          19902:     test -z "$DEPDIR" && continue
        !          19903:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
        !          19904:     test -z "am__include" && continue
        !          19905:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
        !          19906:     # When using ansi2knr, U may be empty or an underscore; expand it
        !          19907:     U=`sed -n 's/^U = //p' < "$mf"`
        !          19908:     # Find all dependency output files, they are included files with
        !          19909:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
        !          19910:     # simplest approach to changing $(DEPDIR) to its actual value in the
        !          19911:     # expansion.
        !          19912:     for file in `sed -n "
        !          19913:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
        !          19914:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
        !          19915:       # Make sure the directory exists.
        !          19916:       test -f "$dirpart/$file" && continue
        !          19917:       fdir=`$as_dirname -- "$file" ||
1.62      paf      19918: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19919:         X"$file" : 'X\(//\)[^/]' \| \
                   19920:         X"$file" : 'X\(//\)$' \| \
1.150   ! moko     19921:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
        !          19922: $as_echo X"$file" |
        !          19923:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          19924:            s//\1/
        !          19925:            q
        !          19926:          }
        !          19927:          /^X\(\/\/\)[^/].*/{
        !          19928:            s//\1/
        !          19929:            q
        !          19930:          }
        !          19931:          /^X\(\/\/\)$/{
        !          19932:            s//\1/
        !          19933:            q
        !          19934:          }
        !          19935:          /^X\(\/\).*/{
        !          19936:            s//\1/
        !          19937:            q
        !          19938:          }
        !          19939:          s/.*/./; q'`
        !          19940:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
        !          19941:       # echo "creating $dirpart/$file"
        !          19942:       echo '# dummy' > "$dirpart/$file"
1.62      paf      19943:     done
                   19944:   done
1.150   ! moko     19945: }
1.62      paf      19946:  ;;
1.150   ! moko     19947:     "libtool":C)
1.128     moko     19948: 
                   19949:     # See if we are running on zsh, and set the options which allow our
                   19950:     # commands through without removal of \ escapes.
                   19951:     if test -n "${ZSH_VERSION+set}" ; then
                   19952:       setopt NO_GLOB_SUBST
                   19953:     fi
                   19954: 
                   19955:     cfgfile="${ofile}T"
                   19956:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19957:     $RM "$cfgfile"
                   19958: 
                   19959:     cat <<_LT_EOF >> "$cfgfile"
                   19960: #! $SHELL
                   19961: 
                   19962: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19963: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19964: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19965: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19966: #
                   19967: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19968: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19969: #                 Foundation, Inc.
                   19970: #   Written by Gordon Matzigkeit, 1996
                   19971: #
                   19972: #   This file is part of GNU Libtool.
                   19973: #
                   19974: # GNU Libtool is free software; you can redistribute it and/or
                   19975: # modify it under the terms of the GNU General Public License as
                   19976: # published by the Free Software Foundation; either version 2 of
                   19977: # the License, or (at your option) any later version.
                   19978: #
                   19979: # As a special exception to the GNU General Public License,
                   19980: # if you distribute this file as part of a program or library that
                   19981: # is built using GNU Libtool, you may include this file under the
                   19982: # same distribution terms that you use for the rest of that program.
                   19983: #
                   19984: # GNU Libtool is distributed in the hope that it will be useful,
                   19985: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19986: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19987: # GNU General Public License for more details.
                   19988: #
                   19989: # You should have received a copy of the GNU General Public License
                   19990: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19991: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19992: # obtained by writing to the Free Software Foundation, Inc.,
                   19993: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19994: 
                   19995: 
                   19996: # The names of the tagged configurations supported by this script.
                   19997: available_tags="CXX "
                   19998: 
                   19999: # ### BEGIN LIBTOOL CONFIG
                   20000: 
                   20001: # Which release of libtool.m4 was used?
                   20002: macro_version=$macro_version
                   20003: macro_revision=$macro_revision
                   20004: 
                   20005: # Assembler program.
                   20006: AS=$lt_AS
                   20007: 
                   20008: # DLL creation program.
                   20009: DLLTOOL=$lt_DLLTOOL
                   20010: 
                   20011: # Object dumper program.
                   20012: OBJDUMP=$lt_OBJDUMP
                   20013: 
1.145     moko     20014: # What type of objects to build.
                   20015: pic_mode=$pic_mode
                   20016: 
1.128     moko     20017: # Whether or not to build shared libraries.
                   20018: build_libtool_libs=$enable_shared
                   20019: 
1.138     moko     20020: # Whether or not to build static libraries.
                   20021: build_old_libs=$enable_static
                   20022: 
1.128     moko     20023: # Whether or not to optimize for fast installation.
                   20024: fast_install=$enable_fast_install
                   20025: 
                   20026: # Shell to use when invoking shell scripts.
                   20027: SHELL=$lt_SHELL
                   20028: 
                   20029: # An echo program that protects backslashes.
                   20030: ECHO=$lt_ECHO
                   20031: 
                   20032: # The PATH separator for the build system.
                   20033: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20034: 
                   20035: # The host system.
                   20036: host_alias=$host_alias
                   20037: host=$host
                   20038: host_os=$host_os
                   20039: 
                   20040: # The build system.
                   20041: build_alias=$build_alias
                   20042: build=$build
                   20043: build_os=$build_os
                   20044: 
                   20045: # A sed program that does not truncate output.
                   20046: SED=$lt_SED
                   20047: 
                   20048: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20049: Xsed="\$SED -e 1s/^X//"
                   20050: 
                   20051: # A grep program that handles long lines.
                   20052: GREP=$lt_GREP
                   20053: 
                   20054: # An ERE matcher.
                   20055: EGREP=$lt_EGREP
                   20056: 
                   20057: # A literal string matcher.
                   20058: FGREP=$lt_FGREP
                   20059: 
                   20060: # A BSD- or MS-compatible name lister.
                   20061: NM=$lt_NM
                   20062: 
                   20063: # Whether we need soft or hard links.
                   20064: LN_S=$lt_LN_S
                   20065: 
                   20066: # What is the maximum length of a command?
                   20067: max_cmd_len=$max_cmd_len
                   20068: 
                   20069: # Object file suffix (normally "o").
                   20070: objext=$ac_objext
                   20071: 
                   20072: # Executable file suffix (normally "").
                   20073: exeext=$exeext
                   20074: 
                   20075: # whether the shell understands "unset".
                   20076: lt_unset=$lt_unset
                   20077: 
                   20078: # turn spaces into newlines.
                   20079: SP2NL=$lt_lt_SP2NL
                   20080: 
                   20081: # turn newlines into spaces.
                   20082: NL2SP=$lt_lt_NL2SP
                   20083: 
                   20084: # convert \$build file names to \$host format.
                   20085: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20086: 
                   20087: # convert \$build files to toolchain format.
                   20088: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20089: 
                   20090: # Method to check whether dependent libraries are shared objects.
                   20091: deplibs_check_method=$lt_deplibs_check_method
                   20092: 
                   20093: # Command to use when deplibs_check_method = "file_magic".
                   20094: file_magic_cmd=$lt_file_magic_cmd
                   20095: 
                   20096: # How to find potential files when deplibs_check_method = "file_magic".
                   20097: file_magic_glob=$lt_file_magic_glob
                   20098: 
                   20099: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20100: want_nocaseglob=$lt_want_nocaseglob
                   20101: 
                   20102: # Command to associate shared and link libraries.
                   20103: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20104: 
                   20105: # The archiver.
                   20106: AR=$lt_AR
                   20107: 
                   20108: # Flags to create an archive.
                   20109: AR_FLAGS=$lt_AR_FLAGS
                   20110: 
                   20111: # How to feed a file listing to the archiver.
                   20112: archiver_list_spec=$lt_archiver_list_spec
                   20113: 
                   20114: # A symbol stripping program.
                   20115: STRIP=$lt_STRIP
                   20116: 
                   20117: # Commands used to install an old-style archive.
                   20118: RANLIB=$lt_RANLIB
                   20119: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20120: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20121: 
                   20122: # Whether to use a lock for old archive extraction.
                   20123: lock_old_archive_extraction=$lock_old_archive_extraction
                   20124: 
                   20125: # A C compiler.
                   20126: LTCC=$lt_CC
                   20127: 
                   20128: # LTCC compiler flags.
                   20129: LTCFLAGS=$lt_CFLAGS
                   20130: 
                   20131: # Take the output of nm and produce a listing of raw symbols and C names.
                   20132: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20133: 
                   20134: # Transform the output of nm in a proper C declaration.
                   20135: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20136: 
                   20137: # Transform the output of nm in a C name address pair.
                   20138: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20139: 
                   20140: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20141: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20142: 
                   20143: # Specify filename containing input files for \$NM.
                   20144: nm_file_list_spec=$lt_nm_file_list_spec
                   20145: 
                   20146: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20147: lt_sysroot=$lt_sysroot
                   20148: 
                   20149: # The name of the directory that contains temporary libtool files.
                   20150: objdir=$objdir
                   20151: 
                   20152: # Used to examine libraries when file_magic_cmd begins with "file".
                   20153: MAGIC_CMD=$MAGIC_CMD
                   20154: 
                   20155: # Must we lock files when doing compilation?
                   20156: need_locks=$lt_need_locks
                   20157: 
                   20158: # Manifest tool.
                   20159: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20160: 
                   20161: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20162: DSYMUTIL=$lt_DSYMUTIL
                   20163: 
                   20164: # Tool to change global to local symbols on Mac OS X.
                   20165: NMEDIT=$lt_NMEDIT
                   20166: 
                   20167: # Tool to manipulate fat objects and archives on Mac OS X.
                   20168: LIPO=$lt_LIPO
                   20169: 
                   20170: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20171: OTOOL=$lt_OTOOL
                   20172: 
                   20173: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20174: OTOOL64=$lt_OTOOL64
                   20175: 
                   20176: # Old archive suffix (normally "a").
                   20177: libext=$libext
                   20178: 
                   20179: # Shared library suffix (normally ".so").
                   20180: shrext_cmds=$lt_shrext_cmds
                   20181: 
                   20182: # The commands to extract the exported symbol list from a shared archive.
                   20183: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20184: 
                   20185: # Variables whose values should be saved in libtool wrapper scripts and
                   20186: # restored at link time.
                   20187: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20188: 
                   20189: # Do we need the "lib" prefix for modules?
                   20190: need_lib_prefix=$need_lib_prefix
                   20191: 
                   20192: # Do we need a version for libraries?
                   20193: need_version=$need_version
                   20194: 
                   20195: # Library versioning type.
                   20196: version_type=$version_type
                   20197: 
                   20198: # Shared library runtime path variable.
                   20199: runpath_var=$runpath_var
                   20200: 
                   20201: # Shared library path variable.
                   20202: shlibpath_var=$shlibpath_var
                   20203: 
                   20204: # Is shlibpath searched before the hard-coded library search path?
                   20205: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20206: 
                   20207: # Format of library name prefix.
                   20208: libname_spec=$lt_libname_spec
                   20209: 
                   20210: # List of archive names.  First name is the real one, the rest are links.
                   20211: # The last name is the one that the linker finds with -lNAME
                   20212: library_names_spec=$lt_library_names_spec
                   20213: 
                   20214: # The coded name of the library, if different from the real name.
                   20215: soname_spec=$lt_soname_spec
                   20216: 
                   20217: # Permission mode override for installation of shared libraries.
                   20218: install_override_mode=$lt_install_override_mode
                   20219: 
                   20220: # Command to use after installation of a shared archive.
                   20221: postinstall_cmds=$lt_postinstall_cmds
                   20222: 
                   20223: # Command to use after uninstallation of a shared archive.
                   20224: postuninstall_cmds=$lt_postuninstall_cmds
                   20225: 
                   20226: # Commands used to finish a libtool library installation in a directory.
                   20227: finish_cmds=$lt_finish_cmds
                   20228: 
                   20229: # As "finish_cmds", except a single script fragment to be evaled but
                   20230: # not shown.
                   20231: finish_eval=$lt_finish_eval
                   20232: 
                   20233: # Whether we should hardcode library paths into libraries.
                   20234: hardcode_into_libs=$hardcode_into_libs
                   20235: 
                   20236: # Compile-time system search path for libraries.
                   20237: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20238: 
                   20239: # Run-time system search path for libraries.
                   20240: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20241: 
                   20242: # Whether dlopen is supported.
                   20243: dlopen_support=$enable_dlopen
                   20244: 
                   20245: # Whether dlopen of programs is supported.
                   20246: dlopen_self=$enable_dlopen_self
                   20247: 
                   20248: # Whether dlopen of statically linked programs is supported.
                   20249: dlopen_self_static=$enable_dlopen_self_static
                   20250: 
                   20251: # Commands to strip libraries.
                   20252: old_striplib=$lt_old_striplib
                   20253: striplib=$lt_striplib
                   20254: 
                   20255: 
                   20256: # The linker used to build libraries.
                   20257: LD=$lt_LD
                   20258: 
                   20259: # How to create reloadable object files.
                   20260: reload_flag=$lt_reload_flag
                   20261: reload_cmds=$lt_reload_cmds
                   20262: 
                   20263: # Commands used to build an old-style archive.
                   20264: old_archive_cmds=$lt_old_archive_cmds
                   20265: 
                   20266: # A language specific compiler.
                   20267: CC=$lt_compiler
                   20268: 
                   20269: # Is the compiler the GNU compiler?
                   20270: with_gcc=$GCC
                   20271: 
                   20272: # Compiler flag to turn off builtin functions.
                   20273: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20274: 
                   20275: # Additional compiler flags for building library objects.
                   20276: pic_flag=$lt_lt_prog_compiler_pic
                   20277: 
                   20278: # How to pass a linker flag through the compiler.
                   20279: wl=$lt_lt_prog_compiler_wl
                   20280: 
                   20281: # Compiler flag to prevent dynamic linking.
                   20282: link_static_flag=$lt_lt_prog_compiler_static
                   20283: 
                   20284: # Does compiler simultaneously support -c and -o options?
                   20285: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20286: 
                   20287: # Whether or not to add -lc for building shared libraries.
                   20288: build_libtool_need_lc=$archive_cmds_need_lc
                   20289: 
                   20290: # Whether or not to disallow shared libs when runtime libs are static.
                   20291: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   20292: 
                   20293: # Compiler flag to allow reflexive dlopens.
                   20294: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20295: 
                   20296: # Compiler flag to generate shared objects directly from archives.
                   20297: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20298: 
                   20299: # Whether the compiler copes with passing no objects directly.
                   20300: compiler_needs_object=$lt_compiler_needs_object
                   20301: 
                   20302: # Create an old-style archive from a shared archive.
                   20303: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   20304: 
                   20305: # Create a temporary old-style archive to link instead of a shared archive.
                   20306: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   20307: 
                   20308: # Commands used to build a shared archive.
                   20309: archive_cmds=$lt_archive_cmds
                   20310: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20311: 
                   20312: # Commands used to build a loadable module if different from building
                   20313: # a shared archive.
                   20314: module_cmds=$lt_module_cmds
                   20315: module_expsym_cmds=$lt_module_expsym_cmds
                   20316: 
                   20317: # Whether we are building with GNU ld or not.
                   20318: with_gnu_ld=$lt_with_gnu_ld
                   20319: 
                   20320: # Flag that allows shared libraries with undefined symbols to be built.
                   20321: allow_undefined_flag=$lt_allow_undefined_flag
                   20322: 
                   20323: # Flag that enforces no undefined symbols.
                   20324: no_undefined_flag=$lt_no_undefined_flag
                   20325: 
                   20326: # Flag to hardcode \$libdir into a binary during linking.
                   20327: # This must work even if \$libdir does not exist
                   20328: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   20329: 
                   20330: # Whether we need a single "-rpath" flag with a separated argument.
                   20331: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   20332: 
                   20333: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20334: # DIR into the resulting binary.
                   20335: hardcode_direct=$hardcode_direct
                   20336: 
                   20337: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20338: # DIR into the resulting binary and the resulting library dependency is
                   20339: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20340: # library is relocated.
                   20341: hardcode_direct_absolute=$hardcode_direct_absolute
                   20342: 
                   20343: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20344: # into the resulting binary.
                   20345: hardcode_minus_L=$hardcode_minus_L
                   20346: 
                   20347: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20348: # into the resulting binary.
                   20349: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   20350: 
                   20351: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20352: # into the library and all subsequent libraries and executables linked
                   20353: # against it.
                   20354: hardcode_automatic=$hardcode_automatic
                   20355: 
                   20356: # Set to yes if linker adds runtime paths of dependent libraries
                   20357: # to runtime path list.
                   20358: inherit_rpath=$inherit_rpath
                   20359: 
                   20360: # Whether libtool must link a program against all its dependency libraries.
                   20361: link_all_deplibs=$link_all_deplibs
                   20362: 
                   20363: # Set to "yes" if exported symbols are required.
                   20364: always_export_symbols=$always_export_symbols
                   20365: 
                   20366: # The commands to list exported symbols.
                   20367: export_symbols_cmds=$lt_export_symbols_cmds
                   20368: 
                   20369: # Symbols that should not be listed in the preloaded symbols.
                   20370: exclude_expsyms=$lt_exclude_expsyms
                   20371: 
                   20372: # Symbols that must always be exported.
                   20373: include_expsyms=$lt_include_expsyms
                   20374: 
                   20375: # Commands necessary for linking programs (against libraries) with templates.
                   20376: prelink_cmds=$lt_prelink_cmds
                   20377: 
                   20378: # Commands necessary for finishing linking programs.
                   20379: postlink_cmds=$lt_postlink_cmds
                   20380: 
                   20381: # Specify filename containing input files.
                   20382: file_list_spec=$lt_file_list_spec
                   20383: 
                   20384: # How to hardcode a shared library path into an executable.
                   20385: hardcode_action=$hardcode_action
                   20386: 
                   20387: # The directories searched by this compiler when creating a shared library.
                   20388: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20389: 
                   20390: # Dependencies to place before and after the objects being linked to
                   20391: # create a shared library.
                   20392: predep_objects=$lt_predep_objects
                   20393: postdep_objects=$lt_postdep_objects
                   20394: predeps=$lt_predeps
                   20395: postdeps=$lt_postdeps
                   20396: 
                   20397: # The library search path used internally by the compiler when linking
                   20398: # a shared library.
                   20399: compiler_lib_search_path=$lt_compiler_lib_search_path
                   20400: 
                   20401: # ### END LIBTOOL CONFIG
                   20402: 
                   20403: _LT_EOF
                   20404: 
                   20405:   case $host_os in
                   20406:   aix3*)
                   20407:     cat <<\_LT_EOF >> "$cfgfile"
                   20408: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20409: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20410: # vanish in a puff of smoke.
                   20411: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20412:   COLLECT_NAMES=
                   20413:   export COLLECT_NAMES
                   20414: fi
                   20415: _LT_EOF
                   20416:     ;;
                   20417:   esac
                   20418: 
                   20419: 
                   20420: ltmain="$ac_aux_dir/ltmain.sh"
                   20421: 
                   20422: 
                   20423:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20424:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20425:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20426:   # is reportedly fixed, but why not run on old versions too?
                   20427:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20428:      || (rm -f "$cfgfile"; exit 1)
                   20429: 
                   20430:   if test x"$xsi_shell" = xyes; then
                   20431:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20432: func_dirname ()\
                   20433: {\
                   20434: \    case ${1} in\
                   20435: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20436: \      *  ) func_dirname_result="${3}" ;;\
                   20437: \    esac\
                   20438: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20439:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20440:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20441: test 0 -eq $? || _lt_function_replace_fail=:
                   20442: 
                   20443: 
                   20444:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20445: func_basename ()\
                   20446: {\
                   20447: \    func_basename_result="${1##*/}"\
                   20448: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20449:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20450:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20451: test 0 -eq $? || _lt_function_replace_fail=:
                   20452: 
                   20453: 
                   20454:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20455: func_dirname_and_basename ()\
                   20456: {\
                   20457: \    case ${1} in\
                   20458: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20459: \      *  ) func_dirname_result="${3}" ;;\
                   20460: \    esac\
                   20461: \    func_basename_result="${1##*/}"\
                   20462: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20463:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20464:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20465: test 0 -eq $? || _lt_function_replace_fail=:
                   20466: 
                   20467: 
                   20468:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20469: func_stripname ()\
                   20470: {\
                   20471: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20472: \    # positional parameters, so assign one to ordinary parameter first.\
                   20473: \    func_stripname_result=${3}\
                   20474: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20475: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20476: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20477:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20478:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20479: test 0 -eq $? || _lt_function_replace_fail=:
                   20480: 
                   20481: 
                   20482:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20483: func_split_long_opt ()\
                   20484: {\
                   20485: \    func_split_long_opt_name=${1%%=*}\
                   20486: \    func_split_long_opt_arg=${1#*=}\
                   20487: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20488:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20489:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20490: test 0 -eq $? || _lt_function_replace_fail=:
                   20491: 
                   20492: 
                   20493:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20494: func_split_short_opt ()\
                   20495: {\
                   20496: \    func_split_short_opt_arg=${1#??}\
                   20497: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20498: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20499:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20500:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20501: test 0 -eq $? || _lt_function_replace_fail=:
                   20502: 
                   20503: 
                   20504:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20505: func_lo2o ()\
                   20506: {\
                   20507: \    case ${1} in\
                   20508: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20509: \      *)    func_lo2o_result=${1} ;;\
                   20510: \    esac\
                   20511: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20512:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20513:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20514: test 0 -eq $? || _lt_function_replace_fail=:
                   20515: 
                   20516: 
                   20517:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20518: func_xform ()\
                   20519: {\
                   20520:     func_xform_result=${1%.*}.lo\
                   20521: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20522:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20523:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20524: test 0 -eq $? || _lt_function_replace_fail=:
                   20525: 
                   20526: 
                   20527:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20528: func_arith ()\
                   20529: {\
                   20530:     func_arith_result=$(( $* ))\
                   20531: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20532:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20533:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20534: test 0 -eq $? || _lt_function_replace_fail=:
                   20535: 
                   20536: 
                   20537:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20538: func_len ()\
                   20539: {\
                   20540:     func_len_result=${#1}\
                   20541: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20542:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20543:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20544: test 0 -eq $? || _lt_function_replace_fail=:
                   20545: 
                   20546: fi
                   20547: 
                   20548: if test x"$lt_shell_append" = xyes; then
                   20549:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20550: func_append ()\
                   20551: {\
                   20552:     eval "${1}+=\\${2}"\
                   20553: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20554:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20555:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20556: test 0 -eq $? || _lt_function_replace_fail=:
                   20557: 
                   20558: 
                   20559:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20560: func_append_quoted ()\
                   20561: {\
                   20562: \    func_quote_for_eval "${2}"\
                   20563: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20564: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20565:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20566:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20567: test 0 -eq $? || _lt_function_replace_fail=:
                   20568: 
                   20569: 
                   20570:   # Save a `func_append' function call where possible by direct use of '+='
                   20571:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20572:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20573:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20574:   test 0 -eq $? || _lt_function_replace_fail=:
                   20575: else
                   20576:   # Save a `func_append' function call even when '+=' is not available
                   20577:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20578:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20579:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20580:   test 0 -eq $? || _lt_function_replace_fail=:
                   20581: fi
                   20582: 
                   20583: if test x"$_lt_function_replace_fail" = x":"; then
1.150   ! moko     20584:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
        !          20585: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     20586: fi
                   20587: 
                   20588: 
                   20589:    mv -f "$cfgfile" "$ofile" ||
                   20590:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20591:   chmod +x "$ofile"
                   20592: 
                   20593: 
                   20594:     cat <<_LT_EOF >> "$ofile"
                   20595: 
                   20596: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20597: 
                   20598: # The linker used to build libraries.
                   20599: LD=$lt_LD_CXX
                   20600: 
                   20601: # How to create reloadable object files.
                   20602: reload_flag=$lt_reload_flag_CXX
                   20603: reload_cmds=$lt_reload_cmds_CXX
                   20604: 
                   20605: # Commands used to build an old-style archive.
                   20606: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20607: 
                   20608: # A language specific compiler.
                   20609: CC=$lt_compiler_CXX
                   20610: 
                   20611: # Is the compiler the GNU compiler?
                   20612: with_gcc=$GCC_CXX
                   20613: 
                   20614: # Compiler flag to turn off builtin functions.
                   20615: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20616: 
                   20617: # Additional compiler flags for building library objects.
                   20618: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20619: 
                   20620: # How to pass a linker flag through the compiler.
                   20621: wl=$lt_lt_prog_compiler_wl_CXX
                   20622: 
                   20623: # Compiler flag to prevent dynamic linking.
                   20624: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20625: 
                   20626: # Does compiler simultaneously support -c and -o options?
                   20627: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20628: 
                   20629: # Whether or not to add -lc for building shared libraries.
                   20630: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20631: 
                   20632: # Whether or not to disallow shared libs when runtime libs are static.
                   20633: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20634: 
                   20635: # Compiler flag to allow reflexive dlopens.
                   20636: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20637: 
                   20638: # Compiler flag to generate shared objects directly from archives.
                   20639: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20640: 
                   20641: # Whether the compiler copes with passing no objects directly.
                   20642: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20643: 
                   20644: # Create an old-style archive from a shared archive.
                   20645: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20646: 
                   20647: # Create a temporary old-style archive to link instead of a shared archive.
                   20648: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20649: 
                   20650: # Commands used to build a shared archive.
                   20651: archive_cmds=$lt_archive_cmds_CXX
                   20652: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20653: 
                   20654: # Commands used to build a loadable module if different from building
                   20655: # a shared archive.
                   20656: module_cmds=$lt_module_cmds_CXX
                   20657: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20658: 
                   20659: # Whether we are building with GNU ld or not.
                   20660: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20661: 
                   20662: # Flag that allows shared libraries with undefined symbols to be built.
                   20663: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20664: 
                   20665: # Flag that enforces no undefined symbols.
                   20666: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20667: 
                   20668: # Flag to hardcode \$libdir into a binary during linking.
                   20669: # This must work even if \$libdir does not exist
                   20670: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20671: 
                   20672: # Whether we need a single "-rpath" flag with a separated argument.
                   20673: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20674: 
                   20675: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20676: # DIR into the resulting binary.
                   20677: hardcode_direct=$hardcode_direct_CXX
                   20678: 
                   20679: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20680: # DIR into the resulting binary and the resulting library dependency is
                   20681: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20682: # library is relocated.
                   20683: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20684: 
                   20685: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20686: # into the resulting binary.
                   20687: hardcode_minus_L=$hardcode_minus_L_CXX
                   20688: 
                   20689: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20690: # into the resulting binary.
                   20691: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20692: 
                   20693: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20694: # into the library and all subsequent libraries and executables linked
                   20695: # against it.
                   20696: hardcode_automatic=$hardcode_automatic_CXX
                   20697: 
                   20698: # Set to yes if linker adds runtime paths of dependent libraries
                   20699: # to runtime path list.
                   20700: inherit_rpath=$inherit_rpath_CXX
                   20701: 
                   20702: # Whether libtool must link a program against all its dependency libraries.
                   20703: link_all_deplibs=$link_all_deplibs_CXX
                   20704: 
                   20705: # Set to "yes" if exported symbols are required.
                   20706: always_export_symbols=$always_export_symbols_CXX
                   20707: 
                   20708: # The commands to list exported symbols.
                   20709: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20710: 
                   20711: # Symbols that should not be listed in the preloaded symbols.
                   20712: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20713: 
                   20714: # Symbols that must always be exported.
                   20715: include_expsyms=$lt_include_expsyms_CXX
                   20716: 
                   20717: # Commands necessary for linking programs (against libraries) with templates.
                   20718: prelink_cmds=$lt_prelink_cmds_CXX
                   20719: 
                   20720: # Commands necessary for finishing linking programs.
                   20721: postlink_cmds=$lt_postlink_cmds_CXX
                   20722: 
                   20723: # Specify filename containing input files.
                   20724: file_list_spec=$lt_file_list_spec_CXX
                   20725: 
                   20726: # How to hardcode a shared library path into an executable.
                   20727: hardcode_action=$hardcode_action_CXX
                   20728: 
                   20729: # The directories searched by this compiler when creating a shared library.
                   20730: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   20731: 
                   20732: # Dependencies to place before and after the objects being linked to
                   20733: # create a shared library.
                   20734: predep_objects=$lt_predep_objects_CXX
                   20735: postdep_objects=$lt_postdep_objects_CXX
                   20736: predeps=$lt_predeps_CXX
                   20737: postdeps=$lt_postdeps_CXX
                   20738: 
                   20739: # The library search path used internally by the compiler when linking
                   20740: # a shared library.
                   20741: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   20742: 
                   20743: # ### END LIBTOOL TAG CONFIG: CXX
                   20744: _LT_EOF
                   20745: 
                   20746:  ;;
1.150   ! moko     20747: 
1.62      paf      20748:   esac
1.150   ! moko     20749: done # for ac_tag
1.62      paf      20750: 
                   20751: 
1.150   ! moko     20752: as_fn_exit 0
1.62      paf      20753: _ACEOF
                   20754: ac_clean_files=$ac_clean_files_save
                   20755: 
1.150   ! moko     20756: test $ac_write_fail = 0 ||
        !          20757:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
        !          20758: 
1.1       paf      20759: 
1.62      paf      20760: # configure is writing to config.log, and then calls config.status.
                   20761: # config.status does its own redirection, appending to config.log.
                   20762: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20763: # by configure, so config.status won't be able to write to it; its
                   20764: # output is simply discarded.  So we exec the FD to /dev/null,
                   20765: # effectively closing config.log, so it can be properly (re)opened and
                   20766: # appended to by config.status.  When coming back to configure, we
                   20767: # need to make the FD available again.
                   20768: if test "$no_create" != yes; then
                   20769:   ac_cs_success=:
                   20770:   ac_config_status_args=
                   20771:   test "$silent" = yes &&
                   20772:     ac_config_status_args="$ac_config_status_args --quiet"
                   20773:   exec 5>/dev/null
                   20774:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20775:   exec 5>>config.log
                   20776:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20777:   # would make configure fail if this is the last instruction.
1.150   ! moko     20778:   $ac_cs_success || as_fn_exit 1
1.62      paf      20779: fi
                   20780: 
                   20781: #
                   20782: # CONFIG_SUBDIRS section.
                   20783: #
1.1       paf      20784: if test "$no_recursion" != yes; then
                   20785: 
1.150   ! moko     20786:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
        !          20787:   # so they do not pile up.
1.1       paf      20788:   ac_sub_configure_args=
                   20789:   ac_prev=
1.150   ! moko     20790:   eval "set x $ac_configure_args"
        !          20791:   shift
        !          20792:   for ac_arg
        !          20793:   do
1.1       paf      20794:     if test -n "$ac_prev"; then
                   20795:       ac_prev=
                   20796:       continue
                   20797:     fi
1.62      paf      20798:     case $ac_arg in
1.1       paf      20799:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20800:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20801:       ac_prev=cache_file ;;
                   20802:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      20803:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20804:     | --c=*)
                   20805:       ;;
                   20806:     --config-cache | -C)
1.1       paf      20807:       ;;
                   20808:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20809:       ac_prev=srcdir ;;
                   20810:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20811:       ;;
1.62      paf      20812:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20813:       ac_prev=prefix ;;
                   20814:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20815:       ;;
1.150   ! moko     20816:     --disable-option-checking)
        !          20817:       ;;
        !          20818:     *)
        !          20819:       case $ac_arg in
        !          20820:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          20821:       esac
        !          20822:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      20823:     esac
                   20824:   done
                   20825: 
1.62      paf      20826:   # Always prepend --prefix to ensure using the same prefix
                   20827:   # in subdir configurations.
1.150   ! moko     20828:   ac_arg="--prefix=$prefix"
        !          20829:   case $ac_arg in
        !          20830:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          20831:   esac
        !          20832:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
        !          20833: 
        !          20834:   # Pass --silent
        !          20835:   if test "$silent" = yes; then
        !          20836:     ac_sub_configure_args="--silent $ac_sub_configure_args"
        !          20837:   fi
        !          20838: 
        !          20839:   # Always prepend --disable-option-checking to silence warnings, since
        !          20840:   # different subdirs can have different --enable and --with options.
        !          20841:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      20842: 
                   20843:   ac_popdir=`pwd`
                   20844:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      20845: 
                   20846:     # Do not complain, so a configure script can configure whichever
                   20847:     # parts of a large source tree are present.
1.150   ! moko     20848:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      20849: 
1.150   ! moko     20850:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
        !          20851:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
        !          20852:     $as_echo "$ac_msg" >&6
        !          20853:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20854:     ac_builddir=.
                   20855: 
1.150   ! moko     20856: case "$ac_dir" in
        !          20857: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          20858: *)
        !          20859:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
        !          20860:   # A ".." for each directory in $ac_dir_suffix.
        !          20861:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
        !          20862:   case $ac_top_builddir_sub in
        !          20863:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
        !          20864:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
        !          20865:   esac ;;
        !          20866: esac
        !          20867: ac_abs_top_builddir=$ac_pwd
        !          20868: ac_abs_builddir=$ac_pwd$ac_dir_suffix
        !          20869: # for backward compatibility:
        !          20870: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20871: 
                   20872: case $srcdir in
1.150   ! moko     20873:   .)  # We are building in place.
1.62      paf      20874:     ac_srcdir=.
1.150   ! moko     20875:     ac_top_srcdir=$ac_top_builddir_sub
        !          20876:     ac_abs_top_srcdir=$ac_pwd ;;
        !          20877:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20878:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150   ! moko     20879:     ac_top_srcdir=$srcdir
        !          20880:     ac_abs_top_srcdir=$srcdir ;;
        !          20881:   *) # Relative name.
        !          20882:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
        !          20883:     ac_top_srcdir=$ac_top_build_prefix$srcdir
        !          20884:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      20885: esac
1.150   ! moko     20886: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      20887: 
                   20888: 
1.150   ! moko     20889:     cd "$ac_dir"
1.1       paf      20890: 
                   20891:     # Check for guested configure; otherwise get Cygnus style configure.
1.150   ! moko     20892:     if test -f "$ac_srcdir/configure.gnu"; then
        !          20893:       ac_sub_configure=$ac_srcdir/configure.gnu
        !          20894:     elif test -f "$ac_srcdir/configure"; then
        !          20895:       ac_sub_configure=$ac_srcdir/configure
        !          20896:     elif test -f "$ac_srcdir/configure.in"; then
        !          20897:       # This should be Cygnus configure.
        !          20898:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      20899:     else
1.150   ! moko     20900:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
        !          20901: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      20902:       ac_sub_configure=
                   20903:     fi
                   20904: 
                   20905:     # The recursion is here.
                   20906:     if test -n "$ac_sub_configure"; then
                   20907:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      20908:       case $cache_file in
                   20909:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150   ! moko     20910:       *) # Relative name.
        !          20911:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      20912:       esac
                   20913: 
1.150   ! moko     20914:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
        !          20915: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      20916:       # The eval makes quoting arguments work.
1.150   ! moko     20917:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
        !          20918:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
        !          20919:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      20920:     fi
                   20921: 
1.150   ! moko     20922:     cd "$ac_popdir"
1.1       paf      20923:   done
                   20924: fi
1.150   ! moko     20925: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
        !          20926:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          20927: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
        !          20928: fi
1.1       paf      20929: 

E-mail: