Annotation of embedaddon/libnet/configure, revision 1.1.1.3

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.2   misho       3: # Generated by GNU Autoconf 2.68 for libnet 1.1.6.
                      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       misho      10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.1.1.2   misho      13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
                     16: 
                     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.1       misho      20:   emulate sh
                     21:   NULLCMD=:
1.1.1.2   misho      22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho      23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
1.1.1.2   misho      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
1.1       misho      33: fi
                     34: 
1.1.1.2   misho      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'
                     72: fi
                     73: 
                     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.1       misho      81: fi
                     82: 
                     83: 
1.1.1.2   misho      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.1       misho     124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.1.1.2   misho     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: test \$(( 1 + 1 )) = 2 || exit 1
                    176: 
                    177:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    178:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    179:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    180:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    181:     PATH=/empty FPATH=/empty; export PATH FPATH
                    182:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    183:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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.1       misho     195: do
1.1.1.2   misho     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.1       misho     246:   else
1.1.1.2   misho     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.1       misho     251:   fi
1.1.1.2   misho     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.1       misho     390: 
1.1.1.2   misho     391: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1       misho     393:   as_expr=expr
                    394: else
                    395:   as_expr=false
                    396: fi
                    397: 
1.1.1.2   misho     398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1       misho     399:   as_basename=basename
                    400: else
                    401:   as_basename=false
                    402: fi
                    403: 
1.1.1.2   misho     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.1       misho     409: 
1.1.1.2   misho     410: as_me=`$as_basename -- "$0" ||
1.1       misho     411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    412:         X"$0" : 'X\(//\)$' \| \
1.1.1.2   misho     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.1       misho     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.1.1.2   misho     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.1       misho     446:     sed '
1.1.1.2   misho     447:       s/[$]LINENO.*/&-/
                    448:       t lineno
                    449:       b
                    450:       :lineno
1.1       misho     451:       N
1.1.1.2   misho     452:       :loop
                    453:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1       misho     454:       t loop
1.1.1.2   misho     455:       s/-\n.*//
1.1       misho     456:     ' >$as_me.lineno &&
1.1.1.2   misho     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.1       misho     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.1.1.2   misho     462:   # original and so on.  Autoconf is especially sensitive to this).
                    463:   . "./$as_me.lineno"
1.1       misho     464:   # Exit status is that of the last command.
                    465:   exit
                    466: }
                    467: 
1.1.1.2   misho     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.1       misho     479: esac
                    480: 
1.1.1.2   misho     481: rm -f conf$$ conf$$.exe conf$$.file
                    482: if test -d conf$$.dir; then
                    483:   rm -f conf$$.dir/conf$$.file
1.1       misho     484: else
1.1.1.2   misho     485:   rm -f conf$$.dir
                    486:   mkdir conf$$.dir 2>/dev/null
1.1       misho     487: fi
1.1.1.2   misho     488: if (echo >conf$$.file) 2>/dev/null; then
                    489:   if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1       misho     490:     as_ln_s='ln -s'
1.1.1.2   misho     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
                    500:     as_ln_s='cp -p'
1.1       misho     501:   fi
                    502: else
                    503:   as_ln_s='cp -p'
                    504: fi
1.1.1.2   misho     505: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    506: rmdir conf$$.dir 2>/dev/null
1.1       misho     507: 
                    508: if mkdir -p . 2>/dev/null; then
1.1.1.2   misho     509:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho     510: else
1.1.1.2   misho     511:   test -d ./-p && rmdir ./-p
1.1       misho     512:   as_mkdir_p=false
                    513: fi
                    514: 
1.1.1.2   misho     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.1       misho     537: 
                    538: # Sed expression to map a string onto a valid CPP name.
1.1.1.2   misho     539: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1       misho     540: 
                    541: # Sed expression to map a string onto a valid variable name.
1.1.1.2   misho     542: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1       misho     543: 
1.1.1.2   misho     544: SHELL=${CONFIG_SHELL-/bin/sh}
1.1       misho     545: 
                    546: 
1.1.1.2   misho     547: test -n "$DJDIR" || exec 7<&0 </dev/null
                    548: exec 6>&1
1.1       misho     549: 
                    550: # Name of the host.
1.1.1.2   misho     551: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misho     552: # so uname gets run too.
                    553: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    554: 
                    555: #
                    556: # Initializations.
                    557: #
                    558: ac_default_prefix=/usr/local
1.1.1.2   misho     559: ac_clean_files=
1.1       misho     560: ac_config_libobj_dir=.
1.1.1.2   misho     561: LIBOBJS=
1.1       misho     562: cross_compiling=no
                    563: subdirs=
                    564: MFLAGS=
                    565: MAKEFLAGS=
                    566: 
                    567: # Identity of this package.
1.1.1.2   misho     568: PACKAGE_NAME='libnet'
                    569: PACKAGE_TARNAME='libnet'
                    570: PACKAGE_VERSION='1.1.6'
                    571: PACKAGE_STRING='libnet 1.1.6'
                    572: PACKAGE_BUGREPORT=''
                    573: PACKAGE_URL=''
1.1       misho     574: 
                    575: ac_unique_file="src/libnet_build_ip.c"
                    576: # Factoring default headers for most tests.
                    577: ac_includes_default="\
                    578: #include <stdio.h>
1.1.1.2   misho     579: #ifdef HAVE_SYS_TYPES_H
1.1       misho     580: # include <sys/types.h>
                    581: #endif
1.1.1.2   misho     582: #ifdef HAVE_SYS_STAT_H
1.1       misho     583: # include <sys/stat.h>
                    584: #endif
1.1.1.2   misho     585: #ifdef STDC_HEADERS
1.1       misho     586: # include <stdlib.h>
                    587: # include <stddef.h>
                    588: #else
1.1.1.2   misho     589: # ifdef HAVE_STDLIB_H
1.1       misho     590: #  include <stdlib.h>
                    591: # endif
                    592: #endif
1.1.1.2   misho     593: #ifdef HAVE_STRING_H
                    594: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1       misho     595: #  include <memory.h>
                    596: # endif
                    597: # include <string.h>
                    598: #endif
1.1.1.2   misho     599: #ifdef HAVE_STRINGS_H
1.1       misho     600: # include <strings.h>
                    601: #endif
1.1.1.2   misho     602: #ifdef HAVE_INTTYPES_H
1.1       misho     603: # include <inttypes.h>
                    604: #endif
1.1.1.2   misho     605: #ifdef HAVE_STDINT_H
                    606: # include <stdint.h>
                    607: #endif
                    608: #ifdef HAVE_UNISTD_H
1.1       misho     609: # include <unistd.h>
                    610: #endif"
                    611: 
1.1.1.2   misho     612: ac_default_prefix=/usr/local
                    613: ac_subst_vars='am__EXEEXT_FALSE
                    614: am__EXEEXT_TRUE
                    615: INSTALL_SAMPLES_FALSE
                    616: INSTALL_SAMPLES_TRUE
                    617: LIBOBJS
                    618: LTLIBOBJS
                    619: LIBNET_CONFIG_CFLAGS
                    620: LIBNET_CONFIG_LIBS
                    621: LIBNET_CONFIG_DEFINES
                    622: ADDITIONAL_LIBS
                    623: HAVE_PACKET_SOCKET
                    624: ENDIANESS
                    625: OTOOL64
                    626: OTOOL
                    627: LIPO
                    628: NMEDIT
                    629: DSYMUTIL
                    630: MANIFEST_TOOL
                    631: RANLIB
                    632: ac_ct_AR
                    633: AR
                    634: DLLTOOL
                    635: OBJDUMP
                    636: LN_S
                    637: NM
                    638: ac_ct_DUMPBIN
                    639: DUMPBIN
                    640: LD
                    641: FGREP
                    642: SED
                    643: LIBTOOL
                    644: EGREP
                    645: GREP
                    646: CPP
                    647: am__fastdepCC_FALSE
                    648: am__fastdepCC_TRUE
                    649: CCDEPMODE
                    650: AMDEPBACKSLASH
                    651: AMDEP_FALSE
                    652: AMDEP_TRUE
                    653: am__quote
                    654: am__include
                    655: DEPDIR
                    656: OBJEXT
                    657: EXEEXT
                    658: ac_ct_CC
                    659: CPPFLAGS
                    660: LDFLAGS
                    661: CFLAGS
                    662: CC
                    663: MAINT
                    664: MAINTAINER_MODE_FALSE
                    665: MAINTAINER_MODE_TRUE
                    666: am__untar
                    667: am__tar
                    668: AMTAR
                    669: am__leading_dot
                    670: SET_MAKE
                    671: AWK
                    672: mkdir_p
                    673: MKDIR_P
                    674: INSTALL_STRIP_PROGRAM
                    675: STRIP
                    676: install_sh
                    677: MAKEINFO
                    678: AUTOHEADER
                    679: AUTOMAKE
                    680: AUTOCONF
                    681: ACLOCAL
                    682: VERSION
                    683: PACKAGE
                    684: CYGPATH_W
                    685: am__isrc
                    686: INSTALL_DATA
                    687: INSTALL_SCRIPT
                    688: INSTALL_PROGRAM
                    689: target_os
                    690: target_vendor
                    691: target_cpu
                    692: target
                    693: host_os
                    694: host_vendor
                    695: host_cpu
                    696: host
                    697: build_os
                    698: build_vendor
                    699: build_cpu
                    700: build
                    701: target_alias
                    702: host_alias
                    703: build_alias
                    704: LIBS
                    705: ECHO_T
                    706: ECHO_N
                    707: ECHO_C
                    708: DEFS
                    709: mandir
                    710: localedir
                    711: libdir
                    712: psdir
                    713: pdfdir
                    714: dvidir
                    715: htmldir
                    716: infodir
                    717: docdir
                    718: oldincludedir
                    719: includedir
                    720: localstatedir
                    721: sharedstatedir
                    722: sysconfdir
                    723: datadir
                    724: datarootdir
                    725: libexecdir
                    726: sbindir
                    727: bindir
                    728: program_transform_name
                    729: prefix
                    730: exec_prefix
                    731: PACKAGE_URL
                    732: PACKAGE_BUGREPORT
                    733: PACKAGE_STRING
                    734: PACKAGE_VERSION
                    735: PACKAGE_TARNAME
                    736: PACKAGE_NAME
                    737: PATH_SEPARATOR
                    738: SHELL'
1.1       misho     739: ac_subst_files=''
1.1.1.2   misho     740: ac_user_opts='
                    741: enable_option_checking
                    742: enable_maintainer_mode
                    743: enable_dependency_tracking
                    744: enable_shared
                    745: enable_static
                    746: with_pic
                    747: enable_fast_install
                    748: with_gnu_ld
                    749: with_sysroot
                    750: enable_libtool_lock
                    751: with_link_layer
                    752: enable_samples
                    753: '
                    754:       ac_precious_vars='build_alias
                    755: host_alias
                    756: target_alias
                    757: CC
                    758: CFLAGS
                    759: LDFLAGS
                    760: LIBS
                    761: CPPFLAGS
                    762: CPP'
                    763: 
1.1       misho     764: 
                    765: # Initialize some variables set by options.
                    766: ac_init_help=
                    767: ac_init_version=false
1.1.1.2   misho     768: ac_unrecognized_opts=
                    769: ac_unrecognized_sep=
1.1       misho     770: # The variables have the same names as the options, with
                    771: # dashes changed to underlines.
                    772: cache_file=/dev/null
                    773: exec_prefix=NONE
                    774: no_create=
                    775: no_recursion=
                    776: prefix=NONE
                    777: program_prefix=NONE
                    778: program_suffix=NONE
                    779: program_transform_name=s,x,x,
                    780: silent=
                    781: site=
                    782: srcdir=
                    783: verbose=
                    784: x_includes=NONE
                    785: x_libraries=NONE
                    786: 
                    787: # Installation directory options.
                    788: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    789: # and all the variables that are supposed to be based on exec_prefix
                    790: # by default will actually change.
                    791: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1.1.2   misho     792: # (The list follows the same order as the GNU Coding Standards.)
1.1       misho     793: bindir='${exec_prefix}/bin'
                    794: sbindir='${exec_prefix}/sbin'
                    795: libexecdir='${exec_prefix}/libexec'
1.1.1.2   misho     796: datarootdir='${prefix}/share'
                    797: datadir='${datarootdir}'
1.1       misho     798: sysconfdir='${prefix}/etc'
                    799: sharedstatedir='${prefix}/com'
                    800: localstatedir='${prefix}/var'
                    801: includedir='${prefix}/include'
                    802: oldincludedir='/usr/include'
1.1.1.2   misho     803: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    804: infodir='${datarootdir}/info'
                    805: htmldir='${docdir}'
                    806: dvidir='${docdir}'
                    807: pdfdir='${docdir}'
                    808: psdir='${docdir}'
                    809: libdir='${exec_prefix}/lib'
                    810: localedir='${datarootdir}/locale'
                    811: mandir='${datarootdir}/man'
1.1       misho     812: 
                    813: ac_prev=
1.1.1.2   misho     814: ac_dashdash=
1.1       misho     815: for ac_option
                    816: do
                    817:   # If the previous option needs an argument, assign it.
                    818:   if test -n "$ac_prev"; then
1.1.1.2   misho     819:     eval $ac_prev=\$ac_option
1.1       misho     820:     ac_prev=
                    821:     continue
                    822:   fi
                    823: 
1.1.1.2   misho     824:   case $ac_option in
                    825:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    826:   *=)   ac_optarg= ;;
                    827:   *)    ac_optarg=yes ;;
                    828:   esac
1.1       misho     829: 
                    830:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    831: 
1.1.1.2   misho     832:   case $ac_dashdash$ac_option in
                    833:   --)
                    834:     ac_dashdash=yes ;;
1.1       misho     835: 
                    836:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    837:     ac_prev=bindir ;;
                    838:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    839:     bindir=$ac_optarg ;;
                    840: 
                    841:   -build | --build | --buil | --bui | --bu)
                    842:     ac_prev=build_alias ;;
                    843:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    844:     build_alias=$ac_optarg ;;
                    845: 
                    846:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    847:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    848:     ac_prev=cache_file ;;
                    849:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    850:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    851:     cache_file=$ac_optarg ;;
                    852: 
                    853:   --config-cache | -C)
                    854:     cache_file=config.cache ;;
                    855: 
1.1.1.2   misho     856:   -datadir | --datadir | --datadi | --datad)
1.1       misho     857:     ac_prev=datadir ;;
1.1.1.2   misho     858:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1       misho     859:     datadir=$ac_optarg ;;
                    860: 
1.1.1.2   misho     861:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    862:   | --dataroo | --dataro | --datar)
                    863:     ac_prev=datarootdir ;;
                    864:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    865:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    866:     datarootdir=$ac_optarg ;;
                    867: 
1.1       misho     868:   -disable-* | --disable-*)
1.1.1.2   misho     869:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misho     870:     # Reject names that are not valid shell variable names.
1.1.1.2   misho     871:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    872:       as_fn_error $? "invalid feature name: $ac_useropt"
                    873:     ac_useropt_orig=$ac_useropt
                    874:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    875:     case $ac_user_opts in
                    876:       *"
                    877: "enable_$ac_useropt"
                    878: "*) ;;
                    879:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    880:         ac_unrecognized_sep=', ';;
                    881:     esac
                    882:     eval enable_$ac_useropt=no ;;
                    883: 
                    884:   -docdir | --docdir | --docdi | --doc | --do)
                    885:     ac_prev=docdir ;;
                    886:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    887:     docdir=$ac_optarg ;;
                    888: 
                    889:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    890:     ac_prev=dvidir ;;
                    891:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    892:     dvidir=$ac_optarg ;;
1.1       misho     893: 
                    894:   -enable-* | --enable-*)
1.1.1.2   misho     895:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misho     896:     # Reject names that are not valid shell variable names.
1.1.1.2   misho     897:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    898:       as_fn_error $? "invalid feature name: $ac_useropt"
                    899:     ac_useropt_orig=$ac_useropt
                    900:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    901:     case $ac_user_opts in
                    902:       *"
                    903: "enable_$ac_useropt"
                    904: "*) ;;
                    905:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    906:         ac_unrecognized_sep=', ';;
1.1       misho     907:     esac
1.1.1.2   misho     908:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       misho     909: 
                    910:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    911:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    912:   | --exec | --exe | --ex)
                    913:     ac_prev=exec_prefix ;;
                    914:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    915:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    916:   | --exec=* | --exe=* | --ex=*)
                    917:     exec_prefix=$ac_optarg ;;
                    918: 
                    919:   -gas | --gas | --ga | --g)
                    920:     # Obsolete; use --with-gas.
                    921:     with_gas=yes ;;
                    922: 
                    923:   -help | --help | --hel | --he | -h)
                    924:     ac_init_help=long ;;
                    925:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    926:     ac_init_help=recursive ;;
                    927:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    928:     ac_init_help=short ;;
                    929: 
                    930:   -host | --host | --hos | --ho)
                    931:     ac_prev=host_alias ;;
                    932:   -host=* | --host=* | --hos=* | --ho=*)
                    933:     host_alias=$ac_optarg ;;
                    934: 
1.1.1.2   misho     935:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    936:     ac_prev=htmldir ;;
                    937:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    938:   | --ht=*)
                    939:     htmldir=$ac_optarg ;;
                    940: 
1.1       misho     941:   -includedir | --includedir | --includedi | --included | --include \
                    942:   | --includ | --inclu | --incl | --inc)
                    943:     ac_prev=includedir ;;
                    944:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    945:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    946:     includedir=$ac_optarg ;;
                    947: 
                    948:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    949:     ac_prev=infodir ;;
                    950:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    951:     infodir=$ac_optarg ;;
                    952: 
                    953:   -libdir | --libdir | --libdi | --libd)
                    954:     ac_prev=libdir ;;
                    955:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    956:     libdir=$ac_optarg ;;
                    957: 
                    958:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    959:   | --libexe | --libex | --libe)
                    960:     ac_prev=libexecdir ;;
                    961:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    962:   | --libexe=* | --libex=* | --libe=*)
                    963:     libexecdir=$ac_optarg ;;
                    964: 
1.1.1.2   misho     965:   -localedir | --localedir | --localedi | --localed | --locale)
                    966:     ac_prev=localedir ;;
                    967:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    968:     localedir=$ac_optarg ;;
                    969: 
1.1       misho     970:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.1.2   misho     971:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       misho     972:     ac_prev=localstatedir ;;
                    973:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.1.2   misho     974:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1       misho     975:     localstatedir=$ac_optarg ;;
                    976: 
                    977:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    978:     ac_prev=mandir ;;
                    979:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    980:     mandir=$ac_optarg ;;
                    981: 
                    982:   -nfp | --nfp | --nf)
                    983:     # Obsolete; use --without-fp.
                    984:     with_fp=no ;;
                    985: 
                    986:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    987:   | --no-cr | --no-c | -n)
                    988:     no_create=yes ;;
                    989: 
                    990:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    991:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    992:     no_recursion=yes ;;
                    993: 
                    994:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    995:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    996:   | --oldin | --oldi | --old | --ol | --o)
                    997:     ac_prev=oldincludedir ;;
                    998:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    999:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1000:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1001:     oldincludedir=$ac_optarg ;;
                   1002: 
                   1003:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1004:     ac_prev=prefix ;;
                   1005:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1006:     prefix=$ac_optarg ;;
                   1007: 
                   1008:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1009:   | --program-pre | --program-pr | --program-p)
                   1010:     ac_prev=program_prefix ;;
                   1011:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1012:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1013:     program_prefix=$ac_optarg ;;
                   1014: 
                   1015:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1016:   | --program-suf | --program-su | --program-s)
                   1017:     ac_prev=program_suffix ;;
                   1018:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1019:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1020:     program_suffix=$ac_optarg ;;
                   1021: 
                   1022:   -program-transform-name | --program-transform-name \
                   1023:   | --program-transform-nam | --program-transform-na \
                   1024:   | --program-transform-n | --program-transform- \
                   1025:   | --program-transform | --program-transfor \
                   1026:   | --program-transfo | --program-transf \
                   1027:   | --program-trans | --program-tran \
                   1028:   | --progr-tra | --program-tr | --program-t)
                   1029:     ac_prev=program_transform_name ;;
                   1030:   -program-transform-name=* | --program-transform-name=* \
                   1031:   | --program-transform-nam=* | --program-transform-na=* \
                   1032:   | --program-transform-n=* | --program-transform-=* \
                   1033:   | --program-transform=* | --program-transfor=* \
                   1034:   | --program-transfo=* | --program-transf=* \
                   1035:   | --program-trans=* | --program-tran=* \
                   1036:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1037:     program_transform_name=$ac_optarg ;;
                   1038: 
1.1.1.2   misho    1039:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1040:     ac_prev=pdfdir ;;
                   1041:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1042:     pdfdir=$ac_optarg ;;
                   1043: 
                   1044:   -psdir | --psdir | --psdi | --psd | --ps)
                   1045:     ac_prev=psdir ;;
                   1046:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1047:     psdir=$ac_optarg ;;
                   1048: 
1.1       misho    1049:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1050:   | -silent | --silent | --silen | --sile | --sil)
                   1051:     silent=yes ;;
                   1052: 
                   1053:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1054:     ac_prev=sbindir ;;
                   1055:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1056:   | --sbi=* | --sb=*)
                   1057:     sbindir=$ac_optarg ;;
                   1058: 
                   1059:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1060:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1061:   | --sharedst | --shareds | --shared | --share | --shar \
                   1062:   | --sha | --sh)
                   1063:     ac_prev=sharedstatedir ;;
                   1064:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1065:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1066:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1067:   | --sha=* | --sh=*)
                   1068:     sharedstatedir=$ac_optarg ;;
                   1069: 
                   1070:   -site | --site | --sit)
                   1071:     ac_prev=site ;;
                   1072:   -site=* | --site=* | --sit=*)
                   1073:     site=$ac_optarg ;;
                   1074: 
                   1075:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1076:     ac_prev=srcdir ;;
                   1077:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1078:     srcdir=$ac_optarg ;;
                   1079: 
                   1080:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1081:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1082:     ac_prev=sysconfdir ;;
                   1083:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1084:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1085:     sysconfdir=$ac_optarg ;;
                   1086: 
                   1087:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1088:     ac_prev=target_alias ;;
                   1089:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1090:     target_alias=$ac_optarg ;;
                   1091: 
                   1092:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1093:     verbose=yes ;;
                   1094: 
                   1095:   -version | --version | --versio | --versi | --vers | -V)
                   1096:     ac_init_version=: ;;
                   1097: 
                   1098:   -with-* | --with-*)
1.1.1.2   misho    1099:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misho    1100:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1101:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1102:       as_fn_error $? "invalid package name: $ac_useropt"
                   1103:     ac_useropt_orig=$ac_useropt
                   1104:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1105:     case $ac_user_opts in
                   1106:       *"
                   1107: "with_$ac_useropt"
                   1108: "*) ;;
                   1109:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1110:         ac_unrecognized_sep=', ';;
1.1       misho    1111:     esac
1.1.1.2   misho    1112:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       misho    1113: 
                   1114:   -without-* | --without-*)
1.1.1.2   misho    1115:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misho    1116:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1117:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1118:       as_fn_error $? "invalid package name: $ac_useropt"
                   1119:     ac_useropt_orig=$ac_useropt
                   1120:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1121:     case $ac_user_opts in
                   1122:       *"
                   1123: "with_$ac_useropt"
                   1124: "*) ;;
                   1125:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1126:         ac_unrecognized_sep=', ';;
                   1127:     esac
                   1128:     eval with_$ac_useropt=no ;;
1.1       misho    1129: 
                   1130:   --x)
                   1131:     # Obsolete; use --with-x.
                   1132:     with_x=yes ;;
                   1133: 
                   1134:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1135:   | --x-incl | --x-inc | --x-in | --x-i)
                   1136:     ac_prev=x_includes ;;
                   1137:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1138:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1139:     x_includes=$ac_optarg ;;
                   1140: 
                   1141:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1142:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1143:     ac_prev=x_libraries ;;
                   1144:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1145:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1146:     x_libraries=$ac_optarg ;;
                   1147: 
1.1.1.2   misho    1148:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1149: Try \`$0 --help' for more information"
1.1       misho    1150:     ;;
                   1151: 
                   1152:   *=*)
                   1153:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1154:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1155:     case $ac_envvar in #(
                   1156:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1157:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1158:     esac
                   1159:     eval $ac_envvar=\$ac_optarg
1.1       misho    1160:     export $ac_envvar ;;
                   1161: 
                   1162:   *)
                   1163:     # FIXME: should be removed in autoconf 3.0.
1.1.1.2   misho    1164:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misho    1165:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.2   misho    1166:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1167:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1168:     ;;
                   1169: 
                   1170:   esac
                   1171: done
                   1172: 
                   1173: if test -n "$ac_prev"; then
                   1174:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1.1.2   misho    1175:   as_fn_error $? "missing argument to $ac_option"
1.1       misho    1176: fi
                   1177: 
1.1.1.2   misho    1178: if test -n "$ac_unrecognized_opts"; then
                   1179:   case $enable_option_checking in
                   1180:     no) ;;
                   1181:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1182:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.1       misho    1183:   esac
1.1.1.2   misho    1184: fi
1.1       misho    1185: 
1.1.1.2   misho    1186: # Check all directory arguments for consistency.
                   1187: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1188:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1189:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1190:                libdir localedir mandir
1.1       misho    1191: do
1.1.1.2   misho    1192:   eval ac_val=\$$ac_var
                   1193:   # Remove trailing slashes.
                   1194:   case $ac_val in
                   1195:     */ )
                   1196:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1197:       eval $ac_var=\$ac_val;;
                   1198:   esac
                   1199:   # Be sure to have absolute directory names.
1.1       misho    1200:   case $ac_val in
1.1.1.2   misho    1201:     [\\/$]* | ?:[\\/]* )  continue;;
                   1202:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       misho    1203:   esac
1.1.1.2   misho    1204:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misho    1205: done
                   1206: 
                   1207: # There might be people who depend on the old broken behavior: `$host'
                   1208: # used to hold the argument of --host etc.
                   1209: # FIXME: To remove some day.
                   1210: build=$build_alias
                   1211: host=$host_alias
                   1212: target=$target_alias
                   1213: 
                   1214: # FIXME: To remove some day.
                   1215: if test "x$host_alias" != x; then
                   1216:   if test "x$build_alias" = x; then
                   1217:     cross_compiling=maybe
1.1.1.2   misho    1218:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1219:     If a cross compiler is detected then cross compile mode will be used" >&2
1.1       misho    1220:   elif test "x$build_alias" != "x$host_alias"; then
                   1221:     cross_compiling=yes
                   1222:   fi
                   1223: fi
                   1224: 
                   1225: ac_tool_prefix=
                   1226: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1227: 
                   1228: test "$silent" = yes && exec 6>/dev/null
                   1229: 
                   1230: 
1.1.1.2   misho    1231: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1232: ac_ls_di=`ls -di .` &&
                   1233: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1234:   as_fn_error $? "working directory cannot be determined"
                   1235: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1236:   as_fn_error $? "pwd does not report name of working directory"
                   1237: 
                   1238: 
1.1       misho    1239: # Find the source files, if location was not specified.
                   1240: if test -z "$srcdir"; then
                   1241:   ac_srcdir_defaulted=yes
1.1.1.2   misho    1242:   # Try the directory containing this script, then the parent directory.
                   1243:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1244: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1245:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1246:         X"$as_myself" : 'X\(//\)$' \| \
                   1247:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1248: $as_echo X"$as_myself" |
                   1249:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1250:            s//\1/
                   1251:            q
                   1252:          }
                   1253:          /^X\(\/\/\)[^/].*/{
                   1254:            s//\1/
                   1255:            q
                   1256:          }
                   1257:          /^X\(\/\/\)$/{
                   1258:            s//\1/
                   1259:            q
                   1260:          }
                   1261:          /^X\(\/\).*/{
                   1262:            s//\1/
                   1263:            q
                   1264:          }
                   1265:          s/.*/./; q'`
1.1       misho    1266:   srcdir=$ac_confdir
1.1.1.2   misho    1267:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       misho    1268:     srcdir=..
                   1269:   fi
                   1270: else
                   1271:   ac_srcdir_defaulted=no
                   1272: fi
1.1.1.2   misho    1273: if test ! -r "$srcdir/$ac_unique_file"; then
                   1274:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1275:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1276: fi
                   1277: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1278: ac_abs_confdir=`(
                   1279:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1280:        pwd)`
                   1281: # When building in place, set srcdir=.
                   1282: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1283:   srcdir=.
                   1284: fi
                   1285: # Remove unnecessary trailing slashes from srcdir.
                   1286: # Double slashes in file names in object file debugging info
                   1287: # mess up M-x gdb in Emacs.
                   1288: case $srcdir in
                   1289: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1290: esac
                   1291: for ac_var in $ac_precious_vars; do
                   1292:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1293:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1294:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1295:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1296: done
1.1       misho    1297: 
                   1298: #
                   1299: # Report the --help message.
                   1300: #
                   1301: if test "$ac_init_help" = "long"; then
                   1302:   # Omit some internal or obsolete options to make the list less imposing.
                   1303:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1304:   cat <<_ACEOF
1.1.1.2   misho    1305: \`configure' configures libnet 1.1.6 to adapt to many kinds of systems.
1.1       misho    1306: 
                   1307: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1308: 
                   1309: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1310: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1311: 
                   1312: Defaults for the options are specified in brackets.
                   1313: 
                   1314: Configuration:
                   1315:   -h, --help              display this help and exit
                   1316:       --help=short        display options specific to this package
                   1317:       --help=recursive    display the short help of all the included packages
                   1318:   -V, --version           display version information and exit
1.1.1.2   misho    1319:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misho    1320:       --cache-file=FILE   cache test results in FILE [disabled]
                   1321:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1322:   -n, --no-create         do not create output files
                   1323:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1324: 
                   1325: Installation directories:
                   1326:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1327:                           [$ac_default_prefix]
                   1328:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1329:                           [PREFIX]
                   1330: 
                   1331: By default, \`make install' will install all the files in
                   1332: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1333: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1334: for instance \`--prefix=\$HOME'.
                   1335: 
                   1336: For better control, use the options below.
                   1337: 
                   1338: Fine tuning of the installation directories:
1.1.1.2   misho    1339:   --bindir=DIR            user executables [EPREFIX/bin]
                   1340:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1341:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1342:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1343:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1344:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1345:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1346:   --includedir=DIR        C header files [PREFIX/include]
                   1347:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1348:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1349:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1350:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1351:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1352:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1353:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libnet]
                   1354:   --htmldir=DIR           html documentation [DOCDIR]
                   1355:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1356:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1357:   --psdir=DIR             ps documentation [DOCDIR]
1.1       misho    1358: _ACEOF
                   1359: 
                   1360:   cat <<\_ACEOF
                   1361: 
                   1362: Program names:
                   1363:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1364:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1365:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1366: 
                   1367: System types:
                   1368:   --build=BUILD     configure for building on BUILD [guessed]
                   1369:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1370:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1371: _ACEOF
                   1372: fi
                   1373: 
                   1374: if test -n "$ac_init_help"; then
1.1.1.2   misho    1375:   case $ac_init_help in
                   1376:      short | recursive ) echo "Configuration of libnet 1.1.6:";;
                   1377:    esac
1.1       misho    1378:   cat <<\_ACEOF
                   1379: 
                   1380: Optional Features:
1.1.1.2   misho    1381:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       misho    1382:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1383:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.2   misho    1384:   --enable-maintainer-mode  enable make rules and dependencies not useful
                   1385:                          (and sometimes confusing) to the casual installer
                   1386:   --disable-dependency-tracking  speeds up one-time build
                   1387:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1388:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1389:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1390:   --enable-fast-install[=PKGS]
                   1391:                           optimize for fast installation [default=yes]
                   1392:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1393:   --enable-samples        install the sample programs [default=no]
                   1394: 
                   1395: Optional Packages:
                   1396:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1397:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1398:   --with-pic              try to use only PIC/non-PIC objects [default=use
                   1399:                           both]
                   1400:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1401:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1402:                         (or the compiler's sysroot if not specified).
                   1403:   --with-link-layer       when cross-compiling, one of * from libnet_link_*.c
                   1404:                           [autodetect]
                   1405: 
1.1       misho    1406: 
                   1407: Some influential environment variables:
                   1408:   CC          C compiler command
                   1409:   CFLAGS      C compiler flags
                   1410:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1411:               nonstandard directory <lib dir>
1.1.1.2   misho    1412:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1413:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1414:               you have headers in a nonstandard directory <include dir>
1.1       misho    1415:   CPP         C preprocessor
                   1416: 
                   1417: Use these variables to override the choices made by `configure' or to help
                   1418: it to find libraries and programs with nonstandard names/locations.
                   1419: 
1.1.1.2   misho    1420: Report bugs to the package provider.
1.1       misho    1421: _ACEOF
1.1.1.2   misho    1422: ac_status=$?
1.1       misho    1423: fi
                   1424: 
                   1425: if test "$ac_init_help" = "recursive"; then
                   1426:   # If there are subdirs, report their specific --help.
                   1427:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.1.2   misho    1428:     test -d "$ac_dir" ||
                   1429:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1430:       continue
1.1       misho    1431:     ac_builddir=.
                   1432: 
1.1.1.2   misho    1433: case "$ac_dir" in
                   1434: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1435: *)
                   1436:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1437:   # A ".." for each directory in $ac_dir_suffix.
                   1438:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1439:   case $ac_top_builddir_sub in
                   1440:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1441:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1442:   esac ;;
                   1443: esac
                   1444: ac_abs_top_builddir=$ac_pwd
                   1445: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1446: # for backward compatibility:
                   1447: ac_top_builddir=$ac_top_build_prefix
1.1       misho    1448: 
                   1449: case $srcdir in
1.1.1.2   misho    1450:   .)  # We are building in place.
1.1       misho    1451:     ac_srcdir=.
1.1.1.2   misho    1452:     ac_top_srcdir=$ac_top_builddir_sub
                   1453:     ac_abs_top_srcdir=$ac_pwd ;;
                   1454:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1       misho    1455:     ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1.2   misho    1456:     ac_top_srcdir=$srcdir
                   1457:     ac_abs_top_srcdir=$srcdir ;;
                   1458:   *) # Relative name.
                   1459:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1460:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1461:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1462: esac
                   1463: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1464: 
                   1465:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1466:     # Check for guested configure.
                   1467:     if test -f "$ac_srcdir/configure.gnu"; then
                   1468:       echo &&
                   1469:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1470:     elif test -f "$ac_srcdir/configure"; then
                   1471:       echo &&
                   1472:       $SHELL "$ac_srcdir/configure" --help=recursive
1.1       misho    1473:     else
1.1.1.2   misho    1474:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1475:     fi || ac_status=$?
                   1476:     cd "$ac_pwd" || { ac_status=$?; break; }
1.1       misho    1477:   done
                   1478: fi
                   1479: 
1.1.1.2   misho    1480: test -n "$ac_init_help" && exit $ac_status
1.1       misho    1481: if $ac_init_version; then
                   1482:   cat <<\_ACEOF
1.1.1.2   misho    1483: libnet configure 1.1.6
                   1484: generated by GNU Autoconf 2.68
1.1       misho    1485: 
1.1.1.2   misho    1486: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       misho    1487: This configure script is free software; the Free Software Foundation
                   1488: gives unlimited permission to copy, distribute and modify it.
                   1489: _ACEOF
1.1.1.2   misho    1490:   exit
1.1       misho    1491: fi
                   1492: 
1.1.1.2   misho    1493: ## ------------------------ ##
                   1494: ## Autoconf initialization. ##
                   1495: ## ------------------------ ##
                   1496: 
                   1497: # ac_fn_c_try_compile LINENO
                   1498: # --------------------------
                   1499: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1500: ac_fn_c_try_compile ()
1.1       misho    1501: {
1.1.1.2   misho    1502:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1503:   rm -f conftest.$ac_objext
                   1504:   if { { ac_try="$ac_compile"
                   1505: case "(($ac_try" in
                   1506:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1507:   *) ac_try_echo=$ac_try;;
                   1508: esac
                   1509: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1510: $as_echo "$ac_try_echo"; } >&5
                   1511:   (eval "$ac_compile") 2>conftest.err
                   1512:   ac_status=$?
                   1513:   if test -s conftest.err; then
                   1514:     grep -v '^ *+' conftest.err >conftest.er1
                   1515:     cat conftest.er1 >&5
                   1516:     mv -f conftest.er1 conftest.err
                   1517:   fi
                   1518:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1519:   test $ac_status = 0; } && {
                   1520:         test -z "$ac_c_werror_flag" ||
                   1521:         test ! -s conftest.err
                   1522:        } && test -s conftest.$ac_objext; then :
                   1523:   ac_retval=0
                   1524: else
                   1525:   $as_echo "$as_me: failed program was:" >&5
                   1526: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1527: 
1.1.1.2   misho    1528:        ac_retval=1
                   1529: fi
                   1530:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1531:   as_fn_set_status $ac_retval
1.1       misho    1532: 
1.1.1.2   misho    1533: } # ac_fn_c_try_compile
1.1       misho    1534: 
1.1.1.2   misho    1535: # ac_fn_c_try_cpp LINENO
                   1536: # ----------------------
                   1537: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1538: ac_fn_c_try_cpp ()
                   1539: {
                   1540:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1541:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1542: case "(($ac_try" in
                   1543:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1544:   *) ac_try_echo=$ac_try;;
                   1545: esac
                   1546: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1547: $as_echo "$ac_try_echo"; } >&5
                   1548:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1549:   ac_status=$?
                   1550:   if test -s conftest.err; then
                   1551:     grep -v '^ *+' conftest.err >conftest.er1
                   1552:     cat conftest.er1 >&5
                   1553:     mv -f conftest.er1 conftest.err
                   1554:   fi
                   1555:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1556:   test $ac_status = 0; } > conftest.i && {
                   1557:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1558:         test ! -s conftest.err
                   1559:        }; then :
                   1560:   ac_retval=0
                   1561: else
                   1562:   $as_echo "$as_me: failed program was:" >&5
                   1563: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1564: 
1.1.1.2   misho    1565:     ac_retval=1
                   1566: fi
                   1567:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1568:   as_fn_set_status $ac_retval
1.1       misho    1569: 
1.1.1.2   misho    1570: } # ac_fn_c_try_cpp
1.1       misho    1571: 
1.1.1.2   misho    1572: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1573: # -------------------------------------------------------
                   1574: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1575: # the include files in INCLUDES and setting the cache variable VAR
                   1576: # accordingly.
                   1577: ac_fn_c_check_header_mongrel ()
                   1578: {
                   1579:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1580:   if eval \${$3+:} false; then :
                   1581:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1582: $as_echo_n "checking for $2... " >&6; }
                   1583: if eval \${$3+:} false; then :
                   1584:   $as_echo_n "(cached) " >&6
                   1585: fi
                   1586: eval ac_res=\$$3
                   1587:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1588: $as_echo "$ac_res" >&6; }
                   1589: else
                   1590:   # Is the header compilable?
                   1591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1592: $as_echo_n "checking $2 usability... " >&6; }
                   1593: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1594: /* end confdefs.h.  */
                   1595: $4
                   1596: #include <$2>
1.1       misho    1597: _ACEOF
1.1.1.2   misho    1598: if ac_fn_c_try_compile "$LINENO"; then :
                   1599:   ac_header_compiler=yes
                   1600: else
                   1601:   ac_header_compiler=no
                   1602: fi
                   1603: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1605: $as_echo "$ac_header_compiler" >&6; }
1.1       misho    1606: 
1.1.1.2   misho    1607: # Is the header present?
                   1608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1609: $as_echo_n "checking $2 presence... " >&6; }
                   1610: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1611: /* end confdefs.h.  */
                   1612: #include <$2>
                   1613: _ACEOF
                   1614: if ac_fn_c_try_cpp "$LINENO"; then :
                   1615:   ac_header_preproc=yes
                   1616: else
                   1617:   ac_header_preproc=no
                   1618: fi
                   1619: rm -f conftest.err conftest.i conftest.$ac_ext
                   1620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1621: $as_echo "$ac_header_preproc" >&6; }
1.1       misho    1622: 
1.1.1.2   misho    1623: # So?  What about this header?
                   1624: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1625:   yes:no: )
                   1626:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1627: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1628:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1629: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1630:     ;;
                   1631:   no:yes:* )
                   1632:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1633: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1634:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1635: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1636:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1637: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1638:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1639: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1640:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1641: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1642:     ;;
                   1643: esac
                   1644:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1645: $as_echo_n "checking for $2... " >&6; }
                   1646: if eval \${$3+:} false; then :
                   1647:   $as_echo_n "(cached) " >&6
                   1648: else
                   1649:   eval "$3=\$ac_header_compiler"
                   1650: fi
                   1651: eval ac_res=\$$3
                   1652:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1653: $as_echo "$ac_res" >&6; }
                   1654: fi
                   1655:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1656: 
                   1657: } # ac_fn_c_check_header_mongrel
                   1658: 
                   1659: # ac_fn_c_try_run LINENO
                   1660: # ----------------------
                   1661: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1662: # that executables *can* be run.
                   1663: ac_fn_c_try_run ()
                   1664: {
                   1665:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1666:   if { { ac_try="$ac_link"
                   1667: case "(($ac_try" in
                   1668:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1669:   *) ac_try_echo=$ac_try;;
                   1670: esac
                   1671: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1672: $as_echo "$ac_try_echo"; } >&5
                   1673:   (eval "$ac_link") 2>&5
                   1674:   ac_status=$?
                   1675:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1676:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1677:   { { case "(($ac_try" in
                   1678:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1679:   *) ac_try_echo=$ac_try;;
                   1680: esac
                   1681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1682: $as_echo "$ac_try_echo"; } >&5
                   1683:   (eval "$ac_try") 2>&5
                   1684:   ac_status=$?
                   1685:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1686:   test $ac_status = 0; }; }; then :
                   1687:   ac_retval=0
                   1688: else
                   1689:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1690:        $as_echo "$as_me: failed program was:" >&5
                   1691: sed 's/^/| /' conftest.$ac_ext >&5
                   1692: 
                   1693:        ac_retval=$ac_status
                   1694: fi
                   1695:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1696:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1697:   as_fn_set_status $ac_retval
                   1698: 
                   1699: } # ac_fn_c_try_run
                   1700: 
                   1701: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1702: # -------------------------------------------------------
                   1703: # Tests whether HEADER exists and can be compiled using the include files in
                   1704: # INCLUDES, setting the cache variable VAR accordingly.
                   1705: ac_fn_c_check_header_compile ()
                   1706: {
                   1707:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1708:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1709: $as_echo_n "checking for $2... " >&6; }
                   1710: if eval \${$3+:} false; then :
                   1711:   $as_echo_n "(cached) " >&6
                   1712: else
                   1713:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1714: /* end confdefs.h.  */
                   1715: $4
                   1716: #include <$2>
                   1717: _ACEOF
                   1718: if ac_fn_c_try_compile "$LINENO"; then :
                   1719:   eval "$3=yes"
                   1720: else
                   1721:   eval "$3=no"
                   1722: fi
                   1723: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1724: fi
                   1725: eval ac_res=\$$3
                   1726:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1727: $as_echo "$ac_res" >&6; }
                   1728:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1729: 
                   1730: } # ac_fn_c_check_header_compile
                   1731: 
                   1732: # ac_fn_c_try_link LINENO
                   1733: # -----------------------
                   1734: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1735: ac_fn_c_try_link ()
                   1736: {
                   1737:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1738:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1739:   if { { ac_try="$ac_link"
                   1740: case "(($ac_try" in
                   1741:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1742:   *) ac_try_echo=$ac_try;;
                   1743: esac
                   1744: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1745: $as_echo "$ac_try_echo"; } >&5
                   1746:   (eval "$ac_link") 2>conftest.err
                   1747:   ac_status=$?
                   1748:   if test -s conftest.err; then
                   1749:     grep -v '^ *+' conftest.err >conftest.er1
                   1750:     cat conftest.er1 >&5
                   1751:     mv -f conftest.er1 conftest.err
                   1752:   fi
                   1753:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1754:   test $ac_status = 0; } && {
                   1755:         test -z "$ac_c_werror_flag" ||
                   1756:         test ! -s conftest.err
                   1757:        } && test -s conftest$ac_exeext && {
                   1758:         test "$cross_compiling" = yes ||
                   1759:         $as_test_x conftest$ac_exeext
                   1760:        }; then :
                   1761:   ac_retval=0
                   1762: else
                   1763:   $as_echo "$as_me: failed program was:" >&5
                   1764: sed 's/^/| /' conftest.$ac_ext >&5
                   1765: 
                   1766:        ac_retval=1
                   1767: fi
                   1768:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1769:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1770:   # interfere with the next link command; also delete a directory that is
                   1771:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1772:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1773:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1774:   as_fn_set_status $ac_retval
                   1775: 
                   1776: } # ac_fn_c_try_link
                   1777: 
                   1778: # ac_fn_c_check_func LINENO FUNC VAR
                   1779: # ----------------------------------
                   1780: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1781: ac_fn_c_check_func ()
                   1782: {
                   1783:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1784:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1785: $as_echo_n "checking for $2... " >&6; }
                   1786: if eval \${$3+:} false; then :
                   1787:   $as_echo_n "(cached) " >&6
                   1788: else
                   1789:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1790: /* end confdefs.h.  */
                   1791: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1792:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1793: #define $2 innocuous_$2
                   1794: 
                   1795: /* System header to define __stub macros and hopefully few prototypes,
                   1796:     which can conflict with char $2 (); below.
                   1797:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1798:     <limits.h> exists even on freestanding compilers.  */
                   1799: 
                   1800: #ifdef __STDC__
                   1801: # include <limits.h>
                   1802: #else
                   1803: # include <assert.h>
                   1804: #endif
                   1805: 
                   1806: #undef $2
                   1807: 
                   1808: /* Override any GCC internal prototype to avoid an error.
                   1809:    Use char because int might match the return type of a GCC
                   1810:    builtin and then its argument prototype would still apply.  */
                   1811: #ifdef __cplusplus
                   1812: extern "C"
                   1813: #endif
                   1814: char $2 ();
                   1815: /* The GNU C library defines this for functions which it implements
                   1816:     to always fail with ENOSYS.  Some functions are actually named
                   1817:     something starting with __ and the normal name is an alias.  */
                   1818: #if defined __stub_$2 || defined __stub___$2
                   1819: choke me
                   1820: #endif
                   1821: 
                   1822: int
                   1823: main ()
                   1824: {
                   1825: return $2 ();
                   1826:   ;
                   1827:   return 0;
                   1828: }
                   1829: _ACEOF
                   1830: if ac_fn_c_try_link "$LINENO"; then :
                   1831:   eval "$3=yes"
                   1832: else
                   1833:   eval "$3=no"
                   1834: fi
                   1835: rm -f core conftest.err conftest.$ac_objext \
                   1836:     conftest$ac_exeext conftest.$ac_ext
                   1837: fi
                   1838: eval ac_res=\$$3
                   1839:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1840: $as_echo "$ac_res" >&6; }
                   1841:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1842: 
                   1843: } # ac_fn_c_check_func
                   1844: 
                   1845: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   1846: # ------------------------------------
                   1847: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   1848: # accordingly.
                   1849: ac_fn_c_find_uintX_t ()
                   1850: {
                   1851:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1852:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   1853: $as_echo_n "checking for uint$2_t... " >&6; }
                   1854: if eval \${$3+:} false; then :
                   1855:   $as_echo_n "(cached) " >&6
                   1856: else
                   1857:   eval "$3=no"
                   1858:      # Order is important - never check a type that is potentially smaller
                   1859:      # than half of the expected target width.
                   1860:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   1861:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   1862:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1863: /* end confdefs.h.  */
                   1864: $ac_includes_default
                   1865: int
                   1866: main ()
                   1867: {
                   1868: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
                   1869: test_array [0] = 0
                   1870: 
                   1871:   ;
                   1872:   return 0;
                   1873: }
                   1874: _ACEOF
                   1875: if ac_fn_c_try_compile "$LINENO"; then :
                   1876:   case $ac_type in #(
                   1877:   uint$2_t) :
                   1878:     eval "$3=yes" ;; #(
                   1879:   *) :
                   1880:     eval "$3=\$ac_type" ;;
                   1881: esac
                   1882: fi
                   1883: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1884:        if eval test \"x\$"$3"\" = x"no"; then :
                   1885: 
                   1886: else
                   1887:   break
                   1888: fi
                   1889:      done
                   1890: fi
                   1891: eval ac_res=\$$3
                   1892:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1893: $as_echo "$ac_res" >&6; }
                   1894:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1895: 
                   1896: } # ac_fn_c_find_uintX_t
                   1897: cat >config.log <<_ACEOF
                   1898: This file contains any messages produced by compilers while
                   1899: running configure, to aid debugging if configure makes a mistake.
                   1900: 
                   1901: It was created by libnet $as_me 1.1.6, which was
                   1902: generated by GNU Autoconf 2.68.  Invocation command line was
                   1903: 
                   1904:   $ $0 $@
                   1905: 
                   1906: _ACEOF
                   1907: exec 5>>config.log
                   1908: {
                   1909: cat <<_ASUNAME
                   1910: ## --------- ##
                   1911: ## Platform. ##
                   1912: ## --------- ##
                   1913: 
                   1914: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1915: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1916: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1917: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1918: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1919: 
                   1920: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1921: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1922: 
                   1923: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1924: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1925: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1926: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1927: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1928: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1929: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1930: 
                   1931: _ASUNAME
                   1932: 
                   1933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1934: for as_dir in $PATH
                   1935: do
                   1936:   IFS=$as_save_IFS
                   1937:   test -z "$as_dir" && as_dir=.
                   1938:     $as_echo "PATH: $as_dir"
                   1939:   done
                   1940: IFS=$as_save_IFS
                   1941: 
                   1942: } >&5
                   1943: 
                   1944: cat >&5 <<_ACEOF
                   1945: 
                   1946: 
                   1947: ## ----------- ##
                   1948: ## Core tests. ##
                   1949: ## ----------- ##
                   1950: 
                   1951: _ACEOF
                   1952: 
                   1953: 
                   1954: # Keep a trace of the command line.
                   1955: # Strip out --no-create and --no-recursion so they do not pile up.
                   1956: # Strip out --silent because we don't want to record it for future runs.
                   1957: # Also quote any args containing shell meta-characters.
                   1958: # Make two passes to allow for proper duplicate-argument suppression.
1.1       misho    1959: ac_configure_args=
                   1960: ac_configure_args0=
                   1961: ac_configure_args1=
                   1962: ac_must_keep_next=false
                   1963: for ac_pass in 1 2
                   1964: do
                   1965:   for ac_arg
                   1966:   do
                   1967:     case $ac_arg in
                   1968:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1969:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1970:     | -silent | --silent | --silen | --sile | --sil)
                   1971:       continue ;;
1.1.1.2   misho    1972:     *\'*)
                   1973:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    1974:     esac
                   1975:     case $ac_pass in
1.1.1.2   misho    1976:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misho    1977:     2)
1.1.1.2   misho    1978:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misho    1979:       if test $ac_must_keep_next = true; then
1.1.1.2   misho    1980:        ac_must_keep_next=false # Got value, back to normal.
1.1       misho    1981:       else
1.1.1.2   misho    1982:        case $ac_arg in
                   1983:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1984:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1985:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1986:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1987:            case "$ac_configure_args0 " in
                   1988:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1989:            esac
                   1990:            ;;
                   1991:          -* ) ac_must_keep_next=true ;;
                   1992:        esac
                   1993:       fi
                   1994:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misho    1995:       ;;
                   1996:     esac
                   1997:   done
                   1998: done
1.1.1.2   misho    1999: { ac_configure_args0=; unset ac_configure_args0;}
                   2000: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misho    2001: 
                   2002: # When interrupted or exit'd, cleanup temporary files, and complete
                   2003: # config.log.  We remove comments because anyway the quotes in there
                   2004: # would cause problems or look ugly.
1.1.1.2   misho    2005: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2006: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1       misho    2007: trap 'exit_status=$?
                   2008:   # Save into config.log some information that might help in debugging.
                   2009:   {
                   2010:     echo
                   2011: 
1.1.1.2   misho    2012:     $as_echo "## ---------------- ##
1.1       misho    2013: ## Cache variables. ##
1.1.1.2   misho    2014: ## ---------------- ##"
1.1       misho    2015:     echo
                   2016:     # The following way of writing the cache mishandles newlines in values,
1.1.1.2   misho    2017: (
                   2018:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2019:     eval ac_val=\$$ac_var
                   2020:     case $ac_val in #(
                   2021:     *${as_nl}*)
                   2022:       case $ac_var in #(
                   2023:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2024: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2025:       esac
                   2026:       case $ac_var in #(
                   2027:       _ | IFS | as_nl) ;; #(
                   2028:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2029:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2030:       esac ;;
                   2031:     esac
                   2032:   done
1.1       misho    2033:   (set) 2>&1 |
1.1.1.2   misho    2034:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2035:     *${as_nl}ac_space=\ *)
1.1       misho    2036:       sed -n \
1.1.1.2   misho    2037:        "s/'\''/'\''\\\\'\'''\''/g;
                   2038:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2039:       ;; #(
1.1       misho    2040:     *)
1.1.1.2   misho    2041:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1       misho    2042:       ;;
1.1.1.2   misho    2043:     esac |
                   2044:     sort
                   2045: )
1.1       misho    2046:     echo
                   2047: 
1.1.1.2   misho    2048:     $as_echo "## ----------------- ##
1.1       misho    2049: ## Output variables. ##
1.1.1.2   misho    2050: ## ----------------- ##"
1.1       misho    2051:     echo
                   2052:     for ac_var in $ac_subst_vars
                   2053:     do
1.1.1.2   misho    2054:       eval ac_val=\$$ac_var
                   2055:       case $ac_val in
                   2056:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2057:       esac
                   2058:       $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    2059:     done | sort
                   2060:     echo
                   2061: 
                   2062:     if test -n "$ac_subst_files"; then
1.1.1.2   misho    2063:       $as_echo "## ------------------- ##
                   2064: ## File substitutions. ##
                   2065: ## ------------------- ##"
1.1       misho    2066:       echo
                   2067:       for ac_var in $ac_subst_files
                   2068:       do
1.1.1.2   misho    2069:        eval ac_val=\$$ac_var
                   2070:        case $ac_val in
                   2071:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2072:        esac
                   2073:        $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    2074:       done | sort
                   2075:       echo
                   2076:     fi
                   2077: 
                   2078:     if test -s confdefs.h; then
1.1.1.2   misho    2079:       $as_echo "## ----------- ##
1.1       misho    2080: ## confdefs.h. ##
1.1.1.2   misho    2081: ## ----------- ##"
1.1       misho    2082:       echo
1.1.1.2   misho    2083:       cat confdefs.h
1.1       misho    2084:       echo
                   2085:     fi
                   2086:     test "$ac_signal" != 0 &&
1.1.1.2   misho    2087:       $as_echo "$as_me: caught signal $ac_signal"
                   2088:     $as_echo "$as_me: exit $exit_status"
1.1       misho    2089:   } >&5
1.1.1.2   misho    2090:   rm -f core *.core core.conftest.* &&
                   2091:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1       misho    2092:     exit $exit_status
1.1.1.2   misho    2093: ' 0
1.1       misho    2094: for ac_signal in 1 2 13 15; do
1.1.1.2   misho    2095:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misho    2096: done
                   2097: ac_signal=0
                   2098: 
                   2099: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.1.2   misho    2100: rm -f -r conftest* confdefs.h
                   2101: 
                   2102: $as_echo "/* confdefs.h */" > confdefs.h
1.1       misho    2103: 
                   2104: # Predefined preprocessor variables.
                   2105: 
                   2106: cat >>confdefs.h <<_ACEOF
                   2107: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2108: _ACEOF
                   2109: 
                   2110: cat >>confdefs.h <<_ACEOF
                   2111: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2112: _ACEOF
                   2113: 
                   2114: cat >>confdefs.h <<_ACEOF
                   2115: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2116: _ACEOF
                   2117: 
                   2118: cat >>confdefs.h <<_ACEOF
                   2119: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2120: _ACEOF
                   2121: 
                   2122: cat >>confdefs.h <<_ACEOF
                   2123: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2124: _ACEOF
                   2125: 
1.1.1.2   misho    2126: cat >>confdefs.h <<_ACEOF
                   2127: #define PACKAGE_URL "$PACKAGE_URL"
                   2128: _ACEOF
                   2129: 
1.1       misho    2130: 
                   2131: # Let the site file select an alternate cache file if it wants to.
1.1.1.2   misho    2132: # Prefer an explicitly selected file to automatically selected ones.
                   2133: ac_site_file1=NONE
                   2134: ac_site_file2=NONE
                   2135: if test -n "$CONFIG_SITE"; then
                   2136:   # We do not want a PATH search for config.site.
                   2137:   case $CONFIG_SITE in #((
                   2138:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2139:     */*) ac_site_file1=$CONFIG_SITE;;
                   2140:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2141:   esac
                   2142: elif test "x$prefix" != xNONE; then
                   2143:   ac_site_file1=$prefix/share/config.site
                   2144:   ac_site_file2=$prefix/etc/config.site
                   2145: else
                   2146:   ac_site_file1=$ac_default_prefix/share/config.site
                   2147:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2148: fi
                   2149: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2150: do
                   2151:   test "x$ac_site_file" = xNONE && continue
                   2152:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2153:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2154: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misho    2155:     sed 's/^/| /' "$ac_site_file" >&5
1.1.1.2   misho    2156:     . "$ac_site_file" \
                   2157:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2158: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2159: as_fn_error $? "failed to load site script $ac_site_file
                   2160: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2161:   fi
                   2162: done
                   2163: 
                   2164: if test -r "$cache_file"; then
1.1.1.2   misho    2165:   # Some versions of bash will fail to source /dev/null (special files
                   2166:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2167:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2168:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2169: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1       misho    2170:     case $cache_file in
1.1.1.2   misho    2171:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2172:       *)                      . "./$cache_file";;
1.1       misho    2173:     esac
                   2174:   fi
                   2175: else
1.1.1.2   misho    2176:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2177: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1       misho    2178:   >$cache_file
                   2179: fi
                   2180: 
                   2181: # Check that the precious variables saved in the cache have kept the same
                   2182: # value.
                   2183: ac_cache_corrupted=false
1.1.1.2   misho    2184: for ac_var in $ac_precious_vars; do
1.1       misho    2185:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2186:   eval ac_new_set=\$ac_env_${ac_var}_set
1.1.1.2   misho    2187:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2188:   eval ac_new_val=\$ac_env_${ac_var}_value
1.1       misho    2189:   case $ac_old_set,$ac_new_set in
                   2190:     set,)
1.1.1.2   misho    2191:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2192: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misho    2193:       ac_cache_corrupted=: ;;
                   2194:     ,set)
1.1.1.2   misho    2195:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2196: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misho    2197:       ac_cache_corrupted=: ;;
                   2198:     ,);;
                   2199:     *)
                   2200:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.1.2   misho    2201:        # differences in whitespace do not lead to failure.
                   2202:        ac_old_val_w=`echo x $ac_old_val`
                   2203:        ac_new_val_w=`echo x $ac_new_val`
                   2204:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2205:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2206: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2207:          ac_cache_corrupted=:
                   2208:        else
                   2209:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2210: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2211:          eval $ac_var=\$ac_old_val
                   2212:        fi
                   2213:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2214: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2215:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2216: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1       misho    2217:       fi;;
                   2218:   esac
                   2219:   # Pass precious variables to config.status.
                   2220:   if test "$ac_new_set" = set; then
                   2221:     case $ac_new_val in
1.1.1.2   misho    2222:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    2223:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2224:     esac
                   2225:     case " $ac_configure_args " in
                   2226:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.1.1.2   misho    2227:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misho    2228:     esac
                   2229:   fi
                   2230: done
                   2231: if $ac_cache_corrupted; then
1.1.1.2   misho    2232:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2233: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2234:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2235: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2236:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2237: fi
                   2238: ## -------------------- ##
                   2239: ## Main body of script. ##
                   2240: ## -------------------- ##
1.1       misho    2241: 
                   2242: ac_ext=c
                   2243: ac_cpp='$CPP $CPPFLAGS'
                   2244: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2245: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2246: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2247: 
                   2248: 
1.1.1.2   misho    2249: { $as_echo "$as_me:${as_lineno-$LINENO}: result: beginning autoconfiguration process for libnet-${PACKAGE_VERSION} ..." >&5
                   2250: $as_echo "beginning autoconfiguration process for libnet-${PACKAGE_VERSION} ..." >&6; }
1.1       misho    2251: ac_aux_dir=
1.1.1.2   misho    2252: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2253:   if test -f "$ac_dir/install-sh"; then
1.1       misho    2254:     ac_aux_dir=$ac_dir
                   2255:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2256:     break
1.1.1.2   misho    2257:   elif test -f "$ac_dir/install.sh"; then
1.1       misho    2258:     ac_aux_dir=$ac_dir
                   2259:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2260:     break
1.1.1.2   misho    2261:   elif test -f "$ac_dir/shtool"; then
1.1       misho    2262:     ac_aux_dir=$ac_dir
                   2263:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2264:     break
                   2265:   fi
                   2266: done
                   2267: if test -z "$ac_aux_dir"; then
1.1.1.2   misho    2268:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2269: fi
                   2270: 
                   2271: # These three variables are undocumented and unsupported,
                   2272: # and are intended to be withdrawn in a future Autoconf release.
                   2273: # They can cause serious problems if a builder's source tree is in a directory
                   2274: # whose full name contains unusual characters.
                   2275: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2276: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2277: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2278: 
1.1       misho    2279: 
                   2280: # Make sure we can run config.sub.
1.1.1.2   misho    2281: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2282:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1       misho    2283: 
1.1.1.2   misho    2284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2285: $as_echo_n "checking build system type... " >&6; }
                   2286: if ${ac_cv_build+:} false; then :
                   2287:   $as_echo_n "(cached) " >&6
                   2288: else
                   2289:   ac_build_alias=$build_alias
                   2290: test "x$ac_build_alias" = x &&
                   2291:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2292: test "x$ac_build_alias" = x &&
                   2293:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2294: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2295:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2296: 
                   2297: fi
                   2298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2299: $as_echo "$ac_cv_build" >&6; }
                   2300: case $ac_cv_build in
                   2301: *-*-*) ;;
                   2302: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2303: esac
1.1       misho    2304: build=$ac_cv_build
1.1.1.2   misho    2305: ac_save_IFS=$IFS; IFS='-'
                   2306: set x $ac_cv_build
                   2307: shift
                   2308: build_cpu=$1
                   2309: build_vendor=$2
                   2310: shift; shift
                   2311: # Remember, the first character of IFS is used to create $*,
                   2312: # except with old shells:
                   2313: build_os=$*
                   2314: IFS=$ac_save_IFS
                   2315: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2316: 
                   2317: 
                   2318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2319: $as_echo_n "checking host system type... " >&6; }
                   2320: if ${ac_cv_host+:} false; then :
                   2321:   $as_echo_n "(cached) " >&6
                   2322: else
                   2323:   if test "x$host_alias" = x; then
                   2324:   ac_cv_host=$ac_cv_build
                   2325: else
                   2326:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2327:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   2328: fi
1.1       misho    2329: 
                   2330: fi
1.1.1.2   misho    2331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2332: $as_echo "$ac_cv_host" >&6; }
                   2333: case $ac_cv_host in
                   2334: *-*-*) ;;
                   2335: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2336: esac
1.1       misho    2337: host=$ac_cv_host
1.1.1.2   misho    2338: ac_save_IFS=$IFS; IFS='-'
                   2339: set x $ac_cv_host
                   2340: shift
                   2341: host_cpu=$1
                   2342: host_vendor=$2
                   2343: shift; shift
                   2344: # Remember, the first character of IFS is used to create $*,
                   2345: # except with old shells:
                   2346: host_os=$*
                   2347: IFS=$ac_save_IFS
                   2348: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2349: 
                   2350: 
                   2351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2352: $as_echo_n "checking target system type... " >&6; }
                   2353: if ${ac_cv_target+:} false; then :
                   2354:   $as_echo_n "(cached) " >&6
                   2355: else
                   2356:   if test "x$target_alias" = x; then
                   2357:   ac_cv_target=$ac_cv_host
                   2358: else
                   2359:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
                   2360:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
                   2361: fi
1.1       misho    2362: 
                   2363: fi
1.1.1.2   misho    2364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2365: $as_echo "$ac_cv_target" >&6; }
                   2366: case $ac_cv_target in
                   2367: *-*-*) ;;
                   2368: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
                   2369: esac
1.1       misho    2370: target=$ac_cv_target
1.1.1.2   misho    2371: ac_save_IFS=$IFS; IFS='-'
                   2372: set x $ac_cv_target
                   2373: shift
                   2374: target_cpu=$1
                   2375: target_vendor=$2
                   2376: shift; shift
                   2377: # Remember, the first character of IFS is used to create $*,
                   2378: # except with old shells:
                   2379: target_os=$*
                   2380: IFS=$ac_save_IFS
                   2381: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1.1       misho    2382: 
                   2383: 
                   2384: # The aliases save the names the user supplied, while $host etc.
                   2385: # will get canonicalized.
                   2386: test -n "$target_alias" &&
                   2387:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2388:     NONENONEs,x,x, &&
                   2389:   program_prefix=${target_alias}-
                   2390: 
1.1.1.2   misho    2391: 
                   2392: 
                   2393: am__api_version='1.11'
                   2394: 
1.1       misho    2395: # Find a good install program.  We prefer a C program (faster),
                   2396: # so one script is as good as another.  But avoid the broken or
                   2397: # incompatible versions:
                   2398: # SysV /etc/install, /usr/sbin/install
                   2399: # SunOS /usr/etc/install
                   2400: # IRIX /sbin/install
                   2401: # AIX /bin/install
                   2402: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2403: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2404: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2405: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1.1.2   misho    2406: # OS/2's system install, which has a completely different semantic
1.1       misho    2407: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.2   misho    2408: # Reject install programs that cannot install multiple files.
                   2409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2410: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       misho    2411: if test -z "$INSTALL"; then
1.1.1.2   misho    2412: if ${ac_cv_path_install+:} false; then :
                   2413:   $as_echo_n "(cached) " >&6
1.1       misho    2414: else
                   2415:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2416: for as_dir in $PATH
                   2417: do
                   2418:   IFS=$as_save_IFS
                   2419:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2420:     # Account for people who put trailing slashes in PATH elements.
                   2421: case $as_dir/ in #((
                   2422:   ./ | .// | /[cC]/* | \
1.1       misho    2423:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.1.2   misho    2424:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misho    2425:   /usr/ucb/* ) ;;
                   2426:   *)
                   2427:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2428:     # Don't use installbsd from OSF since it installs stuff as root
                   2429:     # by default.
                   2430:     for ac_prog in ginstall scoinst install; do
                   2431:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2   misho    2432:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2433:          if test $ac_prog = install &&
                   2434:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2435:            # AIX install.  It has an incompatible calling convention.
                   2436:            :
                   2437:          elif test $ac_prog = install &&
                   2438:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2439:            # program-specific install script used by HP pwplus--don't use.
                   2440:            :
                   2441:          else
                   2442:            rm -rf conftest.one conftest.two conftest.dir
                   2443:            echo one > conftest.one
                   2444:            echo two > conftest.two
                   2445:            mkdir conftest.dir
                   2446:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2447:              test -s conftest.one && test -s conftest.two &&
                   2448:              test -s conftest.dir/conftest.one &&
                   2449:              test -s conftest.dir/conftest.two
                   2450:            then
                   2451:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2452:              break 3
                   2453:            fi
                   2454:          fi
                   2455:        fi
1.1       misho    2456:       done
                   2457:     done
                   2458:     ;;
                   2459: esac
                   2460: 
1.1.1.2   misho    2461:   done
                   2462: IFS=$as_save_IFS
                   2463: 
                   2464: rm -rf conftest.one conftest.two conftest.dir
1.1       misho    2465: 
                   2466: fi
                   2467:   if test "${ac_cv_path_install+set}" = set; then
                   2468:     INSTALL=$ac_cv_path_install
                   2469:   else
1.1.1.2   misho    2470:     # As a last resort, use the slow shell script.  Don't cache a
                   2471:     # value for INSTALL within a source directory, because that will
1.1       misho    2472:     # break other packages using the cache if that directory is
1.1.1.2   misho    2473:     # removed, or if the value is a relative name.
1.1       misho    2474:     INSTALL=$ac_install_sh
                   2475:   fi
                   2476: fi
1.1.1.2   misho    2477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2478: $as_echo "$INSTALL" >&6; }
1.1       misho    2479: 
                   2480: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2481: # It thinks the first close brace ends the variable substitution.
                   2482: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2483: 
                   2484: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2485: 
                   2486: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2487: 
1.1.1.2   misho    2488: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2489: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       misho    2490: # Just in case
                   2491: sleep 1
                   2492: echo timestamp > conftest.file
1.1.1.2   misho    2493: # Reject unsafe characters in $srcdir or the absolute working directory
                   2494: # name.  Accept space and tab only in the latter.
                   2495: am_lf='
                   2496: '
                   2497: case `pwd` in
                   2498:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2499:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2500: esac
                   2501: case $srcdir in
                   2502:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2503:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2504: esac
                   2505: 
1.1       misho    2506: # Do `set' in a subshell so we don't clobber the current shell's
                   2507: # arguments.  Must try -L first in case configure is actually a
                   2508: # symlink; some systems play weird games with the mod time of symlinks
                   2509: # (eg FreeBSD returns the mod time of the symlink's containing
                   2510: # directory).
                   2511: if (
1.1.1.2   misho    2512:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       misho    2513:    if test "$*" = "X"; then
                   2514:       # -L didn't work.
1.1.1.2   misho    2515:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       misho    2516:    fi
                   2517:    rm -f conftest.file
                   2518:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2519:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2520: 
                   2521:       # If neither matched, then we have a broken ls.  This can happen
                   2522:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2523:       # broken ls alias from the environment.  This has actually
                   2524:       # happened.  Such a system could not be considered "sane".
1.1.1.2   misho    2525:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2526: alias in your environment" "$LINENO" 5
1.1       misho    2527:    fi
                   2528: 
                   2529:    test "$2" = conftest.file
                   2530:    )
                   2531: then
                   2532:    # Ok.
                   2533:    :
                   2534: else
1.1.1.2   misho    2535:    as_fn_error $? "newly created file is older than distributed files!
                   2536: Check your system clock" "$LINENO" 5
1.1       misho    2537: fi
1.1.1.2   misho    2538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2539: $as_echo "yes" >&6; }
1.1       misho    2540: test "$program_prefix" != NONE &&
1.1.1.2   misho    2541:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       misho    2542: # Use a double $ so make ignores it.
                   2543: test "$program_suffix" != NONE &&
1.1.1.2   misho    2544:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2545: # Double any \ or $.
1.1       misho    2546: # By default was `s,x,x', remove it if useless.
1.1.1.2   misho    2547: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2548: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.1       misho    2549: 
                   2550: # expand $ac_aux_dir to an absolute path
                   2551: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2552: 
1.1.1.2   misho    2553: if test x"${MISSING+set}" != xset; then
                   2554:   case $am_aux_dir in
                   2555:   *\ * | *\    *)
                   2556:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2557:   *)
                   2558:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2559:   esac
                   2560: fi
1.1       misho    2561: # Use eval to expand $SHELL
                   2562: if eval "$MISSING --run true"; then
                   2563:   am_missing_run="$MISSING --run "
                   2564: else
                   2565:   am_missing_run=
1.1.1.2   misho    2566:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2567: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1       misho    2568: fi
                   2569: 
1.1.1.2   misho    2570: if test x"${install_sh}" != xset; then
                   2571:   case $am_aux_dir in
                   2572:   *\ * | *\    *)
                   2573:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2574:   *)
                   2575:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2576:   esac
                   2577: fi
                   2578: 
                   2579: # Installed binaries are usually stripped using `strip' when the user
                   2580: # run `make install-strip'.  However `strip' might not be the right
                   2581: # tool to use in cross-compilation environments, therefore Automake
                   2582: # will honor the `STRIP' environment variable to overrule this program.
                   2583: if test "$cross_compiling" != no; then
                   2584:   if test -n "$ac_tool_prefix"; then
                   2585:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2586: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2587: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2588: $as_echo_n "checking for $ac_word... " >&6; }
                   2589: if ${ac_cv_prog_STRIP+:} false; then :
                   2590:   $as_echo_n "(cached) " >&6
1.1       misho    2591: else
1.1.1.2   misho    2592:   if test -n "$STRIP"; then
                   2593:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       misho    2594: else
                   2595: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2596: for as_dir in $PATH
                   2597: do
                   2598:   IFS=$as_save_IFS
                   2599:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2600:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2601:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2602:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2603:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2604:     break 2
                   2605:   fi
                   2606: done
1.1.1.2   misho    2607:   done
                   2608: IFS=$as_save_IFS
1.1       misho    2609: 
                   2610: fi
                   2611: fi
1.1.1.2   misho    2612: STRIP=$ac_cv_prog_STRIP
                   2613: if test -n "$STRIP"; then
                   2614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2615: $as_echo "$STRIP" >&6; }
1.1       misho    2616: else
1.1.1.2   misho    2617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2618: $as_echo "no" >&6; }
1.1       misho    2619: fi
                   2620: 
                   2621: 
                   2622: fi
1.1.1.2   misho    2623: if test -z "$ac_cv_prog_STRIP"; then
                   2624:   ac_ct_STRIP=$STRIP
                   2625:   # Extract the first word of "strip", so it can be a program name with args.
                   2626: set dummy strip; ac_word=$2
                   2627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2628: $as_echo_n "checking for $ac_word... " >&6; }
                   2629: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2630:   $as_echo_n "(cached) " >&6
1.1       misho    2631: else
1.1.1.2   misho    2632:   if test -n "$ac_ct_STRIP"; then
                   2633:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       misho    2634: else
                   2635: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2636: for as_dir in $PATH
                   2637: do
                   2638:   IFS=$as_save_IFS
                   2639:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2640:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2641:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2642:     ac_cv_prog_ac_ct_STRIP="strip"
                   2643:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2644:     break 2
                   2645:   fi
                   2646: done
1.1.1.2   misho    2647:   done
                   2648: IFS=$as_save_IFS
1.1       misho    2649: 
                   2650: fi
                   2651: fi
1.1.1.2   misho    2652: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2653: if test -n "$ac_ct_STRIP"; then
                   2654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2655: $as_echo "$ac_ct_STRIP" >&6; }
                   2656: else
                   2657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2658: $as_echo "no" >&6; }
                   2659: fi
                   2660: 
                   2661:   if test "x$ac_ct_STRIP" = x; then
                   2662:     STRIP=":"
                   2663:   else
                   2664:     case $cross_compiling:$ac_tool_warned in
                   2665: yes:)
                   2666: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2667: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2668: ac_tool_warned=yes ;;
                   2669: esac
                   2670:     STRIP=$ac_ct_STRIP
                   2671:   fi
1.1       misho    2672: else
1.1.1.2   misho    2673:   STRIP="$ac_cv_prog_STRIP"
1.1       misho    2674: fi
                   2675: 
                   2676: fi
1.1.1.2   misho    2677: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2678: 
                   2679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2680: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2681: if test -z "$MKDIR_P"; then
                   2682:   if ${ac_cv_path_mkdir+:} false; then :
                   2683:   $as_echo_n "(cached) " >&6
1.1       misho    2684: else
1.1.1.2   misho    2685:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2686: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2687: do
                   2688:   IFS=$as_save_IFS
                   2689:   test -z "$as_dir" && as_dir=.
                   2690:     for ac_prog in mkdir gmkdir; do
                   2691:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2692:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2693:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2694:             'mkdir (GNU coreutils) '* | \
                   2695:             'mkdir (coreutils) '* | \
                   2696:             'mkdir (fileutils) '4.1*)
                   2697:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2698:               break 3;;
                   2699:           esac
                   2700:         done
                   2701:        done
                   2702:   done
                   2703: IFS=$as_save_IFS
                   2704: 
                   2705: fi
                   2706: 
                   2707:   test -d ./--version && rmdir ./--version
                   2708:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2709:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2710:   else
                   2711:     # As a last resort, use the slow shell script.  Don't cache a
                   2712:     # value for MKDIR_P within a source directory, because that will
                   2713:     # break other packages using the cache if that directory is
                   2714:     # removed, or if the value is a relative name.
                   2715:     MKDIR_P="$ac_install_sh -d"
                   2716:   fi
                   2717: fi
                   2718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2719: $as_echo "$MKDIR_P" >&6; }
                   2720: 
                   2721: mkdir_p="$MKDIR_P"
                   2722: case $mkdir_p in
                   2723:   [\\/$]* | ?:[\\/]*) ;;
                   2724:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2725: esac
                   2726: 
                   2727: for ac_prog in gawk mawk nawk awk
                   2728: do
                   2729:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2730: set dummy $ac_prog; ac_word=$2
                   2731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2732: $as_echo_n "checking for $ac_word... " >&6; }
                   2733: if ${ac_cv_prog_AWK+:} false; then :
                   2734:   $as_echo_n "(cached) " >&6
                   2735: else
                   2736:   if test -n "$AWK"; then
                   2737:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1       misho    2738: else
                   2739: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2740: for as_dir in $PATH
                   2741: do
                   2742:   IFS=$as_save_IFS
                   2743:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2744:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2745:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2746:     ac_cv_prog_AWK="$ac_prog"
                   2747:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2748:     break 2
                   2749:   fi
                   2750: done
1.1.1.2   misho    2751:   done
                   2752: IFS=$as_save_IFS
1.1       misho    2753: 
                   2754: fi
                   2755: fi
1.1.1.2   misho    2756: AWK=$ac_cv_prog_AWK
                   2757: if test -n "$AWK"; then
                   2758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2759: $as_echo "$AWK" >&6; }
1.1       misho    2760: else
1.1.1.2   misho    2761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2762: $as_echo "no" >&6; }
1.1       misho    2763: fi
                   2764: 
1.1.1.2   misho    2765: 
                   2766:   test -n "$AWK" && break
                   2767: done
                   2768: 
                   2769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2770: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2771: set x ${MAKE-make}
                   2772: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2773: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2774:   $as_echo_n "(cached) " >&6
1.1       misho    2775: else
1.1.1.2   misho    2776:   cat >conftest.make <<\_ACEOF
                   2777: SHELL = /bin/sh
                   2778: all:
                   2779:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2780: _ACEOF
                   2781: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2782: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2783:   *@@@%%%=?*=@@@%%%*)
                   2784:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2785:   *)
                   2786:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2787: esac
                   2788: rm -f conftest.make
                   2789: fi
                   2790: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2791:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2792: $as_echo "yes" >&6; }
                   2793:   SET_MAKE=
                   2794: else
                   2795:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2796: $as_echo "no" >&6; }
                   2797:   SET_MAKE="MAKE=${MAKE-make}"
1.1       misho    2798: fi
                   2799: 
1.1.1.2   misho    2800: rm -rf .tst 2>/dev/null
                   2801: mkdir .tst 2>/dev/null
                   2802: if test -d .tst; then
                   2803:   am__leading_dot=.
                   2804: else
                   2805:   am__leading_dot=_
                   2806: fi
                   2807: rmdir .tst 2>/dev/null
                   2808: 
                   2809: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2810:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2811:   # is not polluted with repeated "-I."
                   2812:   am__isrc=' -I$(srcdir)'
                   2813:   # test to see if srcdir already configured
                   2814:   if test -f $srcdir/config.status; then
                   2815:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2816:   fi
                   2817: fi
                   2818: 
                   2819: # test whether we have cygpath
                   2820: if test -z "$CYGPATH_W"; then
                   2821:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2822:     CYGPATH_W='cygpath -w'
                   2823:   else
                   2824:     CYGPATH_W=echo
                   2825:   fi
1.1       misho    2826: fi
1.1.1.2   misho    2827: 
                   2828: 
                   2829: # Define the identity of the package.
                   2830:  PACKAGE='libnet'
                   2831:  VERSION='1.1.6'
                   2832: 
                   2833: 
                   2834: cat >>confdefs.h <<_ACEOF
                   2835: #define PACKAGE "$PACKAGE"
                   2836: _ACEOF
                   2837: 
                   2838: 
                   2839: cat >>confdefs.h <<_ACEOF
                   2840: #define VERSION "$VERSION"
                   2841: _ACEOF
                   2842: 
                   2843: # Some tools Automake needs.
                   2844: 
                   2845: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2846: 
                   2847: 
                   2848: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2849: 
                   2850: 
                   2851: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2852: 
                   2853: 
                   2854: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2855: 
                   2856: 
                   2857: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       misho    2858: 
                   2859: # We need awk for the "check" target.  The system "awk" is bad on
                   2860: # some platforms.
1.1.1.2   misho    2861: # Always define AMTAR for backward compatibility.
                   2862: 
                   2863: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   2864: 
                   2865: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1.1       misho    2866: 
                   2867: 
                   2868: 
                   2869: 
                   2870: 
1.1.1.2   misho    2871: ac_config_headers="$ac_config_headers include/config.h"
1.1       misho    2872: 
1.1.1.2   misho    2873: 
                   2874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   2875: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
                   2876:     # Check whether --enable-maintainer-mode was given.
                   2877: if test "${enable_maintainer_mode+set}" = set; then :
                   2878:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1.1       misho    2879: else
                   2880:   USE_MAINTAINER_MODE=no
1.1.1.2   misho    2881: fi
1.1       misho    2882: 
1.1.1.2   misho    2883:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
                   2884: $as_echo "$USE_MAINTAINER_MODE" >&6; }
                   2885:    if test $USE_MAINTAINER_MODE = yes; then
1.1       misho    2886:   MAINTAINER_MODE_TRUE=
                   2887:   MAINTAINER_MODE_FALSE='#'
                   2888: else
                   2889:   MAINTAINER_MODE_TRUE='#'
                   2890:   MAINTAINER_MODE_FALSE=
                   2891: fi
                   2892: 
                   2893:   MAINT=$MAINTAINER_MODE_TRUE
                   2894: 
                   2895: 
                   2896: 
                   2897: ac_ext=c
                   2898: ac_cpp='$CPP $CPPFLAGS'
                   2899: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2900: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2901: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2902: if test -n "$ac_tool_prefix"; then
                   2903:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2904: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.2   misho    2905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2906: $as_echo_n "checking for $ac_word... " >&6; }
                   2907: if ${ac_cv_prog_CC+:} false; then :
                   2908:   $as_echo_n "(cached) " >&6
1.1       misho    2909: else
                   2910:   if test -n "$CC"; then
                   2911:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2912: else
                   2913: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2914: for as_dir in $PATH
                   2915: do
                   2916:   IFS=$as_save_IFS
                   2917:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2918:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2919:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misho    2920:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.2   misho    2921:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2922:     break 2
                   2923:   fi
                   2924: done
1.1.1.2   misho    2925:   done
                   2926: IFS=$as_save_IFS
1.1       misho    2927: 
                   2928: fi
                   2929: fi
                   2930: CC=$ac_cv_prog_CC
                   2931: if test -n "$CC"; then
1.1.1.2   misho    2932:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2933: $as_echo "$CC" >&6; }
1.1       misho    2934: else
1.1.1.2   misho    2935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2936: $as_echo "no" >&6; }
1.1       misho    2937: fi
                   2938: 
1.1.1.2   misho    2939: 
1.1       misho    2940: fi
                   2941: if test -z "$ac_cv_prog_CC"; then
                   2942:   ac_ct_CC=$CC
                   2943:   # Extract the first word of "gcc", so it can be a program name with args.
                   2944: set dummy gcc; ac_word=$2
1.1.1.2   misho    2945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2946: $as_echo_n "checking for $ac_word... " >&6; }
                   2947: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   2948:   $as_echo_n "(cached) " >&6
1.1       misho    2949: else
                   2950:   if test -n "$ac_ct_CC"; then
                   2951:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2952: else
                   2953: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2954: for as_dir in $PATH
                   2955: do
                   2956:   IFS=$as_save_IFS
                   2957:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2958:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2959:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misho    2960:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.2   misho    2961:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2962:     break 2
                   2963:   fi
                   2964: done
1.1.1.2   misho    2965:   done
                   2966: IFS=$as_save_IFS
1.1       misho    2967: 
                   2968: fi
                   2969: fi
                   2970: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2971: if test -n "$ac_ct_CC"; then
1.1.1.2   misho    2972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2973: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    2974: else
1.1.1.2   misho    2975:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2976: $as_echo "no" >&6; }
1.1       misho    2977: fi
                   2978: 
1.1.1.2   misho    2979:   if test "x$ac_ct_CC" = x; then
                   2980:     CC=""
                   2981:   else
                   2982:     case $cross_compiling:$ac_tool_warned in
                   2983: yes:)
                   2984: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2985: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2986: ac_tool_warned=yes ;;
                   2987: esac
                   2988:     CC=$ac_ct_CC
                   2989:   fi
1.1       misho    2990: else
                   2991:   CC="$ac_cv_prog_CC"
                   2992: fi
                   2993: 
                   2994: if test -z "$CC"; then
1.1.1.2   misho    2995:           if test -n "$ac_tool_prefix"; then
                   2996:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1       misho    2997: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.2   misho    2998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2999: $as_echo_n "checking for $ac_word... " >&6; }
                   3000: if ${ac_cv_prog_CC+:} false; then :
                   3001:   $as_echo_n "(cached) " >&6
1.1       misho    3002: else
                   3003:   if test -n "$CC"; then
                   3004:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3005: else
                   3006: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3007: for as_dir in $PATH
                   3008: do
                   3009:   IFS=$as_save_IFS
                   3010:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3011:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3012:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misho    3013:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.2   misho    3014:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3015:     break 2
                   3016:   fi
                   3017: done
1.1.1.2   misho    3018:   done
                   3019: IFS=$as_save_IFS
1.1       misho    3020: 
                   3021: fi
                   3022: fi
                   3023: CC=$ac_cv_prog_CC
                   3024: if test -n "$CC"; then
1.1.1.2   misho    3025:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3026: $as_echo "$CC" >&6; }
1.1       misho    3027: else
1.1.1.2   misho    3028:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3029: $as_echo "no" >&6; }
1.1       misho    3030: fi
                   3031: 
                   3032: 
1.1.1.2   misho    3033:   fi
1.1       misho    3034: fi
                   3035: if test -z "$CC"; then
                   3036:   # Extract the first word of "cc", so it can be a program name with args.
                   3037: set dummy cc; ac_word=$2
1.1.1.2   misho    3038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3039: $as_echo_n "checking for $ac_word... " >&6; }
                   3040: if ${ac_cv_prog_CC+:} false; then :
                   3041:   $as_echo_n "(cached) " >&6
1.1       misho    3042: else
                   3043:   if test -n "$CC"; then
                   3044:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3045: else
                   3046:   ac_prog_rejected=no
                   3047: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3048: for as_dir in $PATH
                   3049: do
                   3050:   IFS=$as_save_IFS
                   3051:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3052:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3053:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misho    3054:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3055:        ac_prog_rejected=yes
                   3056:        continue
                   3057:      fi
                   3058:     ac_cv_prog_CC="cc"
1.1.1.2   misho    3059:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3060:     break 2
                   3061:   fi
                   3062: done
1.1.1.2   misho    3063:   done
                   3064: IFS=$as_save_IFS
1.1       misho    3065: 
                   3066: if test $ac_prog_rejected = yes; then
                   3067:   # We found a bogon in the path, so make sure we never use it.
                   3068:   set dummy $ac_cv_prog_CC
                   3069:   shift
                   3070:   if test $# != 0; then
                   3071:     # We chose a different compiler from the bogus one.
                   3072:     # However, it has the same basename, so the bogon will be chosen
                   3073:     # first if we set CC to just the basename; use the full file name.
                   3074:     shift
                   3075:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3076:   fi
                   3077: fi
                   3078: fi
                   3079: fi
                   3080: CC=$ac_cv_prog_CC
                   3081: if test -n "$CC"; then
1.1.1.2   misho    3082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3083: $as_echo "$CC" >&6; }
1.1       misho    3084: else
1.1.1.2   misho    3085:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3086: $as_echo "no" >&6; }
1.1       misho    3087: fi
                   3088: 
1.1.1.2   misho    3089: 
1.1       misho    3090: fi
                   3091: if test -z "$CC"; then
                   3092:   if test -n "$ac_tool_prefix"; then
1.1.1.2   misho    3093:   for ac_prog in cl.exe
1.1       misho    3094:   do
                   3095:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3096: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.2   misho    3097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3098: $as_echo_n "checking for $ac_word... " >&6; }
                   3099: if ${ac_cv_prog_CC+:} false; then :
                   3100:   $as_echo_n "(cached) " >&6
1.1       misho    3101: else
                   3102:   if test -n "$CC"; then
                   3103:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3104: else
                   3105: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3106: for as_dir in $PATH
                   3107: do
                   3108:   IFS=$as_save_IFS
                   3109:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3110:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3111:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misho    3112:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.2   misho    3113:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3114:     break 2
                   3115:   fi
                   3116: done
1.1.1.2   misho    3117:   done
                   3118: IFS=$as_save_IFS
1.1       misho    3119: 
                   3120: fi
                   3121: fi
                   3122: CC=$ac_cv_prog_CC
                   3123: if test -n "$CC"; then
1.1.1.2   misho    3124:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3125: $as_echo "$CC" >&6; }
1.1       misho    3126: else
1.1.1.2   misho    3127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3128: $as_echo "no" >&6; }
1.1       misho    3129: fi
                   3130: 
1.1.1.2   misho    3131: 
1.1       misho    3132:     test -n "$CC" && break
                   3133:   done
                   3134: fi
                   3135: if test -z "$CC"; then
                   3136:   ac_ct_CC=$CC
1.1.1.2   misho    3137:   for ac_prog in cl.exe
1.1       misho    3138: do
                   3139:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3140: set dummy $ac_prog; ac_word=$2
1.1.1.2   misho    3141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3142: $as_echo_n "checking for $ac_word... " >&6; }
                   3143: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3144:   $as_echo_n "(cached) " >&6
1.1       misho    3145: else
                   3146:   if test -n "$ac_ct_CC"; then
                   3147:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3148: else
                   3149: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3150: for as_dir in $PATH
                   3151: do
                   3152:   IFS=$as_save_IFS
                   3153:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3154:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3155:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misho    3156:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.2   misho    3157:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3158:     break 2
                   3159:   fi
                   3160: done
1.1.1.2   misho    3161:   done
                   3162: IFS=$as_save_IFS
1.1       misho    3163: 
                   3164: fi
                   3165: fi
                   3166: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3167: if test -n "$ac_ct_CC"; then
1.1.1.2   misho    3168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3169: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    3170: else
1.1.1.2   misho    3171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3172: $as_echo "no" >&6; }
1.1       misho    3173: fi
                   3174: 
1.1.1.2   misho    3175: 
1.1       misho    3176:   test -n "$ac_ct_CC" && break
                   3177: done
                   3178: 
1.1.1.2   misho    3179:   if test "x$ac_ct_CC" = x; then
                   3180:     CC=""
                   3181:   else
                   3182:     case $cross_compiling:$ac_tool_warned in
                   3183: yes:)
                   3184: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3185: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3186: ac_tool_warned=yes ;;
                   3187: esac
                   3188:     CC=$ac_ct_CC
                   3189:   fi
1.1       misho    3190: fi
                   3191: 
                   3192: fi
                   3193: 
                   3194: 
1.1.1.2   misho    3195: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3196: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3197: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3198: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3199: 
                   3200: # Provide some information about the compiler.
1.1.1.2   misho    3201: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3202: set X $ac_compile
                   3203: ac_compiler=$2
                   3204: for ac_option in --version -v -V -qversion; do
                   3205:   { { ac_try="$ac_compiler $ac_option >&5"
                   3206: case "(($ac_try" in
                   3207:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3208:   *) ac_try_echo=$ac_try;;
                   3209: esac
                   3210: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3211: $as_echo "$ac_try_echo"; } >&5
                   3212:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.1       misho    3213:   ac_status=$?
1.1.1.2   misho    3214:   if test -s conftest.err; then
                   3215:     sed '10a\
                   3216: ... rest of stderr output deleted ...
                   3217:          10q' conftest.err >conftest.er1
                   3218:     cat conftest.er1 >&5
                   3219:   fi
                   3220:   rm -f conftest.er1 conftest.err
                   3221:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3222:   test $ac_status = 0; }
                   3223: done
1.1       misho    3224: 
1.1.1.2   misho    3225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3226: /* end confdefs.h.  */
                   3227: 
                   3228: int
                   3229: main ()
                   3230: {
                   3231: 
                   3232:   ;
                   3233:   return 0;
                   3234: }
                   3235: _ACEOF
                   3236: ac_clean_files_save=$ac_clean_files
1.1.1.2   misho    3237: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misho    3238: # Try to create an executable without -o first, disregard a.out.
                   3239: # It will help us diagnose broken compilers, and finding out an intuition
                   3240: # of exeext.
1.1.1.2   misho    3241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3242: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3243: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3244: 
                   3245: # The possible output files:
                   3246: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3247: 
                   3248: ac_rmfiles=
                   3249: for ac_file in $ac_files
                   3250: do
                   3251:   case $ac_file in
                   3252:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3253:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3254:   esac
                   3255: done
                   3256: rm -f $ac_rmfiles
                   3257: 
                   3258: if { { ac_try="$ac_link_default"
                   3259: case "(($ac_try" in
                   3260:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3261:   *) ac_try_echo=$ac_try;;
                   3262: esac
                   3263: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3264: $as_echo "$ac_try_echo"; } >&5
                   3265:   (eval "$ac_link_default") 2>&5
                   3266:   ac_status=$?
                   3267:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3268:   test $ac_status = 0; }; then :
                   3269:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3270: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3271: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3272: # so that the user can short-circuit this test for compilers unknown to
                   3273: # Autoconf.
                   3274: for ac_file in $ac_files ''
1.1       misho    3275: do
                   3276:   test -f "$ac_file" || continue
                   3277:   case $ac_file in
1.1.1.2   misho    3278:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3279:        ;;
1.1       misho    3280:     [ab].out )
1.1.1.2   misho    3281:        # We found the default executable, but exeext='' is most
                   3282:        # certainly right.
                   3283:        break;;
1.1       misho    3284:     *.* )
1.1.1.2   misho    3285:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3286:        then :; else
                   3287:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3288:        fi
                   3289:        # We set ac_cv_exeext here because the later test for it is not
                   3290:        # safe: cross compilers may not add the suffix if given an `-o'
                   3291:        # argument, so we may need to know it at that point already.
                   3292:        # Even if this section looks crufty: it has the advantage of
                   3293:        # actually working.
                   3294:        break;;
1.1       misho    3295:     * )
1.1.1.2   misho    3296:        break;;
1.1       misho    3297:   esac
                   3298: done
1.1.1.2   misho    3299: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.1       misho    3300: 
1.1.1.2   misho    3301: else
                   3302:   ac_file=''
1.1       misho    3303: fi
1.1.1.2   misho    3304: if test -z "$ac_file"; then :
                   3305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3306: $as_echo "no" >&6; }
                   3307: $as_echo "$as_me: failed program was:" >&5
                   3308: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    3309: 
1.1.1.2   misho    3310: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3311: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3312: as_fn_error 77 "C compiler cannot create executables
                   3313: See \`config.log' for more details" "$LINENO" 5; }
                   3314: else
                   3315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3316: $as_echo "yes" >&6; }
                   3317: fi
                   3318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3319: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3321: $as_echo "$ac_file" >&6; }
1.1       misho    3322: ac_exeext=$ac_cv_exeext
                   3323: 
1.1.1.2   misho    3324: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misho    3325: ac_clean_files=$ac_clean_files_save
1.1.1.2   misho    3326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3327: $as_echo_n "checking for suffix of executables... " >&6; }
                   3328: if { { ac_try="$ac_link"
                   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_link") 2>&5
1.1       misho    3336:   ac_status=$?
1.1.1.2   misho    3337:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3338:   test $ac_status = 0; }; then :
1.1       misho    3339:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3340: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3341: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3342: # `rm'.
                   3343: for ac_file in conftest.exe conftest conftest.*; do
                   3344:   test -f "$ac_file" || continue
                   3345:   case $ac_file in
1.1.1.2   misho    3346:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misho    3347:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.1.1.2   misho    3348:          break;;
1.1       misho    3349:     * ) break;;
                   3350:   esac
                   3351: done
                   3352: else
1.1.1.2   misho    3353:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3354: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3355: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3356: See \`config.log' for more details" "$LINENO" 5; }
                   3357: fi
                   3358: rm -f conftest conftest$ac_cv_exeext
                   3359: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3360: $as_echo "$ac_cv_exeext" >&6; }
1.1       misho    3361: 
                   3362: rm -f conftest.$ac_ext
                   3363: EXEEXT=$ac_cv_exeext
                   3364: ac_exeext=$EXEEXT
1.1.1.2   misho    3365: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3366: /* end confdefs.h.  */
1.1.1.2   misho    3367: #include <stdio.h>
1.1       misho    3368: int
                   3369: main ()
                   3370: {
1.1.1.2   misho    3371: FILE *f = fopen ("conftest.out", "w");
                   3372:  return ferror (f) || fclose (f) != 0;
1.1       misho    3373: 
                   3374:   ;
                   3375:   return 0;
                   3376: }
                   3377: _ACEOF
1.1.1.2   misho    3378: ac_clean_files="$ac_clean_files conftest.out"
                   3379: # Check that the compiler produces executables we can run.  If not, either
                   3380: # the compiler is broken, or we cross compile.
                   3381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3382: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3383: if test "$cross_compiling" != yes; then
                   3384:   { { ac_try="$ac_link"
                   3385: case "(($ac_try" in
                   3386:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3387:   *) ac_try_echo=$ac_try;;
                   3388: esac
                   3389: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3390: $as_echo "$ac_try_echo"; } >&5
                   3391:   (eval "$ac_link") 2>&5
                   3392:   ac_status=$?
                   3393:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3394:   test $ac_status = 0; }
                   3395:   if { ac_try='./conftest$ac_cv_exeext'
                   3396:   { { case "(($ac_try" in
                   3397:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3398:   *) ac_try_echo=$ac_try;;
                   3399: esac
                   3400: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3401: $as_echo "$ac_try_echo"; } >&5
                   3402:   (eval "$ac_try") 2>&5
1.1       misho    3403:   ac_status=$?
1.1.1.2   misho    3404:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3405:   test $ac_status = 0; }; }; then
                   3406:     cross_compiling=no
                   3407:   else
                   3408:     if test "$cross_compiling" = maybe; then
                   3409:        cross_compiling=yes
                   3410:     else
                   3411:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3412: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3413: as_fn_error $? "cannot run C compiled programs.
                   3414: If you meant to cross compile, use \`--host'.
                   3415: See \`config.log' for more details" "$LINENO" 5; }
                   3416:     fi
                   3417:   fi
                   3418: fi
                   3419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3420: $as_echo "$cross_compiling" >&6; }
                   3421: 
                   3422: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3423: ac_clean_files=$ac_clean_files_save
                   3424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3425: $as_echo_n "checking for suffix of object files... " >&6; }
                   3426: if ${ac_cv_objext+:} false; then :
                   3427:   $as_echo_n "(cached) " >&6
                   3428: else
                   3429:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3430: /* end confdefs.h.  */
                   3431: 
                   3432: int
                   3433: main ()
                   3434: {
                   3435: 
                   3436:   ;
                   3437:   return 0;
                   3438: }
                   3439: _ACEOF
                   3440: rm -f conftest.o conftest.obj
                   3441: if { { ac_try="$ac_compile"
                   3442: case "(($ac_try" in
                   3443:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3444:   *) ac_try_echo=$ac_try;;
                   3445: esac
                   3446: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3447: $as_echo "$ac_try_echo"; } >&5
                   3448:   (eval "$ac_compile") 2>&5
                   3449:   ac_status=$?
                   3450:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3451:   test $ac_status = 0; }; then :
                   3452:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3453:   test -f "$ac_file" || continue;
1.1       misho    3454:   case $ac_file in
1.1.1.2   misho    3455:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1       misho    3456:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3457:        break;;
                   3458:   esac
                   3459: done
                   3460: else
1.1.1.2   misho    3461:   $as_echo "$as_me: failed program was:" >&5
1.1       misho    3462: sed 's/^/| /' conftest.$ac_ext >&5
                   3463: 
1.1.1.2   misho    3464: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3465: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3466: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3467: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3468: fi
                   3469: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3470: fi
1.1.1.2   misho    3471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3472: $as_echo "$ac_cv_objext" >&6; }
1.1       misho    3473: OBJEXT=$ac_cv_objext
                   3474: ac_objext=$OBJEXT
1.1.1.2   misho    3475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3476: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3477: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3478:   $as_echo_n "(cached) " >&6
1.1       misho    3479: else
1.1.1.2   misho    3480:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3481: /* end confdefs.h.  */
                   3482: 
                   3483: int
                   3484: main ()
                   3485: {
                   3486: #ifndef __GNUC__
                   3487:        choke me
                   3488: #endif
                   3489: 
                   3490:   ;
                   3491:   return 0;
                   3492: }
                   3493: _ACEOF
1.1.1.2   misho    3494: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3495:   ac_compiler_gnu=yes
                   3496: else
1.1.1.2   misho    3497:   ac_compiler_gnu=no
1.1       misho    3498: fi
1.1.1.2   misho    3499: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    3500: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3501: 
                   3502: fi
1.1.1.2   misho    3503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3504: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3505: if test $ac_compiler_gnu = yes; then
                   3506:   GCC=yes
                   3507: else
                   3508:   GCC=
                   3509: fi
1.1       misho    3510: ac_test_CFLAGS=${CFLAGS+set}
                   3511: ac_save_CFLAGS=$CFLAGS
1.1.1.2   misho    3512: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3513: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3514: if ${ac_cv_prog_cc_g+:} false; then :
                   3515:   $as_echo_n "(cached) " >&6
                   3516: else
                   3517:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3518:    ac_c_werror_flag=yes
                   3519:    ac_cv_prog_cc_g=no
                   3520:    CFLAGS="-g"
                   3521:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3522: /* end confdefs.h.  */
                   3523: 
                   3524: int
                   3525: main ()
                   3526: {
                   3527: 
                   3528:   ;
                   3529:   return 0;
                   3530: }
                   3531: _ACEOF
1.1.1.2   misho    3532: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3533:   ac_cv_prog_cc_g=yes
                   3534: else
1.1.1.2   misho    3535:   CFLAGS=""
                   3536:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3537: /* end confdefs.h.  */
                   3538: 
                   3539: int
                   3540: main ()
                   3541: {
                   3542: 
                   3543:   ;
                   3544:   return 0;
                   3545: }
                   3546: _ACEOF
                   3547: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3548: 
1.1.1.2   misho    3549: else
                   3550:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3551:         CFLAGS="-g"
                   3552:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3553: /* end confdefs.h.  */
                   3554: 
                   3555: int
                   3556: main ()
                   3557: {
                   3558: 
                   3559:   ;
                   3560:   return 0;
                   3561: }
                   3562: _ACEOF
                   3563: if ac_fn_c_try_compile "$LINENO"; then :
                   3564:   ac_cv_prog_cc_g=yes
1.1       misho    3565: fi
1.1.1.2   misho    3566: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    3567: fi
1.1.1.2   misho    3568: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3569: fi
                   3570: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3571:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3572: fi
                   3573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3574: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       misho    3575: if test "$ac_test_CFLAGS" = set; then
                   3576:   CFLAGS=$ac_save_CFLAGS
                   3577: elif test $ac_cv_prog_cc_g = yes; then
                   3578:   if test "$GCC" = yes; then
                   3579:     CFLAGS="-g -O2"
                   3580:   else
                   3581:     CFLAGS="-g"
                   3582:   fi
                   3583: else
                   3584:   if test "$GCC" = yes; then
                   3585:     CFLAGS="-O2"
                   3586:   else
                   3587:     CFLAGS=
                   3588:   fi
                   3589: fi
1.1.1.2   misho    3590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3591: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3592: if ${ac_cv_prog_cc_c89+:} false; then :
                   3593:   $as_echo_n "(cached) " >&6
1.1       misho    3594: else
1.1.1.2   misho    3595:   ac_cv_prog_cc_c89=no
1.1       misho    3596: ac_save_CC=$CC
1.1.1.2   misho    3597: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3598: /* end confdefs.h.  */
                   3599: #include <stdarg.h>
                   3600: #include <stdio.h>
                   3601: #include <sys/types.h>
                   3602: #include <sys/stat.h>
                   3603: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3604: struct buf { int x; };
                   3605: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3606: static char *e (p, i)
                   3607:      char **p;
                   3608:      int i;
                   3609: {
                   3610:   return p[i];
                   3611: }
                   3612: static char *f (char * (*g) (char **, int), char **p, ...)
                   3613: {
                   3614:   char *s;
                   3615:   va_list v;
                   3616:   va_start (v,p);
                   3617:   s = g (p, va_arg (v,int));
                   3618:   va_end (v);
                   3619:   return s;
                   3620: }
1.1.1.2   misho    3621: 
                   3622: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3623:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3624:    These don't provoke an error unfortunately, instead are silently treated
                   3625:    as 'x'.  The following induces an error, until -std is added to get
                   3626:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3627:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3628:    that's true only with -std.  */
                   3629: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3630: 
                   3631: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3632:    inside strings and character constants.  */
                   3633: #define FOO(x) 'x'
                   3634: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3635: 
1.1       misho    3636: int test (int i, double x);
                   3637: struct s1 {int (*f) (int a);};
                   3638: struct s2 {int (*f) (double a);};
                   3639: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3640: int argc;
                   3641: char **argv;
                   3642: int
                   3643: main ()
                   3644: {
                   3645: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3646:   ;
                   3647:   return 0;
                   3648: }
                   3649: _ACEOF
1.1.1.2   misho    3650: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3651:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       misho    3652: do
                   3653:   CC="$ac_save_CC $ac_arg"
1.1.1.2   misho    3654:   if ac_fn_c_try_compile "$LINENO"; then :
                   3655:   ac_cv_prog_cc_c89=$ac_arg
1.1       misho    3656: fi
1.1.1.2   misho    3657: rm -f core conftest.err conftest.$ac_objext
                   3658:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1       misho    3659: done
1.1.1.2   misho    3660: rm -f conftest.$ac_ext
1.1       misho    3661: CC=$ac_save_CC
                   3662: 
                   3663: fi
1.1.1.2   misho    3664: # AC_CACHE_VAL
                   3665: case "x$ac_cv_prog_cc_c89" in
                   3666:   x)
                   3667:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3668: $as_echo "none needed" >&6; } ;;
                   3669:   xno)
                   3670:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3671: $as_echo "unsupported" >&6; } ;;
1.1       misho    3672:   *)
1.1.1.2   misho    3673:     CC="$CC $ac_cv_prog_cc_c89"
                   3674:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3675: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       misho    3676: esac
1.1.1.2   misho    3677: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misho    3678: 
                   3679: fi
                   3680: 
                   3681: ac_ext=c
                   3682: ac_cpp='$CPP $CPPFLAGS'
                   3683: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3684: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3685: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.2   misho    3686: DEPDIR="${am__leading_dot}deps"
1.1       misho    3687: 
1.1.1.2   misho    3688: ac_config_commands="$ac_config_commands depfiles"
1.1       misho    3689: 
                   3690: 
                   3691: am_make=${MAKE-make}
                   3692: cat > confinc << 'END'
1.1.1.2   misho    3693: am__doit:
                   3694:        @echo this is the am__doit target
                   3695: .PHONY: am__doit
1.1       misho    3696: END
                   3697: # If we don't find an include directive, just comment out the code.
1.1.1.2   misho    3698: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3699: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.1       misho    3700: am__include="#"
                   3701: am__quote=
                   3702: _am_result=none
                   3703: # First try GNU make style include.
                   3704: echo "include confinc" > confmf
1.1.1.2   misho    3705: # Ignore all kinds of additional output from `make'.
                   3706: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3707: *the\ am__doit\ target*)
                   3708:   am__include=include
                   3709:   am__quote=
                   3710:   _am_result=GNU
                   3711:   ;;
                   3712: esac
1.1       misho    3713: # Now try BSD make style include.
                   3714: if test "$am__include" = "#"; then
                   3715:    echo '.include "confinc"' > confmf
1.1.1.2   misho    3716:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3717:    *the\ am__doit\ target*)
                   3718:      am__include=.include
                   3719:      am__quote="\""
                   3720:      _am_result=BSD
                   3721:      ;;
                   3722:    esac
1.1       misho    3723: fi
                   3724: 
                   3725: 
1.1.1.2   misho    3726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3727: $as_echo "$_am_result" >&6; }
1.1       misho    3728: rm -f confinc confmf
                   3729: 
1.1.1.2   misho    3730: # Check whether --enable-dependency-tracking was given.
                   3731: if test "${enable_dependency_tracking+set}" = set; then :
                   3732:   enableval=$enable_dependency_tracking;
                   3733: fi
1.1       misho    3734: 
                   3735: if test "x$enable_dependency_tracking" != xno; then
                   3736:   am_depcomp="$ac_aux_dir/depcomp"
                   3737:   AMDEPBACKSLASH='\'
                   3738: fi
1.1.1.2   misho    3739:  if test "x$enable_dependency_tracking" != xno; then
1.1       misho    3740:   AMDEP_TRUE=
                   3741:   AMDEP_FALSE='#'
                   3742: else
                   3743:   AMDEP_TRUE='#'
                   3744:   AMDEP_FALSE=
                   3745: fi
                   3746: 
                   3747: 
                   3748: 
                   3749: depcc="$CC"   am_compiler_list=
                   3750: 
1.1.1.2   misho    3751: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3752: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3753: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   3754:   $as_echo_n "(cached) " >&6
1.1       misho    3755: else
                   3756:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3757:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3758:   # making bogus files that we don't know about and never remove.  For
                   3759:   # instance it was reported that on HP-UX the gcc test will end up
                   3760:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3761:   # in D'.
                   3762:   mkdir conftest.dir
                   3763:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3764:   # using a relative directory.
                   3765:   cp "$am_depcomp" conftest.dir
                   3766:   cd conftest.dir
1.1.1.2   misho    3767:   # We will build objects and dependencies in a subdirectory because
                   3768:   # it helps to detect inapplicable dependency modes.  For instance
                   3769:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3770:   # side effect of compilation, but ICC will put the dependencies in
                   3771:   # the current directory while Tru64 will put them in the object
                   3772:   # directory.
                   3773:   mkdir sub
1.1       misho    3774: 
                   3775:   am_cv_CC_dependencies_compiler_type=none
                   3776:   if test "$am_compiler_list" = ""; then
                   3777:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3778:   fi
1.1.1.2   misho    3779:   am__universal=false
                   3780:   case " $depcc " in #(
                   3781:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3782:      esac
                   3783: 
1.1       misho    3784:   for depmode in $am_compiler_list; do
1.1.1.2   misho    3785:     # Setup a source with many dependencies, because some compilers
                   3786:     # like to wrap large dependency lists on column 80 (with \), and
                   3787:     # we should not choose a depcomp mode which is confused by this.
                   3788:     #
1.1       misho    3789:     # We need to recreate these files for each test, as the compiler may
                   3790:     # overwrite some of them when testing with obscure command lines.
                   3791:     # This happens at least with the AIX C compiler.
1.1.1.2   misho    3792:     : > sub/conftest.c
                   3793:     for i in 1 2 3 4 5 6; do
                   3794:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3795:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3796:       # Solaris 8's {/usr,}/bin/sh.
                   3797:       touch sub/conftst$i.h
                   3798:     done
                   3799:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.1       misho    3800: 
1.1.1.2   misho    3801:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3802:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3803:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3804:     # versions had trouble with output in subdirs
                   3805:     am__obj=sub/conftest.${OBJEXT-o}
                   3806:     am__minus_obj="-o $am__obj"
1.1       misho    3807:     case $depmode in
1.1.1.2   misho    3808:     gcc)
                   3809:       # This depmode causes a compiler race in universal mode.
                   3810:       test "$am__universal" = false || continue
                   3811:       ;;
1.1       misho    3812:     nosideeffect)
                   3813:       # after this tag, mechanisms are not by side-effect, so they'll
                   3814:       # only be used when explicitly requested
                   3815:       if test "x$enable_dependency_tracking" = xyes; then
                   3816:        continue
                   3817:       else
                   3818:        break
                   3819:       fi
                   3820:       ;;
1.1.1.2   misho    3821:     msvisualcpp | msvcmsys)
                   3822:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3823:       # not run yet.  These depmodes are late enough in the game, and
                   3824:       # so weak that their functioning should not be impacted.
                   3825:       am__obj=conftest.${OBJEXT-o}
                   3826:       am__minus_obj=
                   3827:       ;;
1.1       misho    3828:     none) break ;;
                   3829:     esac
                   3830:     if depmode=$depmode \
1.1.1.2   misho    3831:        source=sub/conftest.c object=$am__obj \
                   3832:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3833:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3834:          >/dev/null 2>conftest.err &&
                   3835:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3836:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3837:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1       misho    3838:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.1.1.2   misho    3839:       # icc doesn't choke on unknown options, it will just issue warnings
                   3840:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3841:       # that says an option was ignored or not supported.
                   3842:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3843:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3844:       # The diagnosis changed in icc 8.0:
                   3845:       #   icc: Command line remark: option '-MP' not supported
                   3846:       if (grep 'ignoring option' conftest.err ||
                   3847:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3848:         am_cv_CC_dependencies_compiler_type=$depmode
                   3849:         break
                   3850:       fi
1.1       misho    3851:     fi
                   3852:   done
                   3853: 
                   3854:   cd ..
                   3855:   rm -rf conftest.dir
                   3856: else
                   3857:   am_cv_CC_dependencies_compiler_type=none
                   3858: fi
                   3859: 
                   3860: fi
1.1.1.2   misho    3861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3862: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.1       misho    3863: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3864: 
1.1.1.2   misho    3865:  if
                   3866:   test "x$enable_dependency_tracking" != xno \
                   3867:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3868:   am__fastdepCC_TRUE=
                   3869:   am__fastdepCC_FALSE='#'
1.1       misho    3870: else
1.1.1.2   misho    3871:   am__fastdepCC_TRUE='#'
                   3872:   am__fastdepCC_FALSE=
1.1       misho    3873: fi
                   3874: 
                   3875: 
                   3876: 
                   3877: 
1.1.1.2   misho    3878: ac_ext=c
                   3879: ac_cpp='$CPP $CPPFLAGS'
                   3880: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3881: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3882: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   3884: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   3885: # On Suns, sometimes $CPP names a directory.
                   3886: if test -n "$CPP" && test -d "$CPP"; then
                   3887:   CPP=
                   3888: fi
                   3889: if test -z "$CPP"; then
                   3890:   if ${ac_cv_prog_CPP+:} false; then :
                   3891:   $as_echo_n "(cached) " >&6
1.1       misho    3892: else
1.1.1.2   misho    3893:       # Double quotes because CPP needs to be expanded
                   3894:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3895:     do
                   3896:       ac_preproc_ok=false
                   3897: for ac_c_preproc_warn_flag in '' yes
1.1       misho    3898: do
1.1.1.2   misho    3899:   # Use a header file that comes with gcc, so configuring glibc
                   3900:   # with a fresh cross-compiler works.
                   3901:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3902:   # <limits.h> exists even on freestanding compilers.
                   3903:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3904:   # not just through cpp. "Syntax error" is here to catch this case.
                   3905:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3906: /* end confdefs.h.  */
                   3907: #ifdef __STDC__
                   3908: # include <limits.h>
                   3909: #else
                   3910: # include <assert.h>
                   3911: #endif
                   3912:                     Syntax error
                   3913: _ACEOF
                   3914: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3915: 
                   3916: else
1.1.1.2   misho    3917:   # Broken: fails on valid input.
                   3918: continue
1.1       misho    3919: fi
1.1.1.2   misho    3920: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3921: 
1.1.1.2   misho    3922:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1       misho    3923:   # can be detected and how.
1.1.1.2   misho    3924:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3925: /* end confdefs.h.  */
                   3926: #include <ac_nonexistent.h>
                   3927: _ACEOF
1.1.1.2   misho    3928: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3929:   # Broken: success on invalid input.
                   3930: continue
                   3931: else
                   3932:   # Passes both tests.
                   3933: ac_preproc_ok=:
                   3934: break
                   3935: fi
1.1.1.2   misho    3936: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3937: 
                   3938: done
                   3939: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2   misho    3940: rm -f conftest.i conftest.err conftest.$ac_ext
                   3941: if $ac_preproc_ok; then :
1.1       misho    3942:   break
                   3943: fi
                   3944: 
                   3945:     done
                   3946:     ac_cv_prog_CPP=$CPP
                   3947: 
                   3948: fi
                   3949:   CPP=$ac_cv_prog_CPP
                   3950: else
                   3951:   ac_cv_prog_CPP=$CPP
                   3952: fi
1.1.1.2   misho    3953: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   3954: $as_echo "$CPP" >&6; }
1.1       misho    3955: ac_preproc_ok=false
                   3956: for ac_c_preproc_warn_flag in '' yes
                   3957: do
                   3958:   # Use a header file that comes with gcc, so configuring glibc
                   3959:   # with a fresh cross-compiler works.
                   3960:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3961:   # <limits.h> exists even on freestanding compilers.
                   3962:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3963:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.2   misho    3964:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3965: /* end confdefs.h.  */
                   3966: #ifdef __STDC__
                   3967: # include <limits.h>
                   3968: #else
                   3969: # include <assert.h>
                   3970: #endif
1.1.1.2   misho    3971:                     Syntax error
1.1       misho    3972: _ACEOF
1.1.1.2   misho    3973: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3974: 
1.1.1.2   misho    3975: else
1.1       misho    3976:   # Broken: fails on valid input.
                   3977: continue
                   3978: fi
1.1.1.2   misho    3979: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3980: 
1.1.1.2   misho    3981:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1       misho    3982:   # can be detected and how.
1.1.1.2   misho    3983:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3984: /* end confdefs.h.  */
                   3985: #include <ac_nonexistent.h>
                   3986: _ACEOF
1.1.1.2   misho    3987: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3988:   # Broken: success on invalid input.
                   3989: continue
                   3990: else
                   3991:   # Passes both tests.
                   3992: ac_preproc_ok=:
                   3993: break
                   3994: fi
1.1.1.2   misho    3995: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3996: 
                   3997: done
                   3998: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2   misho    3999: rm -f conftest.i conftest.err conftest.$ac_ext
                   4000: if $ac_preproc_ok; then :
                   4001: 
1.1       misho    4002: else
1.1.1.2   misho    4003:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4004: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4005: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4006: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    4007: fi
                   4008: 
                   4009: ac_ext=c
                   4010: ac_cpp='$CPP $CPPFLAGS'
                   4011: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4012: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4013: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4014: 
                   4015: 
1.1.1.2   misho    4016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4017: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4018: if ${ac_cv_path_GREP+:} false; then :
                   4019:   $as_echo_n "(cached) " >&6
                   4020: else
                   4021:   if test -z "$GREP"; then
                   4022:   ac_path_GREP_found=false
                   4023:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4024:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4025: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4026: do
                   4027:   IFS=$as_save_IFS
                   4028:   test -z "$as_dir" && as_dir=.
                   4029:     for ac_prog in grep ggrep; do
                   4030:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4031:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   4032:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   4033: # Check for GNU ac_path_GREP and select it if it is found.
                   4034:   # Check for GNU $ac_path_GREP
                   4035: case `"$ac_path_GREP" --version 2>&1` in
                   4036: *GNU*)
                   4037:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4038: *)
                   4039:   ac_count=0
                   4040:   $as_echo_n 0123456789 >"conftest.in"
                   4041:   while :
                   4042:   do
                   4043:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4044:     mv "conftest.tmp" "conftest.in"
                   4045:     cp "conftest.in" "conftest.nl"
                   4046:     $as_echo 'GREP' >> "conftest.nl"
                   4047:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4048:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4049:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4050:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4051:       # Best one so far, save it but keep looking for a better one
                   4052:       ac_cv_path_GREP="$ac_path_GREP"
                   4053:       ac_path_GREP_max=$ac_count
                   4054:     fi
                   4055:     # 10*(2^10) chars as input seems more than enough
                   4056:     test $ac_count -gt 10 && break
                   4057:   done
                   4058:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4059: esac
                   4060: 
                   4061:       $ac_path_GREP_found && break 3
                   4062:     done
                   4063:   done
                   4064:   done
                   4065: IFS=$as_save_IFS
                   4066:   if test -z "$ac_cv_path_GREP"; then
                   4067:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4068:   fi
                   4069: else
                   4070:   ac_cv_path_GREP=$GREP
                   4071: fi
                   4072: 
                   4073: fi
                   4074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4075: $as_echo "$ac_cv_path_GREP" >&6; }
                   4076:  GREP="$ac_cv_path_GREP"
                   4077: 
                   4078: 
                   4079: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4080: $as_echo_n "checking for egrep... " >&6; }
                   4081: if ${ac_cv_path_EGREP+:} false; then :
                   4082:   $as_echo_n "(cached) " >&6
1.1       misho    4083: else
1.1.1.2   misho    4084:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4085:    then ac_cv_path_EGREP="$GREP -E"
                   4086:    else
                   4087:      if test -z "$EGREP"; then
                   4088:   ac_path_EGREP_found=false
                   4089:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4090:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4091: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4092: do
                   4093:   IFS=$as_save_IFS
                   4094:   test -z "$as_dir" && as_dir=.
                   4095:     for ac_prog in egrep; do
                   4096:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4097:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4098:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   4099: # Check for GNU ac_path_EGREP and select it if it is found.
                   4100:   # Check for GNU $ac_path_EGREP
                   4101: case `"$ac_path_EGREP" --version 2>&1` in
                   4102: *GNU*)
                   4103:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4104: *)
                   4105:   ac_count=0
                   4106:   $as_echo_n 0123456789 >"conftest.in"
                   4107:   while :
                   4108:   do
                   4109:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4110:     mv "conftest.tmp" "conftest.in"
                   4111:     cp "conftest.in" "conftest.nl"
                   4112:     $as_echo 'EGREP' >> "conftest.nl"
                   4113:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4114:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4115:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4116:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4117:       # Best one so far, save it but keep looking for a better one
                   4118:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4119:       ac_path_EGREP_max=$ac_count
1.1       misho    4120:     fi
1.1.1.2   misho    4121:     # 10*(2^10) chars as input seems more than enough
                   4122:     test $ac_count -gt 10 && break
                   4123:   done
                   4124:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4125: esac
                   4126: 
                   4127:       $ac_path_EGREP_found && break 3
                   4128:     done
                   4129:   done
                   4130:   done
                   4131: IFS=$as_save_IFS
                   4132:   if test -z "$ac_cv_path_EGREP"; then
                   4133:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4134:   fi
                   4135: else
                   4136:   ac_cv_path_EGREP=$EGREP
1.1       misho    4137: fi
                   4138: 
1.1.1.2   misho    4139:    fi
                   4140: fi
                   4141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4142: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4143:  EGREP="$ac_cv_path_EGREP"
1.1       misho    4144: 
1.1.1.2   misho    4145: 
                   4146: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4147: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4148: if ${ac_cv_header_stdc+:} false; then :
                   4149:   $as_echo_n "(cached) " >&6
1.1       misho    4150: else
1.1.1.2   misho    4151:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4152: /* end confdefs.h.  */
                   4153: #include <stdlib.h>
                   4154: #include <stdarg.h>
                   4155: #include <string.h>
                   4156: #include <float.h>
                   4157: 
                   4158: int
                   4159: main ()
                   4160: {
                   4161: 
                   4162:   ;
                   4163:   return 0;
                   4164: }
                   4165: _ACEOF
1.1.1.2   misho    4166: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    4167:   ac_cv_header_stdc=yes
                   4168: else
1.1.1.2   misho    4169:   ac_cv_header_stdc=no
1.1       misho    4170: fi
1.1.1.2   misho    4171: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    4172: 
                   4173: if test $ac_cv_header_stdc = yes; then
                   4174:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.2   misho    4175:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4176: /* end confdefs.h.  */
                   4177: #include <string.h>
                   4178: 
                   4179: _ACEOF
                   4180: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    4181:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4182: 
1.1       misho    4183: else
                   4184:   ac_cv_header_stdc=no
                   4185: fi
                   4186: rm -f conftest*
                   4187: 
                   4188: fi
                   4189: 
                   4190: if test $ac_cv_header_stdc = yes; then
                   4191:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.2   misho    4192:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4193: /* end confdefs.h.  */
                   4194: #include <stdlib.h>
                   4195: 
                   4196: _ACEOF
                   4197: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    4198:   $EGREP "free" >/dev/null 2>&1; then :
                   4199: 
1.1       misho    4200: else
                   4201:   ac_cv_header_stdc=no
                   4202: fi
                   4203: rm -f conftest*
                   4204: 
                   4205: fi
                   4206: 
                   4207: if test $ac_cv_header_stdc = yes; then
                   4208:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.2   misho    4209:   if test "$cross_compiling" = yes; then :
1.1       misho    4210:   :
                   4211: else
1.1.1.2   misho    4212:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4213: /* end confdefs.h.  */
                   4214: #include <ctype.h>
1.1.1.2   misho    4215: #include <stdlib.h>
1.1       misho    4216: #if ((' ' & 0x0FF) == 0x020)
                   4217: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4218: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4219: #else
                   4220: # define ISLOWER(c) \
1.1.1.2   misho    4221:                   (('a' <= (c) && (c) <= 'i') \
                   4222:                     || ('j' <= (c) && (c) <= 'r') \
                   4223:                     || ('s' <= (c) && (c) <= 'z'))
1.1       misho    4224: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4225: #endif
                   4226: 
                   4227: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4228: int
                   4229: main ()
                   4230: {
                   4231:   int i;
                   4232:   for (i = 0; i < 256; i++)
                   4233:     if (XOR (islower (i), ISLOWER (i))
1.1.1.2   misho    4234:        || toupper (i) != TOUPPER (i))
                   4235:       return 2;
                   4236:   return 0;
1.1       misho    4237: }
                   4238: _ACEOF
1.1.1.2   misho    4239: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    4240: 
1.1.1.2   misho    4241: else
                   4242:   ac_cv_header_stdc=no
1.1       misho    4243: fi
1.1.1.2   misho    4244: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4245:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    4246: fi
1.1.1.2   misho    4247: 
1.1       misho    4248: fi
                   4249: fi
1.1.1.2   misho    4250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4251: $as_echo "$ac_cv_header_stdc" >&6; }
1.1       misho    4252: if test $ac_cv_header_stdc = yes; then
                   4253: 
1.1.1.2   misho    4254: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    4255: 
                   4256: fi
                   4257: 
                   4258: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.1.1.2   misho    4259: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4260:                  inttypes.h stdint.h unistd.h
                   4261: do :
                   4262:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4263: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   4264: "
                   4265: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4266:   cat >>confdefs.h <<_ACEOF
                   4267: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4268: _ACEOF
1.1       misho    4269: 
1.1.1.2   misho    4270: fi
1.1       misho    4271: 
1.1.1.2   misho    4272: done
1.1       misho    4273: 
                   4274: 
                   4275: 
1.1.1.2   misho    4276:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
                   4277: if test "x$ac_cv_header_minix_config_h" = xyes; then :
                   4278:   MINIX=yes
                   4279: else
                   4280:   MINIX=
                   4281: fi
1.1       misho    4282: 
                   4283: 
1.1.1.2   misho    4284:   if test "$MINIX" = yes; then
1.1       misho    4285: 
1.1.1.2   misho    4286: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
1.1       misho    4287: 
                   4288: 
1.1.1.2   misho    4289: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
1.1       misho    4290: 
                   4291: 
1.1.1.2   misho    4292: $as_echo "#define _MINIX 1" >>confdefs.h
1.1       misho    4293: 
1.1.1.2   misho    4294:   fi
1.1       misho    4295: 
                   4296: 
1.1.1.2   misho    4297:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
                   4298: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
                   4299: if ${ac_cv_safe_to_define___extensions__+:} false; then :
                   4300:   $as_echo_n "(cached) " >&6
1.1       misho    4301: else
1.1.1.2   misho    4302:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4303: /* end confdefs.h.  */
                   4304: 
1.1.1.2   misho    4305: #        define __EXTENSIONS__ 1
                   4306:          $ac_includes_default
                   4307: int
                   4308: main ()
                   4309: {
1.1       misho    4310: 
1.1.1.2   misho    4311:   ;
                   4312:   return 0;
                   4313: }
1.1       misho    4314: _ACEOF
1.1.1.2   misho    4315: if ac_fn_c_try_compile "$LINENO"; then :
                   4316:   ac_cv_safe_to_define___extensions__=yes
1.1       misho    4317: else
1.1.1.2   misho    4318:   ac_cv_safe_to_define___extensions__=no
1.1       misho    4319: fi
1.1.1.2   misho    4320: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    4321: fi
1.1.1.2   misho    4322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
                   4323: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   4324:   test $ac_cv_safe_to_define___extensions__ = yes &&
                   4325:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
1.1       misho    4326: 
1.1.1.2   misho    4327:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
1.1       misho    4328: 
1.1.1.2   misho    4329:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
1.1       misho    4330: 
1.1.1.2   misho    4331:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
1.1       misho    4332: 
1.1.1.2   misho    4333:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
1.1       misho    4334: 
                   4335: 
1.1.1.2   misho    4336: case `pwd` in
                   4337:   *\ * | *\    *)
                   4338:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4339: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4340: esac
1.1       misho    4341: 
                   4342: 
                   4343: 
1.1.1.2   misho    4344: macro_version='2.4'
                   4345: macro_revision='1.3293'
1.1       misho    4346: 
                   4347: 
                   4348: 
                   4349: 
                   4350: 
                   4351: 
                   4352: 
                   4353: 
                   4354: 
                   4355: 
                   4356: 
                   4357: 
                   4358: 
1.1.1.2   misho    4359: ltmain="$ac_aux_dir/ltmain.sh"
1.1       misho    4360: 
1.1.1.2   misho    4361: # Backslashify metacharacters that are still active within
                   4362: # double-quoted strings.
                   4363: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.1       misho    4364: 
1.1.1.2   misho    4365: # Same as above, but do not quote variable references.
                   4366: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.1       misho    4367: 
1.1.1.2   misho    4368: # Sed substitution to delay expansion of an escaped shell variable in a
                   4369: # double_quote_subst'ed string.
                   4370: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.1       misho    4371: 
1.1.1.2   misho    4372: # Sed substitution to delay expansion of an escaped single quote.
                   4373: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.1       misho    4374: 
1.1.1.2   misho    4375: # Sed substitution to avoid accidental globbing in evaled expressions
                   4376: no_glob_subst='s/\*/\\\*/g'
1.1       misho    4377: 
1.1.1.2   misho    4378: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4379: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4380: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.1       misho    4381: 
1.1.1.2   misho    4382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   4383: $as_echo_n "checking how to print strings... " >&6; }
                   4384: # Test print first, because it will be a builtin if present.
                   4385: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4386:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4387:   ECHO='print -r --'
                   4388: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4389:   ECHO='printf %s\n'
                   4390: else
                   4391:   # Use this function as a fallback that always works.
                   4392:   func_fallback_echo ()
                   4393:   {
                   4394:     eval 'cat <<_LTECHO_EOF
                   4395: $1
                   4396: _LTECHO_EOF'
                   4397:   }
                   4398:   ECHO='func_fallback_echo'
1.1       misho    4399: fi
                   4400: 
1.1.1.2   misho    4401: # func_echo_all arg...
                   4402: # Invoke $ECHO with all args, space-separated.
                   4403: func_echo_all ()
1.1       misho    4404: {
1.1.1.2   misho    4405:     $ECHO ""
1.1       misho    4406: }
                   4407: 
1.1.1.2   misho    4408: case "$ECHO" in
                   4409:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   4410: $as_echo "printf" >&6; } ;;
                   4411:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   4412: $as_echo "print -r" >&6; } ;;
                   4413:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   4414: $as_echo "cat" >&6; } ;;
                   4415: esac
1.1       misho    4416: 
                   4417: 
                   4418: 
                   4419: 
                   4420: 
                   4421: 
                   4422: 
                   4423: 
                   4424: 
                   4425: 
                   4426: 
                   4427: 
                   4428: 
1.1.1.2   misho    4429: 
                   4430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4431: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   4432: if ${ac_cv_path_SED+:} false; then :
                   4433:   $as_echo_n "(cached) " >&6
                   4434: else
                   4435:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4436:      for ac_i in 1 2 3 4 5 6 7; do
                   4437:        ac_script="$ac_script$as_nl$ac_script"
                   4438:      done
                   4439:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4440:      { ac_script=; unset ac_script;}
                   4441:      if test -z "$SED"; then
                   4442:   ac_path_SED_found=false
                   4443:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4444:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4445: for as_dir in $PATH
                   4446: do
                   4447:   IFS=$as_save_IFS
                   4448:   test -z "$as_dir" && as_dir=.
                   4449:     for ac_prog in sed gsed; do
                   4450:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4451:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   4452:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   4453: # Check for GNU ac_path_SED and select it if it is found.
                   4454:   # Check for GNU $ac_path_SED
                   4455: case `"$ac_path_SED" --version 2>&1` in
                   4456: *GNU*)
                   4457:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4458: *)
                   4459:   ac_count=0
                   4460:   $as_echo_n 0123456789 >"conftest.in"
                   4461:   while :
                   4462:   do
                   4463:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4464:     mv "conftest.tmp" "conftest.in"
                   4465:     cp "conftest.in" "conftest.nl"
                   4466:     $as_echo '' >> "conftest.nl"
                   4467:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4468:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4469:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4470:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4471:       # Best one so far, save it but keep looking for a better one
                   4472:       ac_cv_path_SED="$ac_path_SED"
                   4473:       ac_path_SED_max=$ac_count
1.1       misho    4474:     fi
1.1.1.2   misho    4475:     # 10*(2^10) chars as input seems more than enough
                   4476:     test $ac_count -gt 10 && break
                   4477:   done
                   4478:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4479: esac
1.1       misho    4480: 
1.1.1.2   misho    4481:       $ac_path_SED_found && break 3
                   4482:     done
                   4483:   done
                   4484:   done
                   4485: IFS=$as_save_IFS
                   4486:   if test -z "$ac_cv_path_SED"; then
                   4487:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4488:   fi
1.1       misho    4489: else
1.1.1.2   misho    4490:   ac_cv_path_SED=$SED
1.1       misho    4491: fi
                   4492: 
1.1.1.2   misho    4493: fi
                   4494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4495: $as_echo "$ac_cv_path_SED" >&6; }
                   4496:  SED="$ac_cv_path_SED"
                   4497:   rm -f conftest.sed
1.1       misho    4498: 
1.1.1.2   misho    4499: test -z "$SED" && SED=sed
                   4500: Xsed="$SED -e 1s/^X//"
1.1       misho    4501: 
                   4502: 
                   4503: 
                   4504: 
                   4505: 
                   4506: 
                   4507: 
                   4508: 
                   4509: 
                   4510: 
                   4511: 
1.1.1.2   misho    4512: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4513: $as_echo_n "checking for fgrep... " >&6; }
                   4514: if ${ac_cv_path_FGREP+:} false; then :
                   4515:   $as_echo_n "(cached) " >&6
                   4516: else
                   4517:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4518:    then ac_cv_path_FGREP="$GREP -F"
                   4519:    else
                   4520:      if test -z "$FGREP"; then
                   4521:   ac_path_FGREP_found=false
                   4522:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4523:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4524: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4525: do
                   4526:   IFS=$as_save_IFS
                   4527:   test -z "$as_dir" && as_dir=.
                   4528:     for ac_prog in fgrep; do
                   4529:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4530:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4531:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   4532: # Check for GNU ac_path_FGREP and select it if it is found.
                   4533:   # Check for GNU $ac_path_FGREP
                   4534: case `"$ac_path_FGREP" --version 2>&1` in
                   4535: *GNU*)
                   4536:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4537: *)
                   4538:   ac_count=0
                   4539:   $as_echo_n 0123456789 >"conftest.in"
                   4540:   while :
                   4541:   do
                   4542:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4543:     mv "conftest.tmp" "conftest.in"
                   4544:     cp "conftest.in" "conftest.nl"
                   4545:     $as_echo 'FGREP' >> "conftest.nl"
                   4546:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4547:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4548:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4549:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4550:       # Best one so far, save it but keep looking for a better one
                   4551:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4552:       ac_path_FGREP_max=$ac_count
                   4553:     fi
                   4554:     # 10*(2^10) chars as input seems more than enough
                   4555:     test $ac_count -gt 10 && break
                   4556:   done
                   4557:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4558: esac
                   4559: 
                   4560:       $ac_path_FGREP_found && break 3
                   4561:     done
                   4562:   done
                   4563:   done
                   4564: IFS=$as_save_IFS
                   4565:   if test -z "$ac_cv_path_FGREP"; then
                   4566:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    4567:   fi
                   4568: else
1.1.1.2   misho    4569:   ac_cv_path_FGREP=$FGREP
1.1       misho    4570: fi
                   4571: 
1.1.1.2   misho    4572:    fi
1.1       misho    4573: fi
1.1.1.2   misho    4574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4575: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4576:  FGREP="$ac_cv_path_FGREP"
1.1       misho    4577: 
                   4578: 
1.1.1.2   misho    4579: test -z "$GREP" && GREP=grep
1.1       misho    4580: 
                   4581: 
                   4582: 
                   4583: 
                   4584: 
                   4585: 
                   4586: 
                   4587: 
                   4588: 
                   4589: 
                   4590: 
                   4591: 
                   4592: 
                   4593: 
                   4594: 
1.1.1.2   misho    4595: 
                   4596: 
                   4597: 
                   4598: 
                   4599: # Check whether --with-gnu-ld was given.
                   4600: if test "${with_gnu_ld+set}" = set; then :
                   4601:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   4602: else
                   4603:   with_gnu_ld=no
                   4604: fi
                   4605: 
                   4606: ac_prog=ld
                   4607: if test "$GCC" = yes; then
                   4608:   # Check if gcc -print-prog-name=ld gives a path.
                   4609:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4610: $as_echo_n "checking for ld used by $CC... " >&6; }
                   4611:   case $host in
                   4612:   *-*-mingw*)
                   4613:     # gcc leaves a trailing carriage return which upsets mingw
                   4614:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4615:   *)
                   4616:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4617:   esac
                   4618:   case $ac_prog in
                   4619:     # Accept absolute paths.
                   4620:     [\\/]* | ?:[\\/]*)
                   4621:       re_direlt='/[^/][^/]*/\.\./'
                   4622:       # Canonicalize the pathname of ld
                   4623:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4624:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4625:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4626:       done
                   4627:       test -z "$LD" && LD="$ac_prog"
                   4628:       ;;
                   4629:   "")
                   4630:     # If it fails, then pretend we aren't using GCC.
                   4631:     ac_prog=ld
                   4632:     ;;
                   4633:   *)
                   4634:     # If it is relative, then search for the first ld in PATH.
                   4635:     with_gnu_ld=unknown
                   4636:     ;;
                   4637:   esac
                   4638: elif test "$with_gnu_ld" = yes; then
                   4639:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4640: $as_echo_n "checking for GNU ld... " >&6; }
                   4641: else
                   4642:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4643: $as_echo_n "checking for non-GNU ld... " >&6; }
                   4644: fi
                   4645: if ${lt_cv_path_LD+:} false; then :
                   4646:   $as_echo_n "(cached) " >&6
                   4647: else
                   4648:   if test -z "$LD"; then
                   4649:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4650:   for ac_dir in $PATH; do
                   4651:     IFS="$lt_save_ifs"
                   4652:     test -z "$ac_dir" && ac_dir=.
                   4653:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4654:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4655:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4656:       # but apparently some variants of GNU ld only accept -v.
                   4657:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4658:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4659:       *GNU* | *'with BFD'*)
                   4660:        test "$with_gnu_ld" != no && break
                   4661:        ;;
                   4662:       *)
                   4663:        test "$with_gnu_ld" != yes && break
                   4664:        ;;
                   4665:       esac
                   4666:     fi
                   4667:   done
                   4668:   IFS="$lt_save_ifs"
                   4669: else
                   4670:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4671: fi
                   4672: fi
                   4673: 
                   4674: LD="$lt_cv_path_LD"
                   4675: if test -n "$LD"; then
                   4676:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4677: $as_echo "$LD" >&6; }
                   4678: else
                   4679:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4680: $as_echo "no" >&6; }
                   4681: fi
                   4682: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4684: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   4685: if ${lt_cv_prog_gnu_ld+:} false; then :
                   4686:   $as_echo_n "(cached) " >&6
                   4687: else
                   4688:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4689: case `$LD -v 2>&1 </dev/null` in
                   4690: *GNU* | *'with BFD'*)
                   4691:   lt_cv_prog_gnu_ld=yes
                   4692:   ;;
                   4693: *)
                   4694:   lt_cv_prog_gnu_ld=no
                   4695:   ;;
                   4696: esac
                   4697: fi
                   4698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4699: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   4700: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4701: 
                   4702: 
                   4703: 
                   4704: 
                   4705: 
                   4706: 
                   4707: 
                   4708: 
                   4709: 
                   4710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4711: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   4712: if ${lt_cv_path_NM+:} false; then :
                   4713:   $as_echo_n "(cached) " >&6
                   4714: else
                   4715:   if test -n "$NM"; then
                   4716:   # Let the user override the test.
                   4717:   lt_cv_path_NM="$NM"
                   4718: else
                   4719:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4720:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4721:     lt_nm_to_check="$lt_nm_to_check nm"
                   4722:   fi
                   4723:   for lt_tmp_nm in $lt_nm_to_check; do
                   4724:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4725:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4726:       IFS="$lt_save_ifs"
                   4727:       test -z "$ac_dir" && ac_dir=.
                   4728:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4729:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4730:        # Check to see if the nm accepts a BSD-compat flag.
                   4731:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4732:        #   nm: unknown option "B" ignored
                   4733:        # Tru64's nm complains that /dev/null is an invalid object file
                   4734:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4735:        */dev/null* | *'Invalid file or object type'*)
                   4736:          lt_cv_path_NM="$tmp_nm -B"
                   4737:          break
                   4738:          ;;
                   4739:        *)
                   4740:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4741:          */dev/null*)
                   4742:            lt_cv_path_NM="$tmp_nm -p"
                   4743:            break
                   4744:            ;;
                   4745:          *)
                   4746:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4747:            continue # so that we can try to find one that supports BSD flags
                   4748:            ;;
                   4749:          esac
                   4750:          ;;
                   4751:        esac
                   4752:       fi
                   4753:     done
                   4754:     IFS="$lt_save_ifs"
                   4755:   done
                   4756:   : ${lt_cv_path_NM=no}
                   4757: fi
                   4758: fi
                   4759: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   4760: $as_echo "$lt_cv_path_NM" >&6; }
                   4761: if test "$lt_cv_path_NM" != "no"; then
                   4762:   NM="$lt_cv_path_NM"
                   4763: else
                   4764:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4765:   if test -n "$DUMPBIN"; then :
                   4766:     # Let the user override the test.
                   4767:   else
                   4768:     if test -n "$ac_tool_prefix"; then
                   4769:   for ac_prog in dumpbin "link -dump"
                   4770:   do
                   4771:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4772: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4774: $as_echo_n "checking for $ac_word... " >&6; }
                   4775: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   4776:   $as_echo_n "(cached) " >&6
                   4777: else
                   4778:   if test -n "$DUMPBIN"; then
                   4779:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4780: else
                   4781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4782: for as_dir in $PATH
                   4783: do
                   4784:   IFS=$as_save_IFS
                   4785:   test -z "$as_dir" && as_dir=.
                   4786:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4787:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4788:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4789:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4790:     break 2
                   4791:   fi
                   4792: done
                   4793:   done
                   4794: IFS=$as_save_IFS
                   4795: 
                   4796: fi
                   4797: fi
                   4798: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4799: if test -n "$DUMPBIN"; then
                   4800:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   4801: $as_echo "$DUMPBIN" >&6; }
                   4802: else
                   4803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4804: $as_echo "no" >&6; }
                   4805: fi
                   4806: 
                   4807: 
                   4808:     test -n "$DUMPBIN" && break
                   4809:   done
                   4810: fi
                   4811: if test -z "$DUMPBIN"; then
                   4812:   ac_ct_DUMPBIN=$DUMPBIN
                   4813:   for ac_prog in dumpbin "link -dump"
                   4814: do
                   4815:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4816: set dummy $ac_prog; ac_word=$2
                   4817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4818: $as_echo_n "checking for $ac_word... " >&6; }
                   4819: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   4820:   $as_echo_n "(cached) " >&6
                   4821: else
                   4822:   if test -n "$ac_ct_DUMPBIN"; then
                   4823:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4824: else
                   4825: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4826: for as_dir in $PATH
                   4827: do
                   4828:   IFS=$as_save_IFS
                   4829:   test -z "$as_dir" && as_dir=.
                   4830:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4831:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4832:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4833:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4834:     break 2
                   4835:   fi
                   4836: done
                   4837:   done
                   4838: IFS=$as_save_IFS
                   4839: 
                   4840: fi
                   4841: fi
                   4842: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4843: if test -n "$ac_ct_DUMPBIN"; then
                   4844:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   4845: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   4846: else
                   4847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4848: $as_echo "no" >&6; }
                   4849: fi
                   4850: 
                   4851: 
                   4852:   test -n "$ac_ct_DUMPBIN" && break
                   4853: done
                   4854: 
                   4855:   if test "x$ac_ct_DUMPBIN" = x; then
                   4856:     DUMPBIN=":"
                   4857:   else
                   4858:     case $cross_compiling:$ac_tool_warned in
                   4859: yes:)
                   4860: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4861: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4862: ac_tool_warned=yes ;;
                   4863: esac
                   4864:     DUMPBIN=$ac_ct_DUMPBIN
                   4865:   fi
                   4866: fi
                   4867: 
                   4868:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4869:     *COFF*)
                   4870:       DUMPBIN="$DUMPBIN -symbols"
                   4871:       ;;
                   4872:     *)
                   4873:       DUMPBIN=:
                   4874:       ;;
                   4875:     esac
                   4876:   fi
                   4877: 
                   4878:   if test "$DUMPBIN" != ":"; then
                   4879:     NM="$DUMPBIN"
                   4880:   fi
                   4881: fi
                   4882: test -z "$NM" && NM=nm
                   4883: 
                   4884: 
                   4885: 
                   4886: 
                   4887: 
                   4888: 
                   4889: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   4890: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   4891: if ${lt_cv_nm_interface+:} false; then :
                   4892:   $as_echo_n "(cached) " >&6
                   4893: else
                   4894:   lt_cv_nm_interface="BSD nm"
                   4895:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4896:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4897:   (eval "$ac_compile" 2>conftest.err)
                   4898:   cat conftest.err >&5
                   4899:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4900:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4901:   cat conftest.err >&5
                   4902:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4903:   cat conftest.out >&5
                   4904:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4905:     lt_cv_nm_interface="MS dumpbin"
                   4906:   fi
                   4907:   rm -f conftest*
                   4908: fi
                   4909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   4910: $as_echo "$lt_cv_nm_interface" >&6; }
                   4911: 
                   4912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   4913: $as_echo_n "checking whether ln -s works... " >&6; }
                   4914: LN_S=$as_ln_s
                   4915: if test "$LN_S" = "ln -s"; then
                   4916:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4917: $as_echo "yes" >&6; }
                   4918: else
                   4919:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   4920: $as_echo "no, using $LN_S" >&6; }
                   4921: fi
                   4922: 
                   4923: # find the maximum length of command line arguments
                   4924: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   4925: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   4926: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   4927:   $as_echo_n "(cached) " >&6
                   4928: else
                   4929:     i=0
                   4930:   teststring="ABCD"
                   4931: 
                   4932:   case $build_os in
                   4933:   msdosdjgpp*)
                   4934:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4935:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4936:     # during glob expansion).  Even if it were fixed, the result of this
                   4937:     # check would be larger than it should be.
                   4938:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4939:     ;;
                   4940: 
                   4941:   gnu*)
                   4942:     # Under GNU Hurd, this test is not required because there is
                   4943:     # no limit to the length of command line arguments.
                   4944:     # Libtool will interpret -1 as no limit whatsoever
                   4945:     lt_cv_sys_max_cmd_len=-1;
                   4946:     ;;
                   4947: 
                   4948:   cygwin* | mingw* | cegcc*)
                   4949:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4950:     # about 5 minutes as the teststring grows exponentially.
                   4951:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4952:     # you end up with a "frozen" computer, even though with patience
                   4953:     # the test eventually succeeds (with a max line length of 256k).
                   4954:     # Instead, let's just punt: use the minimum linelength reported by
                   4955:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4956:     lt_cv_sys_max_cmd_len=8192;
                   4957:     ;;
                   4958: 
                   4959:   mint*)
                   4960:     # On MiNT this can take a long time and run out of memory.
                   4961:     lt_cv_sys_max_cmd_len=8192;
                   4962:     ;;
                   4963: 
                   4964:   amigaos*)
                   4965:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4966:     # So we just punt and use a minimum line length of 8192.
                   4967:     lt_cv_sys_max_cmd_len=8192;
                   4968:     ;;
                   4969: 
                   4970:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4971:     # This has been around since 386BSD, at least.  Likely further.
                   4972:     if test -x /sbin/sysctl; then
                   4973:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4974:     elif test -x /usr/sbin/sysctl; then
                   4975:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4976:     else
                   4977:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4978:     fi
                   4979:     # And add a safety zone
                   4980:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4981:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4982:     ;;
                   4983: 
                   4984:   interix*)
                   4985:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4986:     lt_cv_sys_max_cmd_len=196608
                   4987:     ;;
                   4988: 
                   4989:   osf*)
                   4990:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4991:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4992:     # nice to cause kernel panics so lets avoid the loop below.
                   4993:     # First set a reasonable default.
                   4994:     lt_cv_sys_max_cmd_len=16384
                   4995:     #
                   4996:     if test -x /sbin/sysconfig; then
                   4997:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4998:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4999:       esac
                   5000:     fi
                   5001:     ;;
                   5002:   sco3.2v5*)
                   5003:     lt_cv_sys_max_cmd_len=102400
                   5004:     ;;
                   5005:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5006:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5007:     if test -n "$kargmax"; then
                   5008:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5009:     else
                   5010:       lt_cv_sys_max_cmd_len=32768
                   5011:     fi
                   5012:     ;;
                   5013:   *)
                   5014:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5015:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5016:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5017:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5018:     else
                   5019:       # Make teststring a little bigger before we do anything with it.
                   5020:       # a 1K string should be a reasonable start.
                   5021:       for i in 1 2 3 4 5 6 7 8 ; do
                   5022:         teststring=$teststring$teststring
                   5023:       done
                   5024:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5025:       # If test is not a shell built-in, we'll probably end up computing a
                   5026:       # maximum length that is only half of the actual maximum length, but
                   5027:       # we can't tell.
                   5028:       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
                   5029:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5030:              test $i != 17 # 1/2 MB should be enough
                   5031:       do
                   5032:         i=`expr $i + 1`
                   5033:         teststring=$teststring$teststring
                   5034:       done
                   5035:       # Only check the string length outside the loop.
                   5036:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5037:       teststring=
                   5038:       # Add a significant safety factor because C++ compilers can tack on
                   5039:       # massive amounts of additional arguments before passing them to the
                   5040:       # linker.  It appears as though 1/2 is a usable value.
                   5041:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5042:     fi
                   5043:     ;;
                   5044:   esac
                   5045: 
                   5046: fi
                   5047: 
                   5048: if test -n $lt_cv_sys_max_cmd_len ; then
                   5049:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5050: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   5051: else
                   5052:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5053: $as_echo "none" >&6; }
                   5054: fi
                   5055: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5056: 
                   5057: 
                   5058: 
                   5059: 
                   5060: 
                   5061: 
                   5062: : ${CP="cp -f"}
                   5063: : ${MV="mv -f"}
                   5064: : ${RM="rm -f"}
                   5065: 
                   5066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5067: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   5068: # Try some XSI features
                   5069: xsi_shell=no
                   5070: ( _lt_dummy="a/b/c"
                   5071:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5072:       = c,a/b,b/c, \
                   5073:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5074:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5075:   && xsi_shell=yes
                   5076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5077: $as_echo "$xsi_shell" >&6; }
                   5078: 
                   5079: 
                   5080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5081: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   5082: lt_shell_append=no
                   5083: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5084:     >/dev/null 2>&1 \
                   5085:   && lt_shell_append=yes
                   5086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5087: $as_echo "$lt_shell_append" >&6; }
                   5088: 
                   5089: 
                   5090: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5091:   lt_unset=unset
                   5092: else
                   5093:   lt_unset=false
                   5094: fi
                   5095: 
                   5096: 
                   5097: 
                   5098: 
                   5099: 
                   5100: # test EBCDIC or ASCII
                   5101: case `echo X|tr X '\101'` in
                   5102:  A) # ASCII based system
                   5103:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5104:   lt_SP2NL='tr \040 \012'
                   5105:   lt_NL2SP='tr \015\012 \040\040'
                   5106:   ;;
                   5107:  *) # EBCDIC based system
                   5108:   lt_SP2NL='tr \100 \n'
                   5109:   lt_NL2SP='tr \r\n \100\100'
                   5110:   ;;
                   5111: esac
                   5112: 
                   5113: 
                   5114: 
                   5115: 
                   5116: 
                   5117: 
                   5118: 
                   5119: 
                   5120: 
                   5121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5122: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5123: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5124:   $as_echo_n "(cached) " >&6
                   5125: else
                   5126:   case $host in
                   5127:   *-*-mingw* )
                   5128:     case $build in
                   5129:       *-*-mingw* ) # actually msys
                   5130:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5131:         ;;
                   5132:       *-*-cygwin* )
                   5133:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5134:         ;;
                   5135:       * ) # otherwise, assume *nix
                   5136:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5137:         ;;
                   5138:     esac
                   5139:     ;;
                   5140:   *-*-cygwin* )
                   5141:     case $build in
                   5142:       *-*-mingw* ) # actually msys
                   5143:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5144:         ;;
                   5145:       *-*-cygwin* )
                   5146:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5147:         ;;
                   5148:       * ) # otherwise, assume *nix
                   5149:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5150:         ;;
                   5151:     esac
                   5152:     ;;
                   5153:   * ) # unhandled hosts (and "normal" native builds)
                   5154:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5155:     ;;
                   5156: esac
                   5157: 
                   5158: fi
                   5159: 
                   5160: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   5161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5162: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
                   5163: 
                   5164: 
                   5165: 
                   5166: 
                   5167: 
                   5168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5169: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5170: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5171:   $as_echo_n "(cached) " >&6
                   5172: else
                   5173:   #assume ordinary cross tools, or native build.
                   5174: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5175: case $host in
                   5176:   *-*-mingw* )
                   5177:     case $build in
                   5178:       *-*-mingw* ) # actually msys
                   5179:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5180:         ;;
                   5181:     esac
                   5182:     ;;
                   5183: esac
                   5184: 
                   5185: fi
                   5186: 
                   5187: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5189: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
                   5190: 
                   5191: 
                   5192: 
                   5193: 
                   5194: 
                   5195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5196: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5197: if ${lt_cv_ld_reload_flag+:} false; then :
                   5198:   $as_echo_n "(cached) " >&6
                   5199: else
                   5200:   lt_cv_ld_reload_flag='-r'
                   5201: fi
                   5202: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5203: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5204: reload_flag=$lt_cv_ld_reload_flag
                   5205: case $reload_flag in
                   5206: "" | " "*) ;;
                   5207: *) reload_flag=" $reload_flag" ;;
                   5208: esac
                   5209: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5210: case $host_os in
                   5211:   cygwin* | mingw* | pw32* | cegcc*)
                   5212:     if test "$GCC" != yes; then
                   5213:       reload_cmds=false
                   5214:     fi
                   5215:     ;;
                   5216:   darwin*)
                   5217:     if test "$GCC" = yes; then
                   5218:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5219:     else
                   5220:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5221:     fi
                   5222:     ;;
                   5223: esac
                   5224: 
                   5225: 
                   5226: 
                   5227: 
                   5228: 
                   5229: 
                   5230: 
                   5231: 
                   5232: 
                   5233: if test -n "$ac_tool_prefix"; then
                   5234:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5235: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5237: $as_echo_n "checking for $ac_word... " >&6; }
                   5238: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   5239:   $as_echo_n "(cached) " >&6
                   5240: else
                   5241:   if test -n "$OBJDUMP"; then
                   5242:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5243: else
                   5244: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5245: for as_dir in $PATH
                   5246: do
                   5247:   IFS=$as_save_IFS
                   5248:   test -z "$as_dir" && as_dir=.
                   5249:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5250:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5251:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5252:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5253:     break 2
                   5254:   fi
                   5255: done
                   5256:   done
                   5257: IFS=$as_save_IFS
                   5258: 
                   5259: fi
                   5260: fi
                   5261: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5262: if test -n "$OBJDUMP"; then
                   5263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5264: $as_echo "$OBJDUMP" >&6; }
                   5265: else
                   5266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5267: $as_echo "no" >&6; }
                   5268: fi
                   5269: 
                   5270: 
                   5271: fi
                   5272: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5273:   ac_ct_OBJDUMP=$OBJDUMP
                   5274:   # Extract the first word of "objdump", so it can be a program name with args.
                   5275: set dummy objdump; ac_word=$2
                   5276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5277: $as_echo_n "checking for $ac_word... " >&6; }
                   5278: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   5279:   $as_echo_n "(cached) " >&6
                   5280: else
                   5281:   if test -n "$ac_ct_OBJDUMP"; then
                   5282:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5283: else
                   5284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5285: for as_dir in $PATH
                   5286: do
                   5287:   IFS=$as_save_IFS
                   5288:   test -z "$as_dir" && as_dir=.
                   5289:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5290:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5291:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5292:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5293:     break 2
                   5294:   fi
                   5295: done
                   5296:   done
                   5297: IFS=$as_save_IFS
                   5298: 
                   5299: fi
                   5300: fi
                   5301: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5302: if test -n "$ac_ct_OBJDUMP"; then
                   5303:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5304: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5305: else
                   5306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5307: $as_echo "no" >&6; }
                   5308: fi
                   5309: 
                   5310:   if test "x$ac_ct_OBJDUMP" = x; then
                   5311:     OBJDUMP="false"
                   5312:   else
                   5313:     case $cross_compiling:$ac_tool_warned in
                   5314: yes:)
                   5315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5316: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5317: ac_tool_warned=yes ;;
                   5318: esac
                   5319:     OBJDUMP=$ac_ct_OBJDUMP
                   5320:   fi
                   5321: else
                   5322:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5323: fi
                   5324: 
                   5325: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5326: 
                   5327: 
                   5328: 
                   5329: 
                   5330: 
                   5331: 
                   5332: 
                   5333: 
                   5334: 
                   5335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5336: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   5337: if ${lt_cv_deplibs_check_method+:} false; then :
                   5338:   $as_echo_n "(cached) " >&6
                   5339: else
                   5340:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5341: lt_cv_file_magic_test_file=
                   5342: lt_cv_deplibs_check_method='unknown'
                   5343: # Need to set the preceding variable on all platforms that support
                   5344: # interlibrary dependencies.
                   5345: # 'none' -- dependencies not supported.
                   5346: # `unknown' -- same as none, but documents that we really don't know.
                   5347: # 'pass_all' -- all dependencies passed with no checks.
                   5348: # 'test_compile' -- check by making test program.
                   5349: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5350: # which responds to the $file_magic_cmd with a given extended regex.
                   5351: # If you have `file' or equivalent on your system and you're not sure
                   5352: # whether `pass_all' will *always* work, you probably want this one.
                   5353: 
                   5354: case $host_os in
                   5355: aix[4-9]*)
                   5356:   lt_cv_deplibs_check_method=pass_all
                   5357:   ;;
                   5358: 
                   5359: beos*)
                   5360:   lt_cv_deplibs_check_method=pass_all
                   5361:   ;;
                   5362: 
                   5363: bsdi[45]*)
                   5364:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5365:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5366:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5367:   ;;
                   5368: 
                   5369: cygwin*)
                   5370:   # func_win32_libid is a shell function defined in ltmain.sh
                   5371:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5372:   lt_cv_file_magic_cmd='func_win32_libid'
                   5373:   ;;
                   5374: 
                   5375: mingw* | pw32*)
                   5376:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5377:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5378:   # unless we find 'file', for example because we are cross-compiling.
                   5379:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5380:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5381:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5382:     lt_cv_file_magic_cmd='func_win32_libid'
                   5383:   else
                   5384:     # Keep this pattern in sync with the one in func_win32_libid.
                   5385:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5386:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5387:   fi
                   5388:   ;;
                   5389: 
                   5390: cegcc*)
                   5391:   # use the weaker test based on 'objdump'. See mingw*.
                   5392:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5393:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5394:   ;;
                   5395: 
                   5396: darwin* | rhapsody*)
                   5397:   lt_cv_deplibs_check_method=pass_all
                   5398:   ;;
                   5399: 
                   5400: freebsd* | dragonfly*)
                   5401:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5402:     case $host_cpu in
                   5403:     i*86 )
                   5404:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5405:       # Let's accept both of them until this is cleared up.
                   5406:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5407:       lt_cv_file_magic_cmd=/usr/bin/file
                   5408:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5409:       ;;
                   5410:     esac
                   5411:   else
                   5412:     lt_cv_deplibs_check_method=pass_all
                   5413:   fi
                   5414:   ;;
                   5415: 
                   5416: gnu*)
                   5417:   lt_cv_deplibs_check_method=pass_all
                   5418:   ;;
                   5419: 
                   5420: haiku*)
                   5421:   lt_cv_deplibs_check_method=pass_all
                   5422:   ;;
                   5423: 
                   5424: hpux10.20* | hpux11*)
                   5425:   lt_cv_file_magic_cmd=/usr/bin/file
                   5426:   case $host_cpu in
                   5427:   ia64*)
                   5428:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5429:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5430:     ;;
                   5431:   hppa*64*)
                   5432:     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]'
                   5433:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5434:     ;;
                   5435:   *)
                   5436:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5437:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5438:     ;;
                   5439:   esac
                   5440:   ;;
                   5441: 
                   5442: interix[3-9]*)
                   5443:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5444:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5445:   ;;
                   5446: 
                   5447: irix5* | irix6* | nonstopux*)
                   5448:   case $LD in
                   5449:   *-32|*"-32 ") libmagic=32-bit;;
                   5450:   *-n32|*"-n32 ") libmagic=N32;;
                   5451:   *-64|*"-64 ") libmagic=64-bit;;
                   5452:   *) libmagic=never-match;;
                   5453:   esac
                   5454:   lt_cv_deplibs_check_method=pass_all
                   5455:   ;;
                   5456: 
                   5457: # This must be Linux ELF.
                   5458: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5459:   lt_cv_deplibs_check_method=pass_all
                   5460:   ;;
                   5461: 
                   5462: netbsd* | netbsdelf*-gnu)
                   5463:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5464:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5465:   else
                   5466:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5467:   fi
                   5468:   ;;
                   5469: 
                   5470: newos6*)
                   5471:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5472:   lt_cv_file_magic_cmd=/usr/bin/file
                   5473:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5474:   ;;
                   5475: 
                   5476: *nto* | *qnx*)
                   5477:   lt_cv_deplibs_check_method=pass_all
                   5478:   ;;
                   5479: 
                   5480: openbsd*)
                   5481:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5482:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5483:   else
                   5484:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5485:   fi
                   5486:   ;;
                   5487: 
                   5488: osf3* | osf4* | osf5*)
                   5489:   lt_cv_deplibs_check_method=pass_all
                   5490:   ;;
                   5491: 
                   5492: rdos*)
                   5493:   lt_cv_deplibs_check_method=pass_all
                   5494:   ;;
                   5495: 
                   5496: solaris*)
                   5497:   lt_cv_deplibs_check_method=pass_all
                   5498:   ;;
                   5499: 
                   5500: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5501:   lt_cv_deplibs_check_method=pass_all
                   5502:   ;;
                   5503: 
                   5504: sysv4 | sysv4.3*)
                   5505:   case $host_vendor in
                   5506:   motorola)
                   5507:     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]'
                   5508:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5509:     ;;
                   5510:   ncr)
                   5511:     lt_cv_deplibs_check_method=pass_all
                   5512:     ;;
                   5513:   sequent)
                   5514:     lt_cv_file_magic_cmd='/bin/file'
                   5515:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5516:     ;;
                   5517:   sni)
                   5518:     lt_cv_file_magic_cmd='/bin/file'
                   5519:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5520:     lt_cv_file_magic_test_file=/lib/libc.so
                   5521:     ;;
                   5522:   siemens)
                   5523:     lt_cv_deplibs_check_method=pass_all
                   5524:     ;;
                   5525:   pc)
                   5526:     lt_cv_deplibs_check_method=pass_all
                   5527:     ;;
                   5528:   esac
                   5529:   ;;
                   5530: 
                   5531: tpf*)
                   5532:   lt_cv_deplibs_check_method=pass_all
                   5533:   ;;
                   5534: esac
                   5535: 
                   5536: fi
                   5537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5538: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   5539: 
                   5540: file_magic_glob=
                   5541: want_nocaseglob=no
                   5542: if test "$build" = "$host"; then
                   5543:   case $host_os in
                   5544:   mingw* | pw32*)
                   5545:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5546:       want_nocaseglob=yes
                   5547:     else
                   5548:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5549:     fi
                   5550:     ;;
                   5551:   esac
                   5552: fi
                   5553: 
                   5554: file_magic_cmd=$lt_cv_file_magic_cmd
                   5555: deplibs_check_method=$lt_cv_deplibs_check_method
                   5556: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5557: 
                   5558: 
                   5559: 
                   5560: 
                   5561: 
                   5562: 
                   5563: 
                   5564: 
                   5565: 
                   5566: 
                   5567: 
                   5568: 
                   5569: 
                   5570: 
                   5571: 
                   5572: 
                   5573: 
                   5574: 
                   5575: 
                   5576: 
                   5577: 
                   5578: 
                   5579: if test -n "$ac_tool_prefix"; then
                   5580:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5581: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5582: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5583: $as_echo_n "checking for $ac_word... " >&6; }
                   5584: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   5585:   $as_echo_n "(cached) " >&6
                   5586: else
                   5587:   if test -n "$DLLTOOL"; then
                   5588:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5589: else
                   5590: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5591: for as_dir in $PATH
                   5592: do
                   5593:   IFS=$as_save_IFS
                   5594:   test -z "$as_dir" && as_dir=.
                   5595:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5596:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5597:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5598:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5599:     break 2
                   5600:   fi
                   5601: done
                   5602:   done
                   5603: IFS=$as_save_IFS
                   5604: 
                   5605: fi
                   5606: fi
                   5607: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5608: if test -n "$DLLTOOL"; then
                   5609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5610: $as_echo "$DLLTOOL" >&6; }
                   5611: else
                   5612:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5613: $as_echo "no" >&6; }
                   5614: fi
                   5615: 
                   5616: 
                   5617: fi
                   5618: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5619:   ac_ct_DLLTOOL=$DLLTOOL
                   5620:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5621: set dummy dlltool; ac_word=$2
                   5622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5623: $as_echo_n "checking for $ac_word... " >&6; }
                   5624: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   5625:   $as_echo_n "(cached) " >&6
                   5626: else
                   5627:   if test -n "$ac_ct_DLLTOOL"; then
                   5628:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5629: else
                   5630: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5631: for as_dir in $PATH
                   5632: do
                   5633:   IFS=$as_save_IFS
                   5634:   test -z "$as_dir" && as_dir=.
                   5635:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5636:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5637:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5638:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5639:     break 2
                   5640:   fi
                   5641: done
                   5642:   done
                   5643: IFS=$as_save_IFS
                   5644: 
                   5645: fi
                   5646: fi
                   5647: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5648: if test -n "$ac_ct_DLLTOOL"; then
                   5649:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5650: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   5651: else
                   5652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5653: $as_echo "no" >&6; }
                   5654: fi
                   5655: 
                   5656:   if test "x$ac_ct_DLLTOOL" = x; then
                   5657:     DLLTOOL="false"
                   5658:   else
                   5659:     case $cross_compiling:$ac_tool_warned in
                   5660: yes:)
                   5661: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5662: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5663: ac_tool_warned=yes ;;
                   5664: esac
                   5665:     DLLTOOL=$ac_ct_DLLTOOL
                   5666:   fi
                   5667: else
                   5668:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5669: fi
                   5670: 
                   5671: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5672: 
                   5673: 
                   5674: 
                   5675: 
                   5676: 
                   5677: 
                   5678: 
                   5679: 
                   5680: 
                   5681: 
                   5682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5683: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   5684: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   5685:   $as_echo_n "(cached) " >&6
                   5686: else
                   5687:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5688: 
                   5689: case $host_os in
                   5690: cygwin* | mingw* | pw32* | cegcc*)
                   5691:   # two different shell functions defined in ltmain.sh
                   5692:   # decide which to use based on capabilities of $DLLTOOL
                   5693:   case `$DLLTOOL --help 2>&1` in
                   5694:   *--identify-strict*)
                   5695:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5696:     ;;
                   5697:   *)
                   5698:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5699:     ;;
                   5700:   esac
                   5701:   ;;
                   5702: *)
                   5703:   # fallback: assume linklib IS sharedlib
                   5704:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5705:   ;;
                   5706: esac
                   5707: 
                   5708: fi
                   5709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5710: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   5711: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5712: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5713: 
                   5714: 
                   5715: 
                   5716: 
                   5717: 
                   5718: 
                   5719: 
                   5720: if test -n "$ac_tool_prefix"; then
                   5721:   for ac_prog in ar
                   5722:   do
                   5723:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5724: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5726: $as_echo_n "checking for $ac_word... " >&6; }
                   5727: if ${ac_cv_prog_AR+:} false; then :
                   5728:   $as_echo_n "(cached) " >&6
                   5729: else
                   5730:   if test -n "$AR"; then
                   5731:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5732: else
                   5733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5734: for as_dir in $PATH
                   5735: do
                   5736:   IFS=$as_save_IFS
                   5737:   test -z "$as_dir" && as_dir=.
                   5738:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5739:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5740:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5741:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5742:     break 2
                   5743:   fi
                   5744: done
                   5745:   done
                   5746: IFS=$as_save_IFS
                   5747: 
                   5748: fi
                   5749: fi
                   5750: AR=$ac_cv_prog_AR
                   5751: if test -n "$AR"; then
                   5752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   5753: $as_echo "$AR" >&6; }
                   5754: else
                   5755:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5756: $as_echo "no" >&6; }
                   5757: fi
                   5758: 
                   5759: 
                   5760:     test -n "$AR" && break
                   5761:   done
                   5762: fi
                   5763: if test -z "$AR"; then
                   5764:   ac_ct_AR=$AR
                   5765:   for ac_prog in ar
                   5766: do
                   5767:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5768: set dummy $ac_prog; ac_word=$2
                   5769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5770: $as_echo_n "checking for $ac_word... " >&6; }
                   5771: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   5772:   $as_echo_n "(cached) " >&6
                   5773: else
                   5774:   if test -n "$ac_ct_AR"; then
                   5775:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5776: else
                   5777: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5778: for as_dir in $PATH
                   5779: do
                   5780:   IFS=$as_save_IFS
                   5781:   test -z "$as_dir" && as_dir=.
                   5782:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5783:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5784:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5785:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5786:     break 2
                   5787:   fi
                   5788: done
                   5789:   done
                   5790: IFS=$as_save_IFS
                   5791: 
                   5792: fi
                   5793: fi
                   5794: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5795: if test -n "$ac_ct_AR"; then
                   5796:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   5797: $as_echo "$ac_ct_AR" >&6; }
                   5798: else
                   5799:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5800: $as_echo "no" >&6; }
                   5801: fi
                   5802: 
                   5803: 
                   5804:   test -n "$ac_ct_AR" && break
                   5805: done
                   5806: 
                   5807:   if test "x$ac_ct_AR" = x; then
                   5808:     AR="false"
                   5809:   else
                   5810:     case $cross_compiling:$ac_tool_warned in
                   5811: yes:)
                   5812: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5813: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5814: ac_tool_warned=yes ;;
                   5815: esac
                   5816:     AR=$ac_ct_AR
                   5817:   fi
                   5818: fi
                   5819: 
                   5820: : ${AR=ar}
                   5821: : ${AR_FLAGS=cru}
                   5822: 
                   5823: 
                   5824: 
                   5825: 
                   5826: 
                   5827: 
                   5828: 
                   5829: 
                   5830: 
                   5831: 
                   5832: 
                   5833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   5834: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   5835: if ${lt_cv_ar_at_file+:} false; then :
                   5836:   $as_echo_n "(cached) " >&6
                   5837: else
                   5838:   lt_cv_ar_at_file=no
                   5839:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5840: /* end confdefs.h.  */
                   5841: 
                   5842: int
                   5843: main ()
                   5844: {
                   5845: 
                   5846:   ;
                   5847:   return 0;
                   5848: }
                   5849: _ACEOF
                   5850: if ac_fn_c_try_compile "$LINENO"; then :
                   5851:   echo conftest.$ac_objext > conftest.lst
                   5852:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5853:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5854:   (eval $lt_ar_try) 2>&5
                   5855:   ac_status=$?
                   5856:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5857:   test $ac_status = 0; }
                   5858:       if test "$ac_status" -eq 0; then
                   5859:        # Ensure the archiver fails upon bogus file names.
                   5860:        rm -f conftest.$ac_objext libconftest.a
                   5861:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5862:   (eval $lt_ar_try) 2>&5
                   5863:   ac_status=$?
                   5864:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5865:   test $ac_status = 0; }
                   5866:        if test "$ac_status" -ne 0; then
                   5867:           lt_cv_ar_at_file=@
                   5868:         fi
                   5869:       fi
                   5870:       rm -f conftest.* libconftest.a
                   5871: 
                   5872: fi
                   5873: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5874: 
                   5875: fi
                   5876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   5877: $as_echo "$lt_cv_ar_at_file" >&6; }
                   5878: 
                   5879: if test "x$lt_cv_ar_at_file" = xno; then
                   5880:   archiver_list_spec=
                   5881: else
                   5882:   archiver_list_spec=$lt_cv_ar_at_file
                   5883: fi
                   5884: 
                   5885: 
                   5886: 
                   5887: 
                   5888: 
                   5889: 
                   5890: 
                   5891: if test -n "$ac_tool_prefix"; then
                   5892:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5893: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5895: $as_echo_n "checking for $ac_word... " >&6; }
                   5896: if ${ac_cv_prog_STRIP+:} false; then :
                   5897:   $as_echo_n "(cached) " >&6
                   5898: else
                   5899:   if test -n "$STRIP"; then
                   5900:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5901: else
                   5902: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5903: for as_dir in $PATH
                   5904: do
                   5905:   IFS=$as_save_IFS
                   5906:   test -z "$as_dir" && as_dir=.
                   5907:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5908:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5909:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5910:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5911:     break 2
                   5912:   fi
                   5913: done
                   5914:   done
                   5915: IFS=$as_save_IFS
                   5916: 
                   5917: fi
                   5918: fi
                   5919: STRIP=$ac_cv_prog_STRIP
                   5920: if test -n "$STRIP"; then
                   5921:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   5922: $as_echo "$STRIP" >&6; }
                   5923: else
                   5924:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5925: $as_echo "no" >&6; }
                   5926: fi
                   5927: 
                   5928: 
                   5929: fi
                   5930: if test -z "$ac_cv_prog_STRIP"; then
                   5931:   ac_ct_STRIP=$STRIP
                   5932:   # Extract the first word of "strip", so it can be a program name with args.
                   5933: set dummy strip; ac_word=$2
                   5934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5935: $as_echo_n "checking for $ac_word... " >&6; }
                   5936: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   5937:   $as_echo_n "(cached) " >&6
                   5938: else
                   5939:   if test -n "$ac_ct_STRIP"; then
                   5940:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5941: else
                   5942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5943: for as_dir in $PATH
                   5944: do
                   5945:   IFS=$as_save_IFS
                   5946:   test -z "$as_dir" && as_dir=.
                   5947:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5948:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5949:     ac_cv_prog_ac_ct_STRIP="strip"
                   5950:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5951:     break 2
                   5952:   fi
                   5953: done
                   5954:   done
                   5955: IFS=$as_save_IFS
                   5956: 
                   5957: fi
                   5958: fi
                   5959: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5960: if test -n "$ac_ct_STRIP"; then
                   5961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   5962: $as_echo "$ac_ct_STRIP" >&6; }
                   5963: else
                   5964:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5965: $as_echo "no" >&6; }
                   5966: fi
                   5967: 
                   5968:   if test "x$ac_ct_STRIP" = x; then
                   5969:     STRIP=":"
                   5970:   else
                   5971:     case $cross_compiling:$ac_tool_warned in
                   5972: yes:)
                   5973: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5974: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5975: ac_tool_warned=yes ;;
                   5976: esac
                   5977:     STRIP=$ac_ct_STRIP
                   5978:   fi
                   5979: else
                   5980:   STRIP="$ac_cv_prog_STRIP"
                   5981: fi
                   5982: 
                   5983: test -z "$STRIP" && STRIP=:
                   5984: 
                   5985: 
                   5986: 
                   5987: 
                   5988: 
                   5989: 
                   5990: if test -n "$ac_tool_prefix"; then
                   5991:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5992: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5993: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5994: $as_echo_n "checking for $ac_word... " >&6; }
                   5995: if ${ac_cv_prog_RANLIB+:} false; then :
                   5996:   $as_echo_n "(cached) " >&6
                   5997: else
                   5998:   if test -n "$RANLIB"; then
                   5999:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6000: else
                   6001: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6002: for as_dir in $PATH
                   6003: do
                   6004:   IFS=$as_save_IFS
                   6005:   test -z "$as_dir" && as_dir=.
                   6006:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6007:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6008:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6009:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6010:     break 2
                   6011:   fi
                   6012: done
                   6013:   done
                   6014: IFS=$as_save_IFS
                   6015: 
                   6016: fi
                   6017: fi
                   6018: RANLIB=$ac_cv_prog_RANLIB
                   6019: if test -n "$RANLIB"; then
                   6020:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6021: $as_echo "$RANLIB" >&6; }
                   6022: else
                   6023:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6024: $as_echo "no" >&6; }
                   6025: fi
                   6026: 
                   6027: 
                   6028: fi
                   6029: if test -z "$ac_cv_prog_RANLIB"; then
                   6030:   ac_ct_RANLIB=$RANLIB
                   6031:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6032: set dummy ranlib; ac_word=$2
                   6033: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6034: $as_echo_n "checking for $ac_word... " >&6; }
                   6035: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6036:   $as_echo_n "(cached) " >&6
                   6037: else
                   6038:   if test -n "$ac_ct_RANLIB"; then
                   6039:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6040: else
                   6041: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6042: for as_dir in $PATH
                   6043: do
                   6044:   IFS=$as_save_IFS
                   6045:   test -z "$as_dir" && as_dir=.
                   6046:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6047:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6048:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6049:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6050:     break 2
                   6051:   fi
                   6052: done
                   6053:   done
                   6054: IFS=$as_save_IFS
                   6055: 
                   6056: fi
                   6057: fi
                   6058: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6059: if test -n "$ac_ct_RANLIB"; then
                   6060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6061: $as_echo "$ac_ct_RANLIB" >&6; }
                   6062: else
                   6063:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6064: $as_echo "no" >&6; }
                   6065: fi
                   6066: 
                   6067:   if test "x$ac_ct_RANLIB" = x; then
                   6068:     RANLIB=":"
                   6069:   else
                   6070:     case $cross_compiling:$ac_tool_warned in
                   6071: yes:)
                   6072: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6073: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6074: ac_tool_warned=yes ;;
                   6075: esac
                   6076:     RANLIB=$ac_ct_RANLIB
                   6077:   fi
                   6078: else
                   6079:   RANLIB="$ac_cv_prog_RANLIB"
                   6080: fi
                   6081: 
                   6082: test -z "$RANLIB" && RANLIB=:
                   6083: 
                   6084: 
                   6085: 
                   6086: 
                   6087: 
                   6088: 
                   6089: # Determine commands to create old-style static archives.
                   6090: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6091: old_postinstall_cmds='chmod 644 $oldlib'
                   6092: old_postuninstall_cmds=
                   6093: 
                   6094: if test -n "$RANLIB"; then
                   6095:   case $host_os in
                   6096:   openbsd*)
                   6097:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
                   6098:     ;;
                   6099:   *)
                   6100:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
                   6101:     ;;
                   6102:   esac
                   6103:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   6104: fi
                   6105: 
                   6106: case $host_os in
                   6107:   darwin*)
                   6108:     lock_old_archive_extraction=yes ;;
                   6109:   *)
                   6110:     lock_old_archive_extraction=no ;;
                   6111: esac
                   6112: 
                   6113: 
                   6114: 
                   6115: 
                   6116: 
                   6117: 
                   6118: 
                   6119: 
                   6120: 
                   6121: 
                   6122: 
                   6123: 
                   6124: 
                   6125: 
                   6126: 
                   6127: 
                   6128: 
                   6129: 
                   6130: 
                   6131: 
                   6132: 
                   6133: 
                   6134: 
                   6135: 
                   6136: 
                   6137: 
                   6138: 
                   6139: 
                   6140: 
                   6141: 
                   6142: 
                   6143: 
                   6144: 
                   6145: 
                   6146: 
                   6147: 
                   6148: 
                   6149: 
                   6150: 
                   6151: # If no C compiler was specified, use CC.
                   6152: LTCC=${LTCC-"$CC"}
                   6153: 
                   6154: # If no C compiler flags were specified, use CFLAGS.
                   6155: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6156: 
                   6157: # Allow CC to be a program name with arguments.
                   6158: compiler=$CC
                   6159: 
                   6160: 
                   6161: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6163: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6164: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6165:   $as_echo_n "(cached) " >&6
                   6166: else
                   6167: 
                   6168: # These are sane defaults that work on at least a few old systems.
                   6169: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6170: 
                   6171: # Character class describing NM global symbol codes.
                   6172: symcode='[BCDEGRST]'
                   6173: 
                   6174: # Regexp to match symbols that can be accessed directly from C.
                   6175: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6176: 
                   6177: # Define system-specific variables.
                   6178: case $host_os in
                   6179: aix*)
                   6180:   symcode='[BCDT]'
                   6181:   ;;
                   6182: cygwin* | mingw* | pw32* | cegcc*)
                   6183:   symcode='[ABCDGISTW]'
                   6184:   ;;
                   6185: hpux*)
                   6186:   if test "$host_cpu" = ia64; then
                   6187:     symcode='[ABCDEGRST]'
                   6188:   fi
                   6189:   ;;
                   6190: irix* | nonstopux*)
                   6191:   symcode='[BCDEGRST]'
                   6192:   ;;
                   6193: osf*)
                   6194:   symcode='[BCDEGQRST]'
                   6195:   ;;
                   6196: solaris*)
                   6197:   symcode='[BDRT]'
                   6198:   ;;
                   6199: sco3.2v5*)
                   6200:   symcode='[DT]'
                   6201:   ;;
                   6202: sysv4.2uw2*)
                   6203:   symcode='[DT]'
                   6204:   ;;
                   6205: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6206:   symcode='[ABDT]'
                   6207:   ;;
                   6208: sysv4)
                   6209:   symcode='[DFNSTU]'
                   6210:   ;;
                   6211: esac
                   6212: 
                   6213: # If we're using GNU nm, then use its standard symbol codes.
                   6214: case `$NM -V 2>&1` in
                   6215: *GNU* | *'with BFD'*)
                   6216:   symcode='[ABCDGIRSTW]' ;;
                   6217: esac
                   6218: 
                   6219: # Transform an extracted symbol line into a proper C declaration.
                   6220: # Some systems (esp. on ia64) link data and code symbols differently,
                   6221: # so use this general approach.
                   6222: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6223: 
                   6224: # Transform an extracted symbol line into symbol name and symbol address
                   6225: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6226: 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'"
                   6227: 
                   6228: # Handle CRLF in mingw tool chain
                   6229: opt_cr=
                   6230: case $build_os in
                   6231: mingw*)
                   6232:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6233:   ;;
                   6234: esac
                   6235: 
                   6236: # Try without a prefix underscore, then with it.
                   6237: for ac_symprfx in "" "_"; do
                   6238: 
                   6239:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6240:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6241: 
                   6242:   # Write the raw and C identifiers.
                   6243:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6244:     # Fake it for dumpbin and say T for any non-static function
                   6245:     # and D for any global variable.
                   6246:     # Also find C++ and __fastcall symbols from MSVC++,
                   6247:     # which start with @ or ?.
                   6248:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6249: "     {last_section=section; section=\$ 3};"\
                   6250: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6251: "     \$ 0!~/External *\|/{next};"\
                   6252: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6253: "     {if(hide[section]) next};"\
                   6254: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6255: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6256: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6257: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6258: "     ' prfx=^$ac_symprfx"
                   6259:   else
                   6260:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6261:   fi
                   6262:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6263: 
                   6264:   # Check to see that the pipe works correctly.
                   6265:   pipe_works=no
                   6266: 
                   6267:   rm -f conftest*
                   6268:   cat > conftest.$ac_ext <<_LT_EOF
                   6269: #ifdef __cplusplus
                   6270: extern "C" {
                   6271: #endif
                   6272: char nm_test_var;
                   6273: void nm_test_func(void);
                   6274: void nm_test_func(void){}
                   6275: #ifdef __cplusplus
                   6276: }
                   6277: #endif
                   6278: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6279: _LT_EOF
                   6280: 
                   6281:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6282:   (eval $ac_compile) 2>&5
                   6283:   ac_status=$?
                   6284:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6285:   test $ac_status = 0; }; then
                   6286:     # Now try to grab the symbols.
                   6287:     nlist=conftest.nm
                   6288:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   6289:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6290:   ac_status=$?
                   6291:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6292:   test $ac_status = 0; } && test -s "$nlist"; then
                   6293:       # Try sorting and uniquifying the output.
                   6294:       if sort "$nlist" | uniq > "$nlist"T; then
                   6295:        mv -f "$nlist"T "$nlist"
                   6296:       else
                   6297:        rm -f "$nlist"T
                   6298:       fi
                   6299: 
                   6300:       # Make sure that we snagged all the symbols we need.
                   6301:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6302:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6303:          cat <<_LT_EOF > conftest.$ac_ext
                   6304: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6305: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6306: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6307:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6308: # define LT_DLSYM_CONST
                   6309: #elif defined(__osf__)
                   6310: /* This system does not cope well with relocations in const data.  */
                   6311: # define LT_DLSYM_CONST
                   6312: #else
                   6313: # define LT_DLSYM_CONST const
                   6314: #endif
                   6315: 
                   6316: #ifdef __cplusplus
                   6317: extern "C" {
                   6318: #endif
                   6319: 
                   6320: _LT_EOF
                   6321:          # Now generate the symbol file.
                   6322:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6323: 
                   6324:          cat <<_LT_EOF >> conftest.$ac_ext
                   6325: 
                   6326: /* The mapping between symbol names and symbols.  */
                   6327: LT_DLSYM_CONST struct {
                   6328:   const char *name;
                   6329:   void       *address;
                   6330: }
                   6331: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6332: {
                   6333:   { "@PROGRAM@", (void *) 0 },
                   6334: _LT_EOF
                   6335:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6336:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6337:   {0, (void *) 0}
                   6338: };
                   6339: 
                   6340: /* This works around a problem in FreeBSD linker */
                   6341: #ifdef FREEBSD_WORKAROUND
                   6342: static const void *lt_preloaded_setup() {
                   6343:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6344: }
                   6345: #endif
                   6346: 
                   6347: #ifdef __cplusplus
                   6348: }
                   6349: #endif
                   6350: _LT_EOF
                   6351:          # Now try linking the two files.
                   6352:          mv conftest.$ac_objext conftstm.$ac_objext
                   6353:          lt_globsym_save_LIBS=$LIBS
                   6354:          lt_globsym_save_CFLAGS=$CFLAGS
                   6355:          LIBS="conftstm.$ac_objext"
                   6356:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6357:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6358:   (eval $ac_link) 2>&5
                   6359:   ac_status=$?
                   6360:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6361:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   6362:            pipe_works=yes
                   6363:          fi
                   6364:          LIBS=$lt_globsym_save_LIBS
                   6365:          CFLAGS=$lt_globsym_save_CFLAGS
                   6366:        else
                   6367:          echo "cannot find nm_test_func in $nlist" >&5
                   6368:        fi
                   6369:       else
                   6370:        echo "cannot find nm_test_var in $nlist" >&5
                   6371:       fi
                   6372:     else
                   6373:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6374:     fi
                   6375:   else
                   6376:     echo "$progname: failed program was:" >&5
                   6377:     cat conftest.$ac_ext >&5
                   6378:   fi
                   6379:   rm -rf conftest* conftst*
                   6380: 
                   6381:   # Do not use the global_symbol_pipe unless it works.
                   6382:   if test "$pipe_works" = yes; then
                   6383:     break
                   6384:   else
                   6385:     lt_cv_sys_global_symbol_pipe=
                   6386:   fi
                   6387: done
                   6388: 
                   6389: fi
                   6390: 
                   6391: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6392:   lt_cv_sys_global_symbol_to_cdecl=
                   6393: fi
                   6394: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6395:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6396: $as_echo "failed" >&6; }
                   6397: else
                   6398:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6399: $as_echo "ok" >&6; }
                   6400: fi
                   6401: 
                   6402: # Response file support.
                   6403: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6404:   nm_file_list_spec='@'
                   6405: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6406:   nm_file_list_spec='@'
                   6407: fi
                   6408: 
                   6409: 
                   6410: 
                   6411: 
                   6412: 
                   6413: 
                   6414: 
                   6415: 
                   6416: 
                   6417: 
                   6418: 
                   6419: 
                   6420: 
                   6421: 
                   6422: 
                   6423: 
                   6424: 
                   6425: 
                   6426: 
                   6427: 
                   6428: 
                   6429: 
                   6430: 
                   6431: 
                   6432: 
                   6433: 
                   6434: 
                   6435: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6436: $as_echo_n "checking for sysroot... " >&6; }
                   6437: 
                   6438: # Check whether --with-sysroot was given.
                   6439: if test "${with_sysroot+set}" = set; then :
                   6440:   withval=$with_sysroot;
                   6441: else
                   6442:   with_sysroot=no
                   6443: fi
                   6444: 
                   6445: 
                   6446: lt_sysroot=
                   6447: case ${with_sysroot} in #(
                   6448:  yes)
                   6449:    if test "$GCC" = yes; then
                   6450:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6451:    fi
                   6452:    ;; #(
                   6453:  /*)
                   6454:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6455:    ;; #(
                   6456:  no|'')
                   6457:    ;; #(
                   6458:  *)
                   6459:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   6460: $as_echo "${with_sysroot}" >&6; }
                   6461:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   6462:    ;;
                   6463: esac
                   6464: 
                   6465:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6466: $as_echo "${lt_sysroot:-no}" >&6; }
                   6467: 
                   6468: 
                   6469: 
                   6470: 
                   6471: 
                   6472: # Check whether --enable-libtool-lock was given.
                   6473: if test "${enable_libtool_lock+set}" = set; then :
                   6474:   enableval=$enable_libtool_lock;
                   6475: fi
                   6476: 
                   6477: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6478: 
                   6479: # Some flags need to be propagated to the compiler or linker for good
                   6480: # libtool support.
                   6481: case $host in
                   6482: ia64-*-hpux*)
                   6483:   # Find out which ABI we are using.
                   6484:   echo 'int i;' > conftest.$ac_ext
                   6485:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6486:   (eval $ac_compile) 2>&5
                   6487:   ac_status=$?
                   6488:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6489:   test $ac_status = 0; }; then
                   6490:     case `/usr/bin/file conftest.$ac_objext` in
                   6491:       *ELF-32*)
                   6492:        HPUX_IA64_MODE="32"
                   6493:        ;;
                   6494:       *ELF-64*)
                   6495:        HPUX_IA64_MODE="64"
                   6496:        ;;
                   6497:     esac
                   6498:   fi
                   6499:   rm -rf conftest*
                   6500:   ;;
                   6501: *-*-irix6*)
                   6502:   # Find out which ABI we are using.
                   6503:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6504:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6505:   (eval $ac_compile) 2>&5
                   6506:   ac_status=$?
                   6507:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6508:   test $ac_status = 0; }; then
                   6509:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6510:       case `/usr/bin/file conftest.$ac_objext` in
                   6511:        *32-bit*)
                   6512:          LD="${LD-ld} -melf32bsmip"
                   6513:          ;;
                   6514:        *N32*)
                   6515:          LD="${LD-ld} -melf32bmipn32"
                   6516:          ;;
                   6517:        *64-bit*)
                   6518:          LD="${LD-ld} -melf64bmip"
                   6519:        ;;
                   6520:       esac
                   6521:     else
                   6522:       case `/usr/bin/file conftest.$ac_objext` in
                   6523:        *32-bit*)
                   6524:          LD="${LD-ld} -32"
                   6525:          ;;
                   6526:        *N32*)
                   6527:          LD="${LD-ld} -n32"
                   6528:          ;;
                   6529:        *64-bit*)
                   6530:          LD="${LD-ld} -64"
                   6531:          ;;
                   6532:       esac
                   6533:     fi
                   6534:   fi
                   6535:   rm -rf conftest*
                   6536:   ;;
                   6537: 
                   6538: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6539: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6540:   # Find out which ABI we are using.
                   6541:   echo 'int i;' > conftest.$ac_ext
                   6542:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6543:   (eval $ac_compile) 2>&5
                   6544:   ac_status=$?
                   6545:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6546:   test $ac_status = 0; }; then
                   6547:     case `/usr/bin/file conftest.o` in
                   6548:       *32-bit*)
                   6549:        case $host in
                   6550:          x86_64-*kfreebsd*-gnu)
                   6551:            LD="${LD-ld} -m elf_i386_fbsd"
                   6552:            ;;
                   6553:          x86_64-*linux*)
                   6554:            LD="${LD-ld} -m elf_i386"
                   6555:            ;;
                   6556:          ppc64-*linux*|powerpc64-*linux*)
                   6557:            LD="${LD-ld} -m elf32ppclinux"
                   6558:            ;;
                   6559:          s390x-*linux*)
                   6560:            LD="${LD-ld} -m elf_s390"
                   6561:            ;;
                   6562:          sparc64-*linux*)
                   6563:            LD="${LD-ld} -m elf32_sparc"
                   6564:            ;;
                   6565:        esac
                   6566:        ;;
                   6567:       *64-bit*)
                   6568:        case $host in
                   6569:          x86_64-*kfreebsd*-gnu)
                   6570:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6571:            ;;
                   6572:          x86_64-*linux*)
                   6573:            LD="${LD-ld} -m elf_x86_64"
                   6574:            ;;
                   6575:          ppc*-*linux*|powerpc*-*linux*)
                   6576:            LD="${LD-ld} -m elf64ppc"
                   6577:            ;;
                   6578:          s390*-*linux*|s390*-*tpf*)
                   6579:            LD="${LD-ld} -m elf64_s390"
                   6580:            ;;
                   6581:          sparc*-*linux*)
                   6582:            LD="${LD-ld} -m elf64_sparc"
                   6583:            ;;
                   6584:        esac
                   6585:        ;;
                   6586:     esac
                   6587:   fi
                   6588:   rm -rf conftest*
                   6589:   ;;
                   6590: 
                   6591: *-*-sco3.2v5*)
                   6592:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6593:   SAVE_CFLAGS="$CFLAGS"
                   6594:   CFLAGS="$CFLAGS -belf"
                   6595:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6596: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   6597: if ${lt_cv_cc_needs_belf+:} false; then :
                   6598:   $as_echo_n "(cached) " >&6
                   6599: else
                   6600:   ac_ext=c
                   6601: ac_cpp='$CPP $CPPFLAGS'
                   6602: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6603: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6604: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6605: 
                   6606:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6607: /* end confdefs.h.  */
                   6608: 
                   6609: int
                   6610: main ()
                   6611: {
                   6612: 
                   6613:   ;
                   6614:   return 0;
                   6615: }
                   6616: _ACEOF
                   6617: if ac_fn_c_try_link "$LINENO"; then :
                   6618:   lt_cv_cc_needs_belf=yes
                   6619: else
                   6620:   lt_cv_cc_needs_belf=no
                   6621: fi
                   6622: rm -f core conftest.err conftest.$ac_objext \
                   6623:     conftest$ac_exeext conftest.$ac_ext
                   6624:      ac_ext=c
                   6625: ac_cpp='$CPP $CPPFLAGS'
                   6626: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6627: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6628: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6629: 
                   6630: fi
                   6631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6632: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   6633:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6634:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6635:     CFLAGS="$SAVE_CFLAGS"
                   6636:   fi
                   6637:   ;;
                   6638: sparc*-*solaris*)
                   6639:   # Find out which ABI we are using.
                   6640:   echo 'int i;' > conftest.$ac_ext
                   6641:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6642:   (eval $ac_compile) 2>&5
                   6643:   ac_status=$?
                   6644:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6645:   test $ac_status = 0; }; then
                   6646:     case `/usr/bin/file conftest.o` in
                   6647:     *64-bit*)
                   6648:       case $lt_cv_prog_gnu_ld in
                   6649:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
                   6650:       *)
                   6651:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6652:          LD="${LD-ld} -64"
                   6653:        fi
                   6654:        ;;
                   6655:       esac
                   6656:       ;;
                   6657:     esac
                   6658:   fi
                   6659:   rm -rf conftest*
                   6660:   ;;
                   6661: esac
                   6662: 
                   6663: need_locks="$enable_libtool_lock"
                   6664: 
                   6665: if test -n "$ac_tool_prefix"; then
                   6666:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6667: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6669: $as_echo_n "checking for $ac_word... " >&6; }
                   6670: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   6671:   $as_echo_n "(cached) " >&6
                   6672: else
                   6673:   if test -n "$MANIFEST_TOOL"; then
                   6674:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6675: else
                   6676: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6677: for as_dir in $PATH
                   6678: do
                   6679:   IFS=$as_save_IFS
                   6680:   test -z "$as_dir" && as_dir=.
                   6681:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6682:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6683:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6684:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6685:     break 2
                   6686:   fi
                   6687: done
                   6688:   done
                   6689: IFS=$as_save_IFS
                   6690: 
                   6691: fi
                   6692: fi
                   6693: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6694: if test -n "$MANIFEST_TOOL"; then
                   6695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6696: $as_echo "$MANIFEST_TOOL" >&6; }
                   6697: else
                   6698:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6699: $as_echo "no" >&6; }
                   6700: fi
                   6701: 
                   6702: 
                   6703: fi
                   6704: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6705:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6706:   # Extract the first word of "mt", so it can be a program name with args.
                   6707: set dummy mt; ac_word=$2
                   6708: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6709: $as_echo_n "checking for $ac_word... " >&6; }
                   6710: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   6711:   $as_echo_n "(cached) " >&6
                   6712: else
                   6713:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6714:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6715: else
                   6716: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6717: for as_dir in $PATH
                   6718: do
                   6719:   IFS=$as_save_IFS
                   6720:   test -z "$as_dir" && as_dir=.
                   6721:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6722:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6723:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6724:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6725:     break 2
                   6726:   fi
                   6727: done
                   6728:   done
                   6729: IFS=$as_save_IFS
                   6730: 
                   6731: fi
                   6732: fi
                   6733: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6734: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6735:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   6736: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   6737: else
                   6738:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6739: $as_echo "no" >&6; }
                   6740: fi
                   6741: 
                   6742:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   6743:     MANIFEST_TOOL=":"
                   6744:   else
                   6745:     case $cross_compiling:$ac_tool_warned in
                   6746: yes:)
                   6747: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6748: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6749: ac_tool_warned=yes ;;
                   6750: esac
                   6751:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6752:   fi
                   6753: else
                   6754:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6755: fi
                   6756: 
                   6757: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6759: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   6760: if ${lt_cv_path_mainfest_tool+:} false; then :
                   6761:   $as_echo_n "(cached) " >&6
                   6762: else
                   6763:   lt_cv_path_mainfest_tool=no
                   6764:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6765:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6766:   cat conftest.err >&5
                   6767:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6768:     lt_cv_path_mainfest_tool=yes
                   6769:   fi
                   6770:   rm -f conftest*
                   6771: fi
                   6772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   6773: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
                   6774: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6775:   MANIFEST_TOOL=:
                   6776: fi
                   6777: 
                   6778: 
                   6779: 
                   6780: 
                   6781: 
                   6782: 
                   6783:   case $host_os in
                   6784:     rhapsody* | darwin*)
                   6785:     if test -n "$ac_tool_prefix"; then
                   6786:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6787: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6789: $as_echo_n "checking for $ac_word... " >&6; }
                   6790: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   6791:   $as_echo_n "(cached) " >&6
                   6792: else
                   6793:   if test -n "$DSYMUTIL"; then
                   6794:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6795: else
                   6796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6797: for as_dir in $PATH
                   6798: do
                   6799:   IFS=$as_save_IFS
                   6800:   test -z "$as_dir" && as_dir=.
                   6801:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6802:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6803:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6804:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6805:     break 2
                   6806:   fi
                   6807: done
                   6808:   done
                   6809: IFS=$as_save_IFS
                   6810: 
                   6811: fi
                   6812: fi
                   6813: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6814: if test -n "$DSYMUTIL"; then
                   6815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   6816: $as_echo "$DSYMUTIL" >&6; }
                   6817: else
                   6818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6819: $as_echo "no" >&6; }
                   6820: fi
                   6821: 
                   6822: 
                   6823: fi
                   6824: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6825:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6826:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6827: set dummy dsymutil; ac_word=$2
                   6828: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6829: $as_echo_n "checking for $ac_word... " >&6; }
                   6830: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   6831:   $as_echo_n "(cached) " >&6
                   6832: else
                   6833:   if test -n "$ac_ct_DSYMUTIL"; then
                   6834:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6835: else
                   6836: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6837: for as_dir in $PATH
                   6838: do
                   6839:   IFS=$as_save_IFS
                   6840:   test -z "$as_dir" && as_dir=.
                   6841:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6842:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6843:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6844:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6845:     break 2
                   6846:   fi
                   6847: done
                   6848:   done
                   6849: IFS=$as_save_IFS
                   6850: 
                   6851: fi
                   6852: fi
                   6853: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6854: if test -n "$ac_ct_DSYMUTIL"; then
                   6855:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   6856: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   6857: else
                   6858:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6859: $as_echo "no" >&6; }
                   6860: fi
                   6861: 
                   6862:   if test "x$ac_ct_DSYMUTIL" = x; then
                   6863:     DSYMUTIL=":"
                   6864:   else
                   6865:     case $cross_compiling:$ac_tool_warned in
                   6866: yes:)
                   6867: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6868: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6869: ac_tool_warned=yes ;;
                   6870: esac
                   6871:     DSYMUTIL=$ac_ct_DSYMUTIL
                   6872:   fi
                   6873: else
                   6874:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6875: fi
                   6876: 
                   6877:     if test -n "$ac_tool_prefix"; then
                   6878:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6879: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6881: $as_echo_n "checking for $ac_word... " >&6; }
                   6882: if ${ac_cv_prog_NMEDIT+:} false; then :
                   6883:   $as_echo_n "(cached) " >&6
                   6884: else
                   6885:   if test -n "$NMEDIT"; then
                   6886:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6887: else
                   6888: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6889: for as_dir in $PATH
                   6890: do
                   6891:   IFS=$as_save_IFS
                   6892:   test -z "$as_dir" && as_dir=.
                   6893:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6894:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6895:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6896:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6897:     break 2
                   6898:   fi
                   6899: done
                   6900:   done
                   6901: IFS=$as_save_IFS
                   6902: 
                   6903: fi
                   6904: fi
                   6905: NMEDIT=$ac_cv_prog_NMEDIT
                   6906: if test -n "$NMEDIT"; then
                   6907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   6908: $as_echo "$NMEDIT" >&6; }
                   6909: else
                   6910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6911: $as_echo "no" >&6; }
                   6912: fi
                   6913: 
                   6914: 
                   6915: fi
                   6916: if test -z "$ac_cv_prog_NMEDIT"; then
                   6917:   ac_ct_NMEDIT=$NMEDIT
                   6918:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6919: set dummy nmedit; ac_word=$2
                   6920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6921: $as_echo_n "checking for $ac_word... " >&6; }
                   6922: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   6923:   $as_echo_n "(cached) " >&6
                   6924: else
                   6925:   if test -n "$ac_ct_NMEDIT"; then
                   6926:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6927: else
                   6928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6929: for as_dir in $PATH
                   6930: do
                   6931:   IFS=$as_save_IFS
                   6932:   test -z "$as_dir" && as_dir=.
                   6933:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6934:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6935:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6936:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6937:     break 2
                   6938:   fi
                   6939: done
                   6940:   done
                   6941: IFS=$as_save_IFS
                   6942: 
                   6943: fi
                   6944: fi
                   6945: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6946: if test -n "$ac_ct_NMEDIT"; then
                   6947:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   6948: $as_echo "$ac_ct_NMEDIT" >&6; }
                   6949: else
                   6950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6951: $as_echo "no" >&6; }
                   6952: fi
                   6953: 
                   6954:   if test "x$ac_ct_NMEDIT" = x; then
                   6955:     NMEDIT=":"
                   6956:   else
                   6957:     case $cross_compiling:$ac_tool_warned in
                   6958: yes:)
                   6959: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6960: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6961: ac_tool_warned=yes ;;
                   6962: esac
                   6963:     NMEDIT=$ac_ct_NMEDIT
                   6964:   fi
                   6965: else
                   6966:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6967: fi
                   6968: 
                   6969:     if test -n "$ac_tool_prefix"; then
                   6970:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6971: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6973: $as_echo_n "checking for $ac_word... " >&6; }
                   6974: if ${ac_cv_prog_LIPO+:} false; then :
                   6975:   $as_echo_n "(cached) " >&6
                   6976: else
                   6977:   if test -n "$LIPO"; then
                   6978:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6979: else
                   6980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6981: for as_dir in $PATH
                   6982: do
                   6983:   IFS=$as_save_IFS
                   6984:   test -z "$as_dir" && as_dir=.
                   6985:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6986:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6987:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6989:     break 2
                   6990:   fi
                   6991: done
                   6992:   done
                   6993: IFS=$as_save_IFS
                   6994: 
                   6995: fi
                   6996: fi
                   6997: LIPO=$ac_cv_prog_LIPO
                   6998: if test -n "$LIPO"; then
                   6999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7000: $as_echo "$LIPO" >&6; }
                   7001: else
                   7002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7003: $as_echo "no" >&6; }
                   7004: fi
                   7005: 
                   7006: 
                   7007: fi
                   7008: if test -z "$ac_cv_prog_LIPO"; then
                   7009:   ac_ct_LIPO=$LIPO
                   7010:   # Extract the first word of "lipo", so it can be a program name with args.
                   7011: set dummy lipo; ac_word=$2
                   7012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7013: $as_echo_n "checking for $ac_word... " >&6; }
                   7014: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7015:   $as_echo_n "(cached) " >&6
                   7016: else
                   7017:   if test -n "$ac_ct_LIPO"; then
                   7018:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7019: else
                   7020: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7021: for as_dir in $PATH
                   7022: do
                   7023:   IFS=$as_save_IFS
                   7024:   test -z "$as_dir" && as_dir=.
                   7025:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7026:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7027:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7028:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7029:     break 2
                   7030:   fi
                   7031: done
                   7032:   done
                   7033: IFS=$as_save_IFS
                   7034: 
                   7035: fi
                   7036: fi
                   7037: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7038: if test -n "$ac_ct_LIPO"; then
                   7039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7040: $as_echo "$ac_ct_LIPO" >&6; }
                   7041: else
                   7042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7043: $as_echo "no" >&6; }
                   7044: fi
                   7045: 
                   7046:   if test "x$ac_ct_LIPO" = x; then
                   7047:     LIPO=":"
                   7048:   else
                   7049:     case $cross_compiling:$ac_tool_warned in
                   7050: yes:)
                   7051: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7052: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7053: ac_tool_warned=yes ;;
                   7054: esac
                   7055:     LIPO=$ac_ct_LIPO
                   7056:   fi
                   7057: else
                   7058:   LIPO="$ac_cv_prog_LIPO"
                   7059: fi
                   7060: 
                   7061:     if test -n "$ac_tool_prefix"; then
                   7062:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7063: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7065: $as_echo_n "checking for $ac_word... " >&6; }
                   7066: if ${ac_cv_prog_OTOOL+:} false; then :
                   7067:   $as_echo_n "(cached) " >&6
                   7068: else
                   7069:   if test -n "$OTOOL"; then
                   7070:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7071: else
                   7072: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7073: for as_dir in $PATH
                   7074: do
                   7075:   IFS=$as_save_IFS
                   7076:   test -z "$as_dir" && as_dir=.
                   7077:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7078:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7079:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7080:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7081:     break 2
                   7082:   fi
                   7083: done
                   7084:   done
                   7085: IFS=$as_save_IFS
                   7086: 
                   7087: fi
                   7088: fi
                   7089: OTOOL=$ac_cv_prog_OTOOL
                   7090: if test -n "$OTOOL"; then
                   7091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7092: $as_echo "$OTOOL" >&6; }
                   7093: else
                   7094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7095: $as_echo "no" >&6; }
                   7096: fi
                   7097: 
                   7098: 
                   7099: fi
                   7100: if test -z "$ac_cv_prog_OTOOL"; then
                   7101:   ac_ct_OTOOL=$OTOOL
                   7102:   # Extract the first word of "otool", so it can be a program name with args.
                   7103: set dummy otool; ac_word=$2
                   7104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7105: $as_echo_n "checking for $ac_word... " >&6; }
                   7106: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7107:   $as_echo_n "(cached) " >&6
                   7108: else
                   7109:   if test -n "$ac_ct_OTOOL"; then
                   7110:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7111: else
                   7112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7113: for as_dir in $PATH
                   7114: do
                   7115:   IFS=$as_save_IFS
                   7116:   test -z "$as_dir" && as_dir=.
                   7117:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7119:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7121:     break 2
                   7122:   fi
                   7123: done
                   7124:   done
                   7125: IFS=$as_save_IFS
                   7126: 
                   7127: fi
                   7128: fi
                   7129: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7130: if test -n "$ac_ct_OTOOL"; then
                   7131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7132: $as_echo "$ac_ct_OTOOL" >&6; }
                   7133: else
                   7134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7135: $as_echo "no" >&6; }
                   7136: fi
                   7137: 
                   7138:   if test "x$ac_ct_OTOOL" = x; then
                   7139:     OTOOL=":"
                   7140:   else
                   7141:     case $cross_compiling:$ac_tool_warned in
                   7142: yes:)
                   7143: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7144: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7145: ac_tool_warned=yes ;;
                   7146: esac
                   7147:     OTOOL=$ac_ct_OTOOL
                   7148:   fi
                   7149: else
                   7150:   OTOOL="$ac_cv_prog_OTOOL"
                   7151: fi
                   7152: 
                   7153:     if test -n "$ac_tool_prefix"; then
                   7154:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7155: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7157: $as_echo_n "checking for $ac_word... " >&6; }
                   7158: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7159:   $as_echo_n "(cached) " >&6
                   7160: else
                   7161:   if test -n "$OTOOL64"; then
                   7162:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7163: else
                   7164: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7165: for as_dir in $PATH
                   7166: do
                   7167:   IFS=$as_save_IFS
                   7168:   test -z "$as_dir" && as_dir=.
                   7169:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7170:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7171:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7172:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7173:     break 2
                   7174:   fi
                   7175: done
                   7176:   done
                   7177: IFS=$as_save_IFS
                   7178: 
                   7179: fi
                   7180: fi
                   7181: OTOOL64=$ac_cv_prog_OTOOL64
                   7182: if test -n "$OTOOL64"; then
                   7183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7184: $as_echo "$OTOOL64" >&6; }
                   7185: else
                   7186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7187: $as_echo "no" >&6; }
                   7188: fi
                   7189: 
                   7190: 
                   7191: fi
                   7192: if test -z "$ac_cv_prog_OTOOL64"; then
                   7193:   ac_ct_OTOOL64=$OTOOL64
                   7194:   # Extract the first word of "otool64", so it can be a program name with args.
                   7195: set dummy otool64; ac_word=$2
                   7196: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7197: $as_echo_n "checking for $ac_word... " >&6; }
                   7198: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   7199:   $as_echo_n "(cached) " >&6
                   7200: else
                   7201:   if test -n "$ac_ct_OTOOL64"; then
                   7202:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7203: else
                   7204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7205: for as_dir in $PATH
                   7206: do
                   7207:   IFS=$as_save_IFS
                   7208:   test -z "$as_dir" && as_dir=.
                   7209:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7210:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7211:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7212:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7213:     break 2
                   7214:   fi
                   7215: done
                   7216:   done
                   7217: IFS=$as_save_IFS
                   7218: 
                   7219: fi
                   7220: fi
                   7221: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7222: if test -n "$ac_ct_OTOOL64"; then
                   7223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7224: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7225: else
                   7226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7227: $as_echo "no" >&6; }
                   7228: fi
                   7229: 
                   7230:   if test "x$ac_ct_OTOOL64" = x; then
                   7231:     OTOOL64=":"
                   7232:   else
                   7233:     case $cross_compiling:$ac_tool_warned in
                   7234: yes:)
                   7235: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7236: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7237: ac_tool_warned=yes ;;
                   7238: esac
                   7239:     OTOOL64=$ac_ct_OTOOL64
                   7240:   fi
                   7241: else
                   7242:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7243: fi
                   7244: 
                   7245: 
                   7246: 
                   7247: 
                   7248: 
                   7249: 
                   7250: 
                   7251: 
                   7252: 
                   7253: 
                   7254: 
                   7255: 
                   7256: 
                   7257: 
                   7258: 
                   7259: 
                   7260: 
                   7261: 
                   7262: 
                   7263: 
                   7264: 
                   7265: 
                   7266: 
                   7267: 
                   7268: 
                   7269: 
                   7270: 
                   7271:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7272: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7273: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   7274:   $as_echo_n "(cached) " >&6
                   7275: else
                   7276:   lt_cv_apple_cc_single_mod=no
                   7277:       if test -z "${LT_MULTI_MODULE}"; then
                   7278:        # By default we will add the -single_module flag. You can override
                   7279:        # by either setting the environment variable LT_MULTI_MODULE
                   7280:        # non-empty at configure time, or by adding -multi_module to the
                   7281:        # link flags.
                   7282:        rm -rf libconftest.dylib*
                   7283:        echo "int foo(void){return 1;}" > conftest.c
                   7284:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7285: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7286:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7287:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7288:         _lt_result=$?
                   7289:        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
                   7290:          lt_cv_apple_cc_single_mod=yes
                   7291:        else
                   7292:          cat conftest.err >&5
                   7293:        fi
                   7294:        rm -rf libconftest.dylib*
                   7295:        rm -f conftest.*
                   7296:       fi
                   7297: fi
                   7298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7299: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
                   7300:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7301: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   7302: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   7303:   $as_echo_n "(cached) " >&6
                   7304: else
                   7305:   lt_cv_ld_exported_symbols_list=no
                   7306:       save_LDFLAGS=$LDFLAGS
                   7307:       echo "_main" > conftest.sym
                   7308:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7309:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7310: /* end confdefs.h.  */
                   7311: 
                   7312: int
                   7313: main ()
                   7314: {
                   7315: 
                   7316:   ;
                   7317:   return 0;
                   7318: }
                   7319: _ACEOF
                   7320: if ac_fn_c_try_link "$LINENO"; then :
                   7321:   lt_cv_ld_exported_symbols_list=yes
                   7322: else
                   7323:   lt_cv_ld_exported_symbols_list=no
                   7324: fi
                   7325: rm -f core conftest.err conftest.$ac_objext \
                   7326:     conftest$ac_exeext conftest.$ac_ext
                   7327:        LDFLAGS="$save_LDFLAGS"
                   7328: 
                   7329: fi
                   7330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7331: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
                   7332:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7333: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   7334: if ${lt_cv_ld_force_load+:} false; then :
                   7335:   $as_echo_n "(cached) " >&6
                   7336: else
                   7337:   lt_cv_ld_force_load=no
                   7338:       cat > conftest.c << _LT_EOF
                   7339: int forced_loaded() { return 2;}
                   7340: _LT_EOF
                   7341:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7342:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7343:       echo "$AR cru libconftest.a conftest.o" >&5
                   7344:       $AR cru libconftest.a conftest.o 2>&5
                   7345:       echo "$RANLIB libconftest.a" >&5
                   7346:       $RANLIB libconftest.a 2>&5
                   7347:       cat > conftest.c << _LT_EOF
                   7348: int main() { return 0;}
                   7349: _LT_EOF
                   7350:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7351:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7352:       _lt_result=$?
                   7353:       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
                   7354:        lt_cv_ld_force_load=yes
                   7355:       else
                   7356:        cat conftest.err >&5
                   7357:       fi
                   7358:         rm -f conftest.err libconftest.a conftest conftest.c
                   7359:         rm -rf conftest.dSYM
                   7360: 
                   7361: fi
                   7362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7363: $as_echo "$lt_cv_ld_force_load" >&6; }
                   7364:     case $host_os in
                   7365:     rhapsody* | darwin1.[012])
                   7366:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7367:     darwin1.*)
                   7368:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7369:     darwin*) # darwin 5.x on
                   7370:       # if running on 10.5 or later, the deployment target defaults
                   7371:       # to the OS version, if on x86, and 10.4, the deployment
                   7372:       # target defaults to 10.4. Don't you love it?
                   7373:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7374:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7375:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7376:        10.[012]*)
                   7377:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7378:        10.*)
                   7379:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7380:       esac
                   7381:     ;;
                   7382:   esac
                   7383:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7384:       _lt_dar_single_mod='$single_module'
                   7385:     fi
                   7386:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7387:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7388:     else
                   7389:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7390:     fi
                   7391:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7392:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7393:     else
                   7394:       _lt_dsymutil=
                   7395:     fi
                   7396:     ;;
                   7397:   esac
                   7398: 
                   7399: for ac_header in dlfcn.h
                   7400: do :
                   7401:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7402: "
                   7403: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   7404:   cat >>confdefs.h <<_ACEOF
                   7405: #define HAVE_DLFCN_H 1
                   7406: _ACEOF
                   7407: 
                   7408: fi
                   7409: 
                   7410: done
                   7411: 
                   7412: 
                   7413: 
                   7414: 
                   7415: 
                   7416: # Set options
                   7417: 
                   7418: 
                   7419: 
                   7420:         enable_dlopen=no
                   7421: 
                   7422: 
                   7423:   enable_win32_dll=no
                   7424: 
                   7425: 
                   7426:             # Check whether --enable-shared was given.
                   7427: if test "${enable_shared+set}" = set; then :
                   7428:   enableval=$enable_shared; p=${PACKAGE-default}
                   7429:     case $enableval in
                   7430:     yes) enable_shared=yes ;;
                   7431:     no) enable_shared=no ;;
                   7432:     *)
                   7433:       enable_shared=no
                   7434:       # Look at the argument we got.  We use all the common list separators.
                   7435:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7436:       for pkg in $enableval; do
                   7437:        IFS="$lt_save_ifs"
                   7438:        if test "X$pkg" = "X$p"; then
                   7439:          enable_shared=yes
                   7440:        fi
                   7441:       done
                   7442:       IFS="$lt_save_ifs"
                   7443:       ;;
                   7444:     esac
                   7445: else
                   7446:   enable_shared=yes
                   7447: fi
                   7448: 
                   7449: 
                   7450: 
                   7451: 
                   7452: 
                   7453: 
                   7454: 
                   7455: 
                   7456: 
                   7457:   # Check whether --enable-static was given.
                   7458: if test "${enable_static+set}" = set; then :
                   7459:   enableval=$enable_static; p=${PACKAGE-default}
                   7460:     case $enableval in
                   7461:     yes) enable_static=yes ;;
                   7462:     no) enable_static=no ;;
                   7463:     *)
                   7464:      enable_static=no
                   7465:       # Look at the argument we got.  We use all the common list separators.
                   7466:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7467:       for pkg in $enableval; do
                   7468:        IFS="$lt_save_ifs"
                   7469:        if test "X$pkg" = "X$p"; then
                   7470:          enable_static=yes
                   7471:        fi
                   7472:       done
                   7473:       IFS="$lt_save_ifs"
                   7474:       ;;
                   7475:     esac
                   7476: else
                   7477:   enable_static=yes
                   7478: fi
                   7479: 
                   7480: 
                   7481: 
                   7482: 
                   7483: 
                   7484: 
                   7485: 
                   7486: 
                   7487: 
                   7488: 
                   7489: # Check whether --with-pic was given.
                   7490: if test "${with_pic+set}" = set; then :
                   7491:   withval=$with_pic; pic_mode="$withval"
                   7492: else
                   7493:   pic_mode=default
                   7494: fi
                   7495: 
                   7496: 
                   7497: test -z "$pic_mode" && pic_mode=default
                   7498: 
                   7499: 
                   7500: 
                   7501: 
                   7502: 
                   7503: 
                   7504: 
                   7505:   # Check whether --enable-fast-install was given.
                   7506: if test "${enable_fast_install+set}" = set; then :
                   7507:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7508:     case $enableval in
                   7509:     yes) enable_fast_install=yes ;;
                   7510:     no) enable_fast_install=no ;;
                   7511:     *)
                   7512:       enable_fast_install=no
                   7513:       # Look at the argument we got.  We use all the common list separators.
                   7514:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7515:       for pkg in $enableval; do
                   7516:        IFS="$lt_save_ifs"
                   7517:        if test "X$pkg" = "X$p"; then
                   7518:          enable_fast_install=yes
                   7519:        fi
                   7520:       done
                   7521:       IFS="$lt_save_ifs"
                   7522:       ;;
                   7523:     esac
                   7524: else
                   7525:   enable_fast_install=yes
                   7526: fi
                   7527: 
                   7528: 
                   7529: 
                   7530: 
                   7531: 
                   7532: 
                   7533: 
                   7534: 
                   7535: 
                   7536: 
                   7537: 
                   7538: # This can be used to rebuild libtool when needed
                   7539: LIBTOOL_DEPS="$ltmain"
                   7540: 
                   7541: # Always use our own libtool.
                   7542: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   7543: 
                   7544: 
                   7545: 
                   7546: 
                   7547: 
                   7548: 
                   7549: 
                   7550: 
                   7551: 
                   7552: 
                   7553: 
                   7554: 
                   7555: 
                   7556: 
                   7557: 
                   7558: 
                   7559: 
                   7560: 
                   7561: 
                   7562: 
                   7563: 
                   7564: 
                   7565: 
                   7566: 
                   7567: 
                   7568: 
                   7569: test -z "$LN_S" && LN_S="ln -s"
                   7570: 
                   7571: 
                   7572: 
                   7573: 
                   7574: 
                   7575: 
                   7576: 
                   7577: 
                   7578: 
                   7579: 
                   7580: 
                   7581: 
                   7582: 
                   7583: 
                   7584: if test -n "${ZSH_VERSION+set}" ; then
                   7585:    setopt NO_GLOB_SUBST
                   7586: fi
                   7587: 
                   7588: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   7589: $as_echo_n "checking for objdir... " >&6; }
                   7590: if ${lt_cv_objdir+:} false; then :
                   7591:   $as_echo_n "(cached) " >&6
                   7592: else
                   7593:   rm -f .libs 2>/dev/null
                   7594: mkdir .libs 2>/dev/null
                   7595: if test -d .libs; then
                   7596:   lt_cv_objdir=.libs
                   7597: else
                   7598:   # MS-DOS does not allow filenames that begin with a dot.
                   7599:   lt_cv_objdir=_libs
                   7600: fi
                   7601: rmdir .libs 2>/dev/null
                   7602: fi
                   7603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   7604: $as_echo "$lt_cv_objdir" >&6; }
                   7605: objdir=$lt_cv_objdir
                   7606: 
                   7607: 
                   7608: 
                   7609: 
                   7610: 
                   7611: cat >>confdefs.h <<_ACEOF
                   7612: #define LT_OBJDIR "$lt_cv_objdir/"
                   7613: _ACEOF
                   7614: 
                   7615: 
                   7616: 
                   7617: 
                   7618: case $host_os in
                   7619: aix3*)
                   7620:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7621:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7622:   # vanish in a puff of smoke.
                   7623:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7624:     COLLECT_NAMES=
                   7625:     export COLLECT_NAMES
                   7626:   fi
                   7627:   ;;
                   7628: esac
                   7629: 
                   7630: # Global variables:
                   7631: ofile=libtool
                   7632: can_build_shared=yes
                   7633: 
                   7634: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7635: # which needs '.lib').
                   7636: libext=a
                   7637: 
                   7638: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   7639: 
                   7640: old_CC="$CC"
                   7641: old_CFLAGS="$CFLAGS"
                   7642: 
                   7643: # Set sane defaults for various variables
                   7644: test -z "$CC" && CC=cc
                   7645: test -z "$LTCC" && LTCC=$CC
                   7646: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7647: test -z "$LD" && LD=ld
                   7648: test -z "$ac_objext" && ac_objext=o
                   7649: 
                   7650: for cc_temp in $compiler""; do
                   7651:   case $cc_temp in
                   7652:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7653:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7654:     \-*) ;;
                   7655:     *) break;;
                   7656:   esac
                   7657: done
                   7658: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   7659: 
                   7660: 
                   7661: # Only perform the check for file, if the check method requires it
                   7662: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7663: case $deplibs_check_method in
                   7664: file_magic*)
                   7665:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7666:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   7667: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   7668: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   7669:   $as_echo_n "(cached) " >&6
                   7670: else
                   7671:   case $MAGIC_CMD in
                   7672: [\\/*] |  ?:[\\/]*)
                   7673:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7674:   ;;
                   7675: *)
                   7676:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7677:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7678:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7679:   for ac_dir in $ac_dummy; do
                   7680:     IFS="$lt_save_ifs"
                   7681:     test -z "$ac_dir" && ac_dir=.
                   7682:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7683:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7684:       if test -n "$file_magic_test_file"; then
                   7685:        case $deplibs_check_method in
                   7686:        "file_magic "*)
                   7687:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7688:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7689:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7690:            $EGREP "$file_magic_regex" > /dev/null; then
                   7691:            :
                   7692:          else
                   7693:            cat <<_LT_EOF 1>&2
                   7694: 
                   7695: *** Warning: the command libtool uses to detect shared libraries,
                   7696: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7697: *** The result is that libtool may fail to recognize shared libraries
                   7698: *** as such.  This will affect the creation of libtool libraries that
                   7699: *** depend on shared libraries, but programs linked with such libtool
                   7700: *** libraries will work regardless of this problem.  Nevertheless, you
                   7701: *** may want to report the problem to your system manager and/or to
                   7702: *** bug-libtool@gnu.org
                   7703: 
                   7704: _LT_EOF
                   7705:          fi ;;
                   7706:        esac
                   7707:       fi
                   7708:       break
                   7709:     fi
                   7710:   done
                   7711:   IFS="$lt_save_ifs"
                   7712:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7713:   ;;
                   7714: esac
                   7715: fi
                   7716: 
                   7717: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7718: if test -n "$MAGIC_CMD"; then
                   7719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7720: $as_echo "$MAGIC_CMD" >&6; }
                   7721: else
                   7722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7723: $as_echo "no" >&6; }
                   7724: fi
                   7725: 
                   7726: 
                   7727: 
                   7728: 
                   7729: 
                   7730: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7731:   if test -n "$ac_tool_prefix"; then
                   7732:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   7733: $as_echo_n "checking for file... " >&6; }
                   7734: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   7735:   $as_echo_n "(cached) " >&6
                   7736: else
                   7737:   case $MAGIC_CMD in
                   7738: [\\/*] |  ?:[\\/]*)
                   7739:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7740:   ;;
                   7741: *)
                   7742:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7743:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7744:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7745:   for ac_dir in $ac_dummy; do
                   7746:     IFS="$lt_save_ifs"
                   7747:     test -z "$ac_dir" && ac_dir=.
                   7748:     if test -f $ac_dir/file; then
                   7749:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7750:       if test -n "$file_magic_test_file"; then
                   7751:        case $deplibs_check_method in
                   7752:        "file_magic "*)
                   7753:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7754:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7755:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7756:            $EGREP "$file_magic_regex" > /dev/null; then
                   7757:            :
                   7758:          else
                   7759:            cat <<_LT_EOF 1>&2
                   7760: 
                   7761: *** Warning: the command libtool uses to detect shared libraries,
                   7762: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7763: *** The result is that libtool may fail to recognize shared libraries
                   7764: *** as such.  This will affect the creation of libtool libraries that
                   7765: *** depend on shared libraries, but programs linked with such libtool
                   7766: *** libraries will work regardless of this problem.  Nevertheless, you
                   7767: *** may want to report the problem to your system manager and/or to
                   7768: *** bug-libtool@gnu.org
                   7769: 
                   7770: _LT_EOF
                   7771:          fi ;;
                   7772:        esac
                   7773:       fi
                   7774:       break
                   7775:     fi
                   7776:   done
                   7777:   IFS="$lt_save_ifs"
                   7778:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7779:   ;;
                   7780: esac
                   7781: fi
                   7782: 
                   7783: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7784: if test -n "$MAGIC_CMD"; then
                   7785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7786: $as_echo "$MAGIC_CMD" >&6; }
                   7787: else
                   7788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7789: $as_echo "no" >&6; }
                   7790: fi
                   7791: 
                   7792: 
                   7793:   else
                   7794:     MAGIC_CMD=:
                   7795:   fi
                   7796: fi
                   7797: 
                   7798:   fi
                   7799:   ;;
                   7800: esac
                   7801: 
                   7802: # Use C for the default configuration in the libtool script
                   7803: 
                   7804: lt_save_CC="$CC"
                   7805: ac_ext=c
                   7806: ac_cpp='$CPP $CPPFLAGS'
                   7807: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7808: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7809: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7810: 
                   7811: 
                   7812: # Source file extension for C test sources.
                   7813: ac_ext=c
                   7814: 
                   7815: # Object file extension for compiled C test sources.
                   7816: objext=o
                   7817: objext=$objext
                   7818: 
                   7819: # Code to be used in simple compile tests
                   7820: lt_simple_compile_test_code="int some_variable = 0;"
                   7821: 
                   7822: # Code to be used in simple link tests
                   7823: lt_simple_link_test_code='int main(){return(0);}'
                   7824: 
                   7825: 
                   7826: 
                   7827: 
                   7828: 
                   7829: 
                   7830: 
                   7831: # If no C compiler was specified, use CC.
                   7832: LTCC=${LTCC-"$CC"}
                   7833: 
                   7834: # If no C compiler flags were specified, use CFLAGS.
                   7835: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7836: 
                   7837: # Allow CC to be a program name with arguments.
                   7838: compiler=$CC
                   7839: 
                   7840: # Save the default compiler, since it gets overwritten when the other
                   7841: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7842: compiler_DEFAULT=$CC
                   7843: 
                   7844: # save warnings/boilerplate of simple test code
                   7845: ac_outfile=conftest.$ac_objext
                   7846: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7847: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7848: _lt_compiler_boilerplate=`cat conftest.err`
                   7849: $RM conftest*
                   7850: 
                   7851: ac_outfile=conftest.$ac_objext
                   7852: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7853: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7854: _lt_linker_boilerplate=`cat conftest.err`
                   7855: $RM -r conftest*
                   7856: 
                   7857: 
                   7858: if test -n "$compiler"; then
                   7859: 
                   7860: lt_prog_compiler_no_builtin_flag=
                   7861: 
                   7862: if test "$GCC" = yes; then
                   7863:   case $cc_basename in
                   7864:   nvcc*)
                   7865:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   7866:   *)
                   7867:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   7868:   esac
                   7869: 
                   7870:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7871: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   7872: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   7873:   $as_echo_n "(cached) " >&6
                   7874: else
                   7875:   lt_cv_prog_compiler_rtti_exceptions=no
                   7876:    ac_outfile=conftest.$ac_objext
                   7877:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7878:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7879:    # Insert the option either (1) after the last *FLAGS variable, or
                   7880:    # (2) before a word containing "conftest.", or (3) at the end.
                   7881:    # Note that $ac_compile itself does not contain backslashes and begins
                   7882:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7883:    # The option is referenced via a variable to avoid confusing sed.
                   7884:    lt_compile=`echo "$ac_compile" | $SED \
                   7885:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7886:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7887:    -e 's:$: $lt_compiler_flag:'`
                   7888:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7889:    (eval "$lt_compile" 2>conftest.err)
                   7890:    ac_status=$?
                   7891:    cat conftest.err >&5
                   7892:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7893:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7894:      # The compiler can only warn and ignore the option if not recognized
                   7895:      # So say no if there are warnings other than the usual output.
                   7896:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7897:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7898:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7899:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7900:      fi
                   7901:    fi
                   7902:    $RM conftest*
                   7903: 
                   7904: fi
                   7905: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   7906: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   7907: 
                   7908: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7909:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   7910: else
                   7911:     :
                   7912: fi
                   7913: 
                   7914: fi
                   7915: 
                   7916: 
                   7917: 
                   7918: 
                   7919: 
                   7920: 
                   7921:   lt_prog_compiler_wl=
                   7922: lt_prog_compiler_pic=
                   7923: lt_prog_compiler_static=
                   7924: 
                   7925: 
                   7926:   if test "$GCC" = yes; then
                   7927:     lt_prog_compiler_wl='-Wl,'
                   7928:     lt_prog_compiler_static='-static'
                   7929: 
                   7930:     case $host_os in
                   7931:       aix*)
                   7932:       # All AIX code is PIC.
                   7933:       if test "$host_cpu" = ia64; then
                   7934:        # AIX 5 now supports IA64 processor
                   7935:        lt_prog_compiler_static='-Bstatic'
                   7936:       fi
                   7937:       ;;
                   7938: 
                   7939:     amigaos*)
                   7940:       case $host_cpu in
                   7941:       powerpc)
                   7942:             # see comment about AmigaOS4 .so support
                   7943:             lt_prog_compiler_pic='-fPIC'
                   7944:         ;;
                   7945:       m68k)
                   7946:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7947:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7948:             # like `-m68040'.
                   7949:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7950:         ;;
                   7951:       esac
                   7952:       ;;
                   7953: 
                   7954:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7955:       # PIC is the default for these OSes.
                   7956:       ;;
                   7957: 
                   7958:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7959:       # This hack is so that the source file can tell whether it is being
                   7960:       # built for inclusion in a dll (and should export symbols for example).
                   7961:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7962:       # (--disable-auto-import) libraries
                   7963:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7964:       ;;
                   7965: 
                   7966:     darwin* | rhapsody*)
                   7967:       # PIC is the default on this platform
                   7968:       # Common symbols not allowed in MH_DYLIB files
                   7969:       lt_prog_compiler_pic='-fno-common'
                   7970:       ;;
                   7971: 
                   7972:     haiku*)
                   7973:       # PIC is the default for Haiku.
                   7974:       # The "-static" flag exists, but is broken.
                   7975:       lt_prog_compiler_static=
                   7976:       ;;
                   7977: 
                   7978:     hpux*)
                   7979:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7980:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7981:       # sets the default TLS model and affects inlining.
                   7982:       case $host_cpu in
                   7983:       hppa*64*)
                   7984:        # +Z the default
                   7985:        ;;
                   7986:       *)
                   7987:        lt_prog_compiler_pic='-fPIC'
                   7988:        ;;
                   7989:       esac
                   7990:       ;;
                   7991: 
                   7992:     interix[3-9]*)
                   7993:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   7994:       # Instead, we relocate shared libraries at runtime.
                   7995:       ;;
                   7996: 
                   7997:     msdosdjgpp*)
                   7998:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   7999:       # on systems that don't support them.
                   8000:       lt_prog_compiler_can_build_shared=no
                   8001:       enable_shared=no
                   8002:       ;;
                   8003: 
                   8004:     *nto* | *qnx*)
                   8005:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8006:       # it will coredump.
                   8007:       lt_prog_compiler_pic='-fPIC -shared'
                   8008:       ;;
                   8009: 
                   8010:     sysv4*MP*)
                   8011:       if test -d /usr/nec; then
                   8012:        lt_prog_compiler_pic=-Kconform_pic
                   8013:       fi
                   8014:       ;;
                   8015: 
                   8016:     *)
                   8017:       lt_prog_compiler_pic='-fPIC'
                   8018:       ;;
                   8019:     esac
                   8020: 
                   8021:     case $cc_basename in
                   8022:     nvcc*) # Cuda Compiler Driver 2.2
                   8023:       lt_prog_compiler_wl='-Xlinker '
                   8024:       lt_prog_compiler_pic='-Xcompiler -fPIC'
                   8025:       ;;
                   8026:     esac
                   8027:   else
                   8028:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8029:     case $host_os in
                   8030:     aix*)
                   8031:       lt_prog_compiler_wl='-Wl,'
                   8032:       if test "$host_cpu" = ia64; then
                   8033:        # AIX 5 now supports IA64 processor
                   8034:        lt_prog_compiler_static='-Bstatic'
                   8035:       else
                   8036:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8037:       fi
                   8038:       ;;
                   8039: 
                   8040:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8041:       # This hack is so that the source file can tell whether it is being
                   8042:       # built for inclusion in a dll (and should export symbols for example).
                   8043:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8044:       ;;
                   8045: 
                   8046:     hpux9* | hpux10* | hpux11*)
                   8047:       lt_prog_compiler_wl='-Wl,'
                   8048:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8049:       # not for PA HP-UX.
                   8050:       case $host_cpu in
                   8051:       hppa*64*|ia64*)
                   8052:        # +Z the default
                   8053:        ;;
                   8054:       *)
                   8055:        lt_prog_compiler_pic='+Z'
                   8056:        ;;
                   8057:       esac
                   8058:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8059:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8060:       ;;
                   8061: 
                   8062:     irix5* | irix6* | nonstopux*)
                   8063:       lt_prog_compiler_wl='-Wl,'
                   8064:       # PIC (with -KPIC) is the default.
                   8065:       lt_prog_compiler_static='-non_shared'
                   8066:       ;;
                   8067: 
                   8068:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8069:       case $cc_basename in
                   8070:       # old Intel for x86_64 which still supported -KPIC.
                   8071:       ecc*)
                   8072:        lt_prog_compiler_wl='-Wl,'
                   8073:        lt_prog_compiler_pic='-KPIC'
                   8074:        lt_prog_compiler_static='-static'
                   8075:         ;;
                   8076:       # icc used to be incompatible with GCC.
                   8077:       # ICC 10 doesn't accept -KPIC any more.
                   8078:       icc* | ifort*)
                   8079:        lt_prog_compiler_wl='-Wl,'
                   8080:        lt_prog_compiler_pic='-fPIC'
                   8081:        lt_prog_compiler_static='-static'
                   8082:         ;;
                   8083:       # Lahey Fortran 8.1.
                   8084:       lf95*)
                   8085:        lt_prog_compiler_wl='-Wl,'
                   8086:        lt_prog_compiler_pic='--shared'
                   8087:        lt_prog_compiler_static='--static'
                   8088:        ;;
                   8089:       nagfor*)
                   8090:        # NAG Fortran compiler
                   8091:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8092:        lt_prog_compiler_pic='-PIC'
                   8093:        lt_prog_compiler_static='-Bstatic'
                   8094:        ;;
                   8095:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8096:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8097:        # which looks to be a dead project)
                   8098:        lt_prog_compiler_wl='-Wl,'
                   8099:        lt_prog_compiler_pic='-fpic'
                   8100:        lt_prog_compiler_static='-Bstatic'
                   8101:         ;;
                   8102:       ccc*)
                   8103:         lt_prog_compiler_wl='-Wl,'
                   8104:         # All Alpha code is PIC.
                   8105:         lt_prog_compiler_static='-non_shared'
                   8106:         ;;
                   8107:       xl* | bgxl* | bgf* | mpixl*)
                   8108:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8109:        lt_prog_compiler_wl='-Wl,'
                   8110:        lt_prog_compiler_pic='-qpic'
                   8111:        lt_prog_compiler_static='-qstaticlink'
                   8112:        ;;
                   8113:       *)
                   8114:        case `$CC -V 2>&1 | sed 5q` in
                   8115:        *Sun\ F* | *Sun*Fortran*)
                   8116:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8117:          lt_prog_compiler_pic='-KPIC'
                   8118:          lt_prog_compiler_static='-Bstatic'
                   8119:          lt_prog_compiler_wl=''
                   8120:          ;;
                   8121:        *Sun\ C*)
                   8122:          # Sun C 5.9
                   8123:          lt_prog_compiler_pic='-KPIC'
                   8124:          lt_prog_compiler_static='-Bstatic'
                   8125:          lt_prog_compiler_wl='-Wl,'
                   8126:          ;;
                   8127:        esac
                   8128:        ;;
                   8129:       esac
                   8130:       ;;
                   8131: 
                   8132:     newsos6)
                   8133:       lt_prog_compiler_pic='-KPIC'
                   8134:       lt_prog_compiler_static='-Bstatic'
                   8135:       ;;
                   8136: 
                   8137:     *nto* | *qnx*)
                   8138:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8139:       # it will coredump.
                   8140:       lt_prog_compiler_pic='-fPIC -shared'
                   8141:       ;;
                   8142: 
                   8143:     osf3* | osf4* | osf5*)
                   8144:       lt_prog_compiler_wl='-Wl,'
                   8145:       # All OSF/1 code is PIC.
                   8146:       lt_prog_compiler_static='-non_shared'
                   8147:       ;;
                   8148: 
                   8149:     rdos*)
                   8150:       lt_prog_compiler_static='-non_shared'
                   8151:       ;;
                   8152: 
                   8153:     solaris*)
                   8154:       lt_prog_compiler_pic='-KPIC'
                   8155:       lt_prog_compiler_static='-Bstatic'
                   8156:       case $cc_basename in
                   8157:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8158:        lt_prog_compiler_wl='-Qoption ld ';;
                   8159:       *)
                   8160:        lt_prog_compiler_wl='-Wl,';;
                   8161:       esac
                   8162:       ;;
                   8163: 
                   8164:     sunos4*)
                   8165:       lt_prog_compiler_wl='-Qoption ld '
                   8166:       lt_prog_compiler_pic='-PIC'
                   8167:       lt_prog_compiler_static='-Bstatic'
                   8168:       ;;
                   8169: 
                   8170:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8171:       lt_prog_compiler_wl='-Wl,'
                   8172:       lt_prog_compiler_pic='-KPIC'
                   8173:       lt_prog_compiler_static='-Bstatic'
                   8174:       ;;
                   8175: 
                   8176:     sysv4*MP*)
                   8177:       if test -d /usr/nec ;then
                   8178:        lt_prog_compiler_pic='-Kconform_pic'
                   8179:        lt_prog_compiler_static='-Bstatic'
                   8180:       fi
                   8181:       ;;
                   8182: 
                   8183:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8184:       lt_prog_compiler_wl='-Wl,'
                   8185:       lt_prog_compiler_pic='-KPIC'
                   8186:       lt_prog_compiler_static='-Bstatic'
                   8187:       ;;
                   8188: 
                   8189:     unicos*)
                   8190:       lt_prog_compiler_wl='-Wl,'
                   8191:       lt_prog_compiler_can_build_shared=no
                   8192:       ;;
                   8193: 
                   8194:     uts4*)
                   8195:       lt_prog_compiler_pic='-pic'
                   8196:       lt_prog_compiler_static='-Bstatic'
                   8197:       ;;
                   8198: 
                   8199:     *)
                   8200:       lt_prog_compiler_can_build_shared=no
                   8201:       ;;
                   8202:     esac
                   8203:   fi
                   8204: 
                   8205: case $host_os in
                   8206:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8207:   *djgpp*)
                   8208:     lt_prog_compiler_pic=
                   8209:     ;;
                   8210:   *)
                   8211:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8212:     ;;
                   8213: esac
                   8214: 
                   8215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8216: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   8217: if ${lt_cv_prog_compiler_pic+:} false; then :
                   8218:   $as_echo_n "(cached) " >&6
                   8219: else
                   8220:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8221: fi
                   8222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   8223: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   8224: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8225: 
                   8226: #
                   8227: # Check to make sure the PIC flag actually works.
                   8228: #
                   8229: if test -n "$lt_prog_compiler_pic"; then
                   8230:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8231: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   8232: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   8233:   $as_echo_n "(cached) " >&6
                   8234: else
                   8235:   lt_cv_prog_compiler_pic_works=no
                   8236:    ac_outfile=conftest.$ac_objext
                   8237:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8238:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8239:    # Insert the option either (1) after the last *FLAGS variable, or
                   8240:    # (2) before a word containing "conftest.", or (3) at the end.
                   8241:    # Note that $ac_compile itself does not contain backslashes and begins
                   8242:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8243:    # The option is referenced via a variable to avoid confusing sed.
                   8244:    lt_compile=`echo "$ac_compile" | $SED \
                   8245:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8246:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8247:    -e 's:$: $lt_compiler_flag:'`
                   8248:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8249:    (eval "$lt_compile" 2>conftest.err)
                   8250:    ac_status=$?
                   8251:    cat conftest.err >&5
                   8252:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8253:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8254:      # The compiler can only warn and ignore the option if not recognized
                   8255:      # So say no if there are warnings other than the usual output.
                   8256:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8257:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8258:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8259:        lt_cv_prog_compiler_pic_works=yes
                   8260:      fi
                   8261:    fi
                   8262:    $RM conftest*
                   8263: 
                   8264: fi
                   8265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8266: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8267: 
                   8268: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8269:     case $lt_prog_compiler_pic in
                   8270:      "" | " "*) ;;
                   8271:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8272:      esac
                   8273: else
                   8274:     lt_prog_compiler_pic=
                   8275:      lt_prog_compiler_can_build_shared=no
                   8276: fi
                   8277: 
                   8278: fi
                   8279: 
                   8280: 
                   8281: 
                   8282: 
                   8283: 
                   8284: 
                   8285: 
                   8286: 
                   8287: 
                   8288: 
                   8289: 
                   8290: #
                   8291: # Check to make sure the static flag actually works.
                   8292: #
                   8293: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8295: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   8296: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   8297:   $as_echo_n "(cached) " >&6
                   8298: else
                   8299:   lt_cv_prog_compiler_static_works=no
                   8300:    save_LDFLAGS="$LDFLAGS"
                   8301:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8302:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8303:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8304:      # The linker can only warn and ignore the option if not recognized
                   8305:      # So say no if there are warnings
                   8306:      if test -s conftest.err; then
                   8307:        # Append any errors to the config.log.
                   8308:        cat conftest.err 1>&5
                   8309:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8310:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8311:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8312:          lt_cv_prog_compiler_static_works=yes
                   8313:        fi
                   8314:      else
                   8315:        lt_cv_prog_compiler_static_works=yes
                   8316:      fi
                   8317:    fi
                   8318:    $RM -r conftest*
                   8319:    LDFLAGS="$save_LDFLAGS"
                   8320: 
                   8321: fi
                   8322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8323: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   8324: 
                   8325: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8326:     :
                   8327: else
                   8328:     lt_prog_compiler_static=
                   8329: fi
                   8330: 
                   8331: 
                   8332: 
                   8333: 
                   8334: 
                   8335: 
                   8336: 
                   8337:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8338: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8339: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   8340:   $as_echo_n "(cached) " >&6
                   8341: else
                   8342:   lt_cv_prog_compiler_c_o=no
                   8343:    $RM -r conftest 2>/dev/null
                   8344:    mkdir conftest
                   8345:    cd conftest
                   8346:    mkdir out
                   8347:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8348: 
                   8349:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8350:    # Insert the option either (1) after the last *FLAGS variable, or
                   8351:    # (2) before a word containing "conftest.", or (3) at the end.
                   8352:    # Note that $ac_compile itself does not contain backslashes and begins
                   8353:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8354:    lt_compile=`echo "$ac_compile" | $SED \
                   8355:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8356:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8357:    -e 's:$: $lt_compiler_flag:'`
                   8358:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8359:    (eval "$lt_compile" 2>out/conftest.err)
                   8360:    ac_status=$?
                   8361:    cat out/conftest.err >&5
                   8362:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8363:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8364:    then
                   8365:      # The compiler can only warn and ignore the option if not recognized
                   8366:      # So say no if there are warnings
                   8367:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8368:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8369:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8370:        lt_cv_prog_compiler_c_o=yes
                   8371:      fi
                   8372:    fi
                   8373:    chmod u+w . 2>&5
                   8374:    $RM conftest*
                   8375:    # SGI C++ compiler will create directory out/ii_files/ for
                   8376:    # template instantiation
                   8377:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8378:    $RM out/* && rmdir out
                   8379:    cd ..
                   8380:    $RM -r conftest
                   8381:    $RM conftest*
                   8382: 
                   8383: fi
                   8384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8385: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8386: 
                   8387: 
                   8388: 
                   8389: 
                   8390: 
                   8391: 
                   8392:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8393: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8394: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   8395:   $as_echo_n "(cached) " >&6
                   8396: else
                   8397:   lt_cv_prog_compiler_c_o=no
                   8398:    $RM -r conftest 2>/dev/null
                   8399:    mkdir conftest
                   8400:    cd conftest
                   8401:    mkdir out
                   8402:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8403: 
                   8404:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8405:    # Insert the option either (1) after the last *FLAGS variable, or
                   8406:    # (2) before a word containing "conftest.", or (3) at the end.
                   8407:    # Note that $ac_compile itself does not contain backslashes and begins
                   8408:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8409:    lt_compile=`echo "$ac_compile" | $SED \
                   8410:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8411:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8412:    -e 's:$: $lt_compiler_flag:'`
                   8413:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8414:    (eval "$lt_compile" 2>out/conftest.err)
                   8415:    ac_status=$?
                   8416:    cat out/conftest.err >&5
                   8417:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8418:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8419:    then
                   8420:      # The compiler can only warn and ignore the option if not recognized
                   8421:      # So say no if there are warnings
                   8422:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8423:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8424:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8425:        lt_cv_prog_compiler_c_o=yes
                   8426:      fi
                   8427:    fi
                   8428:    chmod u+w . 2>&5
                   8429:    $RM conftest*
                   8430:    # SGI C++ compiler will create directory out/ii_files/ for
                   8431:    # template instantiation
                   8432:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8433:    $RM out/* && rmdir out
                   8434:    cd ..
                   8435:    $RM -r conftest
                   8436:    $RM conftest*
                   8437: 
                   8438: fi
                   8439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8440: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: hard_links="nottested"
                   8446: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8447:   # do not overwrite the value of need_locks provided by the user
                   8448:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   8449: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8450:   hard_links=yes
                   8451:   $RM conftest*
                   8452:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8453:   touch conftest.a
                   8454:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8455:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8456:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   8457: $as_echo "$hard_links" >&6; }
                   8458:   if test "$hard_links" = no; then
                   8459:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8460: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8461:     need_locks=warn
                   8462:   fi
                   8463: else
                   8464:   need_locks=no
                   8465: fi
                   8466: 
                   8467: 
                   8468: 
                   8469: 
                   8470: 
                   8471: 
                   8472:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8473: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   8474: 
                   8475:   runpath_var=
                   8476:   allow_undefined_flag=
                   8477:   always_export_symbols=no
                   8478:   archive_cmds=
                   8479:   archive_expsym_cmds=
                   8480:   compiler_needs_object=no
                   8481:   enable_shared_with_static_runtimes=no
                   8482:   export_dynamic_flag_spec=
                   8483:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8484:   hardcode_automatic=no
                   8485:   hardcode_direct=no
                   8486:   hardcode_direct_absolute=no
                   8487:   hardcode_libdir_flag_spec=
                   8488:   hardcode_libdir_flag_spec_ld=
                   8489:   hardcode_libdir_separator=
                   8490:   hardcode_minus_L=no
                   8491:   hardcode_shlibpath_var=unsupported
                   8492:   inherit_rpath=no
                   8493:   link_all_deplibs=unknown
                   8494:   module_cmds=
                   8495:   module_expsym_cmds=
                   8496:   old_archive_from_new_cmds=
                   8497:   old_archive_from_expsyms_cmds=
                   8498:   thread_safe_flag_spec=
                   8499:   whole_archive_flag_spec=
                   8500:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8501:   # included in the symbol list
                   8502:   include_expsyms=
                   8503:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8504:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8505:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8506:   # as well as any symbol that contains `d'.
                   8507:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8508:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8509:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8510:   # the symbol is explicitly referenced.  Since portable code cannot
                   8511:   # rely on this symbol name, it's probably fine to never include it in
                   8512:   # preloaded symbol tables.
                   8513:   # Exclude shared library initialization/finalization symbols.
                   8514:   extract_expsyms_cmds=
                   8515: 
                   8516:   case $host_os in
                   8517:   cygwin* | mingw* | pw32* | cegcc*)
                   8518:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8519:     # When not using gcc, we currently assume that we are using
                   8520:     # Microsoft Visual C++.
                   8521:     if test "$GCC" != yes; then
                   8522:       with_gnu_ld=no
                   8523:     fi
                   8524:     ;;
                   8525:   interix*)
                   8526:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8527:     with_gnu_ld=yes
                   8528:     ;;
                   8529:   openbsd*)
                   8530:     with_gnu_ld=no
                   8531:     ;;
                   8532:   linux* | k*bsd*-gnu | gnu*)
                   8533:     link_all_deplibs=no
                   8534:     ;;
                   8535:   esac
                   8536: 
                   8537:   ld_shlibs=yes
                   8538: 
                   8539:   # On some targets, GNU ld is compatible enough with the native linker
                   8540:   # that we're better off using the native interface for both.
                   8541:   lt_use_gnu_ld_interface=no
                   8542:   if test "$with_gnu_ld" = yes; then
                   8543:     case $host_os in
                   8544:       aix*)
                   8545:        # The AIX port of GNU ld has always aspired to compatibility
                   8546:        # with the native linker.  However, as the warning in the GNU ld
                   8547:        # block says, versions before 2.19.5* couldn't really create working
                   8548:        # shared libraries, regardless of the interface used.
                   8549:        case `$LD -v 2>&1` in
                   8550:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8551:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8552:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8553:          *)
                   8554:            lt_use_gnu_ld_interface=yes
                   8555:            ;;
                   8556:        esac
                   8557:        ;;
                   8558:       *)
                   8559:        lt_use_gnu_ld_interface=yes
                   8560:        ;;
                   8561:     esac
                   8562:   fi
                   8563: 
                   8564:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8565:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8566:     wlarc='${wl}'
                   8567: 
                   8568:     # Set some defaults for GNU ld with shared library support. These
                   8569:     # are reset later if shared libraries are not supported. Putting them
                   8570:     # here allows them to be overridden if necessary.
                   8571:     runpath_var=LD_RUN_PATH
                   8572:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8573:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8574:     # ancient GNU ld didn't support --whole-archive et. al.
                   8575:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8576:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8577:     else
                   8578:       whole_archive_flag_spec=
                   8579:     fi
                   8580:     supports_anon_versioning=no
                   8581:     case `$LD -v 2>&1` in
                   8582:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8583:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8584:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8585:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8586:       *\ 2.11.*) ;; # other 2.11 versions
                   8587:       *) supports_anon_versioning=yes ;;
                   8588:     esac
                   8589: 
                   8590:     # See if GNU ld supports shared libraries.
                   8591:     case $host_os in
                   8592:     aix[3-9]*)
                   8593:       # On AIX/PPC, the GNU linker is very broken
                   8594:       if test "$host_cpu" != ia64; then
                   8595:        ld_shlibs=no
                   8596:        cat <<_LT_EOF 1>&2
                   8597: 
                   8598: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8599: *** to be unable to reliably create shared libraries on AIX.
                   8600: *** Therefore, libtool is disabling shared libraries support.  If you
                   8601: *** really care for shared libraries, you may want to install binutils
                   8602: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8603: *** You will then need to restart the configuration process.
                   8604: 
                   8605: _LT_EOF
                   8606:       fi
                   8607:       ;;
                   8608: 
                   8609:     amigaos*)
                   8610:       case $host_cpu in
                   8611:       powerpc)
                   8612:             # see comment about AmigaOS4 .so support
                   8613:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8614:             archive_expsym_cmds=''
                   8615:         ;;
                   8616:       m68k)
                   8617:             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)'
                   8618:             hardcode_libdir_flag_spec='-L$libdir'
                   8619:             hardcode_minus_L=yes
                   8620:         ;;
                   8621:       esac
                   8622:       ;;
                   8623: 
                   8624:     beos*)
                   8625:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8626:        allow_undefined_flag=unsupported
                   8627:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8628:        # support --undefined.  This deserves some investigation.  FIXME
                   8629:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8630:       else
                   8631:        ld_shlibs=no
                   8632:       fi
                   8633:       ;;
                   8634: 
                   8635:     cygwin* | mingw* | pw32* | cegcc*)
                   8636:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8637:       # as there is no search path for DLLs.
                   8638:       hardcode_libdir_flag_spec='-L$libdir'
                   8639:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8640:       allow_undefined_flag=unsupported
                   8641:       always_export_symbols=no
                   8642:       enable_shared_with_static_runtimes=yes
                   8643:       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'
                   8644:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   8645: 
                   8646:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8647:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8648:        # If the export-symbols file already is a .def file (1st line
                   8649:        # is EXPORTS), use it as is; otherwise, prepend...
                   8650:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8651:          cp $export_symbols $output_objdir/$soname.def;
                   8652:        else
                   8653:          echo EXPORTS > $output_objdir/$soname.def;
                   8654:          cat $export_symbols >> $output_objdir/$soname.def;
                   8655:        fi~
                   8656:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8657:       else
                   8658:        ld_shlibs=no
                   8659:       fi
                   8660:       ;;
                   8661: 
                   8662:     haiku*)
                   8663:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8664:       link_all_deplibs=yes
                   8665:       ;;
                   8666: 
                   8667:     interix[3-9]*)
                   8668:       hardcode_direct=no
                   8669:       hardcode_shlibpath_var=no
                   8670:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8671:       export_dynamic_flag_spec='${wl}-E'
                   8672:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8673:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8674:       # default) and relocated if they conflict, which is a slow very memory
                   8675:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8676:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8677:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8678:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8679:       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'
                   8680:       ;;
                   8681: 
                   8682:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8683:       tmp_diet=no
                   8684:       if test "$host_os" = linux-dietlibc; then
                   8685:        case $cc_basename in
                   8686:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8687:        esac
                   8688:       fi
                   8689:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8690:         && test "$tmp_diet" = no
                   8691:       then
                   8692:        tmp_addflag=' $pic_flag'
                   8693:        tmp_sharedflag='-shared'
                   8694:        case $cc_basename,$host_cpu in
                   8695:         pgcc*)                         # Portland Group C compiler
                   8696:          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'
                   8697:          tmp_addflag=' $pic_flag'
                   8698:          ;;
                   8699:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8700:                                        # Portland Group f77 and f90 compilers
                   8701:          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'
                   8702:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8703:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8704:          tmp_addflag=' -i_dynamic' ;;
                   8705:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8706:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8707:        ifc* | ifort*)                  # Intel Fortran compiler
                   8708:          tmp_addflag=' -nofor_main' ;;
                   8709:        lf95*)                          # Lahey Fortran 8.1
                   8710:          whole_archive_flag_spec=
                   8711:          tmp_sharedflag='--shared' ;;
                   8712:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8713:          tmp_sharedflag='-qmkshrobj'
                   8714:          tmp_addflag= ;;
                   8715:        nvcc*)  # Cuda Compiler Driver 2.2
                   8716:          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'
                   8717:          compiler_needs_object=yes
                   8718:          ;;
                   8719:        esac
                   8720:        case `$CC -V 2>&1 | sed 5q` in
                   8721:        *Sun\ C*)                       # Sun C 5.9
                   8722:          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'
                   8723:          compiler_needs_object=yes
                   8724:          tmp_sharedflag='-G' ;;
                   8725:        *Sun\ F*)                       # Sun Fortran 8.3
                   8726:          tmp_sharedflag='-G' ;;
                   8727:        esac
                   8728:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8729: 
                   8730:         if test "x$supports_anon_versioning" = xyes; then
                   8731:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8732:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8733:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8734:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8735:         fi
                   8736: 
                   8737:        case $cc_basename in
                   8738:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8739:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8740:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8741:          hardcode_libdir_flag_spec=
                   8742:          hardcode_libdir_flag_spec_ld='-rpath $libdir'
                   8743:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8744:          if test "x$supports_anon_versioning" = xyes; then
                   8745:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8746:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8747:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8748:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8749:          fi
                   8750:          ;;
                   8751:        esac
                   8752:       else
                   8753:         ld_shlibs=no
                   8754:       fi
                   8755:       ;;
                   8756: 
                   8757:     netbsd* | netbsdelf*-gnu)
                   8758:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8759:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8760:        wlarc=
                   8761:       else
                   8762:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8763:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8764:       fi
                   8765:       ;;
                   8766: 
                   8767:     solaris*)
                   8768:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8769:        ld_shlibs=no
                   8770:        cat <<_LT_EOF 1>&2
                   8771: 
                   8772: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8773: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8774: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8775: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8776: *** your PATH or compiler configuration so that the native linker is
                   8777: *** used, and then restart.
                   8778: 
                   8779: _LT_EOF
                   8780:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8781:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8782:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8783:       else
                   8784:        ld_shlibs=no
                   8785:       fi
                   8786:       ;;
                   8787: 
                   8788:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8789:       case `$LD -v 2>&1` in
                   8790:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8791:        ld_shlibs=no
                   8792:        cat <<_LT_EOF 1>&2
                   8793: 
                   8794: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8795: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8796: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8797: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8798: *** your PATH or compiler configuration so that the native linker is
                   8799: *** used, and then restart.
                   8800: 
                   8801: _LT_EOF
                   8802:        ;;
                   8803:        *)
                   8804:          # For security reasons, it is highly recommended that you always
                   8805:          # use absolute paths for naming shared libraries, and exclude the
                   8806:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8807:          # requires that you compile everything twice, which is a pain.
                   8808:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8809:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8810:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8811:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8812:          else
                   8813:            ld_shlibs=no
                   8814:          fi
                   8815:        ;;
                   8816:       esac
                   8817:       ;;
                   8818: 
                   8819:     sunos4*)
                   8820:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8821:       wlarc=
                   8822:       hardcode_direct=yes
                   8823:       hardcode_shlibpath_var=no
                   8824:       ;;
                   8825: 
                   8826:     *)
                   8827:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8828:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8829:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8830:       else
                   8831:        ld_shlibs=no
                   8832:       fi
                   8833:       ;;
                   8834:     esac
                   8835: 
                   8836:     if test "$ld_shlibs" = no; then
                   8837:       runpath_var=
                   8838:       hardcode_libdir_flag_spec=
                   8839:       export_dynamic_flag_spec=
                   8840:       whole_archive_flag_spec=
                   8841:     fi
                   8842:   else
                   8843:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8844:     case $host_os in
                   8845:     aix3*)
                   8846:       allow_undefined_flag=unsupported
                   8847:       always_export_symbols=yes
                   8848:       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'
                   8849:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8850:       # are no directories specified by -L.
                   8851:       hardcode_minus_L=yes
                   8852:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8853:        # Neither direct hardcoding nor static linking is supported with a
                   8854:        # broken collect2.
                   8855:        hardcode_direct=unsupported
                   8856:       fi
                   8857:       ;;
                   8858: 
                   8859:     aix[4-9]*)
                   8860:       if test "$host_cpu" = ia64; then
                   8861:        # On IA64, the linker does run time linking by default, so we don't
                   8862:        # have to do anything special.
                   8863:        aix_use_runtimelinking=no
                   8864:        exp_sym_flag='-Bexport'
                   8865:        no_entry_flag=""
                   8866:       else
                   8867:        # If we're using GNU nm, then we don't want the "-C" option.
                   8868:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8869:        # Also, AIX nm treats weak defined symbols like other global
                   8870:        # defined symbols, whereas GNU nm marks them as "W".
                   8871:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8872:          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'
                   8873:        else
                   8874:          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'
                   8875:        fi
                   8876:        aix_use_runtimelinking=no
                   8877: 
                   8878:        # Test if we are trying to use run time linking or normal
                   8879:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8880:        # need to do runtime linking.
                   8881:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8882:          for ld_flag in $LDFLAGS; do
                   8883:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8884:            aix_use_runtimelinking=yes
                   8885:            break
                   8886:          fi
                   8887:          done
                   8888:          ;;
                   8889:        esac
                   8890: 
                   8891:        exp_sym_flag='-bexport'
                   8892:        no_entry_flag='-bnoentry'
                   8893:       fi
                   8894: 
                   8895:       # When large executables or shared objects are built, AIX ld can
                   8896:       # have problems creating the table of contents.  If linking a library
                   8897:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8898:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8899:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   8900: 
                   8901:       archive_cmds=''
                   8902:       hardcode_direct=yes
                   8903:       hardcode_direct_absolute=yes
                   8904:       hardcode_libdir_separator=':'
                   8905:       link_all_deplibs=yes
                   8906:       file_list_spec='${wl}-f,'
                   8907: 
                   8908:       if test "$GCC" = yes; then
                   8909:        case $host_os in aix4.[012]|aix4.[012].*)
                   8910:        # We only want to do this on AIX 4.2 and lower, the check
                   8911:        # below for broken collect2 doesn't work under 4.3+
                   8912:          collect2name=`${CC} -print-prog-name=collect2`
                   8913:          if test -f "$collect2name" &&
                   8914:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8915:          then
                   8916:          # We have reworked collect2
                   8917:          :
                   8918:          else
                   8919:          # We have old collect2
                   8920:          hardcode_direct=unsupported
                   8921:          # It fails to find uninstalled libraries when the uninstalled
                   8922:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8923:          # to unsupported forces relinking
                   8924:          hardcode_minus_L=yes
                   8925:          hardcode_libdir_flag_spec='-L$libdir'
                   8926:          hardcode_libdir_separator=
                   8927:          fi
                   8928:          ;;
                   8929:        esac
                   8930:        shared_flag='-shared'
                   8931:        if test "$aix_use_runtimelinking" = yes; then
                   8932:          shared_flag="$shared_flag "'${wl}-G'
                   8933:        fi
                   8934:        link_all_deplibs=no
                   8935:       else
                   8936:        # not using gcc
                   8937:        if test "$host_cpu" = ia64; then
                   8938:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8939:        # chokes on -Wl,-G. The following line is correct:
                   8940:          shared_flag='-G'
                   8941:        else
                   8942:          if test "$aix_use_runtimelinking" = yes; then
                   8943:            shared_flag='${wl}-G'
                   8944:          else
                   8945:            shared_flag='${wl}-bM:SRE'
                   8946:          fi
                   8947:        fi
                   8948:       fi
                   8949: 
                   8950:       export_dynamic_flag_spec='${wl}-bexpall'
                   8951:       # It seems that -bexpall does not export symbols beginning with
                   8952:       # underscore (_), so it is better to generate a list of symbols to export.
                   8953:       always_export_symbols=yes
                   8954:       if test "$aix_use_runtimelinking" = yes; then
                   8955:        # Warning - without using the other runtime loading flags (-brtl),
                   8956:        # -berok will link without error, but may produce a broken library.
                   8957:        allow_undefined_flag='-berok'
                   8958:         # Determine the default libpath from the value encoded in an
                   8959:         # empty executable.
                   8960:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8961:   aix_libpath=$lt_cv_aix_libpath
                   8962: else
                   8963:   if ${lt_cv_aix_libpath_+:} false; then :
                   8964:   $as_echo_n "(cached) " >&6
                   8965: else
                   8966:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8967: /* end confdefs.h.  */
                   8968: 
                   8969: int
                   8970: main ()
                   8971: {
                   8972: 
                   8973:   ;
                   8974:   return 0;
                   8975: }
                   8976: _ACEOF
                   8977: if ac_fn_c_try_link "$LINENO"; then :
                   8978: 
                   8979:   lt_aix_libpath_sed='
                   8980:       /Import File Strings/,/^$/ {
                   8981:          /^0/ {
                   8982:              s/^0  *\([^ ]*\) *$/\1/
                   8983:              p
                   8984:          }
                   8985:       }'
                   8986:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8987:   # Check for a 64-bit object if we didn't find anything.
                   8988:   if test -z "$lt_cv_aix_libpath_"; then
                   8989:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8990:   fi
                   8991: fi
                   8992: rm -f core conftest.err conftest.$ac_objext \
                   8993:     conftest$ac_exeext conftest.$ac_ext
                   8994:   if test -z "$lt_cv_aix_libpath_"; then
                   8995:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   8996:   fi
                   8997: 
                   8998: fi
                   8999: 
                   9000:   aix_libpath=$lt_cv_aix_libpath_
                   9001: fi
                   9002: 
                   9003:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9004:         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"
                   9005:       else
                   9006:        if test "$host_cpu" = ia64; then
                   9007:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9008:          allow_undefined_flag="-z nodefs"
                   9009:          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"
                   9010:        else
                   9011:         # Determine the default libpath from the value encoded in an
                   9012:         # empty executable.
                   9013:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9014:   aix_libpath=$lt_cv_aix_libpath
                   9015: else
                   9016:   if ${lt_cv_aix_libpath_+:} false; then :
                   9017:   $as_echo_n "(cached) " >&6
                   9018: else
                   9019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9020: /* end confdefs.h.  */
                   9021: 
                   9022: int
                   9023: main ()
                   9024: {
                   9025: 
                   9026:   ;
                   9027:   return 0;
                   9028: }
                   9029: _ACEOF
                   9030: if ac_fn_c_try_link "$LINENO"; then :
                   9031: 
                   9032:   lt_aix_libpath_sed='
                   9033:       /Import File Strings/,/^$/ {
                   9034:          /^0/ {
                   9035:              s/^0  *\([^ ]*\) *$/\1/
                   9036:              p
                   9037:          }
                   9038:       }'
                   9039:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9040:   # Check for a 64-bit object if we didn't find anything.
                   9041:   if test -z "$lt_cv_aix_libpath_"; then
                   9042:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9043:   fi
                   9044: fi
                   9045: rm -f core conftest.err conftest.$ac_objext \
                   9046:     conftest$ac_exeext conftest.$ac_ext
                   9047:   if test -z "$lt_cv_aix_libpath_"; then
                   9048:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9049:   fi
                   9050: 
                   9051: fi
                   9052: 
                   9053:   aix_libpath=$lt_cv_aix_libpath_
                   9054: fi
                   9055: 
                   9056:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9057:          # Warning - without using the other run time loading flags,
                   9058:          # -berok will link without error, but may produce a broken library.
                   9059:          no_undefined_flag=' ${wl}-bernotok'
                   9060:          allow_undefined_flag=' ${wl}-berok'
                   9061:          if test "$with_gnu_ld" = yes; then
                   9062:            # We only use this code for GNU lds that support --whole-archive.
                   9063:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9064:          else
                   9065:            # Exported symbols can be pulled into shared objects from archives
                   9066:            whole_archive_flag_spec='$convenience'
                   9067:          fi
                   9068:          archive_cmds_need_lc=yes
                   9069:          # This is similar to how AIX traditionally builds its shared libraries.
                   9070:          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'
                   9071:        fi
                   9072:       fi
                   9073:       ;;
                   9074: 
                   9075:     amigaos*)
                   9076:       case $host_cpu in
                   9077:       powerpc)
                   9078:             # see comment about AmigaOS4 .so support
                   9079:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9080:             archive_expsym_cmds=''
                   9081:         ;;
                   9082:       m68k)
                   9083:             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)'
                   9084:             hardcode_libdir_flag_spec='-L$libdir'
                   9085:             hardcode_minus_L=yes
                   9086:         ;;
                   9087:       esac
                   9088:       ;;
                   9089: 
                   9090:     bsdi[45]*)
                   9091:       export_dynamic_flag_spec=-rdynamic
                   9092:       ;;
                   9093: 
                   9094:     cygwin* | mingw* | pw32* | cegcc*)
                   9095:       # When not using gcc, we currently assume that we are using
                   9096:       # Microsoft Visual C++.
                   9097:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9098:       # no search path for DLLs.
                   9099:       case $cc_basename in
                   9100:       cl*)
                   9101:        # Native MSVC
                   9102:        hardcode_libdir_flag_spec=' '
                   9103:        allow_undefined_flag=unsupported
                   9104:        always_export_symbols=yes
                   9105:        file_list_spec='@'
                   9106:        # Tell ltmain to make .lib files, not .a files.
                   9107:        libext=lib
                   9108:        # Tell ltmain to make .dll files, not .so files.
                   9109:        shrext_cmds=".dll"
                   9110:        # FIXME: Setting linknames here is a bad hack.
                   9111:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9112:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9113:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9114:          else
                   9115:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9116:          fi~
                   9117:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9118:          linknames='
                   9119:        # The linker will not automatically build a static lib if we build a DLL.
                   9120:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9121:        enable_shared_with_static_runtimes=yes
                   9122:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9123:        # Don't use ranlib
                   9124:        old_postinstall_cmds='chmod 644 $oldlib'
                   9125:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9126:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9127:          case $lt_outputfile in
                   9128:            *.exe|*.EXE) ;;
                   9129:            *)
                   9130:              lt_outputfile="$lt_outputfile.exe"
                   9131:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9132:              ;;
                   9133:          esac~
                   9134:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9135:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9136:            $RM "$lt_outputfile.manifest";
                   9137:          fi'
                   9138:        ;;
                   9139:       *)
                   9140:        # Assume MSVC wrapper
                   9141:        hardcode_libdir_flag_spec=' '
                   9142:        allow_undefined_flag=unsupported
                   9143:        # Tell ltmain to make .lib files, not .a files.
                   9144:        libext=lib
                   9145:        # Tell ltmain to make .dll files, not .so files.
                   9146:        shrext_cmds=".dll"
                   9147:        # FIXME: Setting linknames here is a bad hack.
                   9148:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9149:        # The linker will automatically build a .lib file if we build a DLL.
                   9150:        old_archive_from_new_cmds='true'
                   9151:        # FIXME: Should let the user specify the lib program.
                   9152:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9153:        enable_shared_with_static_runtimes=yes
                   9154:        ;;
                   9155:       esac
                   9156:       ;;
                   9157: 
                   9158:     darwin* | rhapsody*)
                   9159: 
                   9160: 
                   9161:   archive_cmds_need_lc=no
                   9162:   hardcode_direct=no
                   9163:   hardcode_automatic=yes
                   9164:   hardcode_shlibpath_var=unsupported
                   9165:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9166:     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\"`'
                   9167:   else
                   9168:     whole_archive_flag_spec=''
                   9169:   fi
                   9170:   link_all_deplibs=yes
                   9171:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9172:   case $cc_basename in
                   9173:      ifort*) _lt_dar_can_shared=yes ;;
                   9174:      *) _lt_dar_can_shared=$GCC ;;
                   9175:   esac
                   9176:   if test "$_lt_dar_can_shared" = "yes"; then
                   9177:     output_verbose_link_cmd=func_echo_all
                   9178:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9179:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9180:     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}"
                   9181:     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}"
                   9182: 
                   9183:   else
                   9184:   ld_shlibs=no
                   9185:   fi
                   9186: 
                   9187:       ;;
                   9188: 
                   9189:     dgux*)
                   9190:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9191:       hardcode_libdir_flag_spec='-L$libdir'
                   9192:       hardcode_shlibpath_var=no
                   9193:       ;;
                   9194: 
                   9195:     freebsd1*)
                   9196:       ld_shlibs=no
                   9197:       ;;
                   9198: 
                   9199:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9200:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9201:     # does not break anything, and helps significantly (at the cost of a little
                   9202:     # extra space).
                   9203:     freebsd2.2*)
                   9204:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9205:       hardcode_libdir_flag_spec='-R$libdir'
                   9206:       hardcode_direct=yes
                   9207:       hardcode_shlibpath_var=no
                   9208:       ;;
                   9209: 
                   9210:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9211:     freebsd2*)
                   9212:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9213:       hardcode_direct=yes
                   9214:       hardcode_minus_L=yes
                   9215:       hardcode_shlibpath_var=no
                   9216:       ;;
                   9217: 
                   9218:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9219:     freebsd* | dragonfly*)
                   9220:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9221:       hardcode_libdir_flag_spec='-R$libdir'
                   9222:       hardcode_direct=yes
                   9223:       hardcode_shlibpath_var=no
                   9224:       ;;
                   9225: 
                   9226:     hpux9*)
                   9227:       if test "$GCC" = yes; then
                   9228:        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'
                   9229:       else
                   9230:        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'
                   9231:       fi
                   9232:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9233:       hardcode_libdir_separator=:
                   9234:       hardcode_direct=yes
                   9235: 
                   9236:       # hardcode_minus_L: Not really in the search PATH,
                   9237:       # but as the default location of the library.
                   9238:       hardcode_minus_L=yes
                   9239:       export_dynamic_flag_spec='${wl}-E'
                   9240:       ;;
                   9241: 
                   9242:     hpux10*)
                   9243:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9244:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9245:       else
                   9246:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9247:       fi
                   9248:       if test "$with_gnu_ld" = no; then
                   9249:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9250:        hardcode_libdir_flag_spec_ld='+b $libdir'
                   9251:        hardcode_libdir_separator=:
                   9252:        hardcode_direct=yes
                   9253:        hardcode_direct_absolute=yes
                   9254:        export_dynamic_flag_spec='${wl}-E'
                   9255:        # hardcode_minus_L: Not really in the search PATH,
                   9256:        # but as the default location of the library.
                   9257:        hardcode_minus_L=yes
                   9258:       fi
                   9259:       ;;
                   9260: 
                   9261:     hpux11*)
                   9262:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9263:        case $host_cpu in
                   9264:        hppa*64*)
                   9265:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9266:          ;;
                   9267:        ia64*)
                   9268:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9269:          ;;
                   9270:        *)
                   9271:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9272:          ;;
                   9273:        esac
                   9274:       else
                   9275:        case $host_cpu in
                   9276:        hppa*64*)
                   9277:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9278:          ;;
                   9279:        ia64*)
                   9280:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9281:          ;;
                   9282:        *)
                   9283: 
                   9284:          # Older versions of the 11.00 compiler do not understand -b yet
                   9285:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9286:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   9287: $as_echo_n "checking if $CC understands -b... " >&6; }
                   9288: if ${lt_cv_prog_compiler__b+:} false; then :
                   9289:   $as_echo_n "(cached) " >&6
                   9290: else
                   9291:   lt_cv_prog_compiler__b=no
                   9292:    save_LDFLAGS="$LDFLAGS"
                   9293:    LDFLAGS="$LDFLAGS -b"
                   9294:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9295:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9296:      # The linker can only warn and ignore the option if not recognized
                   9297:      # So say no if there are warnings
                   9298:      if test -s conftest.err; then
                   9299:        # Append any errors to the config.log.
                   9300:        cat conftest.err 1>&5
                   9301:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9302:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9303:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9304:          lt_cv_prog_compiler__b=yes
                   9305:        fi
                   9306:      else
                   9307:        lt_cv_prog_compiler__b=yes
                   9308:      fi
                   9309:    fi
                   9310:    $RM -r conftest*
                   9311:    LDFLAGS="$save_LDFLAGS"
                   9312: 
                   9313: fi
                   9314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   9315: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   9316: 
                   9317: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9318:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9319: else
                   9320:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9321: fi
                   9322: 
                   9323:          ;;
                   9324:        esac
                   9325:       fi
                   9326:       if test "$with_gnu_ld" = no; then
                   9327:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9328:        hardcode_libdir_separator=:
                   9329: 
                   9330:        case $host_cpu in
                   9331:        hppa*64*|ia64*)
                   9332:          hardcode_direct=no
                   9333:          hardcode_shlibpath_var=no
                   9334:          ;;
                   9335:        *)
                   9336:          hardcode_direct=yes
                   9337:          hardcode_direct_absolute=yes
                   9338:          export_dynamic_flag_spec='${wl}-E'
                   9339: 
                   9340:          # hardcode_minus_L: Not really in the search PATH,
                   9341:          # but as the default location of the library.
                   9342:          hardcode_minus_L=yes
                   9343:          ;;
                   9344:        esac
                   9345:       fi
                   9346:       ;;
                   9347: 
                   9348:     irix5* | irix6* | nonstopux*)
                   9349:       if test "$GCC" = yes; then
                   9350:        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'
                   9351:        # Try to use the -exported_symbol ld option, if it does not
                   9352:        # work, assume that -exports_file does not work either and
                   9353:        # implicitly export all symbols.
                   9354:        # This should be the same for all languages, so no per-tag cache variable.
                   9355:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9356: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   9357: if ${lt_cv_irix_exported_symbol+:} false; then :
                   9358:   $as_echo_n "(cached) " >&6
                   9359: else
                   9360:   save_LDFLAGS="$LDFLAGS"
                   9361:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9362:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9363: /* end confdefs.h.  */
                   9364: int foo (void) { return 0; }
                   9365: _ACEOF
                   9366: if ac_fn_c_try_link "$LINENO"; then :
                   9367:   lt_cv_irix_exported_symbol=yes
                   9368: else
                   9369:   lt_cv_irix_exported_symbol=no
                   9370: fi
                   9371: rm -f core conftest.err conftest.$ac_objext \
                   9372:     conftest$ac_exeext conftest.$ac_ext
                   9373:            LDFLAGS="$save_LDFLAGS"
                   9374: fi
                   9375: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   9376: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   9377:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9378:           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'
                   9379:        fi
                   9380:       else
                   9381:        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'
                   9382:        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'
                   9383:       fi
                   9384:       archive_cmds_need_lc='no'
                   9385:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9386:       hardcode_libdir_separator=:
                   9387:       inherit_rpath=yes
                   9388:       link_all_deplibs=yes
                   9389:       ;;
                   9390: 
                   9391:     netbsd* | netbsdelf*-gnu)
                   9392:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9393:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9394:       else
                   9395:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9396:       fi
                   9397:       hardcode_libdir_flag_spec='-R$libdir'
                   9398:       hardcode_direct=yes
                   9399:       hardcode_shlibpath_var=no
                   9400:       ;;
                   9401: 
                   9402:     newsos6)
                   9403:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9404:       hardcode_direct=yes
                   9405:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9406:       hardcode_libdir_separator=:
                   9407:       hardcode_shlibpath_var=no
                   9408:       ;;
                   9409: 
                   9410:     *nto* | *qnx*)
                   9411:       ;;
                   9412: 
                   9413:     openbsd*)
                   9414:       if test -f /usr/libexec/ld.so; then
                   9415:        hardcode_direct=yes
                   9416:        hardcode_shlibpath_var=no
                   9417:        hardcode_direct_absolute=yes
                   9418:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9419:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9420:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9421:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9422:          export_dynamic_flag_spec='${wl}-E'
                   9423:        else
                   9424:          case $host_os in
                   9425:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9426:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9427:             hardcode_libdir_flag_spec='-R$libdir'
                   9428:             ;;
                   9429:           *)
                   9430:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9431:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9432:             ;;
                   9433:          esac
                   9434:        fi
                   9435:       else
                   9436:        ld_shlibs=no
                   9437:       fi
                   9438:       ;;
                   9439: 
                   9440:     os2*)
                   9441:       hardcode_libdir_flag_spec='-L$libdir'
                   9442:       hardcode_minus_L=yes
                   9443:       allow_undefined_flag=unsupported
                   9444:       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'
                   9445:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9446:       ;;
                   9447: 
                   9448:     osf3*)
                   9449:       if test "$GCC" = yes; then
                   9450:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9451:        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'
                   9452:       else
                   9453:        allow_undefined_flag=' -expect_unresolved \*'
                   9454:        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'
                   9455:       fi
                   9456:       archive_cmds_need_lc='no'
                   9457:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9458:       hardcode_libdir_separator=:
                   9459:       ;;
                   9460: 
                   9461:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9462:       if test "$GCC" = yes; then
                   9463:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9464:        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'
                   9465:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9466:       else
                   9467:        allow_undefined_flag=' -expect_unresolved \*'
                   9468:        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'
                   9469:        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~
                   9470:        $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'
                   9471: 
                   9472:        # Both c and cxx compiler support -rpath directly
                   9473:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9474:       fi
                   9475:       archive_cmds_need_lc='no'
                   9476:       hardcode_libdir_separator=:
                   9477:       ;;
                   9478: 
                   9479:     solaris*)
                   9480:       no_undefined_flag=' -z defs'
                   9481:       if test "$GCC" = yes; then
                   9482:        wlarc='${wl}'
                   9483:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9484:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9485:          $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'
                   9486:       else
                   9487:        case `$CC -V 2>&1` in
                   9488:        *"Compilers 5.0"*)
                   9489:          wlarc=''
                   9490:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9491:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9492:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9493:          ;;
                   9494:        *)
                   9495:          wlarc='${wl}'
                   9496:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9497:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9498:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9499:          ;;
                   9500:        esac
                   9501:       fi
                   9502:       hardcode_libdir_flag_spec='-R$libdir'
                   9503:       hardcode_shlibpath_var=no
                   9504:       case $host_os in
                   9505:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9506:       *)
                   9507:        # The compiler driver will combine and reorder linker options,
                   9508:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9509:        # but is careful enough not to reorder.
                   9510:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9511:        if test "$GCC" = yes; then
                   9512:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9513:        else
                   9514:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9515:        fi
                   9516:        ;;
                   9517:       esac
                   9518:       link_all_deplibs=yes
                   9519:       ;;
                   9520: 
                   9521:     sunos4*)
                   9522:       if test "x$host_vendor" = xsequent; then
                   9523:        # Use $CC to link under sequent, because it throws in some extra .o
                   9524:        # files that make .init and .fini sections work.
                   9525:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9526:       else
                   9527:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9528:       fi
                   9529:       hardcode_libdir_flag_spec='-L$libdir'
                   9530:       hardcode_direct=yes
                   9531:       hardcode_minus_L=yes
                   9532:       hardcode_shlibpath_var=no
                   9533:       ;;
                   9534: 
                   9535:     sysv4)
                   9536:       case $host_vendor in
                   9537:        sni)
                   9538:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9539:          hardcode_direct=yes # is this really true???
                   9540:        ;;
                   9541:        siemens)
                   9542:          ## LD is ld it makes a PLAMLIB
                   9543:          ## CC just makes a GrossModule.
                   9544:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9545:          reload_cmds='$CC -r -o $output$reload_objs'
                   9546:          hardcode_direct=no
                   9547:         ;;
                   9548:        motorola)
                   9549:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9550:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9551:        ;;
                   9552:       esac
                   9553:       runpath_var='LD_RUN_PATH'
                   9554:       hardcode_shlibpath_var=no
                   9555:       ;;
                   9556: 
                   9557:     sysv4.3*)
                   9558:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9559:       hardcode_shlibpath_var=no
                   9560:       export_dynamic_flag_spec='-Bexport'
                   9561:       ;;
                   9562: 
                   9563:     sysv4*MP*)
                   9564:       if test -d /usr/nec; then
                   9565:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9566:        hardcode_shlibpath_var=no
                   9567:        runpath_var=LD_RUN_PATH
                   9568:        hardcode_runpath_var=yes
                   9569:        ld_shlibs=yes
                   9570:       fi
                   9571:       ;;
                   9572: 
                   9573:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9574:       no_undefined_flag='${wl}-z,text'
                   9575:       archive_cmds_need_lc=no
                   9576:       hardcode_shlibpath_var=no
                   9577:       runpath_var='LD_RUN_PATH'
                   9578: 
                   9579:       if test "$GCC" = yes; then
                   9580:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9581:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9582:       else
                   9583:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9584:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9585:       fi
                   9586:       ;;
                   9587: 
                   9588:     sysv5* | sco3.2v5* | sco5v6*)
                   9589:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9590:       # link with -lc, and that would cause any symbols used from libc to
                   9591:       # always be unresolved, which means just about no library would
                   9592:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9593:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9594:       # as -z defs.
                   9595:       no_undefined_flag='${wl}-z,text'
                   9596:       allow_undefined_flag='${wl}-z,nodefs'
                   9597:       archive_cmds_need_lc=no
                   9598:       hardcode_shlibpath_var=no
                   9599:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9600:       hardcode_libdir_separator=':'
                   9601:       link_all_deplibs=yes
                   9602:       export_dynamic_flag_spec='${wl}-Bexport'
                   9603:       runpath_var='LD_RUN_PATH'
                   9604: 
                   9605:       if test "$GCC" = yes; then
                   9606:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9607:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9608:       else
                   9609:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9610:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9611:       fi
                   9612:       ;;
                   9613: 
                   9614:     uts4*)
                   9615:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9616:       hardcode_libdir_flag_spec='-L$libdir'
                   9617:       hardcode_shlibpath_var=no
                   9618:       ;;
                   9619: 
                   9620:     *)
                   9621:       ld_shlibs=no
                   9622:       ;;
                   9623:     esac
                   9624: 
                   9625:     if test x$host_vendor = xsni; then
                   9626:       case $host in
                   9627:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9628:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9629:        ;;
                   9630:       esac
                   9631:     fi
                   9632:   fi
                   9633: 
                   9634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   9635: $as_echo "$ld_shlibs" >&6; }
                   9636: test "$ld_shlibs" = no && can_build_shared=no
                   9637: 
                   9638: with_gnu_ld=$with_gnu_ld
                   9639: 
                   9640: 
                   9641: 
                   9642: 
                   9643: 
                   9644: 
                   9645: 
                   9646: 
                   9647: 
                   9648: 
                   9649: 
                   9650: 
                   9651: 
                   9652: 
                   9653: 
                   9654: #
                   9655: # Do we need to explicitly link libc?
                   9656: #
                   9657: case "x$archive_cmds_need_lc" in
                   9658: x|xyes)
                   9659:   # Assume -lc should be added
                   9660:   archive_cmds_need_lc=yes
                   9661: 
                   9662:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9663:     case $archive_cmds in
                   9664:     *'~'*)
                   9665:       # FIXME: we may have to deal with multi-command sequences.
                   9666:       ;;
                   9667:     '$CC '*)
                   9668:       # Test whether the compiler implicitly links with -lc since on some
                   9669:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9670:       # to ld, don't add -lc before -lgcc.
                   9671:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   9672: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   9673: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   9674:   $as_echo_n "(cached) " >&6
                   9675: else
                   9676:   $RM conftest*
                   9677:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9678: 
                   9679:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9680:   (eval $ac_compile) 2>&5
                   9681:   ac_status=$?
                   9682:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9683:   test $ac_status = 0; } 2>conftest.err; then
                   9684:          soname=conftest
                   9685:          lib=conftest
                   9686:          libobjs=conftest.$ac_objext
                   9687:          deplibs=
                   9688:          wl=$lt_prog_compiler_wl
                   9689:          pic_flag=$lt_prog_compiler_pic
                   9690:          compiler_flags=-v
                   9691:          linker_flags=-v
                   9692:          verstring=
                   9693:          output_objdir=.
                   9694:          libname=conftest
                   9695:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9696:          allow_undefined_flag=
                   9697:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   9698:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9699:   ac_status=$?
                   9700:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9701:   test $ac_status = 0; }
                   9702:          then
                   9703:            lt_cv_archive_cmds_need_lc=no
                   9704:          else
                   9705:            lt_cv_archive_cmds_need_lc=yes
                   9706:          fi
                   9707:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   9708:        else
                   9709:          cat conftest.err 1>&5
                   9710:        fi
                   9711:        $RM conftest*
                   9712: 
                   9713: fi
                   9714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   9715: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   9716:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   9717:       ;;
                   9718:     esac
                   9719:   fi
                   9720:   ;;
                   9721: esac
                   9722: 
                   9723: 
                   9724: 
                   9725: 
                   9726: 
                   9727: 
                   9728: 
                   9729: 
                   9730: 
                   9731: 
                   9732: 
                   9733: 
                   9734: 
                   9735: 
                   9736: 
                   9737: 
                   9738: 
                   9739: 
                   9740: 
                   9741: 
                   9742: 
                   9743: 
                   9744: 
                   9745: 
                   9746: 
                   9747: 
                   9748: 
                   9749: 
                   9750: 
                   9751: 
                   9752: 
                   9753: 
                   9754: 
                   9755: 
                   9756: 
                   9757: 
                   9758: 
                   9759: 
                   9760: 
                   9761: 
                   9762: 
                   9763: 
                   9764: 
                   9765: 
                   9766: 
                   9767: 
                   9768: 
                   9769: 
                   9770: 
                   9771: 
                   9772: 
                   9773: 
                   9774: 
                   9775: 
                   9776: 
                   9777: 
                   9778: 
                   9779: 
                   9780: 
                   9781: 
                   9782: 
                   9783: 
                   9784: 
                   9785: 
                   9786: 
                   9787: 
                   9788: 
                   9789: 
                   9790: 
                   9791: 
                   9792: 
                   9793: 
                   9794: 
                   9795: 
                   9796: 
                   9797: 
                   9798: 
                   9799: 
                   9800: 
                   9801: 
                   9802: 
                   9803: 
                   9804: 
                   9805: 
                   9806: 
                   9807: 
                   9808: 
                   9809: 
                   9810: 
                   9811: 
                   9812: 
                   9813: 
                   9814: 
                   9815: 
                   9816: 
                   9817: 
                   9818: 
                   9819: 
                   9820: 
                   9821: 
                   9822: 
                   9823: 
                   9824: 
                   9825: 
                   9826: 
                   9827: 
                   9828: 
                   9829: 
                   9830: 
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
                   9839: 
                   9840: 
                   9841: 
                   9842: 
                   9843: 
                   9844: 
                   9845: 
                   9846: 
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
                   9852: 
                   9853: 
                   9854: 
                   9855: 
                   9856: 
                   9857: 
                   9858: 
                   9859: 
                   9860: 
                   9861: 
                   9862: 
                   9863: 
                   9864: 
                   9865: 
                   9866: 
                   9867: 
                   9868: 
                   9869: 
                   9870: 
                   9871: 
                   9872: 
                   9873: 
                   9874: 
                   9875: 
                   9876: 
                   9877: 
                   9878: 
                   9879:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   9880: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   9881: 
                   9882: if test "$GCC" = yes; then
                   9883:   case $host_os in
                   9884:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9885:     *) lt_awk_arg="/^libraries:/" ;;
                   9886:   esac
                   9887:   case $host_os in
                   9888:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   9889:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   9890:   esac
                   9891:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   9892:   case $lt_search_path_spec in
                   9893:   *\;*)
                   9894:     # if the path contains ";" then we assume it to be the separator
                   9895:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9896:     # assumed that no part of a normal pathname contains ";" but that should
                   9897:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9898:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   9899:     ;;
                   9900:   *)
                   9901:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   9902:     ;;
                   9903:   esac
                   9904:   # Ok, now we have the path, separated by spaces, we can step through it
                   9905:   # and add multilib dir if necessary.
                   9906:   lt_tmp_lt_search_path_spec=
                   9907:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9908:   for lt_sys_path in $lt_search_path_spec; do
                   9909:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9910:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9911:     else
                   9912:       test -d "$lt_sys_path" && \
                   9913:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   9914:     fi
                   9915:   done
                   9916:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   9917: BEGIN {RS=" "; FS="/|\n";} {
                   9918:   lt_foo="";
                   9919:   lt_count=0;
                   9920:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9921:     if ($lt_i != "" && $lt_i != ".") {
                   9922:       if ($lt_i == "..") {
                   9923:         lt_count++;
                   9924:       } else {
                   9925:         if (lt_count == 0) {
                   9926:           lt_foo="/" $lt_i lt_foo;
                   9927:         } else {
                   9928:           lt_count--;
                   9929:         }
                   9930:       }
                   9931:     }
                   9932:   }
                   9933:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9934:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9935: }'`
                   9936:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   9937:   # for these hosts.
                   9938:   case $host_os in
                   9939:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   9940:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   9941:   esac
                   9942:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   9943: else
                   9944:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9945: fi
                   9946: library_names_spec=
                   9947: libname_spec='lib$name'
                   9948: soname_spec=
                   9949: shrext_cmds=".so"
                   9950: postinstall_cmds=
                   9951: postuninstall_cmds=
                   9952: finish_cmds=
                   9953: finish_eval=
                   9954: shlibpath_var=
                   9955: shlibpath_overrides_runpath=unknown
                   9956: version_type=none
                   9957: dynamic_linker="$host_os ld.so"
                   9958: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   9959: need_lib_prefix=unknown
                   9960: hardcode_into_libs=no
                   9961: 
                   9962: # when you set need_version to no, make sure it does not cause -set_version
                   9963: # flags to be left without arguments
                   9964: need_version=unknown
                   9965: 
                   9966: case $host_os in
                   9967: aix3*)
                   9968:   version_type=linux
                   9969:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   9970:   shlibpath_var=LIBPATH
                   9971: 
                   9972:   # AIX 3 has no versioning support, so we append a major version to the name.
                   9973:   soname_spec='${libname}${release}${shared_ext}$major'
                   9974:   ;;
                   9975: 
                   9976: aix[4-9]*)
                   9977:   version_type=linux
                   9978:   need_lib_prefix=no
                   9979:   need_version=no
                   9980:   hardcode_into_libs=yes
                   9981:   if test "$host_cpu" = ia64; then
                   9982:     # AIX 5 supports IA64
                   9983:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   9984:     shlibpath_var=LD_LIBRARY_PATH
                   9985:   else
                   9986:     # With GCC up to 2.95.x, collect2 would create an import file
                   9987:     # for dependence libraries.  The import file would start with
                   9988:     # the line `#! .'.  This would cause the generated library to
                   9989:     # depend on `.', always an invalid library.  This was fixed in
                   9990:     # development snapshots of GCC prior to 3.0.
                   9991:     case $host_os in
                   9992:       aix4 | aix4.[01] | aix4.[01].*)
                   9993:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   9994:           echo ' yes '
                   9995:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   9996:        :
                   9997:       else
                   9998:        can_build_shared=no
                   9999:       fi
                   10000:       ;;
                   10001:     esac
                   10002:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10003:     # soname into executable. Probably we can add versioning support to
                   10004:     # collect2, so additional links can be useful in future.
                   10005:     if test "$aix_use_runtimelinking" = yes; then
                   10006:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10007:       # instead of lib<name>.a to let people know that these are not
                   10008:       # typical AIX shared libraries.
                   10009:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10010:     else
                   10011:       # We preserve .a as extension for shared libraries through AIX4.2
                   10012:       # and later when we are not doing run time linking.
                   10013:       library_names_spec='${libname}${release}.a $libname.a'
                   10014:       soname_spec='${libname}${release}${shared_ext}$major'
                   10015:     fi
                   10016:     shlibpath_var=LIBPATH
                   10017:   fi
                   10018:   ;;
                   10019: 
                   10020: amigaos*)
                   10021:   case $host_cpu in
                   10022:   powerpc)
                   10023:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10024:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10025:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10026:     ;;
                   10027:   m68k)
                   10028:     library_names_spec='$libname.ixlibrary $libname.a'
                   10029:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10030:     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'
                   10031:     ;;
                   10032:   esac
                   10033:   ;;
                   10034: 
                   10035: beos*)
                   10036:   library_names_spec='${libname}${shared_ext}'
                   10037:   dynamic_linker="$host_os ld.so"
                   10038:   shlibpath_var=LIBRARY_PATH
                   10039:   ;;
                   10040: 
                   10041: bsdi[45]*)
                   10042:   version_type=linux
                   10043:   need_version=no
                   10044:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10045:   soname_spec='${libname}${release}${shared_ext}$major'
                   10046:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10047:   shlibpath_var=LD_LIBRARY_PATH
                   10048:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10049:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10050:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10051:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10052:   # libtool to hard-code these into programs
                   10053:   ;;
                   10054: 
                   10055: cygwin* | mingw* | pw32* | cegcc*)
                   10056:   version_type=windows
                   10057:   shrext_cmds=".dll"
                   10058:   need_version=no
                   10059:   need_lib_prefix=no
                   10060: 
                   10061:   case $GCC,$cc_basename in
                   10062:   yes,*)
                   10063:     # gcc
                   10064:     library_names_spec='$libname.dll.a'
                   10065:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10066:     postinstall_cmds='base_file=`basename \${file}`~
                   10067:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10068:       dldir=$destdir/`dirname \$dlpath`~
                   10069:       test -d \$dldir || mkdir -p \$dldir~
                   10070:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10071:       chmod a+x \$dldir/$dlname~
                   10072:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10073:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10074:       fi'
                   10075:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10076:       dlpath=$dir/\$dldll~
                   10077:        $RM \$dlpath'
                   10078:     shlibpath_overrides_runpath=yes
                   10079: 
                   10080:     case $host_os in
                   10081:     cygwin*)
                   10082:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10083:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10084: 
                   10085:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10086:       ;;
                   10087:     mingw* | cegcc*)
                   10088:       # MinGW DLLs use traditional 'lib' prefix
                   10089:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10090:       ;;
                   10091:     pw32*)
                   10092:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10093:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10094:       ;;
                   10095:     esac
                   10096:     dynamic_linker='Win32 ld.exe'
                   10097:     ;;
                   10098: 
                   10099:   *,cl*)
                   10100:     # Native MSVC
                   10101:     libname_spec='$name'
                   10102:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10103:     library_names_spec='${libname}.dll.lib'
                   10104: 
                   10105:     case $build_os in
                   10106:     mingw*)
                   10107:       sys_lib_search_path_spec=
                   10108:       lt_save_ifs=$IFS
                   10109:       IFS=';'
                   10110:       for lt_path in $LIB
                   10111:       do
                   10112:         IFS=$lt_save_ifs
                   10113:         # Let DOS variable expansion print the short 8.3 style file name.
                   10114:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10115:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10116:       done
                   10117:       IFS=$lt_save_ifs
                   10118:       # Convert to MSYS style.
                   10119:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10120:       ;;
                   10121:     cygwin*)
                   10122:       # Convert to unix form, then to dos form, then back to unix form
                   10123:       # but this time dos style (no spaces!) so that the unix form looks
                   10124:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10125:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10126:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10127:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10128:       ;;
                   10129:     *)
                   10130:       sys_lib_search_path_spec="$LIB"
                   10131:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10132:         # It is most probably a Windows format PATH.
                   10133:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10134:       else
                   10135:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10136:       fi
                   10137:       # FIXME: find the short name or the path components, as spaces are
                   10138:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10139:       ;;
                   10140:     esac
                   10141: 
                   10142:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10143:     postinstall_cmds='base_file=`basename \${file}`~
                   10144:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10145:       dldir=$destdir/`dirname \$dlpath`~
                   10146:       test -d \$dldir || mkdir -p \$dldir~
                   10147:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10148:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10149:       dlpath=$dir/\$dldll~
                   10150:        $RM \$dlpath'
                   10151:     shlibpath_overrides_runpath=yes
                   10152:     dynamic_linker='Win32 link.exe'
                   10153:     ;;
                   10154: 
                   10155:   *)
                   10156:     # Assume MSVC wrapper
                   10157:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10158:     dynamic_linker='Win32 ld.exe'
                   10159:     ;;
                   10160:   esac
                   10161:   # FIXME: first we should search . and the directory the executable is in
                   10162:   shlibpath_var=PATH
                   10163:   ;;
                   10164: 
                   10165: darwin* | rhapsody*)
                   10166:   dynamic_linker="$host_os dyld"
                   10167:   version_type=darwin
                   10168:   need_lib_prefix=no
                   10169:   need_version=no
                   10170:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10171:   soname_spec='${libname}${release}${major}$shared_ext'
                   10172:   shlibpath_overrides_runpath=yes
                   10173:   shlibpath_var=DYLD_LIBRARY_PATH
                   10174:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10175: 
                   10176:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10177:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10178:   ;;
                   10179: 
                   10180: dgux*)
                   10181:   version_type=linux
                   10182:   need_lib_prefix=no
                   10183:   need_version=no
                   10184:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10185:   soname_spec='${libname}${release}${shared_ext}$major'
                   10186:   shlibpath_var=LD_LIBRARY_PATH
                   10187:   ;;
                   10188: 
                   10189: freebsd1*)
                   10190:   dynamic_linker=no
                   10191:   ;;
                   10192: 
                   10193: freebsd* | dragonfly*)
                   10194:   # DragonFly does not have aout.  When/if they implement a new
                   10195:   # versioning mechanism, adjust this.
                   10196:   if test -x /usr/bin/objformat; then
                   10197:     objformat=`/usr/bin/objformat`
                   10198:   else
                   10199:     case $host_os in
                   10200:     freebsd[123]*) objformat=aout ;;
                   10201:     *) objformat=elf ;;
                   10202:     esac
                   10203:   fi
                   10204:   version_type=freebsd-$objformat
                   10205:   case $version_type in
                   10206:     freebsd-elf*)
                   10207:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10208:       need_version=no
                   10209:       need_lib_prefix=no
                   10210:       ;;
                   10211:     freebsd-*)
                   10212:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10213:       need_version=yes
                   10214:       ;;
                   10215:   esac
                   10216:   shlibpath_var=LD_LIBRARY_PATH
                   10217:   case $host_os in
                   10218:   freebsd2*)
                   10219:     shlibpath_overrides_runpath=yes
                   10220:     ;;
                   10221:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10222:     shlibpath_overrides_runpath=yes
                   10223:     hardcode_into_libs=yes
                   10224:     ;;
                   10225:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10226:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10227:     shlibpath_overrides_runpath=no
                   10228:     hardcode_into_libs=yes
                   10229:     ;;
                   10230:   *) # from 4.6 on, and DragonFly
                   10231:     shlibpath_overrides_runpath=yes
                   10232:     hardcode_into_libs=yes
                   10233:     ;;
                   10234:   esac
                   10235:   ;;
                   10236: 
                   10237: gnu*)
                   10238:   version_type=linux
                   10239:   need_lib_prefix=no
                   10240:   need_version=no
                   10241:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10242:   soname_spec='${libname}${release}${shared_ext}$major'
                   10243:   shlibpath_var=LD_LIBRARY_PATH
                   10244:   shlibpath_overrides_runpath=no
                   10245:   hardcode_into_libs=yes
                   10246:   ;;
                   10247: 
                   10248: haiku*)
                   10249:   version_type=linux
                   10250:   need_lib_prefix=no
                   10251:   need_version=no
                   10252:   dynamic_linker="$host_os runtime_loader"
                   10253:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10254:   soname_spec='${libname}${release}${shared_ext}$major'
                   10255:   shlibpath_var=LIBRARY_PATH
                   10256:   shlibpath_overrides_runpath=yes
                   10257:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10258:   hardcode_into_libs=yes
                   10259:   ;;
                   10260: 
                   10261: hpux9* | hpux10* | hpux11*)
                   10262:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10263:   # link against other versions.
                   10264:   version_type=sunos
                   10265:   need_lib_prefix=no
                   10266:   need_version=no
                   10267:   case $host_cpu in
                   10268:   ia64*)
                   10269:     shrext_cmds='.so'
                   10270:     hardcode_into_libs=yes
                   10271:     dynamic_linker="$host_os dld.so"
                   10272:     shlibpath_var=LD_LIBRARY_PATH
                   10273:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10274:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10275:     soname_spec='${libname}${release}${shared_ext}$major'
                   10276:     if test "X$HPUX_IA64_MODE" = X32; then
                   10277:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10278:     else
                   10279:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10280:     fi
                   10281:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10282:     ;;
                   10283:   hppa*64*)
                   10284:     shrext_cmds='.sl'
                   10285:     hardcode_into_libs=yes
                   10286:     dynamic_linker="$host_os dld.sl"
                   10287:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10288:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10289:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10290:     soname_spec='${libname}${release}${shared_ext}$major'
                   10291:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10292:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10293:     ;;
                   10294:   *)
                   10295:     shrext_cmds='.sl'
                   10296:     dynamic_linker="$host_os dld.sl"
                   10297:     shlibpath_var=SHLIB_PATH
                   10298:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10299:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10300:     soname_spec='${libname}${release}${shared_ext}$major'
                   10301:     ;;
                   10302:   esac
                   10303:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   10304:   postinstall_cmds='chmod 555 $lib'
                   10305:   # or fails outright, so override atomically:
                   10306:   install_override_mode=555
                   10307:   ;;
                   10308: 
                   10309: interix[3-9]*)
                   10310:   version_type=linux
                   10311:   need_lib_prefix=no
                   10312:   need_version=no
                   10313:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10314:   soname_spec='${libname}${release}${shared_ext}$major'
                   10315:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10316:   shlibpath_var=LD_LIBRARY_PATH
                   10317:   shlibpath_overrides_runpath=no
                   10318:   hardcode_into_libs=yes
                   10319:   ;;
                   10320: 
                   10321: irix5* | irix6* | nonstopux*)
                   10322:   case $host_os in
                   10323:     nonstopux*) version_type=nonstopux ;;
                   10324:     *)
                   10325:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10326:                version_type=linux
                   10327:        else
                   10328:                version_type=irix
                   10329:        fi ;;
                   10330:   esac
                   10331:   need_lib_prefix=no
                   10332:   need_version=no
                   10333:   soname_spec='${libname}${release}${shared_ext}$major'
                   10334:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10335:   case $host_os in
                   10336:   irix5* | nonstopux*)
                   10337:     libsuff= shlibsuff=
                   10338:     ;;
                   10339:   *)
                   10340:     case $LD in # libtool.m4 will add one of these switches to LD
                   10341:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10342:       libsuff= shlibsuff= libmagic=32-bit;;
                   10343:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10344:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10345:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10346:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10347:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10348:     esac
                   10349:     ;;
                   10350:   esac
                   10351:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10352:   shlibpath_overrides_runpath=no
                   10353:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10354:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10355:   hardcode_into_libs=yes
                   10356:   ;;
                   10357: 
                   10358: # No shared lib support for Linux oldld, aout, or coff.
                   10359: linux*oldld* | linux*aout* | linux*coff*)
                   10360:   dynamic_linker=no
                   10361:   ;;
                   10362: 
                   10363: # This must be Linux ELF.
                   10364: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10365:   version_type=linux
                   10366:   need_lib_prefix=no
                   10367:   need_version=no
                   10368:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10369:   soname_spec='${libname}${release}${shared_ext}$major'
                   10370:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10371:   shlibpath_var=LD_LIBRARY_PATH
                   10372:   shlibpath_overrides_runpath=no
                   10373: 
                   10374:   # Some binutils ld are patched to set DT_RUNPATH
                   10375:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   10376:   $as_echo_n "(cached) " >&6
                   10377: else
                   10378:   lt_cv_shlibpath_overrides_runpath=no
                   10379:     save_LDFLAGS=$LDFLAGS
                   10380:     save_libdir=$libdir
                   10381:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10382:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10383:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10384: /* end confdefs.h.  */
                   10385: 
                   10386: int
                   10387: main ()
                   10388: {
                   10389: 
                   10390:   ;
                   10391:   return 0;
                   10392: }
                   10393: _ACEOF
                   10394: if ac_fn_c_try_link "$LINENO"; then :
                   10395:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   10396:   lt_cv_shlibpath_overrides_runpath=yes
                   10397: fi
                   10398: fi
                   10399: rm -f core conftest.err conftest.$ac_objext \
                   10400:     conftest$ac_exeext conftest.$ac_ext
                   10401:     LDFLAGS=$save_LDFLAGS
                   10402:     libdir=$save_libdir
                   10403: 
                   10404: fi
                   10405: 
                   10406:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10407: 
                   10408:   # This implies no fast_install, which is unacceptable.
                   10409:   # Some rework will be needed to allow for fast_install
                   10410:   # before this can be enabled.
                   10411:   hardcode_into_libs=yes
                   10412: 
                   10413:   # Append ld.so.conf contents to the search path
                   10414:   if test -f /etc/ld.so.conf; then
                   10415:     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' ' '`
                   10416:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10417:   fi
                   10418: 
                   10419:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10420:   # powerpc, because MkLinux only supported shared libraries with the
                   10421:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10422:   # most powerpc-linux boxes support dynamic linking these days and
                   10423:   # people can always --disable-shared, the test was removed, and we
                   10424:   # assume the GNU/Linux dynamic linker is in use.
                   10425:   dynamic_linker='GNU/Linux ld.so'
                   10426:   ;;
                   10427: 
                   10428: netbsdelf*-gnu)
                   10429:   version_type=linux
                   10430:   need_lib_prefix=no
                   10431:   need_version=no
                   10432:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10433:   soname_spec='${libname}${release}${shared_ext}$major'
                   10434:   shlibpath_var=LD_LIBRARY_PATH
                   10435:   shlibpath_overrides_runpath=no
                   10436:   hardcode_into_libs=yes
                   10437:   dynamic_linker='NetBSD ld.elf_so'
                   10438:   ;;
                   10439: 
                   10440: netbsd*)
                   10441:   version_type=sunos
                   10442:   need_lib_prefix=no
                   10443:   need_version=no
                   10444:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10445:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10446:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10447:     dynamic_linker='NetBSD (a.out) ld.so'
                   10448:   else
                   10449:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10450:     soname_spec='${libname}${release}${shared_ext}$major'
                   10451:     dynamic_linker='NetBSD ld.elf_so'
                   10452:   fi
                   10453:   shlibpath_var=LD_LIBRARY_PATH
                   10454:   shlibpath_overrides_runpath=yes
                   10455:   hardcode_into_libs=yes
                   10456:   ;;
                   10457: 
                   10458: newsos6)
                   10459:   version_type=linux
                   10460:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10461:   shlibpath_var=LD_LIBRARY_PATH
                   10462:   shlibpath_overrides_runpath=yes
                   10463:   ;;
                   10464: 
                   10465: *nto* | *qnx*)
                   10466:   version_type=qnx
                   10467:   need_lib_prefix=no
                   10468:   need_version=no
                   10469:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10470:   soname_spec='${libname}${release}${shared_ext}$major'
                   10471:   shlibpath_var=LD_LIBRARY_PATH
                   10472:   shlibpath_overrides_runpath=no
                   10473:   hardcode_into_libs=yes
                   10474:   dynamic_linker='ldqnx.so'
                   10475:   ;;
                   10476: 
                   10477: openbsd*)
                   10478:   version_type=sunos
                   10479:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10480:   need_lib_prefix=no
                   10481:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10482:   case $host_os in
                   10483:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10484:     *)                         need_version=no  ;;
                   10485:   esac
                   10486:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10487:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10488:   shlibpath_var=LD_LIBRARY_PATH
                   10489:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10490:     case $host_os in
                   10491:       openbsd2.[89] | openbsd2.[89].*)
                   10492:        shlibpath_overrides_runpath=no
                   10493:        ;;
                   10494:       *)
                   10495:        shlibpath_overrides_runpath=yes
                   10496:        ;;
                   10497:       esac
                   10498:   else
                   10499:     shlibpath_overrides_runpath=yes
                   10500:   fi
                   10501:   ;;
                   10502: 
                   10503: os2*)
                   10504:   libname_spec='$name'
                   10505:   shrext_cmds=".dll"
                   10506:   need_lib_prefix=no
                   10507:   library_names_spec='$libname${shared_ext} $libname.a'
                   10508:   dynamic_linker='OS/2 ld.exe'
                   10509:   shlibpath_var=LIBPATH
                   10510:   ;;
                   10511: 
                   10512: osf3* | osf4* | osf5*)
                   10513:   version_type=osf
                   10514:   need_lib_prefix=no
                   10515:   need_version=no
                   10516:   soname_spec='${libname}${release}${shared_ext}$major'
                   10517:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10518:   shlibpath_var=LD_LIBRARY_PATH
                   10519:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10520:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10521:   ;;
                   10522: 
                   10523: rdos*)
                   10524:   dynamic_linker=no
                   10525:   ;;
                   10526: 
                   10527: solaris*)
                   10528:   version_type=linux
                   10529:   need_lib_prefix=no
                   10530:   need_version=no
                   10531:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10532:   soname_spec='${libname}${release}${shared_ext}$major'
                   10533:   shlibpath_var=LD_LIBRARY_PATH
                   10534:   shlibpath_overrides_runpath=yes
                   10535:   hardcode_into_libs=yes
                   10536:   # ldd complains unless libraries are executable
                   10537:   postinstall_cmds='chmod +x $lib'
                   10538:   ;;
                   10539: 
                   10540: sunos4*)
                   10541:   version_type=sunos
                   10542:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10543:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10544:   shlibpath_var=LD_LIBRARY_PATH
                   10545:   shlibpath_overrides_runpath=yes
                   10546:   if test "$with_gnu_ld" = yes; then
                   10547:     need_lib_prefix=no
                   10548:   fi
                   10549:   need_version=yes
                   10550:   ;;
                   10551: 
                   10552: sysv4 | sysv4.3*)
                   10553:   version_type=linux
                   10554:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10555:   soname_spec='${libname}${release}${shared_ext}$major'
                   10556:   shlibpath_var=LD_LIBRARY_PATH
                   10557:   case $host_vendor in
                   10558:     sni)
                   10559:       shlibpath_overrides_runpath=no
                   10560:       need_lib_prefix=no
                   10561:       runpath_var=LD_RUN_PATH
                   10562:       ;;
                   10563:     siemens)
                   10564:       need_lib_prefix=no
                   10565:       ;;
                   10566:     motorola)
                   10567:       need_lib_prefix=no
                   10568:       need_version=no
                   10569:       shlibpath_overrides_runpath=no
                   10570:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10571:       ;;
                   10572:   esac
                   10573:   ;;
                   10574: 
                   10575: sysv4*MP*)
                   10576:   if test -d /usr/nec ;then
                   10577:     version_type=linux
                   10578:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10579:     soname_spec='$libname${shared_ext}.$major'
                   10580:     shlibpath_var=LD_LIBRARY_PATH
                   10581:   fi
                   10582:   ;;
                   10583: 
                   10584: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10585:   version_type=freebsd-elf
                   10586:   need_lib_prefix=no
                   10587:   need_version=no
                   10588:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10589:   soname_spec='${libname}${release}${shared_ext}$major'
                   10590:   shlibpath_var=LD_LIBRARY_PATH
                   10591:   shlibpath_overrides_runpath=yes
                   10592:   hardcode_into_libs=yes
                   10593:   if test "$with_gnu_ld" = yes; then
                   10594:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10595:   else
                   10596:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10597:     case $host_os in
                   10598:       sco3.2v5*)
                   10599:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10600:        ;;
                   10601:     esac
                   10602:   fi
                   10603:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10604:   ;;
                   10605: 
                   10606: tpf*)
                   10607:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10608:   version_type=linux
                   10609:   need_lib_prefix=no
                   10610:   need_version=no
                   10611:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10612:   shlibpath_var=LD_LIBRARY_PATH
                   10613:   shlibpath_overrides_runpath=no
                   10614:   hardcode_into_libs=yes
                   10615:   ;;
                   10616: 
                   10617: uts4*)
                   10618:   version_type=linux
                   10619:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10620:   soname_spec='${libname}${release}${shared_ext}$major'
                   10621:   shlibpath_var=LD_LIBRARY_PATH
                   10622:   ;;
                   10623: 
                   10624: *)
                   10625:   dynamic_linker=no
                   10626:   ;;
                   10627: esac
                   10628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   10629: $as_echo "$dynamic_linker" >&6; }
                   10630: test "$dynamic_linker" = no && can_build_shared=no
                   10631: 
                   10632: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10633: if test "$GCC" = yes; then
                   10634:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10635: fi
                   10636: 
                   10637: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10638:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10639: fi
                   10640: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10641:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10642: fi
                   10643: 
                   10644: 
                   10645: 
                   10646: 
                   10647: 
                   10648: 
                   10649: 
                   10650: 
                   10651: 
                   10652: 
                   10653: 
                   10654: 
                   10655: 
                   10656: 
                   10657: 
                   10658: 
                   10659: 
                   10660: 
                   10661: 
                   10662: 
                   10663: 
                   10664: 
                   10665: 
                   10666: 
                   10667: 
                   10668: 
                   10669: 
                   10670: 
                   10671: 
                   10672: 
                   10673: 
                   10674: 
                   10675: 
                   10676: 
                   10677: 
                   10678: 
                   10679: 
                   10680: 
                   10681: 
                   10682: 
                   10683: 
                   10684: 
                   10685: 
                   10686: 
                   10687: 
                   10688: 
                   10689: 
                   10690: 
                   10691: 
                   10692: 
                   10693: 
                   10694: 
                   10695: 
                   10696: 
                   10697: 
                   10698: 
                   10699: 
                   10700: 
                   10701: 
                   10702: 
                   10703: 
                   10704: 
                   10705: 
                   10706: 
                   10707: 
                   10708: 
                   10709: 
                   10710: 
                   10711: 
                   10712: 
                   10713: 
                   10714: 
                   10715: 
                   10716: 
                   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721: 
                   10722: 
                   10723: 
                   10724: 
                   10725: 
                   10726: 
                   10727: 
                   10728: 
                   10729: 
                   10730: 
                   10731: 
                   10732: 
                   10733: 
                   10734: 
                   10735:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   10736: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   10737: hardcode_action=
                   10738: if test -n "$hardcode_libdir_flag_spec" ||
                   10739:    test -n "$runpath_var" ||
                   10740:    test "X$hardcode_automatic" = "Xyes" ; then
                   10741: 
                   10742:   # We can hardcode non-existent directories.
                   10743:   if test "$hardcode_direct" != no &&
                   10744:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10745:      # have to relink, otherwise we might link with an installed library
                   10746:      # when we should be linking with a yet-to-be-installed one
                   10747:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10748:      test "$hardcode_minus_L" != no; then
                   10749:     # Linking always hardcodes the temporary library directory.
                   10750:     hardcode_action=relink
                   10751:   else
                   10752:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10753:     hardcode_action=immediate
                   10754:   fi
                   10755: else
                   10756:   # We cannot hardcode anything, or else we can only hardcode existing
                   10757:   # directories.
                   10758:   hardcode_action=unsupported
                   10759: fi
                   10760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   10761: $as_echo "$hardcode_action" >&6; }
                   10762: 
                   10763: if test "$hardcode_action" = relink ||
                   10764:    test "$inherit_rpath" = yes; then
                   10765:   # Fast installation is not supported
                   10766:   enable_fast_install=no
                   10767: elif test "$shlibpath_overrides_runpath" = yes ||
                   10768:      test "$enable_shared" = no; then
                   10769:   # Fast installation is not necessary
                   10770:   enable_fast_install=needless
                   10771: fi
                   10772: 
                   10773: 
                   10774: 
                   10775: 
                   10776: 
                   10777: 
                   10778:   if test "x$enable_dlopen" != xyes; then
                   10779:   enable_dlopen=unknown
                   10780:   enable_dlopen_self=unknown
                   10781:   enable_dlopen_self_static=unknown
                   10782: else
                   10783:   lt_cv_dlopen=no
                   10784:   lt_cv_dlopen_libs=
                   10785: 
                   10786:   case $host_os in
                   10787:   beos*)
                   10788:     lt_cv_dlopen="load_add_on"
                   10789:     lt_cv_dlopen_libs=
                   10790:     lt_cv_dlopen_self=yes
                   10791:     ;;
                   10792: 
                   10793:   mingw* | pw32* | cegcc*)
                   10794:     lt_cv_dlopen="LoadLibrary"
                   10795:     lt_cv_dlopen_libs=
                   10796:     ;;
                   10797: 
                   10798:   cygwin*)
                   10799:     lt_cv_dlopen="dlopen"
                   10800:     lt_cv_dlopen_libs=
                   10801:     ;;
                   10802: 
                   10803:   darwin*)
                   10804:   # if libdl is installed we need to link against it
                   10805:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10806: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   10807: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   10808:   $as_echo_n "(cached) " >&6
                   10809: else
                   10810:   ac_check_lib_save_LIBS=$LIBS
                   10811: LIBS="-ldl  $LIBS"
                   10812: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10813: /* end confdefs.h.  */
                   10814: 
                   10815: /* Override any GCC internal prototype to avoid an error.
                   10816:    Use char because int might match the return type of a GCC
                   10817:    builtin and then its argument prototype would still apply.  */
                   10818: #ifdef __cplusplus
                   10819: extern "C"
                   10820: #endif
                   10821: char dlopen ();
                   10822: int
                   10823: main ()
                   10824: {
                   10825: return dlopen ();
                   10826:   ;
                   10827:   return 0;
                   10828: }
                   10829: _ACEOF
                   10830: if ac_fn_c_try_link "$LINENO"; then :
                   10831:   ac_cv_lib_dl_dlopen=yes
                   10832: else
                   10833:   ac_cv_lib_dl_dlopen=no
                   10834: fi
                   10835: rm -f core conftest.err conftest.$ac_objext \
                   10836:     conftest$ac_exeext conftest.$ac_ext
                   10837: LIBS=$ac_check_lib_save_LIBS
                   10838: fi
                   10839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10840: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   10841: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   10842:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10843: else
                   10844: 
                   10845:     lt_cv_dlopen="dyld"
                   10846:     lt_cv_dlopen_libs=
                   10847:     lt_cv_dlopen_self=yes
                   10848: 
                   10849: fi
                   10850: 
                   10851:     ;;
                   10852: 
                   10853:   *)
                   10854:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   10855: if test "x$ac_cv_func_shl_load" = xyes; then :
                   10856:   lt_cv_dlopen="shl_load"
                   10857: else
                   10858:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   10859: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   10860: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   10861:   $as_echo_n "(cached) " >&6
                   10862: else
                   10863:   ac_check_lib_save_LIBS=$LIBS
                   10864: LIBS="-ldld  $LIBS"
                   10865: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10866: /* end confdefs.h.  */
                   10867: 
                   10868: /* Override any GCC internal prototype to avoid an error.
                   10869:    Use char because int might match the return type of a GCC
                   10870:    builtin and then its argument prototype would still apply.  */
                   10871: #ifdef __cplusplus
                   10872: extern "C"
                   10873: #endif
                   10874: char shl_load ();
                   10875: int
                   10876: main ()
                   10877: {
                   10878: return shl_load ();
                   10879:   ;
                   10880:   return 0;
                   10881: }
                   10882: _ACEOF
                   10883: if ac_fn_c_try_link "$LINENO"; then :
                   10884:   ac_cv_lib_dld_shl_load=yes
                   10885: else
                   10886:   ac_cv_lib_dld_shl_load=no
                   10887: fi
                   10888: rm -f core conftest.err conftest.$ac_objext \
                   10889:     conftest$ac_exeext conftest.$ac_ext
                   10890: LIBS=$ac_check_lib_save_LIBS
                   10891: fi
                   10892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   10893: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   10894: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   10895:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   10896: else
                   10897:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   10898: if test "x$ac_cv_func_dlopen" = xyes; then :
                   10899:   lt_cv_dlopen="dlopen"
                   10900: else
                   10901:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10902: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   10903: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   10904:   $as_echo_n "(cached) " >&6
                   10905: else
                   10906:   ac_check_lib_save_LIBS=$LIBS
                   10907: LIBS="-ldl  $LIBS"
                   10908: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10909: /* end confdefs.h.  */
                   10910: 
                   10911: /* Override any GCC internal prototype to avoid an error.
                   10912:    Use char because int might match the return type of a GCC
                   10913:    builtin and then its argument prototype would still apply.  */
                   10914: #ifdef __cplusplus
                   10915: extern "C"
                   10916: #endif
                   10917: char dlopen ();
                   10918: int
                   10919: main ()
                   10920: {
                   10921: return dlopen ();
                   10922:   ;
                   10923:   return 0;
                   10924: }
                   10925: _ACEOF
                   10926: if ac_fn_c_try_link "$LINENO"; then :
                   10927:   ac_cv_lib_dl_dlopen=yes
                   10928: else
                   10929:   ac_cv_lib_dl_dlopen=no
                   10930: fi
                   10931: rm -f core conftest.err conftest.$ac_objext \
                   10932:     conftest$ac_exeext conftest.$ac_ext
                   10933: LIBS=$ac_check_lib_save_LIBS
                   10934: fi
                   10935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10936: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   10937: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   10938:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10939: else
                   10940:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   10941: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   10942: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   10943:   $as_echo_n "(cached) " >&6
                   10944: else
                   10945:   ac_check_lib_save_LIBS=$LIBS
                   10946: LIBS="-lsvld  $LIBS"
                   10947: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10948: /* end confdefs.h.  */
                   10949: 
                   10950: /* Override any GCC internal prototype to avoid an error.
                   10951:    Use char because int might match the return type of a GCC
                   10952:    builtin and then its argument prototype would still apply.  */
                   10953: #ifdef __cplusplus
                   10954: extern "C"
                   10955: #endif
                   10956: char dlopen ();
                   10957: int
                   10958: main ()
                   10959: {
                   10960: return dlopen ();
                   10961:   ;
                   10962:   return 0;
                   10963: }
                   10964: _ACEOF
                   10965: if ac_fn_c_try_link "$LINENO"; then :
                   10966:   ac_cv_lib_svld_dlopen=yes
                   10967: else
                   10968:   ac_cv_lib_svld_dlopen=no
                   10969: fi
                   10970: rm -f core conftest.err conftest.$ac_objext \
                   10971:     conftest$ac_exeext conftest.$ac_ext
                   10972: LIBS=$ac_check_lib_save_LIBS
                   10973: fi
                   10974: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   10975: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   10976: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   10977:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   10978: else
                   10979:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   10980: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   10981: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   10982:   $as_echo_n "(cached) " >&6
                   10983: else
                   10984:   ac_check_lib_save_LIBS=$LIBS
                   10985: LIBS="-ldld  $LIBS"
                   10986: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10987: /* end confdefs.h.  */
                   10988: 
                   10989: /* Override any GCC internal prototype to avoid an error.
                   10990:    Use char because int might match the return type of a GCC
                   10991:    builtin and then its argument prototype would still apply.  */
                   10992: #ifdef __cplusplus
                   10993: extern "C"
                   10994: #endif
                   10995: char dld_link ();
                   10996: int
                   10997: main ()
                   10998: {
                   10999: return dld_link ();
                   11000:   ;
                   11001:   return 0;
                   11002: }
                   11003: _ACEOF
                   11004: if ac_fn_c_try_link "$LINENO"; then :
                   11005:   ac_cv_lib_dld_dld_link=yes
                   11006: else
                   11007:   ac_cv_lib_dld_dld_link=no
                   11008: fi
                   11009: rm -f core conftest.err conftest.$ac_objext \
                   11010:     conftest$ac_exeext conftest.$ac_ext
                   11011: LIBS=$ac_check_lib_save_LIBS
                   11012: fi
                   11013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11014: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11015: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   11016:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11017: fi
                   11018: 
                   11019: 
                   11020: fi
                   11021: 
                   11022: 
                   11023: fi
                   11024: 
                   11025: 
                   11026: fi
                   11027: 
                   11028: 
                   11029: fi
                   11030: 
                   11031: 
                   11032: fi
                   11033: 
                   11034:     ;;
                   11035:   esac
                   11036: 
                   11037:   if test "x$lt_cv_dlopen" != xno; then
                   11038:     enable_dlopen=yes
                   11039:   else
                   11040:     enable_dlopen=no
                   11041:   fi
                   11042: 
                   11043:   case $lt_cv_dlopen in
                   11044:   dlopen)
                   11045:     save_CPPFLAGS="$CPPFLAGS"
                   11046:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11047: 
                   11048:     save_LDFLAGS="$LDFLAGS"
                   11049:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11050: 
                   11051:     save_LIBS="$LIBS"
                   11052:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11053: 
                   11054:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11055: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11056: if ${lt_cv_dlopen_self+:} false; then :
                   11057:   $as_echo_n "(cached) " >&6
                   11058: else
                   11059:          if test "$cross_compiling" = yes; then :
                   11060:   lt_cv_dlopen_self=cross
                   11061: else
                   11062:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11063:   lt_status=$lt_dlunknown
                   11064:   cat > conftest.$ac_ext <<_LT_EOF
                   11065: #line $LINENO "configure"
                   11066: #include "confdefs.h"
                   11067: 
                   11068: #if HAVE_DLFCN_H
                   11069: #include <dlfcn.h>
                   11070: #endif
                   11071: 
                   11072: #include <stdio.h>
                   11073: 
                   11074: #ifdef RTLD_GLOBAL
                   11075: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11076: #else
                   11077: #  ifdef DL_GLOBAL
                   11078: #    define LT_DLGLOBAL                DL_GLOBAL
                   11079: #  else
                   11080: #    define LT_DLGLOBAL                0
                   11081: #  endif
                   11082: #endif
                   11083: 
                   11084: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11085:    find out it does not work in some platform. */
                   11086: #ifndef LT_DLLAZY_OR_NOW
                   11087: #  ifdef RTLD_LAZY
                   11088: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11089: #  else
                   11090: #    ifdef DL_LAZY
                   11091: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11092: #    else
                   11093: #      ifdef RTLD_NOW
                   11094: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11095: #      else
                   11096: #        ifdef DL_NOW
                   11097: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11098: #        else
                   11099: #          define LT_DLLAZY_OR_NOW     0
                   11100: #        endif
                   11101: #      endif
                   11102: #    endif
                   11103: #  endif
                   11104: #endif
                   11105: 
                   11106: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11107:    correspondingly for the symbols needed.  */
                   11108: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11109: int fnord () __attribute__((visibility("default")));
                   11110: #endif
                   11111: 
                   11112: int fnord () { return 42; }
                   11113: int main ()
                   11114: {
                   11115:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11116:   int status = $lt_dlunknown;
                   11117: 
                   11118:   if (self)
                   11119:     {
                   11120:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11121:       else
                   11122:         {
                   11123:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11124:           else puts (dlerror ());
                   11125:        }
                   11126:       /* dlclose (self); */
                   11127:     }
                   11128:   else
                   11129:     puts (dlerror ());
                   11130: 
                   11131:   return status;
                   11132: }
                   11133: _LT_EOF
                   11134:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11135:   (eval $ac_link) 2>&5
                   11136:   ac_status=$?
                   11137:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11138:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11139:     (./conftest; exit; ) >&5 2>/dev/null
                   11140:     lt_status=$?
                   11141:     case x$lt_status in
                   11142:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11143:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11144:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11145:     esac
                   11146:   else :
                   11147:     # compilation failed
                   11148:     lt_cv_dlopen_self=no
                   11149:   fi
                   11150: fi
                   11151: rm -fr conftest*
                   11152: 
                   11153: 
                   11154: fi
                   11155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11156: $as_echo "$lt_cv_dlopen_self" >&6; }
                   11157: 
                   11158:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11159:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11160:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11161: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   11162: if ${lt_cv_dlopen_self_static+:} false; then :
                   11163:   $as_echo_n "(cached) " >&6
                   11164: else
                   11165:          if test "$cross_compiling" = yes; then :
                   11166:   lt_cv_dlopen_self_static=cross
                   11167: else
                   11168:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11169:   lt_status=$lt_dlunknown
                   11170:   cat > conftest.$ac_ext <<_LT_EOF
                   11171: #line $LINENO "configure"
                   11172: #include "confdefs.h"
                   11173: 
                   11174: #if HAVE_DLFCN_H
                   11175: #include <dlfcn.h>
                   11176: #endif
                   11177: 
                   11178: #include <stdio.h>
                   11179: 
                   11180: #ifdef RTLD_GLOBAL
                   11181: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11182: #else
                   11183: #  ifdef DL_GLOBAL
                   11184: #    define LT_DLGLOBAL                DL_GLOBAL
                   11185: #  else
                   11186: #    define LT_DLGLOBAL                0
                   11187: #  endif
                   11188: #endif
                   11189: 
                   11190: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11191:    find out it does not work in some platform. */
                   11192: #ifndef LT_DLLAZY_OR_NOW
                   11193: #  ifdef RTLD_LAZY
                   11194: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11195: #  else
                   11196: #    ifdef DL_LAZY
                   11197: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11198: #    else
                   11199: #      ifdef RTLD_NOW
                   11200: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11201: #      else
                   11202: #        ifdef DL_NOW
                   11203: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11204: #        else
                   11205: #          define LT_DLLAZY_OR_NOW     0
                   11206: #        endif
                   11207: #      endif
                   11208: #    endif
                   11209: #  endif
                   11210: #endif
                   11211: 
                   11212: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11213:    correspondingly for the symbols needed.  */
                   11214: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11215: int fnord () __attribute__((visibility("default")));
                   11216: #endif
                   11217: 
                   11218: int fnord () { return 42; }
                   11219: int main ()
                   11220: {
                   11221:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11222:   int status = $lt_dlunknown;
                   11223: 
                   11224:   if (self)
                   11225:     {
                   11226:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11227:       else
                   11228:         {
                   11229:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11230:           else puts (dlerror ());
                   11231:        }
                   11232:       /* dlclose (self); */
                   11233:     }
                   11234:   else
                   11235:     puts (dlerror ());
                   11236: 
                   11237:   return status;
                   11238: }
                   11239: _LT_EOF
                   11240:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11241:   (eval $ac_link) 2>&5
                   11242:   ac_status=$?
                   11243:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11244:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11245:     (./conftest; exit; ) >&5 2>/dev/null
                   11246:     lt_status=$?
                   11247:     case x$lt_status in
                   11248:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11249:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11250:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11251:     esac
                   11252:   else :
                   11253:     # compilation failed
                   11254:     lt_cv_dlopen_self_static=no
                   11255:   fi
                   11256: fi
                   11257: rm -fr conftest*
                   11258: 
                   11259: 
                   11260: fi
                   11261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11262: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   11263:     fi
                   11264: 
                   11265:     CPPFLAGS="$save_CPPFLAGS"
                   11266:     LDFLAGS="$save_LDFLAGS"
                   11267:     LIBS="$save_LIBS"
                   11268:     ;;
                   11269:   esac
                   11270: 
                   11271:   case $lt_cv_dlopen_self in
                   11272:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11273:   *) enable_dlopen_self=unknown ;;
                   11274:   esac
                   11275: 
                   11276:   case $lt_cv_dlopen_self_static in
                   11277:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11278:   *) enable_dlopen_self_static=unknown ;;
                   11279:   esac
                   11280: fi
                   11281: 
                   11282: 
                   11283: 
                   11284: 
                   11285: 
                   11286: 
                   11287: 
                   11288: 
                   11289: 
                   11290: 
                   11291: 
                   11292: 
                   11293: 
                   11294: 
                   11295: 
                   11296: 
                   11297: 
                   11298: striplib=
                   11299: old_striplib=
                   11300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   11301: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   11302: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11303:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11304:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11305:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11306: $as_echo "yes" >&6; }
                   11307: else
                   11308: # FIXME - insert some real tests, host_os isn't really good enough
                   11309:   case $host_os in
                   11310:   darwin*)
                   11311:     if test -n "$STRIP" ; then
                   11312:       striplib="$STRIP -x"
                   11313:       old_striplib="$STRIP -S"
                   11314:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11315: $as_echo "yes" >&6; }
                   11316:     else
                   11317:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11318: $as_echo "no" >&6; }
                   11319:     fi
                   11320:     ;;
                   11321:   *)
                   11322:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11323: $as_echo "no" >&6; }
                   11324:     ;;
                   11325:   esac
                   11326: fi
                   11327: 
                   11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: 
                   11333: 
                   11334: 
                   11335: 
                   11336: 
                   11337: 
                   11338: 
                   11339:   # Report which library types will actually be built
                   11340:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   11341: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   11342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   11343: $as_echo "$can_build_shared" >&6; }
                   11344: 
                   11345:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   11346: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   11347:   test "$can_build_shared" = "no" && enable_shared=no
                   11348: 
                   11349:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11350:   # are all built from PIC.
                   11351:   case $host_os in
                   11352:   aix3*)
                   11353:     test "$enable_shared" = yes && enable_static=no
                   11354:     if test -n "$RANLIB"; then
                   11355:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11356:       postinstall_cmds='$RANLIB $lib'
                   11357:     fi
                   11358:     ;;
                   11359: 
                   11360:   aix[4-9]*)
                   11361:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11362:       test "$enable_shared" = yes && enable_static=no
                   11363:     fi
                   11364:     ;;
                   11365:   esac
                   11366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   11367: $as_echo "$enable_shared" >&6; }
                   11368: 
                   11369:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   11370: $as_echo_n "checking whether to build static libraries... " >&6; }
                   11371:   # Make sure either enable_shared or enable_static is yes.
                   11372:   test "$enable_shared" = yes || enable_static=yes
                   11373:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   11374: $as_echo "$enable_static" >&6; }
                   11375: 
                   11376: 
                   11377: 
                   11378: 
                   11379: fi
                   11380: ac_ext=c
                   11381: ac_cpp='$CPP $CPPFLAGS'
                   11382: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11383: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11384: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11385: 
                   11386: CC="$lt_save_CC"
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400:         ac_config_commands="$ac_config_commands libtool"
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: # Only expand once:
                   11406: 
                   11407: 
                   11408: 
                   11409: for ac_header in sys/sockio.h
                   11410: do :
                   11411:   ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
                   11412: if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
                   11413:   cat >>confdefs.h <<_ACEOF
                   11414: #define HAVE_SYS_SOCKIO_H 1
                   11415: _ACEOF
                   11416: 
                   11417: fi
                   11418: 
                   11419: done
                   11420: 
                   11421: for ac_func in gethostbyname2
                   11422: do :
                   11423:   ac_fn_c_check_func "$LINENO" "gethostbyname2" "ac_cv_func_gethostbyname2"
                   11424: if test "x$ac_cv_func_gethostbyname2" = xyes; then :
                   11425:   cat >>confdefs.h <<_ACEOF
                   11426: #define HAVE_GETHOSTBYNAME2 1
                   11427: _ACEOF
                   11428: 
                   11429: fi
                   11430: done
                   11431: 
                   11432: for ac_func in getifaddrs
                   11433: do :
                   11434:   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
                   11435: if test "x$ac_cv_func_getifaddrs" = xyes; then :
                   11436:   cat >>confdefs.h <<_ACEOF
                   11437: #define HAVE_GETIFADDRS 1
                   11438: _ACEOF
                   11439: 
                   11440: fi
                   11441: done
                   11442: 
                   11443: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   11444: case $ac_cv_c_uint16_t in #(
                   11445:   no|yes) ;; #(
                   11446:   *)
                   11447: 
                   11448: 
                   11449: cat >>confdefs.h <<_ACEOF
                   11450: #define uint16_t $ac_cv_c_uint16_t
                   11451: _ACEOF
                   11452: ;;
                   11453:   esac
                   11454: 
                   11455: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   11456: case $ac_cv_c_uint32_t in #(
                   11457:   no|yes) ;; #(
                   11458:   *)
                   11459: 
                   11460: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   11461: 
                   11462: 
                   11463: cat >>confdefs.h <<_ACEOF
                   11464: #define uint32_t $ac_cv_c_uint32_t
                   11465: _ACEOF
                   11466: ;;
                   11467:   esac
                   11468: 
                   11469: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   11470: case $ac_cv_c_uint64_t in #(
                   11471:   no|yes) ;; #(
                   11472:   *)
                   11473: 
                   11474: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   11475: 
                   11476: 
                   11477: cat >>confdefs.h <<_ACEOF
                   11478: #define uint64_t $ac_cv_c_uint64_t
                   11479: _ACEOF
                   11480: ;;
                   11481:   esac
                   11482: 
                   11483: 
                   11484: 
                   11485:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   11486: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   11487: if ${ac_cv_c_bigendian+:} false; then :
                   11488:   $as_echo_n "(cached) " >&6
                   11489: else
                   11490:   ac_cv_c_bigendian=unknown
                   11491:     # See if we're dealing with a universal compiler.
                   11492:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11493: /* end confdefs.h.  */
                   11494: #ifndef __APPLE_CC__
                   11495:               not a universal capable compiler
                   11496:             #endif
                   11497:             typedef int dummy;
                   11498: 
                   11499: _ACEOF
                   11500: if ac_fn_c_try_compile "$LINENO"; then :
                   11501: 
                   11502:        # Check for potential -arch flags.  It is not universal unless
                   11503:        # there are at least two -arch flags with different values.
                   11504:        ac_arch=
                   11505:        ac_prev=
                   11506:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   11507:         if test -n "$ac_prev"; then
                   11508:           case $ac_word in
                   11509:             i?86 | x86_64 | ppc | ppc64)
                   11510:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   11511:                 ac_arch=$ac_word
                   11512:               else
                   11513:                 ac_cv_c_bigendian=universal
                   11514:                 break
                   11515:               fi
                   11516:               ;;
                   11517:           esac
                   11518:           ac_prev=
                   11519:         elif test "x$ac_word" = "x-arch"; then
                   11520:           ac_prev=arch
                   11521:         fi
                   11522:        done
                   11523: fi
                   11524: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11525:     if test $ac_cv_c_bigendian = unknown; then
                   11526:       # See if sys/param.h defines the BYTE_ORDER macro.
                   11527:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11528: /* end confdefs.h.  */
                   11529: #include <sys/types.h>
                   11530:             #include <sys/param.h>
                   11531: 
                   11532: int
                   11533: main ()
                   11534: {
                   11535: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   11536:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   11537:                     && LITTLE_ENDIAN)
                   11538:              bogus endian macros
                   11539:             #endif
                   11540: 
                   11541:   ;
                   11542:   return 0;
                   11543: }
                   11544: _ACEOF
                   11545: if ac_fn_c_try_compile "$LINENO"; then :
                   11546:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   11547:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11548: /* end confdefs.h.  */
                   11549: #include <sys/types.h>
                   11550:                #include <sys/param.h>
                   11551: 
                   11552: int
                   11553: main ()
                   11554: {
                   11555: #if BYTE_ORDER != BIG_ENDIAN
                   11556:                 not big endian
                   11557:                #endif
                   11558: 
                   11559:   ;
                   11560:   return 0;
                   11561: }
                   11562: _ACEOF
                   11563: if ac_fn_c_try_compile "$LINENO"; then :
                   11564:   ac_cv_c_bigendian=yes
                   11565: else
                   11566:   ac_cv_c_bigendian=no
                   11567: fi
                   11568: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11569: fi
                   11570: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11571:     fi
                   11572:     if test $ac_cv_c_bigendian = unknown; then
                   11573:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   11574:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11575: /* end confdefs.h.  */
                   11576: #include <limits.h>
                   11577: 
                   11578: int
                   11579: main ()
                   11580: {
                   11581: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   11582:              bogus endian macros
                   11583:             #endif
                   11584: 
                   11585:   ;
                   11586:   return 0;
                   11587: }
                   11588: _ACEOF
                   11589: if ac_fn_c_try_compile "$LINENO"; then :
                   11590:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   11591:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11592: /* end confdefs.h.  */
                   11593: #include <limits.h>
                   11594: 
                   11595: int
                   11596: main ()
                   11597: {
                   11598: #ifndef _BIG_ENDIAN
                   11599:                 not big endian
                   11600:                #endif
                   11601: 
                   11602:   ;
                   11603:   return 0;
                   11604: }
                   11605: _ACEOF
                   11606: if ac_fn_c_try_compile "$LINENO"; then :
                   11607:   ac_cv_c_bigendian=yes
                   11608: else
                   11609:   ac_cv_c_bigendian=no
                   11610: fi
                   11611: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11612: fi
                   11613: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11614:     fi
                   11615:     if test $ac_cv_c_bigendian = unknown; then
                   11616:       # Compile a test program.
                   11617:       if test "$cross_compiling" = yes; then :
                   11618:   # Try to guess by grepping values from an object file.
                   11619:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11620: /* end confdefs.h.  */
                   11621: short int ascii_mm[] =
                   11622:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   11623:                short int ascii_ii[] =
                   11624:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   11625:                int use_ascii (int i) {
                   11626:                  return ascii_mm[i] + ascii_ii[i];
                   11627:                }
                   11628:                short int ebcdic_ii[] =
                   11629:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   11630:                short int ebcdic_mm[] =
                   11631:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   11632:                int use_ebcdic (int i) {
                   11633:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   11634:                }
                   11635:                extern int foo;
                   11636: 
                   11637: int
                   11638: main ()
                   11639: {
                   11640: return use_ascii (foo) == use_ebcdic (foo);
                   11641:   ;
                   11642:   return 0;
                   11643: }
                   11644: _ACEOF
                   11645: if ac_fn_c_try_compile "$LINENO"; then :
                   11646:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   11647:              ac_cv_c_bigendian=yes
                   11648:            fi
                   11649:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   11650:              if test "$ac_cv_c_bigendian" = unknown; then
                   11651:                ac_cv_c_bigendian=no
                   11652:              else
                   11653:                # finding both strings is unlikely to happen, but who knows?
                   11654:                ac_cv_c_bigendian=unknown
                   11655:              fi
                   11656:            fi
                   11657: fi
                   11658: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11659: else
                   11660:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11661: /* end confdefs.h.  */
                   11662: $ac_includes_default
                   11663: int
                   11664: main ()
                   11665: {
                   11666: 
                   11667:             /* Are we little or big endian?  From Harbison&Steele.  */
                   11668:             union
                   11669:             {
                   11670:               long int l;
                   11671:               char c[sizeof (long int)];
                   11672:             } u;
                   11673:             u.l = 1;
                   11674:             return u.c[sizeof (long int) - 1] == 1;
                   11675: 
                   11676:   ;
                   11677:   return 0;
                   11678: }
                   11679: _ACEOF
                   11680: if ac_fn_c_try_run "$LINENO"; then :
                   11681:   ac_cv_c_bigendian=no
                   11682: else
                   11683:   ac_cv_c_bigendian=yes
                   11684: fi
                   11685: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   11686:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   11687: fi
                   11688: 
                   11689:     fi
                   11690: fi
                   11691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   11692: $as_echo "$ac_cv_c_bigendian" >&6; }
                   11693:  case $ac_cv_c_bigendian in #(
                   11694:    yes)
                   11695:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   11696: ;; #(
                   11697:    no)
                   11698:       ;; #(
                   11699:    universal)
                   11700: 
                   11701: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   11702: 
                   11703:      ;; #(
                   11704:    *)
                   11705:      as_fn_error $? "unknown endianness
                   11706:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
                   11707:  esac
                   11708: 
                   11709:        if test $ac_cv_c_bigendian = yes ; then
                   11710: 
                   11711: $as_echo "#define LIBNET_BIG_ENDIAN 1" >>confdefs.h
                   11712: 
                   11713:             ENDIANESS="LIBNET_BIG_ENDIAN"
                   11714:             LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_BIG_ENDIAN"
                   11715:         else
                   11716: 
                   11717: $as_echo "#define LIBNET_LIL_ENDIAN 1" >>confdefs.h
                   11718: 
                   11719:             ENDIANESS="LIBNET_LIL_ENDIAN"
                   11720:             LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_LIL_ENDIAN"
                   11721:         fi
                   11722: 
                   11723: 
                   11724: 
                   11725: 
                   11726: 
                   11727: 
                   11728: 
                   11729: 
                   11730: 
                   11731: 
                   11732: 
                   11733: 
                   11734: 
                   11735: # Check whether --with-link-layer was given.
                   11736: if test "${with_link_layer+set}" = set; then :
                   11737:   withval=$with_link_layer;
                   11738: fi
                   11739: 
                   11740: 
                   11741: for ac_header in net/pfilt.h sys/net/nit.h net/raw.h sys/dlpi.h linux/socket.h
                   11742: do :
                   11743:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   11744: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   11745: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   11746:   cat >>confdefs.h <<_ACEOF
                   11747: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   11748: _ACEOF
                   11749: 
                   11750: fi
                   11751: 
                   11752: done
                   11753: 
                   11754: 
                   11755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking link-layer packet interface type" >&5
                   11756: $as_echo_n "checking link-layer packet interface type... " >&6; }
                   11757: 
                   11758: if test -n "${with_link_layer}"; then
                   11759:     case "${with_link_layer}" in
                   11760:         bpf)   case " $LIBOBJS " in
                   11761:   *" libnet_link_bpf.$ac_objext "* ) ;;
                   11762:   *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"
                   11763:  ;;
                   11764: esac
                   11765:  ;;
                   11766:         pf)    case " $LIBOBJS " in
                   11767:   *" libnet_link_pf.$ac_objext "* ) ;;
                   11768:   *) LIBOBJS="$LIBOBJS libnet_link_pf.$ac_objext"
                   11769:  ;;
                   11770: esac
                   11771:  ;;
                   11772:         snit)  case " $LIBOBJS " in
                   11773:   *" libnet_link_snit.$ac_objext "* ) ;;
                   11774:   *) LIBOBJS="$LIBOBJS libnet_link_snit.$ac_objext"
                   11775:  ;;
                   11776: esac
                   11777:  ;;
                   11778:         nit)   case " $LIBOBJS " in
                   11779:   *" libnet_link_nit.$ac_objext "* ) ;;
                   11780:   *) LIBOBJS="$LIBOBJS libnet_link_nit.$ac_objext"
                   11781:  ;;
                   11782: esac
                   11783:  ;;
                   11784:         snoop) case " $LIBOBJS " in
                   11785:   *" libnet_link_snoop.$ac_objext "* ) ;;
                   11786:   *) LIBOBJS="$LIBOBJS libnet_link_snoop.$ac_objext"
                   11787:  ;;
                   11788: esac
                   11789:  ;;
                   11790:         dlpi)  case " $LIBOBJS " in
                   11791:   *" libnet_link_dlpi.$ac_objext "* ) ;;
                   11792:   *) LIBOBJS="$LIBOBJS libnet_link_dlpi.$ac_objext"
                   11793:  ;;
                   11794: esac
                   11795:  ;;
                   11796:         linux) case " $LIBOBJS " in
                   11797:   *" libnet_link_linux.$ac_objext "* ) ;;
                   11798:   *) LIBOBJS="$LIBOBJS libnet_link_linux.$ac_objext"
                   11799:  ;;
                   11800: esac
                   11801: 
                   11802: 
                   11803:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for packet socket (PF_PACKET)" >&5
                   11804: $as_echo_n "checking for packet socket (PF_PACKET)... " >&6; }
                   11805:     if ${libnet_cv_have_packet_socket+:} false; then :
                   11806:   $as_echo_n "(cached) " >&6
                   11807: else
                   11808: 
                   11809:     cat > pf_packet-test.c << EOF
                   11810: #include <stdio.h>
                   11811: #include <errno.h>
                   11812: #include <stdlib.h>
                   11813: #include <netinet/in.h>
                   11814: #include <sys/socket.h>
                   11815: #include <features.h>    /* for the glibc version number */
                   11816: #if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
                   11817: #include <netpacket/packet.h>
                   11818: #include <net/ethernet.h>     /* the L2 protocols */
                   11819: #else
                   11820: #include <asm/types.h>
                   11821: #include <linux/if_packet.h>
                   11822: #include <linux/if_ether.h>   /* The L2 protocols */
                   11823: #endif
                   11824: 
                   11825: #ifndef SOL_PACKET
                   11826: #define SOL_PACKET 263
                   11827: #endif  /* SOL_PACKET */
                   11828: 
                   11829: int
                   11830: main(int argc, char **argv)
                   11831: {
                   11832:     int fd;
                   11833: 
                   11834:     fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
                   11835:     if (fd == -1)
                   11836:     {
                   11837:         if (errno == EPERM)
                   11838:         {
                   11839:             /* user's UID != 0 */
                   11840:             printf("probably");
                   11841:             exit (EXIT_FAILURE);
                   11842:         }
                   11843:         printf("no");
                   11844:         exit (EXIT_FAILURE);
                   11845:     }
                   11846:     printf("yes");
                   11847:     exit (EXIT_SUCCESS);
                   11848: }
                   11849: EOF
                   11850:     ${CC-cc} -o pf_packet-test $CFLAGS pf_packet-test.c >/dev/null 2>&1
                   11851: 
                   11852:     # Oopz 4.3 BSD doesn't have this.  Sorry.
                   11853:     if test ! -x ./pf_packet-test ; then
                   11854:         libnet_cv_have_packet_socket=choked
                   11855:     else
                   11856:         libnet_cv_have_packet_socket=`./pf_packet-test`;
                   11857:     fi
                   11858:     if test $libnet_cv_have_packet_socket = choked; then
                   11859:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program compile choked... assuming no" >&5
                   11860: $as_echo "test program compile choked... assuming no" >&6; }
                   11861:     elif test $libnet_cv_have_packet_socket = yes; then
                   11862:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11863: $as_echo "yes" >&6; }
                   11864:     elif test $libnet_cv_have_packet_socket = probably; then
                   11865:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program got EPERM... assuming yes" >&5
                   11866: $as_echo "test program got EPERM... assuming yes" >&6; }
                   11867:     elif test $libnet_cv_have_packet_socket = no; then
                   11868:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11869: $as_echo "no" >&6; }
                   11870:     fi
                   11871: 
                   11872:     rm -f pf_packet-test* core core.pf_packet-test
                   11873: 
                   11874: 
                   11875: fi
                   11876: 
                   11877: 
                   11878:     if test $libnet_cv_have_packet_socket = yes -o $libnet_cv_have_packet_socket = probably; then
                   11879: 
                   11880: $as_echo "#define HAVE_PACKET_SOCKET 1" >>confdefs.h
                   11881: 
                   11882:     fi
                   11883: 
                   11884:               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux proc filesystem" >&5
                   11885: $as_echo_n "checking for Linux proc filesystem... " >&6; }
                   11886:     if ${ac_cv_libnet_linux_procfs+:} false; then :
                   11887:   $as_echo_n "(cached) " >&6
                   11888: else
                   11889:   if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
                   11890:             ac_cv_libnet_linux_procfs=yes
                   11891:         else
                   11892:             ac_cv_libnet_linux_procfs=no
                   11893:         fi
                   11894: fi
                   11895: 
                   11896:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libnet_linux_procfs" >&5
                   11897: $as_echo "$ac_cv_libnet_linux_procfs" >&6; }
                   11898:     if test $ac_cv_libnet_linux_procfs = yes ; then
                   11899: 
                   11900: $as_echo "#define HAVE_LINUX_PROCFS 1" >>confdefs.h
                   11901: 
                   11902:     fi ;;
                   11903:         none) case " $LIBOBJS " in
                   11904:   *" libnet_link_none.$ac_objext "* ) ;;
                   11905:   *) LIBOBJS="$LIBOBJS libnet_link_none.$ac_objext"
                   11906:  ;;
                   11907: esac
                   11908:  ;;
                   11909:         *) as_fn_error $? "Invalid link type \"${with_link_layer}\"" "$LINENO" 5 ;;
                   11910:     esac
                   11911:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: user selected link layer ${with_link_layer}" >&5
                   11912: $as_echo "user selected link layer ${with_link_layer}" >&6; }
                   11913: elif test "${cross_compiling}" != "yes" -a -r /dev/bpf0 ; then
                   11914:     case " $LIBOBJS " in
                   11915:   *" libnet_link_bpf.$ac_objext "* ) ;;
                   11916:   *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"
                   11917:  ;;
                   11918: esac
                   11919: 
                   11920:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer bpf" >&5
                   11921: $as_echo "found link layer bpf" >&6; }
                   11922: elif test "${ac_cv_header_net_pfilt_h}" = "yes" ; then
                   11923:     case " $LIBOBJS " in
                   11924:   *" libnet_link_pf.$ac_objext "* ) ;;
                   11925:   *) LIBOBJS="$LIBOBJS libnet_link_pf.$ac_objext"
                   11926:  ;;
                   11927: esac
                   11928: 
                   11929:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer pf" >&5
                   11930: $as_echo "found link layer pf" >&6; }
                   11931: elif test "${cross_compiling}" != "yes" -a -r /dev/nit ; then
                   11932:     case " $LIBOBJS " in
                   11933:   *" libnet_link_snit.$ac_objext "* ) ;;
                   11934:   *) LIBOBJS="$LIBOBJS libnet_link_snit.$ac_objext"
                   11935:  ;;
                   11936: esac
                   11937: 
                   11938:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer snit" >&5
                   11939: $as_echo "found link layer snit" >&6; }
                   11940: elif test "${ac_cv_header_sys_net_nit_h}" = "yes" ; then
                   11941:     case " $LIBOBJS " in
                   11942:   *" libnet_link_nit.$ac_objext "* ) ;;
                   11943:   *) LIBOBJS="$LIBOBJS libnet_link_nit.$ac_objext"
                   11944:  ;;
                   11945: esac
                   11946: 
                   11947:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer nit" >&5
                   11948: $as_echo "found link layer nit" >&6; }
                   11949: elif test "${ac_cv_header_net_raw_h}" = "yes" ; then
                   11950:     case " $LIBOBJS " in
                   11951:   *" libnet_link_snoop.$ac_objext "* ) ;;
                   11952:   *) LIBOBJS="$LIBOBJS libnet_link_snoop.$ac_objext"
                   11953:  ;;
                   11954: esac
                   11955: 
                   11956:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer snoop" >&5
                   11957: $as_echo "found link layer snoop" >&6; }
                   11958: elif test "${ac_cv_header_sys_dlpi_h}" = "yes" ; then
                   11959:     case " $LIBOBJS " in
                   11960:   *" libnet_link_dlpi.$ac_objext "* ) ;;
                   11961:   *) LIBOBJS="$LIBOBJS libnet_link_dlpi.$ac_objext"
                   11962:  ;;
                   11963: esac
                   11964: 
                   11965:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer dlpi" >&5
                   11966: $as_echo "found link layer dlpi" >&6; }
                   11967: 
                   11968: $as_echo "#define HAVE_DLPI 1" >>confdefs.h
                   11969: 
                   11970: elif test "${ac_cv_header_linux_socket_h}" = "yes" ; then
                   11971:     case " $LIBOBJS " in
                   11972:   *" libnet_link_linux.$ac_objext "* ) ;;
                   11973:   *) LIBOBJS="$LIBOBJS libnet_link_linux.$ac_objext"
                   11974:  ;;
                   11975: esac
                   11976: 
                   11977:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer linux" >&5
                   11978: $as_echo "found link layer linux" >&6; }
                   11979: 
                   11980:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for packet socket (PF_PACKET)" >&5
                   11981: $as_echo_n "checking for packet socket (PF_PACKET)... " >&6; }
                   11982:     if ${libnet_cv_have_packet_socket+:} false; then :
                   11983:   $as_echo_n "(cached) " >&6
                   11984: else
                   11985: 
                   11986:     cat > pf_packet-test.c << EOF
                   11987: #include <stdio.h>
                   11988: #include <errno.h>
                   11989: #include <stdlib.h>
                   11990: #include <netinet/in.h>
                   11991: #include <sys/socket.h>
                   11992: #include <features.h>    /* for the glibc version number */
                   11993: #if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
                   11994: #include <netpacket/packet.h>
                   11995: #include <net/ethernet.h>     /* the L2 protocols */
                   11996: #else
                   11997: #include <asm/types.h>
                   11998: #include <linux/if_packet.h>
                   11999: #include <linux/if_ether.h>   /* The L2 protocols */
                   12000: #endif
                   12001: 
                   12002: #ifndef SOL_PACKET
                   12003: #define SOL_PACKET 263
                   12004: #endif  /* SOL_PACKET */
                   12005: 
                   12006: int
                   12007: main(int argc, char **argv)
                   12008: {
                   12009:     int fd;
                   12010: 
                   12011:     fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
                   12012:     if (fd == -1)
                   12013:     {
                   12014:         if (errno == EPERM)
                   12015:         {
                   12016:             /* user's UID != 0 */
                   12017:             printf("probably");
                   12018:             exit (EXIT_FAILURE);
                   12019:         }
                   12020:         printf("no");
                   12021:         exit (EXIT_FAILURE);
                   12022:     }
                   12023:     printf("yes");
                   12024:     exit (EXIT_SUCCESS);
                   12025: }
                   12026: EOF
                   12027:     ${CC-cc} -o pf_packet-test $CFLAGS pf_packet-test.c >/dev/null 2>&1
                   12028: 
                   12029:     # Oopz 4.3 BSD doesn't have this.  Sorry.
                   12030:     if test ! -x ./pf_packet-test ; then
                   12031:         libnet_cv_have_packet_socket=choked
                   12032:     else
                   12033:         libnet_cv_have_packet_socket=`./pf_packet-test`;
                   12034:     fi
                   12035:     if test $libnet_cv_have_packet_socket = choked; then
                   12036:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program compile choked... assuming no" >&5
                   12037: $as_echo "test program compile choked... assuming no" >&6; }
                   12038:     elif test $libnet_cv_have_packet_socket = yes; then
                   12039:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12040: $as_echo "yes" >&6; }
                   12041:     elif test $libnet_cv_have_packet_socket = probably; then
                   12042:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program got EPERM... assuming yes" >&5
                   12043: $as_echo "test program got EPERM... assuming yes" >&6; }
                   12044:     elif test $libnet_cv_have_packet_socket = no; then
                   12045:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12046: $as_echo "no" >&6; }
                   12047:     fi
                   12048: 
                   12049:     rm -f pf_packet-test* core core.pf_packet-test
                   12050: 
                   12051: 
                   12052: fi
                   12053: 
                   12054: 
                   12055:     if test $libnet_cv_have_packet_socket = yes -o $libnet_cv_have_packet_socket = probably; then
                   12056: 
                   12057: $as_echo "#define HAVE_PACKET_SOCKET 1" >>confdefs.h
                   12058: 
                   12059:     fi
                   12060: 
                   12061:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux proc filesystem" >&5
                   12062: $as_echo_n "checking for Linux proc filesystem... " >&6; }
                   12063:     if ${ac_cv_libnet_linux_procfs+:} false; then :
                   12064:   $as_echo_n "(cached) " >&6
                   12065: else
                   12066:   if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
                   12067:             ac_cv_libnet_linux_procfs=yes
                   12068:         else
                   12069:             ac_cv_libnet_linux_procfs=no
                   12070:         fi
                   12071: fi
                   12072: 
                   12073:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libnet_linux_procfs" >&5
                   12074: $as_echo "$ac_cv_libnet_linux_procfs" >&6; }
                   12075:     if test $ac_cv_libnet_linux_procfs = yes ; then
                   12076: 
                   12077: $as_echo "#define HAVE_LINUX_PROCFS 1" >>confdefs.h
                   12078: 
                   12079:     fi
                   12080: elif test "${cross_compiling}" != "yes" -a -c /dev/bpf0 ; then           # check again in case not readable
                   12081:     case " $LIBOBJS " in
                   12082:   *" libnet_link_bpf.$ac_objext "* ) ;;
                   12083:   *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"
                   12084:  ;;
                   12085: esac
                   12086: 
                   12087:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer bpf" >&5
                   12088: $as_echo "found link layer bpf" >&6; }
                   12089: elif test "${cross_compiling}" != "yes" -a -c /dev/nit ; then            # check again in case not readable
                   12090:     case " $LIBOBJS " in
                   12091:   *" libnet_link_snit.$ac_objext "* ) ;;
                   12092:   *) LIBOBJS="$LIBOBJS libnet_link_snit.$ac_objext"
                   12093:  ;;
                   12094: esac
                   12095: 
                   12096:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer snit" >&5
                   12097: $as_echo "found link layer snit" >&6; }
                   12098: elif test "$target_os" = "cygwin" ; then
                   12099:     case " $LIBOBJS " in
                   12100:   *" libnet_link_win32.$ac_objext "* ) ;;
                   12101:   *) LIBOBJS="$LIBOBJS libnet_link_win32.$ac_objext"
                   12102:  ;;
                   12103: esac
                   12104: 
                   12105:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer win32 wpcap" >&5
                   12106: $as_echo "found link layer win32 wpcap" >&6; }
                   12107: else
                   12108:     case " $LIBOBJS " in
                   12109:   *" libnet_link_none.$ac_objext "* ) ;;
                   12110:   *) LIBOBJS="$LIBOBJS libnet_link_none.$ac_objext"
                   12111:  ;;
                   12112: esac
                   12113: 
                   12114:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a link-layer packet interface" >&5
                   12115: $as_echo "$as_me: WARNING: could not find a link-layer packet interface" >&2;}
                   12116:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: link-layer packet injection will not be available" >&5
                   12117: $as_echo "$as_me: WARNING: link-layer packet injection will not be available" >&2;}
                   12118: fi
                   12119: 
                   12120: LIBOBJS=`echo "$LIBOBJS" |
                   12121:        sed 's,\.[^.]* ,$U&,g;s,\.[^.]*$,$U&,'`
                   12122: LTLIBOBJS=`echo "$LIBOBJS" |
                   12123:        sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,'`
                   12124: 
                   12125: 
                   12126: 
                   12127: echo -n "scanning available packet construction modules: "
                   12128: for dir in src/*build*c ; do
                   12129:     echo $dir | sed -e /src\\/libnet_build_/s/// | sed -e /\\.c/s/// | tr \\n \\040
                   12130: done
                   12131: echo ""
                   12132: 
                   12133: 
                   12134: case "$target_os" in
                   12135: 
                   12136: *linux*)
                   12137: 
                   12138: $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
                   12139: 
                   12140: 
                   12141: $as_echo "#define __BSD_SOURCE 1" >>confdefs.h
                   12142: 
                   12143: 
                   12144: $as_echo "#define __FAVOR_BSD 1" >>confdefs.h
                   12145: 
                   12146: 
                   12147:     LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD"
                   12148:     for ac_header in net/ethernet.h
                   12149: do :
                   12150:   ac_fn_c_check_header_mongrel "$LINENO" "net/ethernet.h" "ac_cv_header_net_ethernet_h" "$ac_includes_default"
                   12151: if test "x$ac_cv_header_net_ethernet_h" = xyes; then :
                   12152:   cat >>confdefs.h <<_ACEOF
                   12153: #define HAVE_NET_ETHERNET_H 1
                   12154: _ACEOF
                   12155:  \
                   12156:         LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H"
                   12157: fi
                   12158: 
                   12159: done
                   12160: 
                   12161:     ;;
                   12162: 
                   12163: *freebsd*)
                   12164: 
                   12165: $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h
                   12166: 
                   12167: 
                   12168: 
                   12169: 
                   12170: $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
                   12171: 
                   12172: 
1.1.1.3 ! misho    12173:     LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DHAVE_SOCKADDR_SA_LEN"
1.1.1.2   misho    12174:     ;;
                   12175: 
                   12176: *netbsd*)
                   12177: 
                   12178: $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h
                   12179: 
                   12180: 
                   12181: $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
                   12182: 
                   12183: 
                   12184:     LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP"
                   12185:     ;;
                   12186: 
                   12187: *openbsd*)
                   12188: 
                   12189: $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h
                   12190: 
                   12191: 
                   12192: $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
                   12193: 
                   12194:     LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS"
                   12195:     ;;
                   12196: 
                   12197: *bsdi*)
                   12198: 
                   12199: $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h
                   12200: 
                   12201: 
                   12202: $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
                   12203: 
                   12204:     LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP"
                   12205:     ;;
                   12206: 
                   12207: *darwin*)
                   12208: 
                   12209: $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
                   12210: 
                   12211:     LIBNET_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN"
                   12212: 
                   12213: 
                   12214:     case "$target" in
                   12215:     i?86-*-*darwin*)
                   12216:         $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h
                   12217: 
                   12218:         $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
                   12219: 
                   12220:         LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP"
                   12221:         ;;
                   12222: 
                   12223:     *)
                   12224:         ;;
                   12225: 
                   12226:     esac
                   12227: 
                   12228:     ;;
                   12229: 
                   12230: *solaris*)
                   12231: 
                   12232: $as_echo "#define HAVE_SOLARIS 1" >>confdefs.h
                   12233: 
                   12234:     for ac_header in sys/bufmod.h sys/dlpi_ext.h
                   12235: do :
                   12236:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   12237: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   12238: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   12239:   cat >>confdefs.h <<_ACEOF
                   12240: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   12241: _ACEOF
                   12242: 
                   12243: fi
                   12244: 
                   12245: done
                   12246: 
                   12247:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/dlpi device" >&5
                   12248: $as_echo_n "checking for /dev/dlpi device... " >&6; }
                   12249:     if test -c /dev/dlpi; then
                   12250:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12251: $as_echo "yes" >&6; }
                   12252: 
                   12253: $as_echo "#define HAVE_DEV_DLPI 1" >>confdefs.h
                   12254: 
                   12255:     else
                   12256:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12257: $as_echo "no" >&6; }
                   12258:         dir="/dev/dlpi"
                   12259:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir directory" >&5
                   12260: $as_echo_n "checking for $dir directory... " >&6; }
                   12261:         if test -d $dir ; then
                   12262:             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12263: $as_echo "yes" >&6; }
                   12264: 
                   12265: cat >>confdefs.h <<_ACEOF
                   12266: #define DLPI_DEV_PREFIX "$dir"
                   12267: _ACEOF
                   12268: 
                   12269:         else
                   12270:             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12271: $as_echo "no" >&6; }
                   12272:         fi
                   12273:     fi
                   12274:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   12275: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   12276: if ${ac_cv_lib_socket_socket+:} false; then :
                   12277:   $as_echo_n "(cached) " >&6
                   12278: else
                   12279:   ac_check_lib_save_LIBS=$LIBS
                   12280: LIBS="-lsocket  $LIBS"
                   12281: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12282: /* end confdefs.h.  */
                   12283: 
                   12284: /* Override any GCC internal prototype to avoid an error.
                   12285:    Use char because int might match the return type of a GCC
                   12286:    builtin and then its argument prototype would still apply.  */
                   12287: #ifdef __cplusplus
                   12288: extern "C"
                   12289: #endif
                   12290: char socket ();
                   12291: int
                   12292: main ()
                   12293: {
                   12294: return socket ();
                   12295:   ;
                   12296:   return 0;
                   12297: }
                   12298: _ACEOF
                   12299: if ac_fn_c_try_link "$LINENO"; then :
                   12300:   ac_cv_lib_socket_socket=yes
                   12301: else
                   12302:   ac_cv_lib_socket_socket=no
                   12303: fi
                   12304: rm -f core conftest.err conftest.$ac_objext \
                   12305:     conftest$ac_exeext conftest.$ac_ext
                   12306: LIBS=$ac_check_lib_save_LIBS
                   12307: fi
                   12308: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   12309: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   12310: if test "x$ac_cv_lib_socket_socket" = xyes; then :
                   12311:   cat >>confdefs.h <<_ACEOF
                   12312: #define HAVE_LIBSOCKET 1
                   12313: _ACEOF
                   12314: 
                   12315:   LIBS="-lsocket $LIBS"
                   12316: 
                   12317: else
                   12318:   as_fn_error $? "libsocket not found." "$LINENO" 5
                   12319: fi
                   12320: 
                   12321:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   12322: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   12323: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   12324:   $as_echo_n "(cached) " >&6
                   12325: else
                   12326:   ac_check_lib_save_LIBS=$LIBS
                   12327: LIBS="-lnsl  $LIBS"
                   12328: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12329: /* end confdefs.h.  */
                   12330: 
                   12331: /* Override any GCC internal prototype to avoid an error.
                   12332:    Use char because int might match the return type of a GCC
                   12333:    builtin and then its argument prototype would still apply.  */
                   12334: #ifdef __cplusplus
                   12335: extern "C"
                   12336: #endif
                   12337: char gethostbyname ();
                   12338: int
                   12339: main ()
                   12340: {
                   12341: return gethostbyname ();
                   12342:   ;
                   12343:   return 0;
                   12344: }
                   12345: _ACEOF
                   12346: if ac_fn_c_try_link "$LINENO"; then :
                   12347:   ac_cv_lib_nsl_gethostbyname=yes
                   12348: else
                   12349:   ac_cv_lib_nsl_gethostbyname=no
                   12350: fi
                   12351: rm -f core conftest.err conftest.$ac_objext \
                   12352:     conftest$ac_exeext conftest.$ac_ext
                   12353: LIBS=$ac_check_lib_save_LIBS
                   12354: fi
                   12355: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   12356: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   12357: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
                   12358:   cat >>confdefs.h <<_ACEOF
                   12359: #define HAVE_LIBNSL 1
                   12360: _ACEOF
                   12361: 
                   12362:   LIBS="-lnsl $LIBS"
                   12363: 
                   12364: else
                   12365:   as_fn_error $? "libnsl not found." "$LINENO" 5
                   12366: fi
                   12367: 
                   12368:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
                   12369: $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
                   12370: if ${ac_cv_lib_resolv_hstrerror+:} false; then :
                   12371:   $as_echo_n "(cached) " >&6
                   12372: else
                   12373:   ac_check_lib_save_LIBS=$LIBS
                   12374: LIBS="-lresolv  $LIBS"
                   12375: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12376: /* end confdefs.h.  */
                   12377: 
                   12378: /* Override any GCC internal prototype to avoid an error.
                   12379:    Use char because int might match the return type of a GCC
                   12380:    builtin and then its argument prototype would still apply.  */
                   12381: #ifdef __cplusplus
                   12382: extern "C"
                   12383: #endif
                   12384: char hstrerror ();
                   12385: int
                   12386: main ()
                   12387: {
                   12388: return hstrerror ();
                   12389:   ;
                   12390:   return 0;
                   12391: }
                   12392: _ACEOF
                   12393: if ac_fn_c_try_link "$LINENO"; then :
                   12394:   ac_cv_lib_resolv_hstrerror=yes
                   12395: else
                   12396:   ac_cv_lib_resolv_hstrerror=no
                   12397: fi
                   12398: rm -f core conftest.err conftest.$ac_objext \
                   12399:     conftest$ac_exeext conftest.$ac_ext
                   12400: LIBS=$ac_check_lib_save_LIBS
                   12401: fi
                   12402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
                   12403: $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
                   12404: if test "x$ac_cv_lib_resolv_hstrerror" = xyes; then :
                   12405:   cat >>confdefs.h <<_ACEOF
                   12406: #define HAVE_LIBRESOLV 1
                   12407: _ACEOF
                   12408: 
                   12409:   LIBS="-lresolv $LIBS"
                   12410: 
                   12411: else
                   12412:   as_fn_error $? "libresolv not found." "$LINENO" 5
                   12413: fi
                   12414: 
                   12415: 
                   12416:     case "`uname -r`" in
                   12417:     5.4)
                   12418: 
                   12419: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   12420: 
                   12421:         ;;
                   12422:     5.5*)
                   12423: 
                   12424: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   12425: 
                   12426:         ;;
                   12427:     5.8)
                   12428: 
                   12429: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   12430: 
                   12431: 
                   12432: $as_echo "#define HAVE_SOLARIS_IPV6 1" >>confdefs.h
                   12433: 
                   12434: 
                   12435:         ;;
                   12436:     5.9)
                   12437: 
                   12438: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   12439: 
                   12440: 
                   12441: $as_echo "#define HAVE_SOLARIS_IPV6 1" >>confdefs.h
                   12442: 
                   12443:         ;;
                   12444:     5.10|5.11|5.12)
                   12445: 
                   12446: $as_echo "#define HAVE_SOLARIS_IPV6 1" >>confdefs.h
                   12447: 
                   12448:         ;;
                   12449: 
                   12450:     esac
                   12451: 
                   12452:     ADDITIONAL_LIBS='-lresolv -lsocket -lnsl'
                   12453:     LIBNET_CONFIG_LIBS="$LIBNET_CONFIG_LIBS -lresolv -lsocket -lnsl"
                   12454: 
                   12455:     ;;
                   12456: 
                   12457: *hpux11*)
                   12458: 
                   12459: $as_echo "#define HAVE_HPUX11 1" >>confdefs.h
                   12460: 
                   12461:     for ac_header in sys/dlpi_ext.h
                   12462: do :
                   12463:   ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi_ext.h" "ac_cv_header_sys_dlpi_ext_h" "$ac_includes_default"
                   12464: if test "x$ac_cv_header_sys_dlpi_ext_h" = xyes; then :
                   12465:   cat >>confdefs.h <<_ACEOF
                   12466: #define HAVE_SYS_DLPI_EXT_H 1
                   12467: _ACEOF
                   12468: 
                   12469: fi
                   12470: 
                   12471: done
                   12472: 
                   12473:     ;;
                   12474: 
                   12475: *cygwin*)
                   12476: 
                   12477: $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h
                   12478: 
                   12479: 
                   12480: $as_echo "#define NO_SNPRINTF 1" >>confdefs.h
                   12481: 
                   12482:      LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DNO_SNPRINTF"
                   12483:      CFLAGS="$CFLAGS -mno-cygwin -O0 -fnative-struct -DNO_SNPRINTF -I/usr/include/pcap"
                   12484:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PacketSetMode in -lpacket" >&5
                   12485: $as_echo_n "checking for PacketSetMode in -lpacket... " >&6; }
                   12486: if ${ac_cv_lib_packet_PacketSetMode+:} false; then :
                   12487:   $as_echo_n "(cached) " >&6
                   12488: else
                   12489:   ac_check_lib_save_LIBS=$LIBS
                   12490: LIBS="-lpacket  $LIBS"
                   12491: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12492: /* end confdefs.h.  */
                   12493: 
                   12494: /* Override any GCC internal prototype to avoid an error.
                   12495:    Use char because int might match the return type of a GCC
                   12496:    builtin and then its argument prototype would still apply.  */
                   12497: #ifdef __cplusplus
                   12498: extern "C"
                   12499: #endif
                   12500: char PacketSetMode ();
                   12501: int
                   12502: main ()
                   12503: {
                   12504: return PacketSetMode ();
                   12505:   ;
                   12506:   return 0;
                   12507: }
                   12508: _ACEOF
                   12509: if ac_fn_c_try_link "$LINENO"; then :
                   12510:   ac_cv_lib_packet_PacketSetMode=yes
                   12511: else
                   12512:   ac_cv_lib_packet_PacketSetMode=no
                   12513: fi
                   12514: rm -f core conftest.err conftest.$ac_objext \
                   12515:     conftest$ac_exeext conftest.$ac_ext
                   12516: LIBS=$ac_check_lib_save_LIBS
                   12517: fi
                   12518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_packet_PacketSetMode" >&5
                   12519: $as_echo "$ac_cv_lib_packet_PacketSetMode" >&6; }
                   12520: if test "x$ac_cv_lib_packet_PacketSetMode" = xyes; then :
                   12521:   cat >>confdefs.h <<_ACEOF
                   12522: #define HAVE_LIBPACKET 1
                   12523: _ACEOF
                   12524: 
                   12525:   LIBS="-lpacket $LIBS"
                   12526: 
                   12527: else
                   12528:   as_fn_error $? "packet lib not found." "$LINENO" 5
                   12529: fi
                   12530: 
                   12531:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_setmode in -lwpcap" >&5
                   12532: $as_echo_n "checking for pcap_setmode in -lwpcap... " >&6; }
                   12533: if ${ac_cv_lib_wpcap_pcap_setmode+:} false; then :
                   12534:   $as_echo_n "(cached) " >&6
                   12535: else
                   12536:   ac_check_lib_save_LIBS=$LIBS
                   12537: LIBS="-lwpcap  $LIBS"
                   12538: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12539: /* end confdefs.h.  */
                   12540: 
                   12541: /* Override any GCC internal prototype to avoid an error.
                   12542:    Use char because int might match the return type of a GCC
                   12543:    builtin and then its argument prototype would still apply.  */
                   12544: #ifdef __cplusplus
                   12545: extern "C"
                   12546: #endif
                   12547: char pcap_setmode ();
                   12548: int
                   12549: main ()
                   12550: {
                   12551: return pcap_setmode ();
                   12552:   ;
                   12553:   return 0;
                   12554: }
                   12555: _ACEOF
                   12556: if ac_fn_c_try_link "$LINENO"; then :
                   12557:   ac_cv_lib_wpcap_pcap_setmode=yes
                   12558: else
                   12559:   ac_cv_lib_wpcap_pcap_setmode=no
                   12560: fi
                   12561: rm -f core conftest.err conftest.$ac_objext \
                   12562:     conftest$ac_exeext conftest.$ac_ext
                   12563: LIBS=$ac_check_lib_save_LIBS
                   12564: fi
                   12565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wpcap_pcap_setmode" >&5
                   12566: $as_echo "$ac_cv_lib_wpcap_pcap_setmode" >&6; }
                   12567: if test "x$ac_cv_lib_wpcap_pcap_setmode" = xyes; then :
                   12568:   cat >>confdefs.h <<_ACEOF
                   12569: #define HAVE_LIBWPCAP 1
                   12570: _ACEOF
                   12571: 
                   12572:   LIBS="-lwpcap $LIBS"
                   12573: 
                   12574: else
                   12575:   as_fn_error $? "pcap lib not found." "$LINENO" 5
                   12576: fi
                   12577: 
                   12578:      LIBS="$LIBS -lws2_32"
                   12579:      ;;
                   12580: 
                   12581: *)
                   12582:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: apparently your OS is not officially supported yet" >&5
                   12583: $as_echo "$as_me: WARNING: apparently your OS is not officially supported yet" >&2;}
                   12584:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this may not work" >&5
                   12585: $as_echo "$as_me: WARNING: this may not work" >&2;}
                   12586:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: please send diffs to vieuxtech@gmail.com" >&5
                   12587: $as_echo "please send diffs to vieuxtech@gmail.com" >&6; }
1.1       misho    12588:     ;;
                   12589: 
1.1.1.2   misho    12590: esac
                   12591: 
                   12592: 
                   12593: # Check whether --enable-samples was given.
                   12594: if test "${enable_samples+set}" = set; then :
                   12595:   enableval=$enable_samples;
                   12596: fi
                   12597: 
                   12598: 
                   12599:  if test x"$enable_samples" = xyes; then
                   12600:   INSTALL_SAMPLES_TRUE=
                   12601:   INSTALL_SAMPLES_FALSE='#'
                   12602: else
                   12603:   INSTALL_SAMPLES_TRUE='#'
                   12604:   INSTALL_SAMPLES_FALSE=
                   12605: fi
                   12606: 
                   12607: 
                   12608: ac_config_files="$ac_config_files Makefile src/Makefile win32/Makefile include/Makefile include/libnet/Makefile include/win32/Makefile sample/Makefile doc/Makefile doc/man/Makefile doc/man/man3/Makefile doc/html/Makefile version.h include/libnet.h libnet-config"
                   12609: 
                   12610: cat >confcache <<\_ACEOF
                   12611: # This file is a shell script that caches the results of configure
                   12612: # tests run on this system so they can be shared between configure
                   12613: # scripts and configure runs, see configure's option --config-cache.
                   12614: # It is not useful on other systems.  If it contains results you don't
                   12615: # want to keep, you may remove or edit it.
                   12616: #
                   12617: # config.status only pays attention to the cache file if you give it
                   12618: # the --recheck option to rerun configure.
                   12619: #
                   12620: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   12621: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   12622: # following values.
                   12623: 
                   12624: _ACEOF
                   12625: 
                   12626: # The following way of writing the cache mishandles newlines in values,
                   12627: # but we know of no workaround that is simple, portable, and efficient.
                   12628: # So, we kill variables containing newlines.
                   12629: # Ultrix sh set writes to stderr and can't be redirected directly,
                   12630: # and sets the high bit in the cache file unless we assign to the vars.
                   12631: (
                   12632:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   12633:     eval ac_val=\$$ac_var
                   12634:     case $ac_val in #(
                   12635:     *${as_nl}*)
                   12636:       case $ac_var in #(
                   12637:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   12638: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   12639:       esac
                   12640:       case $ac_var in #(
                   12641:       _ | IFS | as_nl) ;; #(
                   12642:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   12643:       *) { eval $ac_var=; unset $ac_var;} ;;
                   12644:       esac ;;
                   12645:     esac
                   12646:   done
                   12647: 
                   12648:   (set) 2>&1 |
                   12649:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   12650:     *${as_nl}ac_space=\ *)
                   12651:       # `set' does not quote correctly, so add quotes: double-quote
                   12652:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   12653:       sed -n \
                   12654:        "s/'/'\\\\''/g;
                   12655:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   12656:       ;; #(
                   12657:     *)
                   12658:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   12659:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   12660:       ;;
                   12661:     esac |
                   12662:     sort
                   12663: ) |
                   12664:   sed '
                   12665:      /^ac_cv_env_/b end
                   12666:      t clear
                   12667:      :clear
                   12668:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   12669:      t end
                   12670:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   12671:      :end' >>confcache
                   12672: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   12673:   if test -w "$cache_file"; then
                   12674:     if test "x$cache_file" != "x/dev/null"; then
                   12675:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   12676: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   12677:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   12678:        cat confcache >"$cache_file"
                   12679:       else
                   12680:         case $cache_file in #(
                   12681:         */* | ?:*)
                   12682:          mv -f confcache "$cache_file"$$ &&
                   12683:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   12684:         *)
                   12685:          mv -f confcache "$cache_file" ;;
                   12686:        esac
                   12687:       fi
                   12688:     fi
                   12689:   else
                   12690:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   12691: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   12692:   fi
                   12693: fi
                   12694: rm -f confcache
                   12695: 
                   12696: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   12697: # Let make expand exec_prefix.
                   12698: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   12699: 
                   12700: DEFS=-DHAVE_CONFIG_H
                   12701: 
                   12702: ac_libobjs=
                   12703: ac_ltlibobjs=
                   12704: U=
                   12705: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   12706:   # 1. Remove the extension, and $U if already installed.
                   12707:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   12708:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   12709:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   12710:   #    will be set to the directory where LIBOBJS objects are built.
                   12711:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   12712:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   12713: done
                   12714: LIBOBJS=$ac_libobjs
                   12715: 
                   12716: LTLIBOBJS=$ac_ltlibobjs
                   12717: 
                   12718: 
                   12719:  if test -n "$EXEEXT"; then
                   12720:   am__EXEEXT_TRUE=
                   12721:   am__EXEEXT_FALSE='#'
                   12722: else
                   12723:   am__EXEEXT_TRUE='#'
                   12724:   am__EXEEXT_FALSE=
                   12725: fi
                   12726: 
                   12727: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   12728:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
                   12729: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12730: fi
                   12731: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   12732:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   12733: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12734: fi
                   12735: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   12736:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   12737: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12738: fi
                   12739: 
                   12740: if test -z "${INSTALL_SAMPLES_TRUE}" && test -z "${INSTALL_SAMPLES_FALSE}"; then
                   12741:   as_fn_error $? "conditional \"INSTALL_SAMPLES\" was never defined.
                   12742: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12743: fi
                   12744: 
                   12745: : "${CONFIG_STATUS=./config.status}"
                   12746: ac_write_fail=0
                   12747: ac_clean_files_save=$ac_clean_files
                   12748: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   12749: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   12750: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   12751: as_write_fail=0
                   12752: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   12753: #! $SHELL
                   12754: # Generated by $as_me.
                   12755: # Run this file to recreate the current configuration.
                   12756: # Compiler output produced by configure, useful for debugging
                   12757: # configure, is in config.log if it exists.
                   12758: 
                   12759: debug=false
                   12760: ac_cs_recheck=false
                   12761: ac_cs_silent=false
                   12762: 
                   12763: SHELL=\${CONFIG_SHELL-$SHELL}
                   12764: export SHELL
                   12765: _ASEOF
                   12766: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   12767: ## -------------------- ##
                   12768: ## M4sh Initialization. ##
                   12769: ## -------------------- ##
                   12770: 
                   12771: # Be more Bourne compatible
                   12772: DUALCASE=1; export DUALCASE # for MKS sh
                   12773: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   12774:   emulate sh
                   12775:   NULLCMD=:
                   12776:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   12777:   # is contrary to our usage.  Disable this feature.
                   12778:   alias -g '${1+"$@"}'='"$@"'
                   12779:   setopt NO_GLOB_SUBST
                   12780: else
                   12781:   case `(set -o) 2>/dev/null` in #(
                   12782:   *posix*) :
                   12783:     set -o posix ;; #(
                   12784:   *) :
                   12785:      ;;
                   12786: esac
                   12787: fi
                   12788: 
                   12789: 
                   12790: as_nl='
                   12791: '
                   12792: export as_nl
                   12793: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   12794: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   12795: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   12796: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   12797: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   12798: # but without wasting forks for bash or zsh.
                   12799: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   12800:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   12801:   as_echo='print -r --'
                   12802:   as_echo_n='print -rn --'
                   12803: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   12804:   as_echo='printf %s\n'
                   12805:   as_echo_n='printf %s'
                   12806: else
                   12807:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   12808:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   12809:     as_echo_n='/usr/ucb/echo -n'
                   12810:   else
                   12811:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   12812:     as_echo_n_body='eval
                   12813:       arg=$1;
                   12814:       case $arg in #(
                   12815:       *"$as_nl"*)
                   12816:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   12817:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   12818:       esac;
                   12819:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   12820:     '
                   12821:     export as_echo_n_body
                   12822:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   12823:   fi
                   12824:   export as_echo_body
                   12825:   as_echo='sh -c $as_echo_body as_echo'
                   12826: fi
                   12827: 
                   12828: # The user is always right.
                   12829: if test "${PATH_SEPARATOR+set}" != set; then
                   12830:   PATH_SEPARATOR=:
                   12831:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   12832:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   12833:       PATH_SEPARATOR=';'
                   12834:   }
                   12835: fi
                   12836: 
                   12837: 
                   12838: # IFS
                   12839: # We need space, tab and new line, in precisely that order.  Quoting is
                   12840: # there to prevent editors from complaining about space-tab.
                   12841: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   12842: # splitting by setting IFS to empty value.)
                   12843: IFS=" ""       $as_nl"
                   12844: 
                   12845: # Find who we are.  Look in the path if we contain no directory separator.
                   12846: as_myself=
                   12847: case $0 in #((
                   12848:   *[\\/]* ) as_myself=$0 ;;
                   12849:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   12850: for as_dir in $PATH
                   12851: do
                   12852:   IFS=$as_save_IFS
                   12853:   test -z "$as_dir" && as_dir=.
                   12854:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   12855:   done
                   12856: IFS=$as_save_IFS
                   12857: 
                   12858:      ;;
                   12859: esac
                   12860: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   12861: # in which case we are not to be found in the path.
                   12862: if test "x$as_myself" = x; then
                   12863:   as_myself=$0
                   12864: fi
                   12865: if test ! -f "$as_myself"; then
                   12866:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   12867:   exit 1
                   12868: fi
                   12869: 
                   12870: # Unset variables that we do not need and which cause bugs (e.g. in
                   12871: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   12872: # suppresses any "Segmentation fault" message there.  '((' could
                   12873: # trigger a bug in pdksh 5.2.14.
                   12874: for as_var in BASH_ENV ENV MAIL MAILPATH
                   12875: do eval test x\${$as_var+set} = xset \
                   12876:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   12877: done
                   12878: PS1='$ '
                   12879: PS2='> '
                   12880: PS4='+ '
                   12881: 
                   12882: # NLS nuisances.
                   12883: LC_ALL=C
                   12884: export LC_ALL
                   12885: LANGUAGE=C
                   12886: export LANGUAGE
                   12887: 
                   12888: # CDPATH.
                   12889: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   12890: 
                   12891: 
                   12892: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   12893: # ----------------------------------------
                   12894: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   12895: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   12896: # script with STATUS, using 1 if that was 0.
                   12897: as_fn_error ()
                   12898: {
                   12899:   as_status=$1; test $as_status -eq 0 && as_status=1
                   12900:   if test "$4"; then
                   12901:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   12902:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   12903:   fi
                   12904:   $as_echo "$as_me: error: $2" >&2
                   12905:   as_fn_exit $as_status
                   12906: } # as_fn_error
                   12907: 
                   12908: 
                   12909: # as_fn_set_status STATUS
                   12910: # -----------------------
                   12911: # Set $? to STATUS, without forking.
                   12912: as_fn_set_status ()
                   12913: {
                   12914:   return $1
                   12915: } # as_fn_set_status
                   12916: 
                   12917: # as_fn_exit STATUS
                   12918: # -----------------
                   12919: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   12920: as_fn_exit ()
                   12921: {
                   12922:   set +e
                   12923:   as_fn_set_status $1
                   12924:   exit $1
                   12925: } # as_fn_exit
                   12926: 
                   12927: # as_fn_unset VAR
                   12928: # ---------------
                   12929: # Portably unset VAR.
                   12930: as_fn_unset ()
                   12931: {
                   12932:   { eval $1=; unset $1;}
                   12933: }
                   12934: as_unset=as_fn_unset
                   12935: # as_fn_append VAR VALUE
                   12936: # ----------------------
                   12937: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   12938: # advantage of any shell optimizations that allow amortized linear growth over
                   12939: # repeated appends, instead of the typical quadratic growth present in naive
                   12940: # implementations.
                   12941: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   12942:   eval 'as_fn_append ()
                   12943:   {
                   12944:     eval $1+=\$2
                   12945:   }'
                   12946: else
                   12947:   as_fn_append ()
                   12948:   {
                   12949:     eval $1=\$$1\$2
                   12950:   }
                   12951: fi # as_fn_append
                   12952: 
                   12953: # as_fn_arith ARG...
                   12954: # ------------------
                   12955: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   12956: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   12957: # must be portable across $(()) and expr.
                   12958: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   12959:   eval 'as_fn_arith ()
                   12960:   {
                   12961:     as_val=$(( $* ))
                   12962:   }'
                   12963: else
                   12964:   as_fn_arith ()
                   12965:   {
                   12966:     as_val=`expr "$@" || test $? -eq 1`
                   12967:   }
                   12968: fi # as_fn_arith
                   12969: 
                   12970: 
                   12971: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   12972:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   12973:   as_expr=expr
                   12974: else
                   12975:   as_expr=false
                   12976: fi
                   12977: 
                   12978: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   12979:   as_basename=basename
                   12980: else
                   12981:   as_basename=false
                   12982: fi
                   12983: 
                   12984: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   12985:   as_dirname=dirname
                   12986: else
                   12987:   as_dirname=false
                   12988: fi
                   12989: 
                   12990: as_me=`$as_basename -- "$0" ||
                   12991: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   12992:         X"$0" : 'X\(//\)$' \| \
                   12993:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   12994: $as_echo X/"$0" |
                   12995:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   12996:            s//\1/
                   12997:            q
                   12998:          }
                   12999:          /^X\/\(\/\/\)$/{
                   13000:            s//\1/
                   13001:            q
                   13002:          }
                   13003:          /^X\/\(\/\).*/{
                   13004:            s//\1/
                   13005:            q
                   13006:          }
                   13007:          s/.*/./; q'`
                   13008: 
                   13009: # Avoid depending upon Character Ranges.
                   13010: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   13011: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   13012: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   13013: as_cr_digits='0123456789'
                   13014: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   13015: 
                   13016: ECHO_C= ECHO_N= ECHO_T=
                   13017: case `echo -n x` in #(((((
                   13018: -n*)
                   13019:   case `echo 'xy\c'` in
                   13020:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   13021:   xy)  ECHO_C='\c';;
                   13022:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   13023:        ECHO_T='        ';;
                   13024:   esac;;
                   13025: *)
                   13026:   ECHO_N='-n';;
                   13027: esac
                   13028: 
                   13029: rm -f conf$$ conf$$.exe conf$$.file
                   13030: if test -d conf$$.dir; then
                   13031:   rm -f conf$$.dir/conf$$.file
                   13032: else
                   13033:   rm -f conf$$.dir
                   13034:   mkdir conf$$.dir 2>/dev/null
                   13035: fi
                   13036: if (echo >conf$$.file) 2>/dev/null; then
                   13037:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   13038:     as_ln_s='ln -s'
                   13039:     # ... but there are two gotchas:
                   13040:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   13041:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   13042:     # In both cases, we have to default to `cp -p'.
                   13043:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   13044:       as_ln_s='cp -p'
                   13045:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   13046:     as_ln_s=ln
                   13047:   else
                   13048:     as_ln_s='cp -p'
                   13049:   fi
                   13050: else
                   13051:   as_ln_s='cp -p'
                   13052: fi
                   13053: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   13054: rmdir conf$$.dir 2>/dev/null
                   13055: 
                   13056: 
                   13057: # as_fn_mkdir_p
                   13058: # -------------
                   13059: # Create "$as_dir" as a directory, including parents if necessary.
                   13060: as_fn_mkdir_p ()
                   13061: {
                   13062: 
                   13063:   case $as_dir in #(
                   13064:   -*) as_dir=./$as_dir;;
                   13065:   esac
                   13066:   test -d "$as_dir" || eval $as_mkdir_p || {
                   13067:     as_dirs=
                   13068:     while :; do
                   13069:       case $as_dir in #(
                   13070:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   13071:       *) as_qdir=$as_dir;;
                   13072:       esac
                   13073:       as_dirs="'$as_qdir' $as_dirs"
                   13074:       as_dir=`$as_dirname -- "$as_dir" ||
                   13075: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   13076:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   13077:         X"$as_dir" : 'X\(//\)$' \| \
                   13078:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   13079: $as_echo X"$as_dir" |
                   13080:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   13081:            s//\1/
                   13082:            q
                   13083:          }
                   13084:          /^X\(\/\/\)[^/].*/{
                   13085:            s//\1/
                   13086:            q
                   13087:          }
                   13088:          /^X\(\/\/\)$/{
                   13089:            s//\1/
                   13090:            q
                   13091:          }
                   13092:          /^X\(\/\).*/{
                   13093:            s//\1/
                   13094:            q
                   13095:          }
                   13096:          s/.*/./; q'`
                   13097:       test -d "$as_dir" && break
                   13098:     done
                   13099:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   13100:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   13101: 
                   13102: 
                   13103: } # as_fn_mkdir_p
                   13104: if mkdir -p . 2>/dev/null; then
                   13105:   as_mkdir_p='mkdir -p "$as_dir"'
                   13106: else
                   13107:   test -d ./-p && rmdir ./-p
                   13108:   as_mkdir_p=false
                   13109: fi
                   13110: 
                   13111: if test -x / >/dev/null 2>&1; then
                   13112:   as_test_x='test -x'
                   13113: else
                   13114:   if ls -dL / >/dev/null 2>&1; then
                   13115:     as_ls_L_option=L
                   13116:   else
                   13117:     as_ls_L_option=
                   13118:   fi
                   13119:   as_test_x='
                   13120:     eval sh -c '\''
                   13121:       if test -d "$1"; then
                   13122:        test -d "$1/.";
                   13123:       else
                   13124:        case $1 in #(
                   13125:        -*)set "./$1";;
                   13126:        esac;
                   13127:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   13128:        ???[sx]*):;;*)false;;esac;fi
                   13129:     '\'' sh
                   13130:   '
                   13131: fi
                   13132: as_executable_p=$as_test_x
                   13133: 
                   13134: # Sed expression to map a string onto a valid CPP name.
                   13135: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   13136: 
                   13137: # Sed expression to map a string onto a valid variable name.
                   13138: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   13139: 
                   13140: 
                   13141: exec 6>&1
                   13142: ## ----------------------------------- ##
                   13143: ## Main body of $CONFIG_STATUS script. ##
                   13144: ## ----------------------------------- ##
                   13145: _ASEOF
                   13146: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   13147: 
                   13148: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13149: # Save the log message, to keep $0 and so on meaningful, and to
                   13150: # report actual input values of CONFIG_FILES etc. instead of their
                   13151: # values after options handling.
                   13152: ac_log="
                   13153: This file was extended by libnet $as_me 1.1.6, which was
                   13154: generated by GNU Autoconf 2.68.  Invocation command line was
                   13155: 
                   13156:   CONFIG_FILES    = $CONFIG_FILES
                   13157:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   13158:   CONFIG_LINKS    = $CONFIG_LINKS
                   13159:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   13160:   $ $0 $@
                   13161: 
                   13162: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   13163: "
                   13164: 
1.1       misho    13165: _ACEOF
                   13166: 
1.1.1.2   misho    13167: case $ac_config_files in *"
                   13168: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   13169: esac
                   13170: 
                   13171: case $ac_config_headers in *"
                   13172: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   13173: esac
                   13174: 
                   13175: 
                   13176: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13177: # Files that config.status was made for.
                   13178: config_files="$ac_config_files"
                   13179: config_headers="$ac_config_headers"
                   13180: config_commands="$ac_config_commands"
                   13181: 
                   13182: _ACEOF
                   13183: 
                   13184: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13185: ac_cs_usage="\
                   13186: \`$as_me' instantiates files and other configuration actions
                   13187: from templates according to the current configuration.  Unless the files
                   13188: and actions are specified as TAGs, all are instantiated by default.
                   13189: 
                   13190: Usage: $0 [OPTION]... [TAG]...
                   13191: 
                   13192:   -h, --help       print this help, then exit
                   13193:   -V, --version    print version number and configuration settings, then exit
                   13194:       --config     print configuration, then exit
                   13195:   -q, --quiet, --silent
                   13196:                    do not print progress messages
                   13197:   -d, --debug      don't remove temporary files
                   13198:       --recheck    update $as_me by reconfiguring in the same conditions
                   13199:       --file=FILE[:TEMPLATE]
                   13200:                    instantiate the configuration file FILE
                   13201:       --header=FILE[:TEMPLATE]
                   13202:                    instantiate the configuration header FILE
                   13203: 
                   13204: Configuration files:
                   13205: $config_files
                   13206: 
                   13207: Configuration headers:
                   13208: $config_headers
                   13209: 
                   13210: Configuration commands:
                   13211: $config_commands
                   13212: 
                   13213: Report bugs to the package provider."
                   13214: 
                   13215: _ACEOF
                   13216: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13217: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   13218: ac_cs_version="\\
                   13219: libnet config.status 1.1.6
                   13220: configured by $0, generated by GNU Autoconf 2.68,
                   13221:   with options \\"\$ac_cs_config\\"
                   13222: 
                   13223: Copyright (C) 2010 Free Software Foundation, Inc.
                   13224: This config.status script is free software; the Free Software Foundation
                   13225: gives unlimited permission to copy, distribute and modify it."
                   13226: 
                   13227: ac_pwd='$ac_pwd'
                   13228: srcdir='$srcdir'
                   13229: INSTALL='$INSTALL'
                   13230: MKDIR_P='$MKDIR_P'
                   13231: AWK='$AWK'
                   13232: test -n "\$AWK" || AWK=awk
                   13233: _ACEOF
                   13234: 
                   13235: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13236: # The default lists apply if the user does not specify any file.
                   13237: ac_need_defaults=:
                   13238: while test $# != 0
                   13239: do
                   13240:   case $1 in
                   13241:   --*=?*)
                   13242:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   13243:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   13244:     ac_shift=:
                   13245:     ;;
                   13246:   --*=)
                   13247:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   13248:     ac_optarg=
                   13249:     ac_shift=:
                   13250:     ;;
                   13251:   *)
                   13252:     ac_option=$1
                   13253:     ac_optarg=$2
                   13254:     ac_shift=shift
1.1       misho    13255:     ;;
1.1.1.2   misho    13256:   esac
                   13257: 
                   13258:   case $ac_option in
                   13259:   # Handling of the options.
                   13260:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   13261:     ac_cs_recheck=: ;;
                   13262:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   13263:     $as_echo "$ac_cs_version"; exit ;;
                   13264:   --config | --confi | --conf | --con | --co | --c )
                   13265:     $as_echo "$ac_cs_config"; exit ;;
                   13266:   --debug | --debu | --deb | --de | --d | -d )
                   13267:     debug=: ;;
                   13268:   --file | --fil | --fi | --f )
                   13269:     $ac_shift
                   13270:     case $ac_optarg in
                   13271:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   13272:     '') as_fn_error $? "missing file argument" ;;
                   13273:     esac
                   13274:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   13275:     ac_need_defaults=false;;
                   13276:   --header | --heade | --head | --hea )
                   13277:     $ac_shift
                   13278:     case $ac_optarg in
                   13279:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   13280:     esac
                   13281:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   13282:     ac_need_defaults=false;;
                   13283:   --he | --h)
                   13284:     # Conflict between --help and --header
                   13285:     as_fn_error $? "ambiguous option: \`$1'
                   13286: Try \`$0 --help' for more information.";;
                   13287:   --help | --hel | -h )
                   13288:     $as_echo "$ac_cs_usage"; exit ;;
                   13289:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   13290:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   13291:     ac_cs_silent=: ;;
1.1       misho    13292: 
1.1.1.2   misho    13293:   # This is an error.
                   13294:   -*) as_fn_error $? "unrecognized option: \`$1'
                   13295: Try \`$0 --help' for more information." ;;
1.1       misho    13296: 
1.1.1.2   misho    13297:   *) as_fn_append ac_config_targets " $1"
                   13298:      ac_need_defaults=false ;;
1.1       misho    13299: 
1.1.1.2   misho    13300:   esac
                   13301:   shift
                   13302: done
1.1       misho    13303: 
1.1.1.2   misho    13304: ac_configure_extra_args=
1.1       misho    13305: 
1.1.1.2   misho    13306: if $ac_cs_silent; then
                   13307:   exec 6>/dev/null
                   13308:   ac_configure_extra_args="$ac_configure_extra_args --silent"
1.1       misho    13309: fi
                   13310: 
                   13311: _ACEOF
1.1.1.2   misho    13312: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13313: if \$ac_cs_recheck; then
                   13314:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   13315:   shift
                   13316:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   13317:   CONFIG_SHELL='$SHELL'
                   13318:   export CONFIG_SHELL
                   13319:   exec "\$@"
1.1       misho    13320: fi
                   13321: 
1.1.1.2   misho    13322: _ACEOF
                   13323: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13324: exec 5>>config.log
                   13325: {
                   13326:   echo
                   13327:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   13328: ## Running $as_me. ##
1.1       misho    13329: _ASBOX
1.1.1.2   misho    13330:   $as_echo "$ac_log"
                   13331: } >&5
1.1       misho    13332: 
                   13333: _ACEOF
1.1.1.2   misho    13334: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13335: #
                   13336: # INIT-COMMANDS
                   13337: #
                   13338: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.1       misho    13339: 
                   13340: 
1.1.1.2   misho    13341: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   13342: # if CDPATH is set.
                   13343: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   13344: 
                   13345: sed_quote_subst='$sed_quote_subst'
                   13346: double_quote_subst='$double_quote_subst'
                   13347: delay_variable_subst='$delay_variable_subst'
                   13348: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   13349: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   13350: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   13351: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   13352: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   13353: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   13354: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   13355: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   13356: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   13357: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   13358: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   13359: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   13360: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   13361: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   13362: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   13363: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   13364: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   13365: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   13366: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   13367: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   13368: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   13369: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   13370: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   13371: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   13372: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   13373: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   13374: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   13375: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   13376: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13377: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13378: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   13379: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   13380: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   13381: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   13382: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   13383: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   13384: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   13385: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   13386: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   13387: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   13388: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   13389: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   13390: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   13391: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   13392: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13393: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13394: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13395: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   13396: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   13397: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   13398: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   13399: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   13400: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   13401: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   13402: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   13403: 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"`'
                   13404: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13405: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   13406: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   13407: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   13408: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   13409: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   13410: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   13411: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   13412: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   13413: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   13414: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   13415: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   13416: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   13417: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   13418: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   13419: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   13420: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   13421: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   13422: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13423: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   13424: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   13425: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13426: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13427: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   13428: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   13429: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13430: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13431: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13432: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   13433: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13434: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   13435: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13436: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13437: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13438: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
                   13439: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   13440: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   13441: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   13442: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   13443: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13444: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   13445: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   13446: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   13447: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   13448: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   13449: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   13450: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   13451: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   13452: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   13453: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13454: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   13455: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   13456: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   13457: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   13458: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   13459: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13460: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   13461: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   13462: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   13463: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   13464: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   13465: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13466: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13467: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   13468: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   13469: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   13470: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   13471: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   13472: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   13473: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   13474: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   13475: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   13476: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   13477: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   13478: 
                   13479: LTCC='$LTCC'
                   13480: LTCFLAGS='$LTCFLAGS'
                   13481: compiler='$compiler_DEFAULT'
                   13482: 
                   13483: # A function that is used when there is no print builtin or printf.
                   13484: func_fallback_echo ()
                   13485: {
                   13486:   eval 'cat <<_LTECHO_EOF
                   13487: \$1
                   13488: _LTECHO_EOF'
                   13489: }
                   13490: 
                   13491: # Quote evaled strings.
                   13492: for var in SHELL \
                   13493: ECHO \
                   13494: SED \
                   13495: GREP \
                   13496: EGREP \
                   13497: FGREP \
                   13498: LD \
                   13499: NM \
                   13500: LN_S \
                   13501: lt_SP2NL \
                   13502: lt_NL2SP \
                   13503: reload_flag \
                   13504: OBJDUMP \
                   13505: deplibs_check_method \
                   13506: file_magic_cmd \
                   13507: file_magic_glob \
                   13508: want_nocaseglob \
                   13509: DLLTOOL \
                   13510: sharedlib_from_linklib_cmd \
                   13511: AR \
                   13512: AR_FLAGS \
                   13513: archiver_list_spec \
                   13514: STRIP \
                   13515: RANLIB \
                   13516: CC \
                   13517: CFLAGS \
                   13518: compiler \
                   13519: lt_cv_sys_global_symbol_pipe \
                   13520: lt_cv_sys_global_symbol_to_cdecl \
                   13521: lt_cv_sys_global_symbol_to_c_name_address \
                   13522: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   13523: nm_file_list_spec \
                   13524: lt_prog_compiler_no_builtin_flag \
                   13525: lt_prog_compiler_pic \
                   13526: lt_prog_compiler_wl \
                   13527: lt_prog_compiler_static \
                   13528: lt_cv_prog_compiler_c_o \
                   13529: need_locks \
                   13530: MANIFEST_TOOL \
                   13531: DSYMUTIL \
                   13532: NMEDIT \
                   13533: LIPO \
                   13534: OTOOL \
                   13535: OTOOL64 \
                   13536: shrext_cmds \
                   13537: export_dynamic_flag_spec \
                   13538: whole_archive_flag_spec \
                   13539: compiler_needs_object \
                   13540: with_gnu_ld \
                   13541: allow_undefined_flag \
                   13542: no_undefined_flag \
                   13543: hardcode_libdir_flag_spec \
                   13544: hardcode_libdir_flag_spec_ld \
                   13545: hardcode_libdir_separator \
                   13546: exclude_expsyms \
                   13547: include_expsyms \
                   13548: file_list_spec \
                   13549: variables_saved_for_relink \
                   13550: libname_spec \
                   13551: library_names_spec \
                   13552: soname_spec \
                   13553: install_override_mode \
                   13554: finish_eval \
                   13555: old_striplib \
                   13556: striplib; do
                   13557:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13558:     *[\\\\\\\`\\"\\\$]*)
                   13559:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   13560:       ;;
                   13561:     *)
                   13562:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13563:       ;;
                   13564:     esac
1.1       misho    13565: done
                   13566: 
1.1.1.2   misho    13567: # Double-quote double-evaled strings.
                   13568: for var in reload_cmds \
                   13569: old_postinstall_cmds \
                   13570: old_postuninstall_cmds \
                   13571: old_archive_cmds \
                   13572: extract_expsyms_cmds \
                   13573: old_archive_from_new_cmds \
                   13574: old_archive_from_expsyms_cmds \
                   13575: archive_cmds \
                   13576: archive_expsym_cmds \
                   13577: module_cmds \
                   13578: module_expsym_cmds \
                   13579: export_symbols_cmds \
                   13580: prelink_cmds \
                   13581: postlink_cmds \
                   13582: postinstall_cmds \
                   13583: postuninstall_cmds \
                   13584: finish_cmds \
                   13585: sys_lib_search_path_spec \
                   13586: sys_lib_dlsearch_path_spec; do
                   13587:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13588:     *[\\\\\\\`\\"\\\$]*)
                   13589:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   13590:       ;;
                   13591:     *)
                   13592:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13593:       ;;
                   13594:     esac
                   13595: done
                   13596: 
                   13597: ac_aux_dir='$ac_aux_dir'
                   13598: xsi_shell='$xsi_shell'
                   13599: lt_shell_append='$lt_shell_append'
                   13600: 
                   13601: # See if we are running on zsh, and set the options which allow our
                   13602: # commands through without removal of \ escapes INIT.
                   13603: if test -n "\${ZSH_VERSION+set}" ; then
                   13604:    setopt NO_GLOB_SUBST
                   13605: fi
                   13606: 
                   13607: 
                   13608:     PACKAGE='$PACKAGE'
                   13609:     VERSION='$VERSION'
                   13610:     TIMESTAMP='$TIMESTAMP'
                   13611:     RM='$RM'
                   13612:     ofile='$ofile'
                   13613: 
1.1       misho    13614: 
                   13615: 
                   13616: 
                   13617: _ACEOF
                   13618: 
1.1.1.2   misho    13619: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13620: 
                   13621: # Handling of arguments.
                   13622: for ac_config_target in $ac_config_targets
                   13623: do
                   13624:   case $ac_config_target in
                   13625:     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
                   13626:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   13627:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   13628:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   13629:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   13630:     "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
                   13631:     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
                   13632:     "include/libnet/Makefile") CONFIG_FILES="$CONFIG_FILES include/libnet/Makefile" ;;
                   13633:     "include/win32/Makefile") CONFIG_FILES="$CONFIG_FILES include/win32/Makefile" ;;
                   13634:     "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
                   13635:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   13636:     "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
                   13637:     "doc/man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man3/Makefile" ;;
                   13638:     "doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;;
                   13639:     "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
                   13640:     "include/libnet.h") CONFIG_FILES="$CONFIG_FILES include/libnet.h" ;;
                   13641:     "libnet-config") CONFIG_FILES="$CONFIG_FILES libnet-config" ;;
                   13642: 
                   13643:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   13644:   esac
                   13645: done
                   13646: 
                   13647: 
                   13648: # If the user did not use the arguments to specify the items to instantiate,
                   13649: # then the envvar interface is used.  Set only those that are not.
                   13650: # We use the long form for the default assignment because of an extremely
                   13651: # bizarre bug on SunOS 4.1.3.
                   13652: if $ac_need_defaults; then
                   13653:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   13654:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   13655:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   13656: fi
                   13657: 
                   13658: # Have a temporary directory for convenience.  Make it in the build tree
                   13659: # simply because there is no reason against having it here, and in addition,
                   13660: # creating and moving files from /tmp can sometimes cause problems.
                   13661: # Hook for its removal unless debugging.
                   13662: # Note that there is a small window in which the directory will not be cleaned:
                   13663: # after its creation but before its name has been assigned to `$tmp'.
                   13664: $debug ||
1.1       misho    13665: {
1.1.1.2   misho    13666:   tmp= ac_tmp=
                   13667:   trap 'exit_status=$?
                   13668:   : "${ac_tmp:=$tmp}"
                   13669:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   13670: ' 0
                   13671:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    13672: }
1.1.1.2   misho    13673: # Create a (secure) tmp directory for tmp files.
                   13674: 
                   13675: {
                   13676:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   13677:   test -d "$tmp"
                   13678: }  ||
                   13679: {
                   13680:   tmp=./conf$$-$RANDOM
                   13681:   (umask 077 && mkdir "$tmp")
                   13682: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   13683: ac_tmp=$tmp
                   13684: 
                   13685: # Set up the scripts for CONFIG_FILES section.
                   13686: # No need to generate them if there are no CONFIG_FILES.
                   13687: # This happens for instance with `./config.status config.h'.
                   13688: if test -n "$CONFIG_FILES"; then
1.1       misho    13689: 
1.1.1.2   misho    13690: 
                   13691: ac_cr=`echo X | tr X '\015'`
                   13692: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   13693: # But we know of no other shell where ac_cr would be empty at this
                   13694: # point, so we can use a bashism as a fallback.
                   13695: if test "x$ac_cr" = x; then
                   13696:   eval ac_cr=\$\'\\r\'
1.1       misho    13697: fi
1.1.1.2   misho    13698: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   13699: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   13700:   ac_cs_awk_cr='\\r'
                   13701: else
                   13702:   ac_cs_awk_cr=$ac_cr
1.1       misho    13703: fi
1.1.1.2   misho    13704: 
                   13705: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1       misho    13706: _ACEOF
                   13707: 
                   13708: 
1.1.1.2   misho    13709: {
                   13710:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   13711:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   13712:   echo "_ACEOF"
                   13713: } >conf$$subs.sh ||
                   13714:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   13715: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   13716: ac_delim='%!_!# '
                   13717: for ac_last_try in false false false false false :; do
                   13718:   . ./conf$$subs.sh ||
                   13719:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    13720: 
1.1.1.2   misho    13721:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   13722:   if test $ac_delim_n = $ac_delim_num; then
                   13723:     break
                   13724:   elif $ac_last_try; then
                   13725:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   13726:   else
                   13727:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   13728:   fi
                   13729: done
                   13730: rm -f conf$$subs.sh
1.1       misho    13731: 
1.1.1.2   misho    13732: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13733: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    13734: _ACEOF
1.1.1.2   misho    13735: sed -n '
                   13736: h
                   13737: s/^/S["/; s/!.*/"]=/
                   13738: p
                   13739: g
                   13740: s/^[^!]*!//
                   13741: :repl
                   13742: t repl
                   13743: s/'"$ac_delim"'$//
                   13744: t delim
                   13745: :nl
                   13746: h
                   13747: s/\(.\{148\}\)..*/\1/
                   13748: t more1
                   13749: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   13750: p
                   13751: n
                   13752: b repl
                   13753: :more1
                   13754: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   13755: p
                   13756: g
                   13757: s/.\{148\}//
                   13758: t nl
                   13759: :delim
                   13760: h
                   13761: s/\(.\{148\}\)..*/\1/
                   13762: t more2
                   13763: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   13764: p
                   13765: b
                   13766: :more2
                   13767: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   13768: p
                   13769: g
                   13770: s/.\{148\}//
                   13771: t delim
                   13772: ' <conf$$subs.awk | sed '
                   13773: /^[^""]/{
                   13774:   N
                   13775:   s/\n//
                   13776: }
                   13777: ' >>$CONFIG_STATUS || ac_write_fail=1
                   13778: rm -f conf$$subs.awk
                   13779: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13780: _ACAWK
                   13781: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   13782:   for (key in S) S_is_set[key] = 1
                   13783:   FS = ""
1.1       misho    13784: 
1.1.1.2   misho    13785: }
1.1       misho    13786: {
1.1.1.2   misho    13787:   line = $ 0
                   13788:   nfields = split(line, field, "@")
                   13789:   substed = 0
                   13790:   len = length(field[1])
                   13791:   for (i = 2; i < nfields; i++) {
                   13792:     key = field[i]
                   13793:     keylen = length(key)
                   13794:     if (S_is_set[key]) {
                   13795:       value = S[key]
                   13796:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   13797:       len += length(value) + length(field[++i])
                   13798:       substed = 1
                   13799:     } else
                   13800:       len += 1 + keylen
                   13801:   }
                   13802: 
                   13803:   print line
1.1       misho    13804: }
1.1.1.2   misho    13805: 
                   13806: _ACAWK
1.1       misho    13807: _ACEOF
1.1.1.2   misho    13808: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13809: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   13810:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1.1       misho    13811: else
1.1.1.2   misho    13812:   cat
                   13813: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   13814:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   13815: _ACEOF
1.1       misho    13816: 
1.1.1.2   misho    13817: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   13818: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   13819: # trailing colons and then remove the whole line if VPATH becomes empty
                   13820: # (actually we leave an empty line to preserve line numbers).
                   13821: if test "x$srcdir" = x.; then
                   13822:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   13823: h
                   13824: s///
                   13825: s/^/:/
                   13826: s/[     ]*$/:/
                   13827: s/:\$(srcdir):/:/g
                   13828: s/:\${srcdir}:/:/g
                   13829: s/:@srcdir@:/:/g
                   13830: s/^:*//
                   13831: s/:*$//
                   13832: x
                   13833: s/\(=[  ]*\).*/\1/
                   13834: G
                   13835: s/\n//
                   13836: s/^[^=]*=[      ]*$//
                   13837: }'
1.1       misho    13838: fi
1.1.1.2   misho    13839: 
                   13840: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13841: fi # test -n "$CONFIG_FILES"
                   13842: 
                   13843: # Set up the scripts for CONFIG_HEADERS section.
                   13844: # No need to generate them if there are no CONFIG_HEADERS.
                   13845: # This happens for instance with `./config.status Makefile'.
                   13846: if test -n "$CONFIG_HEADERS"; then
                   13847: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   13848: BEGIN {
                   13849: _ACEOF
                   13850: 
                   13851: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   13852: # here-document in config.status, that substitutes the proper values into
                   13853: # config.h.in to produce config.h.
                   13854: 
                   13855: # Create a delimiter string that does not exist in confdefs.h, to ease
                   13856: # handling of long lines.
                   13857: ac_delim='%!_!# '
                   13858: for ac_last_try in false false :; do
                   13859:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   13860:   if test -z "$ac_tt"; then
                   13861:     break
                   13862:   elif $ac_last_try; then
                   13863:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   13864:   else
                   13865:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   13866:   fi
                   13867: done
                   13868: 
                   13869: # For the awk script, D is an array of macro values keyed by name,
                   13870: # likewise P contains macro parameters if any.  Preserve backslash
                   13871: # newline sequences.
                   13872: 
                   13873: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   13874: sed -n '
                   13875: s/.\{148\}/&'"$ac_delim"'/g
                   13876: t rset
                   13877: :rset
                   13878: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   13879: t def
                   13880: d
                   13881: :def
                   13882: s/\\$//
                   13883: t bsnl
                   13884: s/["\\]/\\&/g
                   13885: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   13886: D["\1"]=" \3"/p
                   13887: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   13888: d
                   13889: :bsnl
                   13890: s/["\\]/\\&/g
                   13891: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   13892: D["\1"]=" \3\\\\\\n"\\/p
                   13893: t cont
                   13894: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   13895: t cont
                   13896: d
                   13897: :cont
                   13898: n
                   13899: s/.\{148\}/&'"$ac_delim"'/g
                   13900: t clear
                   13901: :clear
                   13902: s/\\$//
                   13903: t bsnlc
                   13904: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   13905: d
                   13906: :bsnlc
                   13907: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   13908: b cont
                   13909: ' <confdefs.h | sed '
                   13910: s/'"$ac_delim"'/"\\\
                   13911: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   13912: 
                   13913: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13914:   for (key in D) D_is_set[key] = 1
                   13915:   FS = ""
                   13916: }
                   13917: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   13918:   line = \$ 0
                   13919:   split(line, arg, " ")
                   13920:   if (arg[1] == "#") {
                   13921:     defundef = arg[2]
                   13922:     mac1 = arg[3]
                   13923:   } else {
                   13924:     defundef = substr(arg[1], 2)
                   13925:     mac1 = arg[2]
                   13926:   }
                   13927:   split(mac1, mac2, "(") #)
                   13928:   macro = mac2[1]
                   13929:   prefix = substr(line, 1, index(line, defundef) - 1)
                   13930:   if (D_is_set[macro]) {
                   13931:     # Preserve the white space surrounding the "#".
                   13932:     print prefix "define", macro P[macro] D[macro]
                   13933:     next
                   13934:   } else {
                   13935:     # Replace #undef with comments.  This is necessary, for example,
                   13936:     # in the case of _POSIX_SOURCE, which is predefined and required
                   13937:     # on some systems where configure will not decide to define it.
                   13938:     if (defundef == "undef") {
                   13939:       print "/*", prefix defundef, macro, "*/"
                   13940:       next
                   13941:     }
                   13942:   }
                   13943: }
                   13944: { print }
                   13945: _ACAWK
1.1       misho    13946: _ACEOF
1.1.1.2   misho    13947: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13948:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   13949: fi # test -n "$CONFIG_HEADERS"
1.1       misho    13950: 
                   13951: 
1.1.1.2   misho    13952: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   13953: shift
                   13954: for ac_tag
                   13955: do
                   13956:   case $ac_tag in
                   13957:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   13958:   esac
                   13959:   case $ac_mode$ac_tag in
                   13960:   :[FHL]*:*);;
                   13961:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   13962:   :[FH]-) ac_tag=-:-;;
                   13963:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   13964:   esac
                   13965:   ac_save_IFS=$IFS
                   13966:   IFS=:
                   13967:   set x $ac_tag
                   13968:   IFS=$ac_save_IFS
                   13969:   shift
                   13970:   ac_file=$1
                   13971:   shift
                   13972: 
                   13973:   case $ac_mode in
                   13974:   :L) ac_source=$1;;
                   13975:   :[FH])
                   13976:     ac_file_inputs=
                   13977:     for ac_f
                   13978:     do
                   13979:       case $ac_f in
                   13980:       -) ac_f="$ac_tmp/stdin";;
                   13981:       *) # Look for the file first in the build tree, then in the source tree
                   13982:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   13983:         # because $ac_f cannot contain `:'.
                   13984:         test -f "$ac_f" ||
                   13985:           case $ac_f in
                   13986:           [\\/$]*) false;;
                   13987:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   13988:           esac ||
                   13989:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   13990:       esac
                   13991:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   13992:       as_fn_append ac_file_inputs " '$ac_f'"
                   13993:     done
1.1       misho    13994: 
1.1.1.2   misho    13995:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   13996:     # use $as_me), people would be surprised to read:
                   13997:     #    /* config.h.  Generated by config.status.  */
                   13998:     configure_input='Generated from '`
                   13999:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   14000:        `' by configure.'
                   14001:     if test x"$ac_file" != x-; then
                   14002:       configure_input="$ac_file.  $configure_input"
                   14003:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   14004: $as_echo "$as_me: creating $ac_file" >&6;}
                   14005:     fi
                   14006:     # Neutralize special characters interpreted by sed in replacement strings.
                   14007:     case $configure_input in #(
                   14008:     *\&* | *\|* | *\\* )
                   14009:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   14010:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   14011:     *) ac_sed_conf_input=$configure_input;;
                   14012:     esac
1.1       misho    14013: 
1.1.1.2   misho    14014:     case $ac_tag in
                   14015:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   14016:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   14017:     esac
                   14018:     ;;
                   14019:   esac
                   14020: 
                   14021:   ac_dir=`$as_dirname -- "$ac_file" ||
                   14022: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14023:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   14024:         X"$ac_file" : 'X\(//\)$' \| \
                   14025:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   14026: $as_echo X"$ac_file" |
                   14027:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14028:            s//\1/
                   14029:            q
                   14030:          }
                   14031:          /^X\(\/\/\)[^/].*/{
                   14032:            s//\1/
                   14033:            q
                   14034:          }
                   14035:          /^X\(\/\/\)$/{
                   14036:            s//\1/
                   14037:            q
                   14038:          }
                   14039:          /^X\(\/\).*/{
                   14040:            s//\1/
                   14041:            q
                   14042:          }
                   14043:          s/.*/./; q'`
                   14044:   as_dir="$ac_dir"; as_fn_mkdir_p
                   14045:   ac_builddir=.
                   14046: 
                   14047: case "$ac_dir" in
                   14048: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   14049: *)
                   14050:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   14051:   # A ".." for each directory in $ac_dir_suffix.
                   14052:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   14053:   case $ac_top_builddir_sub in
                   14054:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   14055:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   14056:   esac ;;
                   14057: esac
                   14058: ac_abs_top_builddir=$ac_pwd
                   14059: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   14060: # for backward compatibility:
                   14061: ac_top_builddir=$ac_top_build_prefix
                   14062: 
                   14063: case $srcdir in
                   14064:   .)  # We are building in place.
                   14065:     ac_srcdir=.
                   14066:     ac_top_srcdir=$ac_top_builddir_sub
                   14067:     ac_abs_top_srcdir=$ac_pwd ;;
                   14068:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   14069:     ac_srcdir=$srcdir$ac_dir_suffix;
                   14070:     ac_top_srcdir=$srcdir
                   14071:     ac_abs_top_srcdir=$srcdir ;;
                   14072:   *) # Relative name.
                   14073:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   14074:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   14075:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   14076: esac
                   14077: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   14078: 
                   14079: 
                   14080:   case $ac_mode in
                   14081:   :F)
                   14082:   #
                   14083:   # CONFIG_FILE
                   14084:   #
                   14085: 
                   14086:   case $INSTALL in
                   14087:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   14088:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   14089:   esac
                   14090:   ac_MKDIR_P=$MKDIR_P
                   14091:   case $MKDIR_P in
                   14092:   [\\/$]* | ?:[\\/]* ) ;;
                   14093:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   14094:   esac
1.1       misho    14095: _ACEOF
                   14096: 
1.1.1.2   misho    14097: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14098: # If the template does not know about datarootdir, expand it.
                   14099: # FIXME: This hack should be removed a few years after 2.60.
                   14100: ac_datarootdir_hack=; ac_datarootdir_seen=
                   14101: ac_sed_dataroot='
                   14102: /datarootdir/ {
                   14103:   p
                   14104:   q
                   14105: }
                   14106: /@datadir@/p
                   14107: /@docdir@/p
                   14108: /@infodir@/p
                   14109: /@localedir@/p
                   14110: /@mandir@/p'
                   14111: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   14112: *datarootdir*) ac_datarootdir_seen=yes;;
                   14113: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   14114:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   14115: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   14116: _ACEOF
                   14117: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   14118:   ac_datarootdir_hack='
                   14119:   s&@datadir@&$datadir&g
                   14120:   s&@docdir@&$docdir&g
                   14121:   s&@infodir@&$infodir&g
                   14122:   s&@localedir@&$localedir&g
                   14123:   s&@mandir@&$mandir&g
                   14124:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   14125: esac
1.1       misho    14126: _ACEOF
                   14127: 
1.1.1.2   misho    14128: # Neutralize VPATH when `$srcdir' = `.'.
                   14129: # Shell code in configure.ac might set extrasub.
                   14130: # FIXME: do we really want to maintain this feature?
                   14131: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   14132: ac_sed_extra="$ac_vpsub
                   14133: $extrasub
1.1       misho    14134: _ACEOF
1.1.1.2   misho    14135: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14136: :t
                   14137: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   14138: s|@configure_input@|$ac_sed_conf_input|;t t
                   14139: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   14140: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   14141: s&@srcdir@&$ac_srcdir&;t t
                   14142: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   14143: s&@top_srcdir@&$ac_top_srcdir&;t t
                   14144: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   14145: s&@builddir@&$ac_builddir&;t t
                   14146: s&@abs_builddir@&$ac_abs_builddir&;t t
                   14147: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   14148: s&@INSTALL@&$ac_INSTALL&;t t
                   14149: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   14150: $ac_datarootdir_hack
                   14151: "
                   14152: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   14153:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14154: 
                   14155: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   14156:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   14157:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   14158:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   14159:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   14160: which seems to be undefined.  Please make sure it is defined" >&5
                   14161: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   14162: which seems to be undefined.  Please make sure it is defined" >&2;}
                   14163: 
                   14164:   rm -f "$ac_tmp/stdin"
                   14165:   case $ac_file in
                   14166:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   14167:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   14168:   esac \
                   14169:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14170:  ;;
                   14171:   :H)
                   14172:   #
                   14173:   # CONFIG_HEADER
                   14174:   #
                   14175:   if test x"$ac_file" != x-; then
                   14176:     {
                   14177:       $as_echo "/* $configure_input  */" \
                   14178:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   14179:     } >"$ac_tmp/config.h" \
                   14180:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14181:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   14182:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   14183: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   14184:     else
                   14185:       rm -f "$ac_file"
                   14186:       mv "$ac_tmp/config.h" "$ac_file" \
                   14187:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14188:     fi
                   14189:   else
                   14190:     $as_echo "/* $configure_input  */" \
                   14191:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   14192:       || as_fn_error $? "could not create -" "$LINENO" 5
                   14193:   fi
                   14194: # Compute "$ac_file"'s index in $config_headers.
                   14195: _am_arg="$ac_file"
                   14196: _am_stamp_count=1
                   14197: for _am_header in $config_headers :; do
                   14198:   case $_am_header in
                   14199:     $_am_arg | $_am_arg:* )
                   14200:       break ;;
                   14201:     * )
                   14202:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   14203:   esac
                   14204: done
                   14205: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   14206: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14207:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   14208:         X"$_am_arg" : 'X\(//\)$' \| \
                   14209:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   14210: $as_echo X"$_am_arg" |
                   14211:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14212:            s//\1/
                   14213:            q
                   14214:          }
                   14215:          /^X\(\/\/\)[^/].*/{
                   14216:            s//\1/
                   14217:            q
                   14218:          }
                   14219:          /^X\(\/\/\)$/{
                   14220:            s//\1/
                   14221:            q
                   14222:          }
                   14223:          /^X\(\/\).*/{
                   14224:            s//\1/
                   14225:            q
                   14226:          }
                   14227:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   14228:  ;;
1.1       misho    14229: 
1.1.1.2   misho    14230:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   14231: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   14232:  ;;
                   14233:   esac
1.1       misho    14234: 
                   14235: 
1.1.1.2   misho    14236:   case $ac_file$ac_mode in
                   14237:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   14238:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   14239:   # are listed without --file.  Let's play safe and only enable the eval
                   14240:   # if we detect the quoting.
                   14241:   case $CONFIG_FILES in
                   14242:   *\'*) eval set x "$CONFIG_FILES" ;;
                   14243:   *)   set x $CONFIG_FILES ;;
                   14244:   esac
                   14245:   shift
                   14246:   for mf
                   14247:   do
                   14248:     # Strip MF so we end up with the name of the file.
                   14249:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   14250:     # Check whether this is an Automake generated Makefile or not.
                   14251:     # We used to match only the files named `Makefile.in', but
                   14252:     # some people rename them; so instead we look at the file content.
                   14253:     # Grep'ing the first line is not enough: some people post-process
                   14254:     # each Makefile.in and add a new line on top of each file to say so.
                   14255:     # Grep'ing the whole file is not good either: AIX grep has a line
                   14256:     # limit of 2048, but all sed's we know have understand at least 4000.
                   14257:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   14258:       dirpart=`$as_dirname -- "$mf" ||
                   14259: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14260:         X"$mf" : 'X\(//\)[^/]' \| \
                   14261:         X"$mf" : 'X\(//\)$' \| \
                   14262:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   14263: $as_echo X"$mf" |
                   14264:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14265:            s//\1/
                   14266:            q
                   14267:          }
                   14268:          /^X\(\/\/\)[^/].*/{
                   14269:            s//\1/
                   14270:            q
                   14271:          }
                   14272:          /^X\(\/\/\)$/{
                   14273:            s//\1/
                   14274:            q
                   14275:          }
                   14276:          /^X\(\/\).*/{
                   14277:            s//\1/
                   14278:            q
                   14279:          }
                   14280:          s/.*/./; q'`
                   14281:     else
                   14282:       continue
                   14283:     fi
                   14284:     # Extract the definition of DEPDIR, am__include, and am__quote
                   14285:     # from the Makefile without running `make'.
                   14286:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   14287:     test -z "$DEPDIR" && continue
                   14288:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   14289:     test -z "am__include" && continue
                   14290:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   14291:     # When using ansi2knr, U may be empty or an underscore; expand it
                   14292:     U=`sed -n 's/^U = //p' < "$mf"`
                   14293:     # Find all dependency output files, they are included files with
                   14294:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   14295:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   14296:     # expansion.
                   14297:     for file in `sed -n "
                   14298:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   14299:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   14300:       # Make sure the directory exists.
                   14301:       test -f "$dirpart/$file" && continue
                   14302:       fdir=`$as_dirname -- "$file" ||
                   14303: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14304:         X"$file" : 'X\(//\)[^/]' \| \
                   14305:         X"$file" : 'X\(//\)$' \| \
                   14306:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   14307: $as_echo X"$file" |
                   14308:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14309:            s//\1/
                   14310:            q
                   14311:          }
                   14312:          /^X\(\/\/\)[^/].*/{
                   14313:            s//\1/
                   14314:            q
                   14315:          }
                   14316:          /^X\(\/\/\)$/{
                   14317:            s//\1/
                   14318:            q
                   14319:          }
                   14320:          /^X\(\/\).*/{
                   14321:            s//\1/
                   14322:            q
                   14323:          }
                   14324:          s/.*/./; q'`
                   14325:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   14326:       # echo "creating $dirpart/$file"
                   14327:       echo '# dummy' > "$dirpart/$file"
                   14328:     done
                   14329:   done
                   14330: }
                   14331:  ;;
                   14332:     "libtool":C)
1.1       misho    14333: 
1.1.1.2   misho    14334:     # See if we are running on zsh, and set the options which allow our
                   14335:     # commands through without removal of \ escapes.
                   14336:     if test -n "${ZSH_VERSION+set}" ; then
                   14337:       setopt NO_GLOB_SUBST
                   14338:     fi
1.1       misho    14339: 
1.1.1.2   misho    14340:     cfgfile="${ofile}T"
                   14341:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   14342:     $RM "$cfgfile"
1.1       misho    14343: 
1.1.1.2   misho    14344:     cat <<_LT_EOF >> "$cfgfile"
                   14345: #! $SHELL
1.1       misho    14346: 
1.1.1.2   misho    14347: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   14348: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   14349: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   14350: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   14351: #
                   14352: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   14353: #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
                   14354: #                 Inc.
                   14355: #   Written by Gordon Matzigkeit, 1996
                   14356: #
                   14357: #   This file is part of GNU Libtool.
                   14358: #
                   14359: # GNU Libtool is free software; you can redistribute it and/or
                   14360: # modify it under the terms of the GNU General Public License as
                   14361: # published by the Free Software Foundation; either version 2 of
                   14362: # the License, or (at your option) any later version.
                   14363: #
                   14364: # As a special exception to the GNU General Public License,
                   14365: # if you distribute this file as part of a program or library that
                   14366: # is built using GNU Libtool, you may include this file under the
                   14367: # same distribution terms that you use for the rest of that program.
                   14368: #
                   14369: # GNU Libtool is distributed in the hope that it will be useful,
                   14370: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   14371: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   14372: # GNU General Public License for more details.
                   14373: #
                   14374: # You should have received a copy of the GNU General Public License
                   14375: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   14376: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   14377: # obtained by writing to the Free Software Foundation, Inc.,
                   14378: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1.1       misho    14379: 
                   14380: 
1.1.1.2   misho    14381: # The names of the tagged configurations supported by this script.
                   14382: available_tags=""
1.1       misho    14383: 
1.1.1.2   misho    14384: # ### BEGIN LIBTOOL CONFIG
1.1       misho    14385: 
1.1.1.2   misho    14386: # Which release of libtool.m4 was used?
                   14387: macro_version=$macro_version
                   14388: macro_revision=$macro_revision
1.1       misho    14389: 
1.1.1.2   misho    14390: # Whether or not to build shared libraries.
                   14391: build_libtool_libs=$enable_shared
1.1       misho    14392: 
1.1.1.2   misho    14393: # Whether or not to build static libraries.
                   14394: build_old_libs=$enable_static
1.1       misho    14395: 
1.1.1.2   misho    14396: # What type of objects to build.
                   14397: pic_mode=$pic_mode
1.1       misho    14398: 
1.1.1.2   misho    14399: # Whether or not to optimize for fast installation.
                   14400: fast_install=$enable_fast_install
1.1       misho    14401: 
1.1.1.2   misho    14402: # Shell to use when invoking shell scripts.
                   14403: SHELL=$lt_SHELL
1.1       misho    14404: 
1.1.1.2   misho    14405: # An echo program that protects backslashes.
                   14406: ECHO=$lt_ECHO
1.1       misho    14407: 
1.1.1.2   misho    14408: # The host system.
                   14409: host_alias=$host_alias
                   14410: host=$host
                   14411: host_os=$host_os
1.1       misho    14412: 
1.1.1.2   misho    14413: # The build system.
                   14414: build_alias=$build_alias
                   14415: build=$build
                   14416: build_os=$build_os
1.1       misho    14417: 
1.1.1.2   misho    14418: # A sed program that does not truncate output.
                   14419: SED=$lt_SED
1.1       misho    14420: 
1.1.1.2   misho    14421: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   14422: Xsed="\$SED -e 1s/^X//"
1.1       misho    14423: 
1.1.1.2   misho    14424: # A grep program that handles long lines.
                   14425: GREP=$lt_GREP
1.1       misho    14426: 
1.1.1.2   misho    14427: # An ERE matcher.
                   14428: EGREP=$lt_EGREP
1.1       misho    14429: 
1.1.1.2   misho    14430: # A literal string matcher.
                   14431: FGREP=$lt_FGREP
1.1       misho    14432: 
1.1.1.2   misho    14433: # A BSD- or MS-compatible name lister.
                   14434: NM=$lt_NM
1.1       misho    14435: 
1.1.1.2   misho    14436: # Whether we need soft or hard links.
                   14437: LN_S=$lt_LN_S
1.1       misho    14438: 
1.1.1.2   misho    14439: # What is the maximum length of a command?
                   14440: max_cmd_len=$max_cmd_len
1.1       misho    14441: 
1.1.1.2   misho    14442: # Object file suffix (normally "o").
                   14443: objext=$ac_objext
1.1       misho    14444: 
1.1.1.2   misho    14445: # Executable file suffix (normally "").
                   14446: exeext=$exeext
1.1       misho    14447: 
1.1.1.2   misho    14448: # whether the shell understands "unset".
                   14449: lt_unset=$lt_unset
1.1       misho    14450: 
1.1.1.2   misho    14451: # turn spaces into newlines.
                   14452: SP2NL=$lt_lt_SP2NL
1.1       misho    14453: 
1.1.1.2   misho    14454: # turn newlines into spaces.
                   14455: NL2SP=$lt_lt_NL2SP
1.1       misho    14456: 
1.1.1.2   misho    14457: # convert \$build file names to \$host format.
                   14458: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.1       misho    14459: 
1.1.1.2   misho    14460: # convert \$build files to toolchain format.
                   14461: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       misho    14462: 
1.1.1.2   misho    14463: # An object symbol dumper.
                   14464: OBJDUMP=$lt_OBJDUMP
1.1       misho    14465: 
1.1.1.2   misho    14466: # Method to check whether dependent libraries are shared objects.
                   14467: deplibs_check_method=$lt_deplibs_check_method
1.1       misho    14468: 
1.1.1.2   misho    14469: # Command to use when deplibs_check_method = "file_magic".
                   14470: file_magic_cmd=$lt_file_magic_cmd
1.1       misho    14471: 
1.1.1.2   misho    14472: # How to find potential files when deplibs_check_method = "file_magic".
                   14473: file_magic_glob=$lt_file_magic_glob
1.1       misho    14474: 
1.1.1.2   misho    14475: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   14476: want_nocaseglob=$lt_want_nocaseglob
1.1       misho    14477: 
1.1.1.2   misho    14478: # DLL creation program.
                   14479: DLLTOOL=$lt_DLLTOOL
1.1       misho    14480: 
1.1.1.2   misho    14481: # Command to associate shared and link libraries.
                   14482: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1.1       misho    14483: 
1.1.1.2   misho    14484: # The archiver.
                   14485: AR=$lt_AR
1.1       misho    14486: 
1.1.1.2   misho    14487: # Flags to create an archive.
                   14488: AR_FLAGS=$lt_AR_FLAGS
1.1       misho    14489: 
1.1.1.2   misho    14490: # How to feed a file listing to the archiver.
                   14491: archiver_list_spec=$lt_archiver_list_spec
1.1       misho    14492: 
1.1.1.2   misho    14493: # A symbol stripping program.
                   14494: STRIP=$lt_STRIP
1.1       misho    14495: 
1.1.1.2   misho    14496: # Commands used to install an old-style archive.
                   14497: RANLIB=$lt_RANLIB
                   14498: old_postinstall_cmds=$lt_old_postinstall_cmds
                   14499: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.1       misho    14500: 
1.1.1.2   misho    14501: # Whether to use a lock for old archive extraction.
                   14502: lock_old_archive_extraction=$lock_old_archive_extraction
1.1       misho    14503: 
1.1.1.2   misho    14504: # A C compiler.
                   14505: LTCC=$lt_CC
1.1       misho    14506: 
1.1.1.2   misho    14507: # LTCC compiler flags.
                   14508: LTCFLAGS=$lt_CFLAGS
1.1       misho    14509: 
1.1.1.2   misho    14510: # Take the output of nm and produce a listing of raw symbols and C names.
                   14511: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.1       misho    14512: 
1.1.1.2   misho    14513: # Transform the output of nm in a proper C declaration.
                   14514: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.1       misho    14515: 
1.1.1.2   misho    14516: # Transform the output of nm in a C name address pair.
                   14517: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.1       misho    14518: 
1.1.1.2   misho    14519: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   14520: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1.1       misho    14521: 
1.1.1.2   misho    14522: # Specify filename containing input files for \$NM.
                   14523: nm_file_list_spec=$lt_nm_file_list_spec
1.1       misho    14524: 
1.1.1.2   misho    14525: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   14526: lt_sysroot=$lt_sysroot
1.1       misho    14527: 
1.1.1.2   misho    14528: # The name of the directory that contains temporary libtool files.
                   14529: objdir=$objdir
1.1       misho    14530: 
1.1.1.2   misho    14531: # Used to examine libraries when file_magic_cmd begins with "file".
                   14532: MAGIC_CMD=$MAGIC_CMD
1.1       misho    14533: 
1.1.1.2   misho    14534: # Must we lock files when doing compilation?
                   14535: need_locks=$lt_need_locks
1.1       misho    14536: 
1.1.1.2   misho    14537: # Manifest tool.
                   14538: MANIFEST_TOOL=$lt_MANIFEST_TOOL
1.1       misho    14539: 
1.1.1.2   misho    14540: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   14541: DSYMUTIL=$lt_DSYMUTIL
1.1       misho    14542: 
1.1.1.2   misho    14543: # Tool to change global to local symbols on Mac OS X.
                   14544: NMEDIT=$lt_NMEDIT
1.1       misho    14545: 
1.1.1.2   misho    14546: # Tool to manipulate fat objects and archives on Mac OS X.
                   14547: LIPO=$lt_LIPO
1.1       misho    14548: 
1.1.1.2   misho    14549: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   14550: OTOOL=$lt_OTOOL
1.1       misho    14551: 
1.1.1.2   misho    14552: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   14553: OTOOL64=$lt_OTOOL64
1.1       misho    14554: 
1.1.1.2   misho    14555: # Old archive suffix (normally "a").
                   14556: libext=$libext
1.1       misho    14557: 
1.1.1.2   misho    14558: # Shared library suffix (normally ".so").
                   14559: shrext_cmds=$lt_shrext_cmds
1.1       misho    14560: 
1.1.1.2   misho    14561: # The commands to extract the exported symbol list from a shared archive.
                   14562: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.1       misho    14563: 
1.1.1.2   misho    14564: # Variables whose values should be saved in libtool wrapper scripts and
                   14565: # restored at link time.
                   14566: variables_saved_for_relink=$lt_variables_saved_for_relink
1.1       misho    14567: 
1.1.1.2   misho    14568: # Do we need the "lib" prefix for modules?
                   14569: need_lib_prefix=$need_lib_prefix
1.1       misho    14570: 
1.1.1.2   misho    14571: # Do we need a version for libraries?
                   14572: need_version=$need_version
1.1       misho    14573: 
1.1.1.2   misho    14574: # Library versioning type.
                   14575: version_type=$version_type
1.1       misho    14576: 
1.1.1.2   misho    14577: # Shared library runtime path variable.
                   14578: runpath_var=$runpath_var
1.1       misho    14579: 
1.1.1.2   misho    14580: # Shared library path variable.
                   14581: shlibpath_var=$shlibpath_var
1.1       misho    14582: 
1.1.1.2   misho    14583: # Is shlibpath searched before the hard-coded library search path?
                   14584: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.1       misho    14585: 
1.1.1.2   misho    14586: # Format of library name prefix.
                   14587: libname_spec=$lt_libname_spec
1.1       misho    14588: 
1.1.1.2   misho    14589: # List of archive names.  First name is the real one, the rest are links.
                   14590: # The last name is the one that the linker finds with -lNAME
                   14591: library_names_spec=$lt_library_names_spec
1.1       misho    14592: 
1.1.1.2   misho    14593: # The coded name of the library, if different from the real name.
                   14594: soname_spec=$lt_soname_spec
1.1       misho    14595: 
1.1.1.2   misho    14596: # Permission mode override for installation of shared libraries.
                   14597: install_override_mode=$lt_install_override_mode
1.1       misho    14598: 
1.1.1.2   misho    14599: # Command to use after installation of a shared archive.
                   14600: postinstall_cmds=$lt_postinstall_cmds
1.1       misho    14601: 
1.1.1.2   misho    14602: # Command to use after uninstallation of a shared archive.
                   14603: postuninstall_cmds=$lt_postuninstall_cmds
1.1       misho    14604: 
1.1.1.2   misho    14605: # Commands used to finish a libtool library installation in a directory.
                   14606: finish_cmds=$lt_finish_cmds
1.1       misho    14607: 
1.1.1.2   misho    14608: # As "finish_cmds", except a single script fragment to be evaled but
                   14609: # not shown.
                   14610: finish_eval=$lt_finish_eval
1.1       misho    14611: 
1.1.1.2   misho    14612: # Whether we should hardcode library paths into libraries.
                   14613: hardcode_into_libs=$hardcode_into_libs
1.1       misho    14614: 
1.1.1.2   misho    14615: # Compile-time system search path for libraries.
                   14616: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.1       misho    14617: 
1.1.1.2   misho    14618: # Run-time system search path for libraries.
                   14619: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.1       misho    14620: 
1.1.1.2   misho    14621: # Whether dlopen is supported.
                   14622: dlopen_support=$enable_dlopen
1.1       misho    14623: 
1.1.1.2   misho    14624: # Whether dlopen of programs is supported.
                   14625: dlopen_self=$enable_dlopen_self
1.1       misho    14626: 
1.1.1.2   misho    14627: # Whether dlopen of statically linked programs is supported.
                   14628: dlopen_self_static=$enable_dlopen_self_static
1.1       misho    14629: 
1.1.1.2   misho    14630: # Commands to strip libraries.
                   14631: old_striplib=$lt_old_striplib
                   14632: striplib=$lt_striplib
1.1       misho    14633: 
                   14634: 
1.1.1.2   misho    14635: # The linker used to build libraries.
                   14636: LD=$lt_LD
1.1       misho    14637: 
1.1.1.2   misho    14638: # How to create reloadable object files.
                   14639: reload_flag=$lt_reload_flag
                   14640: reload_cmds=$lt_reload_cmds
1.1       misho    14641: 
1.1.1.2   misho    14642: # Commands used to build an old-style archive.
                   14643: old_archive_cmds=$lt_old_archive_cmds
1.1       misho    14644: 
1.1.1.2   misho    14645: # A language specific compiler.
                   14646: CC=$lt_compiler
1.1       misho    14647: 
1.1.1.2   misho    14648: # Is the compiler the GNU compiler?
                   14649: with_gcc=$GCC
1.1       misho    14650: 
1.1.1.2   misho    14651: # Compiler flag to turn off builtin functions.
                   14652: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.1       misho    14653: 
1.1.1.2   misho    14654: # Additional compiler flags for building library objects.
                   14655: pic_flag=$lt_lt_prog_compiler_pic
1.1       misho    14656: 
1.1.1.2   misho    14657: # How to pass a linker flag through the compiler.
                   14658: wl=$lt_lt_prog_compiler_wl
1.1       misho    14659: 
1.1.1.2   misho    14660: # Compiler flag to prevent dynamic linking.
                   14661: link_static_flag=$lt_lt_prog_compiler_static
1.1       misho    14662: 
1.1.1.2   misho    14663: # Does compiler simultaneously support -c and -o options?
                   14664: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.1       misho    14665: 
1.1.1.2   misho    14666: # Whether or not to add -lc for building shared libraries.
                   14667: build_libtool_need_lc=$archive_cmds_need_lc
1.1       misho    14668: 
1.1.1.2   misho    14669: # Whether or not to disallow shared libs when runtime libs are static.
                   14670: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.1       misho    14671: 
1.1.1.2   misho    14672: # Compiler flag to allow reflexive dlopens.
                   14673: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.1       misho    14674: 
1.1.1.2   misho    14675: # Compiler flag to generate shared objects directly from archives.
                   14676: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.1       misho    14677: 
1.1.1.2   misho    14678: # Whether the compiler copes with passing no objects directly.
                   14679: compiler_needs_object=$lt_compiler_needs_object
1.1       misho    14680: 
1.1.1.2   misho    14681: # Create an old-style archive from a shared archive.
                   14682: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.1       misho    14683: 
1.1.1.2   misho    14684: # Create a temporary old-style archive to link instead of a shared archive.
                   14685: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.1       misho    14686: 
1.1.1.2   misho    14687: # Commands used to build a shared archive.
                   14688: archive_cmds=$lt_archive_cmds
                   14689: archive_expsym_cmds=$lt_archive_expsym_cmds
1.1       misho    14690: 
1.1.1.2   misho    14691: # Commands used to build a loadable module if different from building
                   14692: # a shared archive.
                   14693: module_cmds=$lt_module_cmds
                   14694: module_expsym_cmds=$lt_module_expsym_cmds
1.1       misho    14695: 
1.1.1.2   misho    14696: # Whether we are building with GNU ld or not.
                   14697: with_gnu_ld=$lt_with_gnu_ld
1.1       misho    14698: 
1.1.1.2   misho    14699: # Flag that allows shared libraries with undefined symbols to be built.
                   14700: allow_undefined_flag=$lt_allow_undefined_flag
1.1       misho    14701: 
1.1.1.2   misho    14702: # Flag that enforces no undefined symbols.
                   14703: no_undefined_flag=$lt_no_undefined_flag
1.1       misho    14704: 
1.1.1.2   misho    14705: # Flag to hardcode \$libdir into a binary during linking.
                   14706: # This must work even if \$libdir does not exist
                   14707: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.1       misho    14708: 
1.1.1.2   misho    14709: # If ld is used when linking, flag to hardcode \$libdir into a binary
                   14710: # during linking.  This must work even if \$libdir does not exist.
                   14711: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1.1       misho    14712: 
1.1.1.2   misho    14713: # Whether we need a single "-rpath" flag with a separated argument.
                   14714: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.1       misho    14715: 
1.1.1.2   misho    14716: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   14717: # DIR into the resulting binary.
                   14718: hardcode_direct=$hardcode_direct
1.1       misho    14719: 
1.1.1.2   misho    14720: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   14721: # DIR into the resulting binary and the resulting library dependency is
                   14722: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   14723: # library is relocated.
                   14724: hardcode_direct_absolute=$hardcode_direct_absolute
1.1       misho    14725: 
1.1.1.2   misho    14726: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   14727: # into the resulting binary.
                   14728: hardcode_minus_L=$hardcode_minus_L
1.1       misho    14729: 
1.1.1.2   misho    14730: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   14731: # into the resulting binary.
                   14732: hardcode_shlibpath_var=$hardcode_shlibpath_var
1.1       misho    14733: 
1.1.1.2   misho    14734: # Set to "yes" if building a shared library automatically hardcodes DIR
                   14735: # into the library and all subsequent libraries and executables linked
                   14736: # against it.
                   14737: hardcode_automatic=$hardcode_automatic
1.1       misho    14738: 
1.1.1.2   misho    14739: # Set to yes if linker adds runtime paths of dependent libraries
                   14740: # to runtime path list.
                   14741: inherit_rpath=$inherit_rpath
1.1       misho    14742: 
1.1.1.2   misho    14743: # Whether libtool must link a program against all its dependency libraries.
                   14744: link_all_deplibs=$link_all_deplibs
1.1       misho    14745: 
1.1.1.2   misho    14746: # Set to "yes" if exported symbols are required.
                   14747: always_export_symbols=$always_export_symbols
1.1       misho    14748: 
1.1.1.2   misho    14749: # The commands to list exported symbols.
                   14750: export_symbols_cmds=$lt_export_symbols_cmds
1.1       misho    14751: 
1.1.1.2   misho    14752: # Symbols that should not be listed in the preloaded symbols.
                   14753: exclude_expsyms=$lt_exclude_expsyms
1.1       misho    14754: 
1.1.1.2   misho    14755: # Symbols that must always be exported.
                   14756: include_expsyms=$lt_include_expsyms
1.1       misho    14757: 
1.1.1.2   misho    14758: # Commands necessary for linking programs (against libraries) with templates.
                   14759: prelink_cmds=$lt_prelink_cmds
1.1       misho    14760: 
1.1.1.2   misho    14761: # Commands necessary for finishing linking programs.
                   14762: postlink_cmds=$lt_postlink_cmds
1.1       misho    14763: 
1.1.1.2   misho    14764: # Specify filename containing input files.
                   14765: file_list_spec=$lt_file_list_spec
1.1       misho    14766: 
1.1.1.2   misho    14767: # How to hardcode a shared library path into an executable.
                   14768: hardcode_action=$hardcode_action
1.1       misho    14769: 
1.1.1.2   misho    14770: # ### END LIBTOOL CONFIG
1.1       misho    14771: 
1.1.1.2   misho    14772: _LT_EOF
                   14773: 
                   14774:   case $host_os in
                   14775:   aix3*)
                   14776:     cat <<\_LT_EOF >> "$cfgfile"
                   14777: # AIX sometimes has problems with the GCC collect2 program.  For some
                   14778: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   14779: # vanish in a puff of smoke.
                   14780: if test "X${COLLECT_NAMES+set}" != Xset; then
                   14781:   COLLECT_NAMES=
                   14782:   export COLLECT_NAMES
                   14783: fi
                   14784: _LT_EOF
                   14785:     ;;
1.1       misho    14786:   esac
                   14787: 
                   14788: 
1.1.1.2   misho    14789: ltmain="$ac_aux_dir/ltmain.sh"
1.1       misho    14790: 
                   14791: 
1.1.1.2   misho    14792:   # We use sed instead of cat because bash on DJGPP gets confused if
                   14793:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   14794:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   14795:   # is reportedly fixed, but why not run on old versions too?
                   14796:   sed '$q' "$ltmain" >> "$cfgfile" \
                   14797:      || (rm -f "$cfgfile"; exit 1)
                   14798: 
                   14799:   if test x"$xsi_shell" = xyes; then
                   14800:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   14801: func_dirname ()\
                   14802: {\
                   14803: \    case ${1} in\
                   14804: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   14805: \      *  ) func_dirname_result="${3}" ;;\
                   14806: \    esac\
                   14807: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   14808:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14809:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14810: test 0 -eq $? || _lt_function_replace_fail=:
                   14811: 
                   14812: 
                   14813:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   14814: func_basename ()\
                   14815: {\
                   14816: \    func_basename_result="${1##*/}"\
                   14817: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   14818:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14819:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14820: test 0 -eq $? || _lt_function_replace_fail=:
                   14821: 
                   14822: 
                   14823:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   14824: func_dirname_and_basename ()\
                   14825: {\
                   14826: \    case ${1} in\
                   14827: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   14828: \      *  ) func_dirname_result="${3}" ;;\
                   14829: \    esac\
                   14830: \    func_basename_result="${1##*/}"\
                   14831: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   14832:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14833:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14834: test 0 -eq $? || _lt_function_replace_fail=:
                   14835: 
                   14836: 
                   14837:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   14838: func_stripname ()\
                   14839: {\
                   14840: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   14841: \    # positional parameters, so assign one to ordinary parameter first.\
                   14842: \    func_stripname_result=${3}\
                   14843: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   14844: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   14845: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   14846:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14847:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14848: test 0 -eq $? || _lt_function_replace_fail=:
                   14849: 
                   14850: 
                   14851:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   14852: func_split_long_opt ()\
                   14853: {\
                   14854: \    func_split_long_opt_name=${1%%=*}\
                   14855: \    func_split_long_opt_arg=${1#*=}\
                   14856: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   14857:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14858:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14859: test 0 -eq $? || _lt_function_replace_fail=:
                   14860: 
                   14861: 
                   14862:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   14863: func_split_short_opt ()\
                   14864: {\
                   14865: \    func_split_short_opt_arg=${1#??}\
                   14866: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   14867: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   14868:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14869:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14870: test 0 -eq $? || _lt_function_replace_fail=:
                   14871: 
                   14872: 
                   14873:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   14874: func_lo2o ()\
                   14875: {\
                   14876: \    case ${1} in\
                   14877: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   14878: \      *)    func_lo2o_result=${1} ;;\
                   14879: \    esac\
                   14880: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   14881:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14882:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14883: test 0 -eq $? || _lt_function_replace_fail=:
                   14884: 
                   14885: 
                   14886:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   14887: func_xform ()\
                   14888: {\
                   14889:     func_xform_result=${1%.*}.lo\
                   14890: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   14891:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14892:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14893: test 0 -eq $? || _lt_function_replace_fail=:
                   14894: 
                   14895: 
                   14896:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   14897: func_arith ()\
                   14898: {\
                   14899:     func_arith_result=$(( $* ))\
                   14900: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   14901:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14902:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14903: test 0 -eq $? || _lt_function_replace_fail=:
                   14904: 
                   14905: 
                   14906:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   14907: func_len ()\
                   14908: {\
                   14909:     func_len_result=${#1}\
                   14910: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   14911:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14912:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14913: test 0 -eq $? || _lt_function_replace_fail=:
                   14914: 
                   14915: fi
                   14916: 
                   14917: if test x"$lt_shell_append" = xyes; then
                   14918:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   14919: func_append ()\
                   14920: {\
                   14921:     eval "${1}+=\\${2}"\
                   14922: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   14923:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14924:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14925: test 0 -eq $? || _lt_function_replace_fail=:
                   14926: 
                   14927: 
                   14928:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   14929: func_append_quoted ()\
                   14930: {\
                   14931: \    func_quote_for_eval "${2}"\
                   14932: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   14933: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   14934:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14935:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14936: test 0 -eq $? || _lt_function_replace_fail=:
                   14937: 
                   14938: 
                   14939:   # Save a `func_append' function call where possible by direct use of '+='
                   14940:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   14941:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14942:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14943:   test 0 -eq $? || _lt_function_replace_fail=:
                   14944: else
                   14945:   # Save a `func_append' function call even when '+=' is not available
                   14946:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   14947:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14948:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14949:   test 0 -eq $? || _lt_function_replace_fail=:
                   14950: fi
                   14951: 
                   14952: if test x"$_lt_function_replace_fail" = x":"; then
                   14953:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   14954: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   14955: fi
                   14956: 
                   14957: 
                   14958:    mv -f "$cfgfile" "$ofile" ||
                   14959:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   14960:   chmod +x "$ofile"
                   14961: 
1.1       misho    14962:  ;;
1.1.1.2   misho    14963: 
1.1       misho    14964:   esac
1.1.1.2   misho    14965: done # for ac_tag
1.1       misho    14966: 
                   14967: 
1.1.1.2   misho    14968: as_fn_exit 0
1.1       misho    14969: _ACEOF
                   14970: ac_clean_files=$ac_clean_files_save
                   14971: 
1.1.1.2   misho    14972: test $ac_write_fail = 0 ||
                   14973:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   14974: 
1.1       misho    14975: 
                   14976: # configure is writing to config.log, and then calls config.status.
                   14977: # config.status does its own redirection, appending to config.log.
                   14978: # Unfortunately, on DOS this fails, as config.log is still kept open
                   14979: # by configure, so config.status won't be able to write to it; its
                   14980: # output is simply discarded.  So we exec the FD to /dev/null,
                   14981: # effectively closing config.log, so it can be properly (re)opened and
                   14982: # appended to by config.status.  When coming back to configure, we
                   14983: # need to make the FD available again.
                   14984: if test "$no_create" != yes; then
                   14985:   ac_cs_success=:
                   14986:   ac_config_status_args=
                   14987:   test "$silent" = yes &&
                   14988:     ac_config_status_args="$ac_config_status_args --quiet"
                   14989:   exec 5>/dev/null
                   14990:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   14991:   exec 5>>config.log
                   14992:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   14993:   # would make configure fail if this is the last instruction.
1.1.1.2   misho    14994:   $ac_cs_success || as_fn_exit 1
                   14995: fi
                   14996: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   14997:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   14998: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misho    14999: fi
                   15000: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>