Annotation of embedaddon/smartmontools/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.3 ! misho       3: # Generated by GNU Autoconf 2.69 for smartmontools 6.1.
1.1       misho       4: #
                      5: # Report bugs to <smartmontools-support@lists.sourceforge.net>.
                      6: #
                      7: #
1.1.1.3 ! misho       8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       9: #
                     10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
                     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 :
                     20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     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:   }
                     81: fi
                     82: 
                     83: 
                     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
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
                    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: 
1.1.1.3 ! misho     137: # Use a proper internal environment variable to ensure we don't fall
        !           138:   # into an infinite loop, continuously re-executing ourselves.
        !           139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           140:     _as_can_reexec=no; export _as_can_reexec;
        !           141:     # We cannot yet assume a decent shell, so we have to provide a
        !           142: # neutralization value for shells without unset; and this also
        !           143: # works around shells that cannot unset nonexistent variables.
        !           144: # Preserve -v and -x to the replacement shell.
        !           145: BASH_ENV=/dev/null
        !           146: ENV=/dev/null
        !           147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           148: case $- in # ((((
        !           149:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           150:   *v* ) as_opts=-v ;;
        !           151:   *x* ) as_opts=-x ;;
        !           152:   * ) as_opts= ;;
        !           153: esac
        !           154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           155: # Admittedly, this is quite paranoid, since all the known shells bail
        !           156: # out after a failed `exec'.
        !           157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           158: as_fn_exit 255
        !           159:   fi
        !           160:   # We don't want this to propagate to other subprocesses.
        !           161:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     162: if test "x$CONFIG_SHELL" = x; then
                    163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    164:   emulate sh
                    165:   NULLCMD=:
                    166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    167:   # is contrary to our usage.  Disable this feature.
                    168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    169:   setopt NO_GLOB_SUBST
                    170: else
                    171:   case \`(set -o) 2>/dev/null\` in #(
                    172:   *posix*) :
                    173:     set -o posix ;; #(
                    174:   *) :
                    175:      ;;
                    176: esac
                    177: fi
                    178: "
                    179:   as_required="as_fn_return () { (exit \$1); }
                    180: as_fn_success () { as_fn_return 0; }
                    181: as_fn_failure () { as_fn_return 1; }
                    182: as_fn_ret_success () { return 0; }
                    183: as_fn_ret_failure () { return 1; }
                    184: 
                    185: exitcode=0
                    186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    191: 
                    192: else
                    193:   exitcode=1; echo positional parameters were not saved.
                    194: fi
1.1.1.3 ! misho     195: test x\$exitcode = x0 || exit 1
        !           196: test -x / || exit 1"
1.1       misho     197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    201: test \$(( 1 + 1 )) = 2 || exit 1"
                    202:   if (eval "$as_required") 2>/dev/null; then :
                    203:   as_have_required=yes
                    204: else
                    205:   as_have_required=no
                    206: fi
                    207:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    208: 
                    209: else
                    210:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    211: as_found=false
                    212: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    213: do
                    214:   IFS=$as_save_IFS
                    215:   test -z "$as_dir" && as_dir=.
                    216:   as_found=:
                    217:   case $as_dir in #(
                    218:         /*)
                    219:           for as_base in sh bash ksh sh5; do
                    220:             # Try only shells that exist, to save several forks.
                    221:             as_shell=$as_dir/$as_base
                    222:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    223:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    224:   CONFIG_SHELL=$as_shell as_have_required=yes
                    225:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    226:   break 2
                    227: fi
                    228: fi
                    229:           done;;
                    230:        esac
                    231:   as_found=false
                    232: done
                    233: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    234:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    235:   CONFIG_SHELL=$SHELL as_have_required=yes
                    236: fi; }
                    237: IFS=$as_save_IFS
                    238: 
                    239: 
                    240:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.3 ! misho     241:   export CONFIG_SHELL
        !           242:              # We cannot yet assume a decent shell, so we have to provide a
        !           243: # neutralization value for shells without unset; and this also
        !           244: # works around shells that cannot unset nonexistent variables.
        !           245: # Preserve -v and -x to the replacement shell.
        !           246: BASH_ENV=/dev/null
        !           247: ENV=/dev/null
        !           248: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           249: case $- in # ((((
        !           250:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           251:   *v* ) as_opts=-v ;;
        !           252:   *x* ) as_opts=-x ;;
        !           253:   * ) as_opts= ;;
        !           254: esac
        !           255: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           256: # Admittedly, this is quite paranoid, since all the known shells bail
        !           257: # out after a failed `exec'.
        !           258: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           259: exit 255
1.1       misho     260: fi
                    261: 
                    262:     if test x$as_have_required = xno; then :
                    263:   $as_echo "$0: This script requires a shell more modern than all"
                    264:   $as_echo "$0: the shells that I found on your system."
                    265:   if test x${ZSH_VERSION+set} = xset ; then
                    266:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    267:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    268:   else
                    269:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
                    270: $0: smartmontools-support@lists.sourceforge.net about your
                    271: $0: system, including any error possibly output before this
                    272: $0: message. Then install a modern shell, or manually run
                    273: $0: the script under such a shell if you do have one."
                    274:   fi
                    275:   exit 1
                    276: fi
                    277: fi
                    278: fi
                    279: SHELL=${CONFIG_SHELL-/bin/sh}
                    280: export SHELL
                    281: # Unset more variables known to interfere with behavior of common tools.
                    282: CLICOLOR_FORCE= GREP_OPTIONS=
                    283: unset CLICOLOR_FORCE GREP_OPTIONS
                    284: 
                    285: ## --------------------- ##
                    286: ## M4sh Shell Functions. ##
                    287: ## --------------------- ##
                    288: # as_fn_unset VAR
                    289: # ---------------
                    290: # Portably unset VAR.
                    291: as_fn_unset ()
                    292: {
                    293:   { eval $1=; unset $1;}
                    294: }
                    295: as_unset=as_fn_unset
                    296: 
                    297: # as_fn_set_status STATUS
                    298: # -----------------------
                    299: # Set $? to STATUS, without forking.
                    300: as_fn_set_status ()
                    301: {
                    302:   return $1
                    303: } # as_fn_set_status
                    304: 
                    305: # as_fn_exit STATUS
                    306: # -----------------
                    307: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    308: as_fn_exit ()
                    309: {
                    310:   set +e
                    311:   as_fn_set_status $1
                    312:   exit $1
                    313: } # as_fn_exit
                    314: 
                    315: # as_fn_mkdir_p
                    316: # -------------
                    317: # Create "$as_dir" as a directory, including parents if necessary.
                    318: as_fn_mkdir_p ()
                    319: {
                    320: 
                    321:   case $as_dir in #(
                    322:   -*) as_dir=./$as_dir;;
                    323:   esac
                    324:   test -d "$as_dir" || eval $as_mkdir_p || {
                    325:     as_dirs=
                    326:     while :; do
                    327:       case $as_dir in #(
                    328:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    329:       *) as_qdir=$as_dir;;
                    330:       esac
                    331:       as_dirs="'$as_qdir' $as_dirs"
                    332:       as_dir=`$as_dirname -- "$as_dir" ||
                    333: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    334:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    335:         X"$as_dir" : 'X\(//\)$' \| \
                    336:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    337: $as_echo X"$as_dir" |
                    338:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    339:            s//\1/
                    340:            q
                    341:          }
                    342:          /^X\(\/\/\)[^/].*/{
                    343:            s//\1/
                    344:            q
                    345:          }
                    346:          /^X\(\/\/\)$/{
                    347:            s//\1/
                    348:            q
                    349:          }
                    350:          /^X\(\/\).*/{
                    351:            s//\1/
                    352:            q
                    353:          }
                    354:          s/.*/./; q'`
                    355:       test -d "$as_dir" && break
                    356:     done
                    357:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    358:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    359: 
                    360: 
                    361: } # as_fn_mkdir_p
1.1.1.3 ! misho     362: 
        !           363: # as_fn_executable_p FILE
        !           364: # -----------------------
        !           365: # Test if FILE is an executable regular file.
        !           366: as_fn_executable_p ()
        !           367: {
        !           368:   test -f "$1" && test -x "$1"
        !           369: } # as_fn_executable_p
1.1       misho     370: # as_fn_append VAR VALUE
                    371: # ----------------------
                    372: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    373: # advantage of any shell optimizations that allow amortized linear growth over
                    374: # repeated appends, instead of the typical quadratic growth present in naive
                    375: # implementations.
                    376: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    377:   eval 'as_fn_append ()
                    378:   {
                    379:     eval $1+=\$2
                    380:   }'
                    381: else
                    382:   as_fn_append ()
                    383:   {
                    384:     eval $1=\$$1\$2
                    385:   }
                    386: fi # as_fn_append
                    387: 
                    388: # as_fn_arith ARG...
                    389: # ------------------
                    390: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    391: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    392: # must be portable across $(()) and expr.
                    393: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    394:   eval 'as_fn_arith ()
                    395:   {
                    396:     as_val=$(( $* ))
                    397:   }'
                    398: else
                    399:   as_fn_arith ()
                    400:   {
                    401:     as_val=`expr "$@" || test $? -eq 1`
                    402:   }
                    403: fi # as_fn_arith
                    404: 
                    405: 
                    406: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    407: # ----------------------------------------
                    408: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    409: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    410: # script with STATUS, using 1 if that was 0.
                    411: as_fn_error ()
                    412: {
                    413:   as_status=$1; test $as_status -eq 0 && as_status=1
                    414:   if test "$4"; then
                    415:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    416:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    417:   fi
                    418:   $as_echo "$as_me: error: $2" >&2
                    419:   as_fn_exit $as_status
                    420: } # as_fn_error
                    421: 
                    422: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    423:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    424:   as_expr=expr
                    425: else
                    426:   as_expr=false
                    427: fi
                    428: 
                    429: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    430:   as_basename=basename
                    431: else
                    432:   as_basename=false
                    433: fi
                    434: 
                    435: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    436:   as_dirname=dirname
                    437: else
                    438:   as_dirname=false
                    439: fi
                    440: 
                    441: as_me=`$as_basename -- "$0" ||
                    442: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    443:         X"$0" : 'X\(//\)$' \| \
                    444:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    445: $as_echo X/"$0" |
                    446:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    447:            s//\1/
                    448:            q
                    449:          }
                    450:          /^X\/\(\/\/\)$/{
                    451:            s//\1/
                    452:            q
                    453:          }
                    454:          /^X\/\(\/\).*/{
                    455:            s//\1/
                    456:            q
                    457:          }
                    458:          s/.*/./; q'`
                    459: 
                    460: # Avoid depending upon Character Ranges.
                    461: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    462: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    463: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    464: as_cr_digits='0123456789'
                    465: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    466: 
                    467: 
                    468:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    469:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    470:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    471:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    472:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    473:   sed -n '
                    474:     p
                    475:     /[$]LINENO/=
                    476:   ' <$as_myself |
                    477:     sed '
                    478:       s/[$]LINENO.*/&-/
                    479:       t lineno
                    480:       b
                    481:       :lineno
                    482:       N
                    483:       :loop
                    484:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    485:       t loop
                    486:       s/-\n.*//
                    487:     ' >$as_me.lineno &&
                    488:   chmod +x "$as_me.lineno" ||
                    489:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    490: 
1.1.1.3 ! misho     491:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           492:   # already done that, so ensure we don't try to do so again and fall
        !           493:   # in an infinite loop.  This has already happened in practice.
        !           494:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     495:   # Don't try to exec as it changes $[0], causing all sort of problems
                    496:   # (the dirname of $[0] is not the place where we might find the
                    497:   # original and so on.  Autoconf is especially sensitive to this).
                    498:   . "./$as_me.lineno"
                    499:   # Exit status is that of the last command.
                    500:   exit
                    501: }
                    502: 
                    503: ECHO_C= ECHO_N= ECHO_T=
                    504: case `echo -n x` in #(((((
                    505: -n*)
                    506:   case `echo 'xy\c'` in
                    507:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    508:   xy)  ECHO_C='\c';;
                    509:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    510:        ECHO_T='        ';;
                    511:   esac;;
                    512: *)
                    513:   ECHO_N='-n';;
                    514: esac
                    515: 
                    516: rm -f conf$$ conf$$.exe conf$$.file
                    517: if test -d conf$$.dir; then
                    518:   rm -f conf$$.dir/conf$$.file
                    519: else
                    520:   rm -f conf$$.dir
                    521:   mkdir conf$$.dir 2>/dev/null
                    522: fi
                    523: if (echo >conf$$.file) 2>/dev/null; then
                    524:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    525:     as_ln_s='ln -s'
                    526:     # ... but there are two gotchas:
                    527:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    528:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.3 ! misho     529:     # In both cases, we have to default to `cp -pR'.
1.1       misho     530:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.3 ! misho     531:       as_ln_s='cp -pR'
1.1       misho     532:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    533:     as_ln_s=ln
                    534:   else
1.1.1.3 ! misho     535:     as_ln_s='cp -pR'
1.1       misho     536:   fi
                    537: else
1.1.1.3 ! misho     538:   as_ln_s='cp -pR'
1.1       misho     539: fi
                    540: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    541: rmdir conf$$.dir 2>/dev/null
                    542: 
                    543: if mkdir -p . 2>/dev/null; then
                    544:   as_mkdir_p='mkdir -p "$as_dir"'
                    545: else
                    546:   test -d ./-p && rmdir ./-p
                    547:   as_mkdir_p=false
                    548: fi
                    549: 
1.1.1.3 ! misho     550: as_test_x='test -x'
        !           551: as_executable_p=as_fn_executable_p
1.1       misho     552: 
                    553: # Sed expression to map a string onto a valid CPP name.
                    554: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    555: 
                    556: # Sed expression to map a string onto a valid variable name.
                    557: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    558: 
                    559: 
                    560: test -n "$DJDIR" || exec 7<&0 </dev/null
                    561: exec 6>&1
                    562: 
                    563: # Name of the host.
                    564: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    565: # so uname gets run too.
                    566: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    567: 
                    568: #
                    569: # Initializations.
                    570: #
                    571: ac_default_prefix=/usr/local
                    572: ac_clean_files=
                    573: ac_config_libobj_dir=.
                    574: LIBOBJS=
                    575: cross_compiling=no
                    576: subdirs=
                    577: MFLAGS=
                    578: MAKEFLAGS=
                    579: 
                    580: # Identity of this package.
                    581: PACKAGE_NAME='smartmontools'
                    582: PACKAGE_TARNAME='smartmontools'
1.1.1.3 ! misho     583: PACKAGE_VERSION='6.1'
        !           584: PACKAGE_STRING='smartmontools 6.1'
1.1       misho     585: PACKAGE_BUGREPORT='smartmontools-support@lists.sourceforge.net'
                    586: PACKAGE_URL=''
                    587: 
                    588: ac_unique_file="smartctl.cpp"
                    589: # Factoring default headers for most tests.
                    590: ac_includes_default="\
                    591: #include <stdio.h>
                    592: #ifdef HAVE_SYS_TYPES_H
                    593: # include <sys/types.h>
                    594: #endif
                    595: #ifdef HAVE_SYS_STAT_H
                    596: # include <sys/stat.h>
                    597: #endif
                    598: #ifdef STDC_HEADERS
                    599: # include <stdlib.h>
                    600: # include <stddef.h>
                    601: #else
                    602: # ifdef HAVE_STDLIB_H
                    603: #  include <stdlib.h>
                    604: # endif
                    605: #endif
                    606: #ifdef HAVE_STRING_H
                    607: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    608: #  include <memory.h>
                    609: # endif
                    610: # include <string.h>
                    611: #endif
                    612: #ifdef HAVE_STRINGS_H
                    613: # include <strings.h>
                    614: #endif
                    615: #ifdef HAVE_INTTYPES_H
                    616: # include <inttypes.h>
                    617: #endif
                    618: #ifdef HAVE_STDINT_H
                    619: # include <stdint.h>
                    620: #endif
                    621: #ifdef HAVE_UNISTD_H
                    622: # include <unistd.h>
                    623: #endif"
                    624: 
                    625: ac_subst_vars='am__EXEEXT_FALSE
                    626: am__EXEEXT_TRUE
                    627: LTLIBOBJS
                    628: LIBOBJS
                    629: OS_WIN64_FALSE
                    630: OS_WIN64_TRUE
                    631: OS_WIN32_NSIS_FALSE
                    632: OS_WIN32_NSIS_TRUE
                    633: OS_WIN32_MINGW_FALSE
                    634: OS_WIN32_MINGW_TRUE
                    635: OS_WIN32_FALSE
                    636: OS_WIN32_TRUE
                    637: OS_SOLARIS_FALSE
                    638: OS_SOLARIS_TRUE
                    639: OS_DARWIN_FALSE
                    640: OS_DARWIN_TRUE
                    641: DRIVEDB_BRANCH
                    642: os_man_filter
1.1.1.3 ! misho     643: os_mailer
1.1       misho     644: os_dltools
                    645: os_libs
                    646: os_deps
                    647: smartmontools_release_time
                    648: smartmontools_release_date
                    649: releaseversion
                    650: ENABLE_CAPABILITIES_FALSE
                    651: ENABLE_CAPABILITIES_TRUE
                    652: CAPNG_LDADD
                    653: with_selinux
                    654: smartd_suffix
                    655: ENABLE_ATTRIBUTELOG_FALSE
                    656: ENABLE_ATTRIBUTELOG_TRUE
                    657: attributelogdir
                    658: attributelog
                    659: ENABLE_SAVESTATES_FALSE
                    660: ENABLE_SAVESTATES_TRUE
                    661: savestatesdir
                    662: savestates
                    663: ENABLE_DRIVEDB_FALSE
                    664: ENABLE_DRIVEDB_TRUE
                    665: drivedbdir
                    666: exampledir
                    667: initdfile
                    668: INSTALL_INITSCRIPT_FALSE
                    669: INSTALL_INITSCRIPT_TRUE
                    670: initddir
                    671: INSTALL_SYSTEMDUNIT_FALSE
                    672: INSTALL_SYSTEMDUNIT_TRUE
                    673: systemdsystemunitdir
                    674: ASFLAGS
                    675: gcc_have_attr_packed
                    676: libc_have_working_snprintf
                    677: NEED_REGEX_FALSE
                    678: NEED_REGEX_TRUE
                    679: NEED_GETOPT_LONG_FALSE
                    680: NEED_GETOPT_LONG_TRUE
                    681: EGREP
                    682: GREP
                    683: CXXCPP
                    684: IS_SVN_BUILD_FALSE
                    685: IS_SVN_BUILD_TRUE
1.1.1.2   misho     686: svn_deps
1.1       misho     687: host_os
                    688: host_vendor
                    689: host_cpu
                    690: host
                    691: build_os
                    692: build_vendor
                    693: build_cpu
                    694: build
                    695: MAKENSIS
                    696: WINDRES
                    697: WINDMC
                    698: PKG_CONFIG_LIBDIR
                    699: PKG_CONFIG_PATH
                    700: PKG_CONFIG
                    701: am__fastdepCCAS_FALSE
                    702: am__fastdepCCAS_TRUE
                    703: CCASDEPMODE
                    704: CCASFLAGS
                    705: CCAS
                    706: am__fastdepCC_FALSE
                    707: am__fastdepCC_TRUE
                    708: CCDEPMODE
                    709: ac_ct_CC
                    710: CFLAGS
                    711: CC
                    712: am__fastdepCXX_FALSE
                    713: am__fastdepCXX_TRUE
                    714: CXXDEPMODE
1.1.1.2   misho     715: am__nodep
1.1       misho     716: AMDEPBACKSLASH
                    717: AMDEP_FALSE
                    718: AMDEP_TRUE
                    719: am__quote
                    720: am__include
                    721: DEPDIR
                    722: OBJEXT
                    723: EXEEXT
                    724: ac_ct_CXX
                    725: CPPFLAGS
                    726: LDFLAGS
                    727: CXXFLAGS
                    728: CXX
                    729: MAINT
                    730: MAINTAINER_MODE_FALSE
                    731: MAINTAINER_MODE_TRUE
                    732: am__untar
                    733: am__tar
                    734: AMTAR
                    735: am__leading_dot
                    736: SET_MAKE
                    737: AWK
                    738: mkdir_p
                    739: MKDIR_P
                    740: INSTALL_STRIP_PROGRAM
                    741: STRIP
                    742: install_sh
                    743: MAKEINFO
                    744: AUTOHEADER
                    745: AUTOMAKE
                    746: AUTOCONF
                    747: ACLOCAL
                    748: VERSION
                    749: PACKAGE
                    750: CYGPATH_W
                    751: am__isrc
                    752: INSTALL_DATA
                    753: INSTALL_SCRIPT
                    754: INSTALL_PROGRAM
                    755: target_alias
                    756: host_alias
                    757: build_alias
                    758: LIBS
                    759: ECHO_T
                    760: ECHO_N
                    761: ECHO_C
                    762: DEFS
                    763: mandir
                    764: localedir
                    765: libdir
                    766: psdir
                    767: pdfdir
                    768: dvidir
                    769: htmldir
                    770: infodir
                    771: docdir
                    772: oldincludedir
                    773: includedir
                    774: localstatedir
                    775: sharedstatedir
                    776: sysconfdir
                    777: datadir
                    778: datarootdir
                    779: libexecdir
                    780: sbindir
                    781: bindir
                    782: program_transform_name
                    783: prefix
                    784: exec_prefix
                    785: PACKAGE_URL
                    786: PACKAGE_BUGREPORT
                    787: PACKAGE_STRING
                    788: PACKAGE_VERSION
                    789: PACKAGE_TARNAME
                    790: PACKAGE_NAME
                    791: PATH_SEPARATOR
                    792: SHELL'
                    793: ac_subst_files=''
                    794: ac_user_opts='
                    795: enable_option_checking
                    796: enable_maintainer_mode
                    797: enable_dependency_tracking
                    798: with_systemdsystemunitdir
                    799: with_initscriptdir
                    800: with_docdir
                    801: with_exampledir
                    802: enable_drivedb
                    803: with_drivedbdir
                    804: enable_savestates
                    805: with_savestates
                    806: enable_attributelog
                    807: with_attributelog
                    808: enable_sample
                    809: with_os_deps
                    810: with_selinux
                    811: with_libcap_ng
                    812: '
                    813:       ac_precious_vars='build_alias
                    814: host_alias
                    815: target_alias
                    816: CXX
                    817: CXXFLAGS
                    818: LDFLAGS
                    819: LIBS
                    820: CPPFLAGS
                    821: CCC
                    822: CC
                    823: CFLAGS
                    824: CCAS
                    825: CCASFLAGS
                    826: PKG_CONFIG
                    827: PKG_CONFIG_PATH
                    828: PKG_CONFIG_LIBDIR
                    829: WINDMC
                    830: WINDRES
                    831: MAKENSIS
                    832: CXXCPP'
                    833: 
                    834: 
                    835: # Initialize some variables set by options.
                    836: ac_init_help=
                    837: ac_init_version=false
                    838: ac_unrecognized_opts=
                    839: ac_unrecognized_sep=
                    840: # The variables have the same names as the options, with
                    841: # dashes changed to underlines.
                    842: cache_file=/dev/null
                    843: exec_prefix=NONE
                    844: no_create=
                    845: no_recursion=
                    846: prefix=NONE
                    847: program_prefix=NONE
                    848: program_suffix=NONE
                    849: program_transform_name=s,x,x,
                    850: silent=
                    851: site=
                    852: srcdir=
                    853: verbose=
                    854: x_includes=NONE
                    855: x_libraries=NONE
                    856: 
                    857: # Installation directory options.
                    858: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    859: # and all the variables that are supposed to be based on exec_prefix
                    860: # by default will actually change.
                    861: # Use braces instead of parens because sh, perl, etc. also accept them.
                    862: # (The list follows the same order as the GNU Coding Standards.)
                    863: bindir='${exec_prefix}/bin'
                    864: sbindir='${exec_prefix}/sbin'
                    865: libexecdir='${exec_prefix}/libexec'
                    866: datarootdir='${prefix}/share'
                    867: datadir='${datarootdir}'
                    868: sysconfdir='${prefix}/etc'
                    869: sharedstatedir='${prefix}/com'
                    870: localstatedir='${prefix}/var'
                    871: includedir='${prefix}/include'
                    872: oldincludedir='/usr/include'
                    873: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    874: infodir='${datarootdir}/info'
                    875: htmldir='${docdir}'
                    876: dvidir='${docdir}'
                    877: pdfdir='${docdir}'
                    878: psdir='${docdir}'
                    879: libdir='${exec_prefix}/lib'
                    880: localedir='${datarootdir}/locale'
                    881: mandir='${datarootdir}/man'
                    882: 
                    883: ac_prev=
                    884: ac_dashdash=
                    885: for ac_option
                    886: do
                    887:   # If the previous option needs an argument, assign it.
                    888:   if test -n "$ac_prev"; then
                    889:     eval $ac_prev=\$ac_option
                    890:     ac_prev=
                    891:     continue
                    892:   fi
                    893: 
                    894:   case $ac_option in
                    895:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    896:   *=)   ac_optarg= ;;
                    897:   *)    ac_optarg=yes ;;
                    898:   esac
                    899: 
                    900:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    901: 
                    902:   case $ac_dashdash$ac_option in
                    903:   --)
                    904:     ac_dashdash=yes ;;
                    905: 
                    906:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    907:     ac_prev=bindir ;;
                    908:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    909:     bindir=$ac_optarg ;;
                    910: 
                    911:   -build | --build | --buil | --bui | --bu)
                    912:     ac_prev=build_alias ;;
                    913:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    914:     build_alias=$ac_optarg ;;
                    915: 
                    916:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    917:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    918:     ac_prev=cache_file ;;
                    919:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    920:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    921:     cache_file=$ac_optarg ;;
                    922: 
                    923:   --config-cache | -C)
                    924:     cache_file=config.cache ;;
                    925: 
                    926:   -datadir | --datadir | --datadi | --datad)
                    927:     ac_prev=datadir ;;
                    928:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    929:     datadir=$ac_optarg ;;
                    930: 
                    931:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    932:   | --dataroo | --dataro | --datar)
                    933:     ac_prev=datarootdir ;;
                    934:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    935:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    936:     datarootdir=$ac_optarg ;;
                    937: 
                    938:   -disable-* | --disable-*)
                    939:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    940:     # Reject names that are not valid shell variable names.
                    941:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    942:       as_fn_error $? "invalid feature name: $ac_useropt"
                    943:     ac_useropt_orig=$ac_useropt
                    944:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    945:     case $ac_user_opts in
                    946:       *"
                    947: "enable_$ac_useropt"
                    948: "*) ;;
                    949:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    950:         ac_unrecognized_sep=', ';;
                    951:     esac
                    952:     eval enable_$ac_useropt=no ;;
                    953: 
                    954:   -docdir | --docdir | --docdi | --doc | --do)
                    955:     ac_prev=docdir ;;
                    956:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    957:     docdir=$ac_optarg ;;
                    958: 
                    959:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    960:     ac_prev=dvidir ;;
                    961:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    962:     dvidir=$ac_optarg ;;
                    963: 
                    964:   -enable-* | --enable-*)
                    965:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    966:     # Reject names that are not valid shell variable names.
                    967:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    968:       as_fn_error $? "invalid feature name: $ac_useropt"
                    969:     ac_useropt_orig=$ac_useropt
                    970:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    971:     case $ac_user_opts in
                    972:       *"
                    973: "enable_$ac_useropt"
                    974: "*) ;;
                    975:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    976:         ac_unrecognized_sep=', ';;
                    977:     esac
                    978:     eval enable_$ac_useropt=\$ac_optarg ;;
                    979: 
                    980:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    981:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    982:   | --exec | --exe | --ex)
                    983:     ac_prev=exec_prefix ;;
                    984:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    985:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    986:   | --exec=* | --exe=* | --ex=*)
                    987:     exec_prefix=$ac_optarg ;;
                    988: 
                    989:   -gas | --gas | --ga | --g)
                    990:     # Obsolete; use --with-gas.
                    991:     with_gas=yes ;;
                    992: 
                    993:   -help | --help | --hel | --he | -h)
                    994:     ac_init_help=long ;;
                    995:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    996:     ac_init_help=recursive ;;
                    997:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    998:     ac_init_help=short ;;
                    999: 
                   1000:   -host | --host | --hos | --ho)
                   1001:     ac_prev=host_alias ;;
                   1002:   -host=* | --host=* | --hos=* | --ho=*)
                   1003:     host_alias=$ac_optarg ;;
                   1004: 
                   1005:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1006:     ac_prev=htmldir ;;
                   1007:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1008:   | --ht=*)
                   1009:     htmldir=$ac_optarg ;;
                   1010: 
                   1011:   -includedir | --includedir | --includedi | --included | --include \
                   1012:   | --includ | --inclu | --incl | --inc)
                   1013:     ac_prev=includedir ;;
                   1014:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1015:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1016:     includedir=$ac_optarg ;;
                   1017: 
                   1018:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1019:     ac_prev=infodir ;;
                   1020:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1021:     infodir=$ac_optarg ;;
                   1022: 
                   1023:   -libdir | --libdir | --libdi | --libd)
                   1024:     ac_prev=libdir ;;
                   1025:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1026:     libdir=$ac_optarg ;;
                   1027: 
                   1028:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1029:   | --libexe | --libex | --libe)
                   1030:     ac_prev=libexecdir ;;
                   1031:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1032:   | --libexe=* | --libex=* | --libe=*)
                   1033:     libexecdir=$ac_optarg ;;
                   1034: 
                   1035:   -localedir | --localedir | --localedi | --localed | --locale)
                   1036:     ac_prev=localedir ;;
                   1037:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1038:     localedir=$ac_optarg ;;
                   1039: 
                   1040:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1041:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1042:     ac_prev=localstatedir ;;
                   1043:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1044:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1045:     localstatedir=$ac_optarg ;;
                   1046: 
                   1047:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1048:     ac_prev=mandir ;;
                   1049:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1050:     mandir=$ac_optarg ;;
                   1051: 
                   1052:   -nfp | --nfp | --nf)
                   1053:     # Obsolete; use --without-fp.
                   1054:     with_fp=no ;;
                   1055: 
                   1056:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1057:   | --no-cr | --no-c | -n)
                   1058:     no_create=yes ;;
                   1059: 
                   1060:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1061:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1062:     no_recursion=yes ;;
                   1063: 
                   1064:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1065:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1066:   | --oldin | --oldi | --old | --ol | --o)
                   1067:     ac_prev=oldincludedir ;;
                   1068:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1069:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1070:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1071:     oldincludedir=$ac_optarg ;;
                   1072: 
                   1073:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1074:     ac_prev=prefix ;;
                   1075:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1076:     prefix=$ac_optarg ;;
                   1077: 
                   1078:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1079:   | --program-pre | --program-pr | --program-p)
                   1080:     ac_prev=program_prefix ;;
                   1081:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1082:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1083:     program_prefix=$ac_optarg ;;
                   1084: 
                   1085:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1086:   | --program-suf | --program-su | --program-s)
                   1087:     ac_prev=program_suffix ;;
                   1088:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1089:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1090:     program_suffix=$ac_optarg ;;
                   1091: 
                   1092:   -program-transform-name | --program-transform-name \
                   1093:   | --program-transform-nam | --program-transform-na \
                   1094:   | --program-transform-n | --program-transform- \
                   1095:   | --program-transform | --program-transfor \
                   1096:   | --program-transfo | --program-transf \
                   1097:   | --program-trans | --program-tran \
                   1098:   | --progr-tra | --program-tr | --program-t)
                   1099:     ac_prev=program_transform_name ;;
                   1100:   -program-transform-name=* | --program-transform-name=* \
                   1101:   | --program-transform-nam=* | --program-transform-na=* \
                   1102:   | --program-transform-n=* | --program-transform-=* \
                   1103:   | --program-transform=* | --program-transfor=* \
                   1104:   | --program-transfo=* | --program-transf=* \
                   1105:   | --program-trans=* | --program-tran=* \
                   1106:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1107:     program_transform_name=$ac_optarg ;;
                   1108: 
                   1109:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1110:     ac_prev=pdfdir ;;
                   1111:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1112:     pdfdir=$ac_optarg ;;
                   1113: 
                   1114:   -psdir | --psdir | --psdi | --psd | --ps)
                   1115:     ac_prev=psdir ;;
                   1116:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1117:     psdir=$ac_optarg ;;
                   1118: 
                   1119:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1120:   | -silent | --silent | --silen | --sile | --sil)
                   1121:     silent=yes ;;
                   1122: 
                   1123:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1124:     ac_prev=sbindir ;;
                   1125:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1126:   | --sbi=* | --sb=*)
                   1127:     sbindir=$ac_optarg ;;
                   1128: 
                   1129:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1130:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1131:   | --sharedst | --shareds | --shared | --share | --shar \
                   1132:   | --sha | --sh)
                   1133:     ac_prev=sharedstatedir ;;
                   1134:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1135:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1136:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1137:   | --sha=* | --sh=*)
                   1138:     sharedstatedir=$ac_optarg ;;
                   1139: 
                   1140:   -site | --site | --sit)
                   1141:     ac_prev=site ;;
                   1142:   -site=* | --site=* | --sit=*)
                   1143:     site=$ac_optarg ;;
                   1144: 
                   1145:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1146:     ac_prev=srcdir ;;
                   1147:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1148:     srcdir=$ac_optarg ;;
                   1149: 
                   1150:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1151:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1152:     ac_prev=sysconfdir ;;
                   1153:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1154:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1155:     sysconfdir=$ac_optarg ;;
                   1156: 
                   1157:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1158:     ac_prev=target_alias ;;
                   1159:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1160:     target_alias=$ac_optarg ;;
                   1161: 
                   1162:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1163:     verbose=yes ;;
                   1164: 
                   1165:   -version | --version | --versio | --versi | --vers | -V)
                   1166:     ac_init_version=: ;;
                   1167: 
                   1168:   -with-* | --with-*)
                   1169:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1170:     # Reject names that are not valid shell variable names.
                   1171:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1172:       as_fn_error $? "invalid package name: $ac_useropt"
                   1173:     ac_useropt_orig=$ac_useropt
                   1174:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1175:     case $ac_user_opts in
                   1176:       *"
                   1177: "with_$ac_useropt"
                   1178: "*) ;;
                   1179:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1180:         ac_unrecognized_sep=', ';;
                   1181:     esac
                   1182:     eval with_$ac_useropt=\$ac_optarg ;;
                   1183: 
                   1184:   -without-* | --without-*)
                   1185:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1186:     # Reject names that are not valid shell variable names.
                   1187:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1188:       as_fn_error $? "invalid package name: $ac_useropt"
                   1189:     ac_useropt_orig=$ac_useropt
                   1190:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1191:     case $ac_user_opts in
                   1192:       *"
                   1193: "with_$ac_useropt"
                   1194: "*) ;;
                   1195:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1196:         ac_unrecognized_sep=', ';;
                   1197:     esac
                   1198:     eval with_$ac_useropt=no ;;
                   1199: 
                   1200:   --x)
                   1201:     # Obsolete; use --with-x.
                   1202:     with_x=yes ;;
                   1203: 
                   1204:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1205:   | --x-incl | --x-inc | --x-in | --x-i)
                   1206:     ac_prev=x_includes ;;
                   1207:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1208:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1209:     x_includes=$ac_optarg ;;
                   1210: 
                   1211:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1212:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1213:     ac_prev=x_libraries ;;
                   1214:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1215:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1216:     x_libraries=$ac_optarg ;;
                   1217: 
                   1218:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1219: Try \`$0 --help' for more information"
                   1220:     ;;
                   1221: 
                   1222:   *=*)
                   1223:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1224:     # Reject names that are not valid shell variable names.
                   1225:     case $ac_envvar in #(
                   1226:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1227:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1228:     esac
                   1229:     eval $ac_envvar=\$ac_optarg
                   1230:     export $ac_envvar ;;
                   1231: 
                   1232:   *)
                   1233:     # FIXME: should be removed in autoconf 3.0.
                   1234:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1235:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1236:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1237:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1238:     ;;
                   1239: 
                   1240:   esac
                   1241: done
                   1242: 
                   1243: if test -n "$ac_prev"; then
                   1244:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1245:   as_fn_error $? "missing argument to $ac_option"
                   1246: fi
                   1247: 
                   1248: if test -n "$ac_unrecognized_opts"; then
                   1249:   case $enable_option_checking in
                   1250:     no) ;;
                   1251:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1252:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1253:   esac
                   1254: fi
                   1255: 
                   1256: # Check all directory arguments for consistency.
                   1257: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1258:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1259:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1260:                libdir localedir mandir
                   1261: do
                   1262:   eval ac_val=\$$ac_var
                   1263:   # Remove trailing slashes.
                   1264:   case $ac_val in
                   1265:     */ )
                   1266:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1267:       eval $ac_var=\$ac_val;;
                   1268:   esac
                   1269:   # Be sure to have absolute directory names.
                   1270:   case $ac_val in
                   1271:     [\\/$]* | ?:[\\/]* )  continue;;
                   1272:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1273:   esac
                   1274:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1275: done
                   1276: 
                   1277: # There might be people who depend on the old broken behavior: `$host'
                   1278: # used to hold the argument of --host etc.
                   1279: # FIXME: To remove some day.
                   1280: build=$build_alias
                   1281: host=$host_alias
                   1282: target=$target_alias
                   1283: 
                   1284: # FIXME: To remove some day.
                   1285: if test "x$host_alias" != x; then
                   1286:   if test "x$build_alias" = x; then
                   1287:     cross_compiling=maybe
                   1288:   elif test "x$build_alias" != "x$host_alias"; then
                   1289:     cross_compiling=yes
                   1290:   fi
                   1291: fi
                   1292: 
                   1293: ac_tool_prefix=
                   1294: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1295: 
                   1296: test "$silent" = yes && exec 6>/dev/null
                   1297: 
                   1298: 
                   1299: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1300: ac_ls_di=`ls -di .` &&
                   1301: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1302:   as_fn_error $? "working directory cannot be determined"
                   1303: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1304:   as_fn_error $? "pwd does not report name of working directory"
                   1305: 
                   1306: 
                   1307: # Find the source files, if location was not specified.
                   1308: if test -z "$srcdir"; then
                   1309:   ac_srcdir_defaulted=yes
                   1310:   # Try the directory containing this script, then the parent directory.
                   1311:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1312: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1313:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1314:         X"$as_myself" : 'X\(//\)$' \| \
                   1315:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1316: $as_echo X"$as_myself" |
                   1317:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1318:            s//\1/
                   1319:            q
                   1320:          }
                   1321:          /^X\(\/\/\)[^/].*/{
                   1322:            s//\1/
                   1323:            q
                   1324:          }
                   1325:          /^X\(\/\/\)$/{
                   1326:            s//\1/
                   1327:            q
                   1328:          }
                   1329:          /^X\(\/\).*/{
                   1330:            s//\1/
                   1331:            q
                   1332:          }
                   1333:          s/.*/./; q'`
                   1334:   srcdir=$ac_confdir
                   1335:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1336:     srcdir=..
                   1337:   fi
                   1338: else
                   1339:   ac_srcdir_defaulted=no
                   1340: fi
                   1341: if test ! -r "$srcdir/$ac_unique_file"; then
                   1342:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1343:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1344: fi
                   1345: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1346: ac_abs_confdir=`(
                   1347:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1348:        pwd)`
                   1349: # When building in place, set srcdir=.
                   1350: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1351:   srcdir=.
                   1352: fi
                   1353: # Remove unnecessary trailing slashes from srcdir.
                   1354: # Double slashes in file names in object file debugging info
                   1355: # mess up M-x gdb in Emacs.
                   1356: case $srcdir in
                   1357: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1358: esac
                   1359: for ac_var in $ac_precious_vars; do
                   1360:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1361:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1362:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1363:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1364: done
                   1365: 
                   1366: #
                   1367: # Report the --help message.
                   1368: #
                   1369: if test "$ac_init_help" = "long"; then
                   1370:   # Omit some internal or obsolete options to make the list less imposing.
                   1371:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1372:   cat <<_ACEOF
1.1.1.3 ! misho    1373: \`configure' configures smartmontools 6.1 to adapt to many kinds of systems.
1.1       misho    1374: 
                   1375: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1376: 
                   1377: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1378: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1379: 
                   1380: Defaults for the options are specified in brackets.
                   1381: 
                   1382: Configuration:
                   1383:   -h, --help              display this help and exit
                   1384:       --help=short        display options specific to this package
                   1385:       --help=recursive    display the short help of all the included packages
                   1386:   -V, --version           display version information and exit
                   1387:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1388:       --cache-file=FILE   cache test results in FILE [disabled]
                   1389:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1390:   -n, --no-create         do not create output files
                   1391:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1392: 
                   1393: Installation directories:
                   1394:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1395:                           [$ac_default_prefix]
                   1396:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1397:                           [PREFIX]
                   1398: 
                   1399: By default, \`make install' will install all the files in
                   1400: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1401: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1402: for instance \`--prefix=\$HOME'.
                   1403: 
                   1404: For better control, use the options below.
                   1405: 
                   1406: Fine tuning of the installation directories:
                   1407:   --bindir=DIR            user executables [EPREFIX/bin]
                   1408:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1409:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1410:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1411:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1412:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1413:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1414:   --includedir=DIR        C header files [PREFIX/include]
                   1415:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1416:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1417:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1418:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1419:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1420:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1421:   --docdir=DIR            documentation root [DATAROOTDIR/doc/smartmontools]
                   1422:   --htmldir=DIR           html documentation [DOCDIR]
                   1423:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1424:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1425:   --psdir=DIR             ps documentation [DOCDIR]
                   1426: _ACEOF
                   1427: 
                   1428:   cat <<\_ACEOF
                   1429: 
                   1430: Program names:
                   1431:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1432:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1433:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1434: 
                   1435: System types:
                   1436:   --build=BUILD     configure for building on BUILD [guessed]
                   1437:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1438: _ACEOF
                   1439: fi
                   1440: 
                   1441: if test -n "$ac_init_help"; then
                   1442:   case $ac_init_help in
1.1.1.3 ! misho    1443:      short | recursive ) echo "Configuration of smartmontools 6.1:";;
1.1       misho    1444:    esac
                   1445:   cat <<\_ACEOF
                   1446: 
                   1447: Optional Features:
                   1448:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1449:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1450:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.3 ! misho    1451:   --enable-maintainer-mode
        !          1452:                           enable make rules and dependencies not useful (and
        !          1453:                           sometimes confusing) to the casual installer
        !          1454:   --enable-dependency-tracking
        !          1455:                           do not reject slow dependency extractors
        !          1456:   --disable-dependency-tracking
        !          1457:                           speeds up one-time build
1.1       misho    1458:   --disable-drivedb       Disables drive database file
                   1459:   --enable-savestates     Enables default smartd state files
                   1460:   --enable-attributelog   Enables default smartd attribute log files
                   1461:   --enable-sample         Enables appending .sample to the installed smartd rc
                   1462:                           script and configuration file
                   1463: 
                   1464: Optional Packages:
                   1465:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1466:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1467:   --with-systemdsystemunitdir[=DIR|auto|yes|no]
                   1468:                           Location of systemd service files [auto]
                   1469:   --with-initscriptdir[=DIR|auto|yes|no]
                   1470:                           Location of init scripts [auto]
                   1471:   --with-docdir=DIR       Location of documentation
                   1472:                           [DATADIR/doc/smartmontools]
                   1473:   --with-exampledir=DIR   Location of example scripts [DOCDIR/examplescripts]
                   1474:   --with-drivedbdir=DIR   Location of drive database file (implies
                   1475:                           --enable-drivedb) [DATADIR/smartmontools]
                   1476:   --with-savestates=PREFIX
                   1477:                           Prefix for default smartd state files (implies
                   1478:                           --enable-savestates)
                   1479:                           [LOCALSTATEDIR/lib/smartmontools/smartd.]
                   1480:   --with-attributelog=PREFIX
                   1481:                           Prefix for default smartd attribute log files
                   1482:                           (implies --enable-attributelog)
                   1483:                           [LOCALSTATEDIR/lib/smartmontools/attrlog.]
                   1484:   --with-os-deps='os_module.o ...'
                   1485:                           Specify OS dependent module(s) [guessed]
                   1486:   --with-selinux[=yes|no] Enables SELinux support [no]
                   1487:   --with-libcap-ng[=auto|yes|no]
                   1488:                           Add Libcap-ng support to smartd [auto]
                   1489: 
                   1490: Some influential environment variables:
                   1491:   CXX         C++ compiler command
                   1492:   CXXFLAGS    C++ compiler flags
                   1493:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1494:               nonstandard directory <lib dir>
                   1495:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1496:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1497:               you have headers in a nonstandard directory <include dir>
                   1498:   CC          C compiler command
                   1499:   CFLAGS      C compiler flags
                   1500:   CCAS        assembler compiler command (defaults to CC)
                   1501:   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
                   1502:   PKG_CONFIG  path to pkg-config utility
                   1503:   PKG_CONFIG_PATH
                   1504:               directories to add to pkg-config's search path
                   1505:   PKG_CONFIG_LIBDIR
                   1506:               path overriding pkg-config's built-in search path
                   1507:   WINDMC      Windows message compiler command
                   1508:   WINDRES     Windows resource compiler command
                   1509:   MAKENSIS    NSIS compiler command
                   1510:   CXXCPP      C++ preprocessor
                   1511: 
                   1512: Use these variables to override the choices made by `configure' or to help
                   1513: it to find libraries and programs with nonstandard names/locations.
                   1514: 
                   1515: Report bugs to <smartmontools-support@lists.sourceforge.net>.
                   1516: _ACEOF
                   1517: ac_status=$?
                   1518: fi
                   1519: 
                   1520: if test "$ac_init_help" = "recursive"; then
                   1521:   # If there are subdirs, report their specific --help.
                   1522:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1523:     test -d "$ac_dir" ||
                   1524:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1525:       continue
                   1526:     ac_builddir=.
                   1527: 
                   1528: case "$ac_dir" in
                   1529: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1530: *)
                   1531:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1532:   # A ".." for each directory in $ac_dir_suffix.
                   1533:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1534:   case $ac_top_builddir_sub in
                   1535:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1536:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1537:   esac ;;
                   1538: esac
                   1539: ac_abs_top_builddir=$ac_pwd
                   1540: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1541: # for backward compatibility:
                   1542: ac_top_builddir=$ac_top_build_prefix
                   1543: 
                   1544: case $srcdir in
                   1545:   .)  # We are building in place.
                   1546:     ac_srcdir=.
                   1547:     ac_top_srcdir=$ac_top_builddir_sub
                   1548:     ac_abs_top_srcdir=$ac_pwd ;;
                   1549:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1550:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1551:     ac_top_srcdir=$srcdir
                   1552:     ac_abs_top_srcdir=$srcdir ;;
                   1553:   *) # Relative name.
                   1554:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1555:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1556:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1557: esac
                   1558: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1559: 
                   1560:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1561:     # Check for guested configure.
                   1562:     if test -f "$ac_srcdir/configure.gnu"; then
                   1563:       echo &&
                   1564:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1565:     elif test -f "$ac_srcdir/configure"; then
                   1566:       echo &&
                   1567:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1568:     else
                   1569:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1570:     fi || ac_status=$?
                   1571:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1572:   done
                   1573: fi
                   1574: 
                   1575: test -n "$ac_init_help" && exit $ac_status
                   1576: if $ac_init_version; then
                   1577:   cat <<\_ACEOF
1.1.1.3 ! misho    1578: smartmontools configure 6.1
        !          1579: generated by GNU Autoconf 2.69
1.1       misho    1580: 
1.1.1.3 ! misho    1581: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1582: This configure script is free software; the Free Software Foundation
                   1583: gives unlimited permission to copy, distribute and modify it.
                   1584: _ACEOF
                   1585:   exit
                   1586: fi
                   1587: 
                   1588: ## ------------------------ ##
                   1589: ## Autoconf initialization. ##
                   1590: ## ------------------------ ##
                   1591: 
                   1592: # ac_fn_cxx_try_compile LINENO
                   1593: # ----------------------------
                   1594: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1595: ac_fn_cxx_try_compile ()
                   1596: {
                   1597:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1598:   rm -f conftest.$ac_objext
                   1599:   if { { ac_try="$ac_compile"
                   1600: case "(($ac_try" in
                   1601:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1602:   *) ac_try_echo=$ac_try;;
                   1603: esac
                   1604: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1605: $as_echo "$ac_try_echo"; } >&5
                   1606:   (eval "$ac_compile") 2>conftest.err
                   1607:   ac_status=$?
                   1608:   if test -s conftest.err; then
                   1609:     grep -v '^ *+' conftest.err >conftest.er1
                   1610:     cat conftest.er1 >&5
                   1611:     mv -f conftest.er1 conftest.err
                   1612:   fi
                   1613:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1614:   test $ac_status = 0; } && {
                   1615:         test -z "$ac_cxx_werror_flag" ||
                   1616:         test ! -s conftest.err
                   1617:        } && test -s conftest.$ac_objext; then :
                   1618:   ac_retval=0
                   1619: else
                   1620:   $as_echo "$as_me: failed program was:" >&5
                   1621: sed 's/^/| /' conftest.$ac_ext >&5
                   1622: 
                   1623:        ac_retval=1
                   1624: fi
                   1625:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1626:   as_fn_set_status $ac_retval
                   1627: 
                   1628: } # ac_fn_cxx_try_compile
                   1629: 
                   1630: # ac_fn_c_try_compile LINENO
                   1631: # --------------------------
                   1632: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1633: ac_fn_c_try_compile ()
                   1634: {
                   1635:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1636:   rm -f conftest.$ac_objext
                   1637:   if { { ac_try="$ac_compile"
                   1638: case "(($ac_try" in
                   1639:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1640:   *) ac_try_echo=$ac_try;;
                   1641: esac
                   1642: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1643: $as_echo "$ac_try_echo"; } >&5
                   1644:   (eval "$ac_compile") 2>conftest.err
                   1645:   ac_status=$?
                   1646:   if test -s conftest.err; then
                   1647:     grep -v '^ *+' conftest.err >conftest.er1
                   1648:     cat conftest.er1 >&5
                   1649:     mv -f conftest.er1 conftest.err
                   1650:   fi
                   1651:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1652:   test $ac_status = 0; } && {
                   1653:         test -z "$ac_c_werror_flag" ||
                   1654:         test ! -s conftest.err
                   1655:        } && test -s conftest.$ac_objext; then :
                   1656:   ac_retval=0
                   1657: else
                   1658:   $as_echo "$as_me: failed program was:" >&5
                   1659: sed 's/^/| /' conftest.$ac_ext >&5
                   1660: 
                   1661:        ac_retval=1
                   1662: fi
                   1663:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1664:   as_fn_set_status $ac_retval
                   1665: 
                   1666: } # ac_fn_c_try_compile
                   1667: 
                   1668: # ac_fn_cxx_try_cpp LINENO
                   1669: # ------------------------
                   1670: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1671: ac_fn_cxx_try_cpp ()
                   1672: {
                   1673:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1674:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1675: case "(($ac_try" in
                   1676:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1677:   *) ac_try_echo=$ac_try;;
                   1678: esac
                   1679: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1680: $as_echo "$ac_try_echo"; } >&5
                   1681:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1682:   ac_status=$?
                   1683:   if test -s conftest.err; then
                   1684:     grep -v '^ *+' conftest.err >conftest.er1
                   1685:     cat conftest.er1 >&5
                   1686:     mv -f conftest.er1 conftest.err
                   1687:   fi
                   1688:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1689:   test $ac_status = 0; } > conftest.i && {
                   1690:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1691:         test ! -s conftest.err
                   1692:        }; then :
                   1693:   ac_retval=0
                   1694: else
                   1695:   $as_echo "$as_me: failed program was:" >&5
                   1696: sed 's/^/| /' conftest.$ac_ext >&5
                   1697: 
                   1698:     ac_retval=1
                   1699: fi
                   1700:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1701:   as_fn_set_status $ac_retval
                   1702: 
                   1703: } # ac_fn_cxx_try_cpp
                   1704: 
                   1705: # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1706: # ---------------------------------------------------------
                   1707: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1708: # the include files in INCLUDES and setting the cache variable VAR
                   1709: # accordingly.
                   1710: ac_fn_cxx_check_header_mongrel ()
                   1711: {
                   1712:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1713:   if eval \${$3+:} false; then :
                   1714:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1715: $as_echo_n "checking for $2... " >&6; }
                   1716: if eval \${$3+:} false; then :
                   1717:   $as_echo_n "(cached) " >&6
                   1718: fi
                   1719: eval ac_res=\$$3
                   1720:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1721: $as_echo "$ac_res" >&6; }
                   1722: else
                   1723:   # Is the header compilable?
                   1724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1725: $as_echo_n "checking $2 usability... " >&6; }
                   1726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1727: /* end confdefs.h.  */
                   1728: $4
                   1729: #include <$2>
                   1730: _ACEOF
                   1731: if ac_fn_cxx_try_compile "$LINENO"; then :
                   1732:   ac_header_compiler=yes
                   1733: else
                   1734:   ac_header_compiler=no
                   1735: fi
                   1736: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1738: $as_echo "$ac_header_compiler" >&6; }
                   1739: 
                   1740: # Is the header present?
                   1741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1742: $as_echo_n "checking $2 presence... " >&6; }
                   1743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1744: /* end confdefs.h.  */
                   1745: #include <$2>
                   1746: _ACEOF
                   1747: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   1748:   ac_header_preproc=yes
                   1749: else
                   1750:   ac_header_preproc=no
                   1751: fi
                   1752: rm -f conftest.err conftest.i conftest.$ac_ext
                   1753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1754: $as_echo "$ac_header_preproc" >&6; }
                   1755: 
                   1756: # So?  What about this header?
                   1757: case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
                   1758:   yes:no: )
                   1759:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1760: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1761:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1762: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1763:     ;;
                   1764:   no:yes:* )
                   1765:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1766: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1767:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1768: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1769:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1770: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1771:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1772: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1773:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1774: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1775: ( $as_echo "## ---------------------------------------------------------- ##
                   1776: ## Report this to smartmontools-support@lists.sourceforge.net ##
                   1777: ## ---------------------------------------------------------- ##"
                   1778:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1779:     ;;
                   1780: esac
                   1781:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1782: $as_echo_n "checking for $2... " >&6; }
                   1783: if eval \${$3+:} false; then :
                   1784:   $as_echo_n "(cached) " >&6
                   1785: else
                   1786:   eval "$3=\$ac_header_compiler"
                   1787: fi
                   1788: eval ac_res=\$$3
                   1789:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1790: $as_echo "$ac_res" >&6; }
                   1791: fi
                   1792:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1793: 
                   1794: } # ac_fn_cxx_check_header_mongrel
                   1795: 
                   1796: # ac_fn_cxx_try_run LINENO
                   1797: # ------------------------
                   1798: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1799: # that executables *can* be run.
                   1800: ac_fn_cxx_try_run ()
                   1801: {
                   1802:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1803:   if { { ac_try="$ac_link"
                   1804: case "(($ac_try" in
                   1805:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1806:   *) ac_try_echo=$ac_try;;
                   1807: esac
                   1808: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1809: $as_echo "$ac_try_echo"; } >&5
                   1810:   (eval "$ac_link") 2>&5
                   1811:   ac_status=$?
                   1812:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1813:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1814:   { { case "(($ac_try" in
                   1815:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1816:   *) ac_try_echo=$ac_try;;
                   1817: esac
                   1818: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1819: $as_echo "$ac_try_echo"; } >&5
                   1820:   (eval "$ac_try") 2>&5
                   1821:   ac_status=$?
                   1822:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1823:   test $ac_status = 0; }; }; then :
                   1824:   ac_retval=0
                   1825: else
                   1826:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1827:        $as_echo "$as_me: failed program was:" >&5
                   1828: sed 's/^/| /' conftest.$ac_ext >&5
                   1829: 
                   1830:        ac_retval=$ac_status
                   1831: fi
                   1832:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1833:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1834:   as_fn_set_status $ac_retval
                   1835: 
                   1836: } # ac_fn_cxx_try_run
                   1837: 
                   1838: # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
                   1839: # ---------------------------------------------------------
                   1840: # Tests whether HEADER exists and can be compiled using the include files in
                   1841: # INCLUDES, setting the cache variable VAR accordingly.
                   1842: ac_fn_cxx_check_header_compile ()
                   1843: {
                   1844:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1845:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1846: $as_echo_n "checking for $2... " >&6; }
                   1847: if eval \${$3+:} false; then :
                   1848:   $as_echo_n "(cached) " >&6
                   1849: else
                   1850:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1851: /* end confdefs.h.  */
                   1852: $4
                   1853: #include <$2>
                   1854: _ACEOF
                   1855: if ac_fn_cxx_try_compile "$LINENO"; then :
                   1856:   eval "$3=yes"
                   1857: else
                   1858:   eval "$3=no"
                   1859: fi
                   1860: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1861: fi
                   1862: eval ac_res=\$$3
                   1863:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1864: $as_echo "$ac_res" >&6; }
                   1865:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1866: 
                   1867: } # ac_fn_cxx_check_header_compile
                   1868: 
                   1869: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
                   1870: # ---------------------------------------------
                   1871: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1872: # variable VAR accordingly.
                   1873: ac_fn_cxx_check_type ()
                   1874: {
                   1875:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1876:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1877: $as_echo_n "checking for $2... " >&6; }
                   1878: if eval \${$3+:} false; then :
                   1879:   $as_echo_n "(cached) " >&6
                   1880: else
                   1881:   eval "$3=no"
                   1882:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1883: /* end confdefs.h.  */
                   1884: $4
                   1885: int
                   1886: main ()
                   1887: {
                   1888: if (sizeof ($2))
                   1889:         return 0;
                   1890:   ;
                   1891:   return 0;
                   1892: }
                   1893: _ACEOF
                   1894: if ac_fn_cxx_try_compile "$LINENO"; then :
                   1895:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1896: /* end confdefs.h.  */
                   1897: $4
                   1898: int
                   1899: main ()
                   1900: {
                   1901: if (sizeof (($2)))
                   1902:            return 0;
                   1903:   ;
                   1904:   return 0;
                   1905: }
                   1906: _ACEOF
                   1907: if ac_fn_cxx_try_compile "$LINENO"; then :
                   1908: 
                   1909: else
                   1910:   eval "$3=yes"
                   1911: fi
                   1912: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1913: fi
                   1914: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1915: fi
                   1916: eval ac_res=\$$3
                   1917:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1918: $as_echo "$ac_res" >&6; }
                   1919:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1920: 
                   1921: } # ac_fn_cxx_check_type
                   1922: 
1.1.1.3 ! misho    1923: # ac_fn_cxx_try_link LINENO
        !          1924: # -------------------------
        !          1925: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          1926: ac_fn_cxx_try_link ()
        !          1927: {
        !          1928:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1929:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          1930:   if { { ac_try="$ac_link"
        !          1931: case "(($ac_try" in
        !          1932:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1933:   *) ac_try_echo=$ac_try;;
        !          1934: esac
        !          1935: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1936: $as_echo "$ac_try_echo"; } >&5
        !          1937:   (eval "$ac_link") 2>conftest.err
        !          1938:   ac_status=$?
        !          1939:   if test -s conftest.err; then
        !          1940:     grep -v '^ *+' conftest.err >conftest.er1
        !          1941:     cat conftest.er1 >&5
        !          1942:     mv -f conftest.er1 conftest.err
        !          1943:   fi
        !          1944:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1945:   test $ac_status = 0; } && {
        !          1946:         test -z "$ac_cxx_werror_flag" ||
        !          1947:         test ! -s conftest.err
        !          1948:        } && test -s conftest$ac_exeext && {
        !          1949:         test "$cross_compiling" = yes ||
        !          1950:         test -x conftest$ac_exeext
        !          1951:        }; then :
        !          1952:   ac_retval=0
        !          1953: else
        !          1954:   $as_echo "$as_me: failed program was:" >&5
        !          1955: sed 's/^/| /' conftest.$ac_ext >&5
        !          1956: 
        !          1957:        ac_retval=1
        !          1958: fi
        !          1959:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          1960:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          1961:   # interfere with the next link command; also delete a directory that is
        !          1962:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          1963:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1964:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1965:   as_fn_set_status $ac_retval
        !          1966: 
        !          1967: } # ac_fn_cxx_try_link
        !          1968: 
1.1       misho    1969: # ac_fn_cxx_check_func LINENO FUNC VAR
                   1970: # ------------------------------------
                   1971: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1972: ac_fn_cxx_check_func ()
                   1973: {
                   1974:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1975:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1976: $as_echo_n "checking for $2... " >&6; }
                   1977: if eval \${$3+:} false; then :
                   1978:   $as_echo_n "(cached) " >&6
                   1979: else
                   1980:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1981: /* end confdefs.h.  */
                   1982: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1983:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1984: #define $2 innocuous_$2
                   1985: 
                   1986: /* System header to define __stub macros and hopefully few prototypes,
                   1987:     which can conflict with char $2 (); below.
                   1988:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1989:     <limits.h> exists even on freestanding compilers.  */
                   1990: 
                   1991: #ifdef __STDC__
                   1992: # include <limits.h>
                   1993: #else
                   1994: # include <assert.h>
                   1995: #endif
                   1996: 
                   1997: #undef $2
                   1998: 
                   1999: /* Override any GCC internal prototype to avoid an error.
                   2000:    Use char because int might match the return type of a GCC
                   2001:    builtin and then its argument prototype would still apply.  */
                   2002: #ifdef __cplusplus
                   2003: extern "C"
                   2004: #endif
                   2005: char $2 ();
                   2006: /* The GNU C library defines this for functions which it implements
                   2007:     to always fail with ENOSYS.  Some functions are actually named
                   2008:     something starting with __ and the normal name is an alias.  */
                   2009: #if defined __stub_$2 || defined __stub___$2
                   2010: choke me
                   2011: #endif
                   2012: 
                   2013: int
                   2014: main ()
                   2015: {
                   2016: return $2 ();
                   2017:   ;
                   2018:   return 0;
                   2019: }
                   2020: _ACEOF
                   2021: if ac_fn_cxx_try_link "$LINENO"; then :
                   2022:   eval "$3=yes"
                   2023: else
                   2024:   eval "$3=no"
                   2025: fi
                   2026: rm -f core conftest.err conftest.$ac_objext \
                   2027:     conftest$ac_exeext conftest.$ac_ext
                   2028: fi
                   2029: eval ac_res=\$$3
                   2030:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2031: $as_echo "$ac_res" >&6; }
                   2032:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2033: 
                   2034: } # ac_fn_cxx_check_func
                   2035: cat >config.log <<_ACEOF
                   2036: This file contains any messages produced by compilers while
                   2037: running configure, to aid debugging if configure makes a mistake.
                   2038: 
1.1.1.3 ! misho    2039: It was created by smartmontools $as_me 6.1, which was
        !          2040: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    2041: 
                   2042:   $ $0 $@
                   2043: 
                   2044: _ACEOF
                   2045: exec 5>>config.log
                   2046: {
                   2047: cat <<_ASUNAME
                   2048: ## --------- ##
                   2049: ## Platform. ##
                   2050: ## --------- ##
                   2051: 
                   2052: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2053: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2054: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2055: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2056: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2057: 
                   2058: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2059: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2060: 
                   2061: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2062: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2063: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2064: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2065: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2066: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2067: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2068: 
                   2069: _ASUNAME
                   2070: 
                   2071: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2072: for as_dir in $PATH
                   2073: do
                   2074:   IFS=$as_save_IFS
                   2075:   test -z "$as_dir" && as_dir=.
                   2076:     $as_echo "PATH: $as_dir"
                   2077:   done
                   2078: IFS=$as_save_IFS
                   2079: 
                   2080: } >&5
                   2081: 
                   2082: cat >&5 <<_ACEOF
                   2083: 
                   2084: 
                   2085: ## ----------- ##
                   2086: ## Core tests. ##
                   2087: ## ----------- ##
                   2088: 
                   2089: _ACEOF
                   2090: 
                   2091: 
                   2092: # Keep a trace of the command line.
                   2093: # Strip out --no-create and --no-recursion so they do not pile up.
                   2094: # Strip out --silent because we don't want to record it for future runs.
                   2095: # Also quote any args containing shell meta-characters.
                   2096: # Make two passes to allow for proper duplicate-argument suppression.
                   2097: ac_configure_args=
                   2098: ac_configure_args0=
                   2099: ac_configure_args1=
                   2100: ac_must_keep_next=false
                   2101: for ac_pass in 1 2
                   2102: do
                   2103:   for ac_arg
                   2104:   do
                   2105:     case $ac_arg in
                   2106:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2107:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2108:     | -silent | --silent | --silen | --sile | --sil)
                   2109:       continue ;;
                   2110:     *\'*)
                   2111:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2112:     esac
                   2113:     case $ac_pass in
                   2114:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2115:     2)
                   2116:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2117:       if test $ac_must_keep_next = true; then
                   2118:        ac_must_keep_next=false # Got value, back to normal.
                   2119:       else
                   2120:        case $ac_arg in
                   2121:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2122:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2123:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2124:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2125:            case "$ac_configure_args0 " in
                   2126:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2127:            esac
                   2128:            ;;
                   2129:          -* ) ac_must_keep_next=true ;;
                   2130:        esac
                   2131:       fi
                   2132:       as_fn_append ac_configure_args " '$ac_arg'"
                   2133:       ;;
                   2134:     esac
                   2135:   done
                   2136: done
                   2137: { ac_configure_args0=; unset ac_configure_args0;}
                   2138: { ac_configure_args1=; unset ac_configure_args1;}
                   2139: 
                   2140: # When interrupted or exit'd, cleanup temporary files, and complete
                   2141: # config.log.  We remove comments because anyway the quotes in there
                   2142: # would cause problems or look ugly.
                   2143: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2144: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2145: trap 'exit_status=$?
                   2146:   # Save into config.log some information that might help in debugging.
                   2147:   {
                   2148:     echo
                   2149: 
                   2150:     $as_echo "## ---------------- ##
                   2151: ## Cache variables. ##
                   2152: ## ---------------- ##"
                   2153:     echo
                   2154:     # The following way of writing the cache mishandles newlines in values,
                   2155: (
                   2156:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2157:     eval ac_val=\$$ac_var
                   2158:     case $ac_val in #(
                   2159:     *${as_nl}*)
                   2160:       case $ac_var in #(
                   2161:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2162: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2163:       esac
                   2164:       case $ac_var in #(
                   2165:       _ | IFS | as_nl) ;; #(
                   2166:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2167:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2168:       esac ;;
                   2169:     esac
                   2170:   done
                   2171:   (set) 2>&1 |
                   2172:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2173:     *${as_nl}ac_space=\ *)
                   2174:       sed -n \
                   2175:        "s/'\''/'\''\\\\'\'''\''/g;
                   2176:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2177:       ;; #(
                   2178:     *)
                   2179:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2180:       ;;
                   2181:     esac |
                   2182:     sort
                   2183: )
                   2184:     echo
                   2185: 
                   2186:     $as_echo "## ----------------- ##
                   2187: ## Output variables. ##
                   2188: ## ----------------- ##"
                   2189:     echo
                   2190:     for ac_var in $ac_subst_vars
                   2191:     do
                   2192:       eval ac_val=\$$ac_var
                   2193:       case $ac_val in
                   2194:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2195:       esac
                   2196:       $as_echo "$ac_var='\''$ac_val'\''"
                   2197:     done | sort
                   2198:     echo
                   2199: 
                   2200:     if test -n "$ac_subst_files"; then
                   2201:       $as_echo "## ------------------- ##
                   2202: ## File substitutions. ##
                   2203: ## ------------------- ##"
                   2204:       echo
                   2205:       for ac_var in $ac_subst_files
                   2206:       do
                   2207:        eval ac_val=\$$ac_var
                   2208:        case $ac_val in
                   2209:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2210:        esac
                   2211:        $as_echo "$ac_var='\''$ac_val'\''"
                   2212:       done | sort
                   2213:       echo
                   2214:     fi
                   2215: 
                   2216:     if test -s confdefs.h; then
                   2217:       $as_echo "## ----------- ##
                   2218: ## confdefs.h. ##
                   2219: ## ----------- ##"
                   2220:       echo
                   2221:       cat confdefs.h
                   2222:       echo
                   2223:     fi
                   2224:     test "$ac_signal" != 0 &&
                   2225:       $as_echo "$as_me: caught signal $ac_signal"
                   2226:     $as_echo "$as_me: exit $exit_status"
                   2227:   } >&5
                   2228:   rm -f core *.core core.conftest.* &&
                   2229:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2230:     exit $exit_status
                   2231: ' 0
                   2232: for ac_signal in 1 2 13 15; do
                   2233:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2234: done
                   2235: ac_signal=0
                   2236: 
                   2237: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2238: rm -f -r conftest* confdefs.h
                   2239: 
                   2240: $as_echo "/* confdefs.h */" > confdefs.h
                   2241: 
                   2242: # Predefined preprocessor variables.
                   2243: 
                   2244: cat >>confdefs.h <<_ACEOF
                   2245: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2246: _ACEOF
                   2247: 
                   2248: cat >>confdefs.h <<_ACEOF
                   2249: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2250: _ACEOF
                   2251: 
                   2252: cat >>confdefs.h <<_ACEOF
                   2253: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2254: _ACEOF
                   2255: 
                   2256: cat >>confdefs.h <<_ACEOF
                   2257: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2258: _ACEOF
                   2259: 
                   2260: cat >>confdefs.h <<_ACEOF
                   2261: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2262: _ACEOF
                   2263: 
                   2264: cat >>confdefs.h <<_ACEOF
                   2265: #define PACKAGE_URL "$PACKAGE_URL"
                   2266: _ACEOF
                   2267: 
                   2268: 
                   2269: # Let the site file select an alternate cache file if it wants to.
                   2270: # Prefer an explicitly selected file to automatically selected ones.
                   2271: ac_site_file1=NONE
                   2272: ac_site_file2=NONE
                   2273: if test -n "$CONFIG_SITE"; then
                   2274:   # We do not want a PATH search for config.site.
                   2275:   case $CONFIG_SITE in #((
                   2276:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2277:     */*) ac_site_file1=$CONFIG_SITE;;
                   2278:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2279:   esac
                   2280: elif test "x$prefix" != xNONE; then
                   2281:   ac_site_file1=$prefix/share/config.site
                   2282:   ac_site_file2=$prefix/etc/config.site
                   2283: else
                   2284:   ac_site_file1=$ac_default_prefix/share/config.site
                   2285:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2286: fi
                   2287: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2288: do
                   2289:   test "x$ac_site_file" = xNONE && continue
                   2290:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2291:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2292: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2293:     sed 's/^/| /' "$ac_site_file" >&5
                   2294:     . "$ac_site_file" \
                   2295:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2296: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2297: as_fn_error $? "failed to load site script $ac_site_file
1.1.1.3 ! misho    2298: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2299:   fi
                   2300: done
                   2301: 
                   2302: if test -r "$cache_file"; then
                   2303:   # Some versions of bash will fail to source /dev/null (special files
                   2304:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2305:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2306:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2307: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2308:     case $cache_file in
                   2309:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2310:       *)                      . "./$cache_file";;
                   2311:     esac
                   2312:   fi
                   2313: else
                   2314:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2315: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2316:   >$cache_file
                   2317: fi
                   2318: 
                   2319: # Check that the precious variables saved in the cache have kept the same
                   2320: # value.
                   2321: ac_cache_corrupted=false
                   2322: for ac_var in $ac_precious_vars; do
                   2323:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2324:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2325:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2326:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2327:   case $ac_old_set,$ac_new_set in
                   2328:     set,)
                   2329:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2330: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2331:       ac_cache_corrupted=: ;;
                   2332:     ,set)
                   2333:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2334: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2335:       ac_cache_corrupted=: ;;
                   2336:     ,);;
                   2337:     *)
                   2338:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2339:        # differences in whitespace do not lead to failure.
                   2340:        ac_old_val_w=`echo x $ac_old_val`
                   2341:        ac_new_val_w=`echo x $ac_new_val`
                   2342:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2343:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2344: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2345:          ac_cache_corrupted=:
                   2346:        else
                   2347:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2348: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2349:          eval $ac_var=\$ac_old_val
                   2350:        fi
                   2351:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2352: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2353:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2354: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2355:       fi;;
                   2356:   esac
                   2357:   # Pass precious variables to config.status.
                   2358:   if test "$ac_new_set" = set; then
                   2359:     case $ac_new_val in
                   2360:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2361:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2362:     esac
                   2363:     case " $ac_configure_args " in
                   2364:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2365:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2366:     esac
                   2367:   fi
                   2368: done
                   2369: if $ac_cache_corrupted; then
                   2370:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2371: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2372:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2373: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2374:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2375: fi
                   2376: ## -------------------- ##
                   2377: ## Main body of script. ##
                   2378: ## -------------------- ##
                   2379: 
                   2380: ac_ext=c
                   2381: ac_cpp='$CPP $CPPFLAGS'
                   2382: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2383: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2384: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2385: 
                   2386: 
                   2387: 
                   2388: 
                   2389: smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'`
1.1.1.3 ! misho    2390: smartmontools_cvs_tag=`echo '$Id: configure.ac 3800 2013-03-16 14:36:20Z chrfranke $'`
        !          2391: smartmontools_release_date=2013-03-16
        !          2392: smartmontools_release_time="14:35:27 UTC"
1.1       misho    2393: 
                   2394: 
                   2395: cat >>confdefs.h <<_ACEOF
                   2396: #define SMARTMONTOOLS_CONFIGURE_ARGS "$ac_configure_args"
                   2397: _ACEOF
                   2398: 
                   2399: 
                   2400: cat >>confdefs.h <<_ACEOF
                   2401: #define SMARTMONTOOLS_CONFIGURE_DATE "$smartmontools_configure_date"
                   2402: _ACEOF
                   2403: 
                   2404: 
                   2405: cat >>confdefs.h <<_ACEOF
                   2406: #define SMARTMONTOOLS_RELEASE_DATE "$smartmontools_release_date"
                   2407: _ACEOF
                   2408: 
                   2409: 
                   2410: cat >>confdefs.h <<_ACEOF
                   2411: #define SMARTMONTOOLS_RELEASE_TIME "$smartmontools_release_time"
                   2412: _ACEOF
                   2413: 
                   2414: 
                   2415: cat >>confdefs.h <<_ACEOF
                   2416: #define CONFIG_H_CVSID "$smartmontools_cvs_tag"
                   2417: _ACEOF
                   2418: 
                   2419: 
                   2420: cat >>confdefs.h <<_ACEOF
                   2421: #define PACKAGE_HOMEPAGE "http://smartmontools.sourceforge.net/"
                   2422: _ACEOF
                   2423: 
                   2424: 
                   2425: ac_config_headers="$ac_config_headers config.h"
                   2426: 
                   2427: 
1.1.1.3 ! misho    2428: am__api_version='1.12'
1.1       misho    2429: 
                   2430: ac_aux_dir=
                   2431: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2432:   if test -f "$ac_dir/install-sh"; then
                   2433:     ac_aux_dir=$ac_dir
                   2434:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2435:     break
                   2436:   elif test -f "$ac_dir/install.sh"; then
                   2437:     ac_aux_dir=$ac_dir
                   2438:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2439:     break
                   2440:   elif test -f "$ac_dir/shtool"; then
                   2441:     ac_aux_dir=$ac_dir
                   2442:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2443:     break
                   2444:   fi
                   2445: done
                   2446: if test -z "$ac_aux_dir"; then
                   2447:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2448: fi
                   2449: 
                   2450: # These three variables are undocumented and unsupported,
                   2451: # and are intended to be withdrawn in a future Autoconf release.
                   2452: # They can cause serious problems if a builder's source tree is in a directory
                   2453: # whose full name contains unusual characters.
                   2454: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2455: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2456: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2457: 
                   2458: 
                   2459: # Find a good install program.  We prefer a C program (faster),
                   2460: # so one script is as good as another.  But avoid the broken or
                   2461: # incompatible versions:
                   2462: # SysV /etc/install, /usr/sbin/install
                   2463: # SunOS /usr/etc/install
                   2464: # IRIX /sbin/install
                   2465: # AIX /bin/install
                   2466: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2467: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2468: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2469: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2470: # OS/2's system install, which has a completely different semantic
                   2471: # ./install, which can be erroneously created by make from ./install.sh.
                   2472: # Reject install programs that cannot install multiple files.
                   2473: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2474: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2475: if test -z "$INSTALL"; then
                   2476: if ${ac_cv_path_install+:} false; then :
                   2477:   $as_echo_n "(cached) " >&6
                   2478: else
                   2479:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2480: for as_dir in $PATH
                   2481: do
                   2482:   IFS=$as_save_IFS
                   2483:   test -z "$as_dir" && as_dir=.
                   2484:     # Account for people who put trailing slashes in PATH elements.
                   2485: case $as_dir/ in #((
                   2486:   ./ | .// | /[cC]/* | \
                   2487:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2488:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2489:   /usr/ucb/* ) ;;
                   2490:   *)
                   2491:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2492:     # Don't use installbsd from OSF since it installs stuff as root
                   2493:     # by default.
                   2494:     for ac_prog in ginstall scoinst install; do
                   2495:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    2496:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2497:          if test $ac_prog = install &&
                   2498:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2499:            # AIX install.  It has an incompatible calling convention.
                   2500:            :
                   2501:          elif test $ac_prog = install &&
                   2502:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2503:            # program-specific install script used by HP pwplus--don't use.
                   2504:            :
                   2505:          else
                   2506:            rm -rf conftest.one conftest.two conftest.dir
                   2507:            echo one > conftest.one
                   2508:            echo two > conftest.two
                   2509:            mkdir conftest.dir
                   2510:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2511:              test -s conftest.one && test -s conftest.two &&
                   2512:              test -s conftest.dir/conftest.one &&
                   2513:              test -s conftest.dir/conftest.two
                   2514:            then
                   2515:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2516:              break 3
                   2517:            fi
                   2518:          fi
                   2519:        fi
                   2520:       done
                   2521:     done
                   2522:     ;;
                   2523: esac
                   2524: 
                   2525:   done
                   2526: IFS=$as_save_IFS
                   2527: 
                   2528: rm -rf conftest.one conftest.two conftest.dir
                   2529: 
                   2530: fi
                   2531:   if test "${ac_cv_path_install+set}" = set; then
                   2532:     INSTALL=$ac_cv_path_install
                   2533:   else
                   2534:     # As a last resort, use the slow shell script.  Don't cache a
                   2535:     # value for INSTALL within a source directory, because that will
                   2536:     # break other packages using the cache if that directory is
                   2537:     # removed, or if the value is a relative name.
                   2538:     INSTALL=$ac_install_sh
                   2539:   fi
                   2540: fi
                   2541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2542: $as_echo "$INSTALL" >&6; }
                   2543: 
                   2544: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2545: # It thinks the first close brace ends the variable substitution.
                   2546: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2547: 
                   2548: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2549: 
                   2550: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2551: 
                   2552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2553: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2554: # Reject unsafe characters in $srcdir or the absolute working directory
                   2555: # name.  Accept space and tab only in the latter.
                   2556: am_lf='
                   2557: '
                   2558: case `pwd` in
                   2559:   *[\\\"\#\$\&\'\`$am_lf]*)
1.1.1.3 ! misho    2560:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.1       misho    2561: esac
                   2562: case $srcdir in
                   2563:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.3 ! misho    2564:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.1       misho    2565: esac
                   2566: 
1.1.1.3 ! misho    2567: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       misho    2568: # arguments.  Must try -L first in case configure is actually a
                   2569: # symlink; some systems play weird games with the mod time of symlinks
                   2570: # (eg FreeBSD returns the mod time of the symlink's containing
                   2571: # directory).
                   2572: if (
1.1.1.3 ! misho    2573:    am_has_slept=no
        !          2574:    for am_try in 1 2; do
        !          2575:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2576:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2577:      if test "$*" = "X"; then
        !          2578:        # -L didn't work.
        !          2579:        set X `ls -t "$srcdir/configure" conftest.file`
        !          2580:      fi
        !          2581:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          2582:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       misho    2583: 
1.1.1.3 ! misho    2584:        # If neither matched, then we have a broken ls.  This can happen
        !          2585:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2586:        # broken ls alias from the environment.  This has actually
        !          2587:        # happened.  Such a system could not be considered "sane".
        !          2588:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2589:   alias in your environment" "$LINENO" 5
        !          2590:      fi
        !          2591:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          2592:        break
        !          2593:      fi
        !          2594:      # Just in case.
        !          2595:      sleep 1
        !          2596:      am_has_slept=yes
        !          2597:    done
1.1       misho    2598:    test "$2" = conftest.file
                   2599:    )
                   2600: then
                   2601:    # Ok.
                   2602:    :
                   2603: else
                   2604:    as_fn_error $? "newly created file is older than distributed files!
                   2605: Check your system clock" "$LINENO" 5
                   2606: fi
                   2607: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2608: $as_echo "yes" >&6; }
1.1.1.3 ! misho    2609: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          2610: # generated files are strictly newer.
        !          2611: am_sleep_pid=
        !          2612: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          2613:   ( sleep 1 ) &
        !          2614:   am_sleep_pid=$!
        !          2615: fi
        !          2616: 
        !          2617: rm -f conftest.file
        !          2618: 
1.1       misho    2619: test "$program_prefix" != NONE &&
                   2620:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2621: # Use a double $ so make ignores it.
                   2622: test "$program_suffix" != NONE &&
                   2623:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2624: # Double any \ or $.
                   2625: # By default was `s,x,x', remove it if useless.
                   2626: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2627: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2628: 
                   2629: # expand $ac_aux_dir to an absolute path
                   2630: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2631: 
                   2632: if test x"${MISSING+set}" != xset; then
                   2633:   case $am_aux_dir in
                   2634:   *\ * | *\    *)
                   2635:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2636:   *)
                   2637:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2638:   esac
                   2639: fi
                   2640: # Use eval to expand $SHELL
                   2641: if eval "$MISSING --run true"; then
                   2642:   am_missing_run="$MISSING --run "
                   2643: else
                   2644:   am_missing_run=
1.1.1.3 ! misho    2645:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          2646: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.1       misho    2647: fi
                   2648: 
                   2649: if test x"${install_sh}" != xset; then
                   2650:   case $am_aux_dir in
                   2651:   *\ * | *\    *)
                   2652:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2653:   *)
                   2654:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2655:   esac
                   2656: fi
                   2657: 
1.1.1.3 ! misho    2658: # Installed binaries are usually stripped using 'strip' when the user
        !          2659: # run "make install-strip".  However 'strip' might not be the right
1.1       misho    2660: # tool to use in cross-compilation environments, therefore Automake
1.1.1.3 ! misho    2661: # will honor the 'STRIP' environment variable to overrule this program.
1.1       misho    2662: if test "$cross_compiling" != no; then
                   2663:   if test -n "$ac_tool_prefix"; then
                   2664:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2665: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2667: $as_echo_n "checking for $ac_word... " >&6; }
                   2668: if ${ac_cv_prog_STRIP+:} false; then :
                   2669:   $as_echo_n "(cached) " >&6
                   2670: else
                   2671:   if test -n "$STRIP"; then
                   2672:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2673: else
                   2674: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2675: for as_dir in $PATH
                   2676: do
                   2677:   IFS=$as_save_IFS
                   2678:   test -z "$as_dir" && as_dir=.
                   2679:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    2680:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2681:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2682:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2683:     break 2
                   2684:   fi
                   2685: done
                   2686:   done
                   2687: IFS=$as_save_IFS
                   2688: 
                   2689: fi
                   2690: fi
                   2691: STRIP=$ac_cv_prog_STRIP
                   2692: if test -n "$STRIP"; then
                   2693:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2694: $as_echo "$STRIP" >&6; }
                   2695: else
                   2696:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2697: $as_echo "no" >&6; }
                   2698: fi
                   2699: 
                   2700: 
                   2701: fi
                   2702: if test -z "$ac_cv_prog_STRIP"; then
                   2703:   ac_ct_STRIP=$STRIP
                   2704:   # Extract the first word of "strip", so it can be a program name with args.
                   2705: set dummy strip; ac_word=$2
                   2706: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2707: $as_echo_n "checking for $ac_word... " >&6; }
                   2708: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2709:   $as_echo_n "(cached) " >&6
                   2710: else
                   2711:   if test -n "$ac_ct_STRIP"; then
                   2712:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2713: else
                   2714: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2715: for as_dir in $PATH
                   2716: do
                   2717:   IFS=$as_save_IFS
                   2718:   test -z "$as_dir" && as_dir=.
                   2719:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    2720:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2721:     ac_cv_prog_ac_ct_STRIP="strip"
                   2722:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2723:     break 2
                   2724:   fi
                   2725: done
                   2726:   done
                   2727: IFS=$as_save_IFS
                   2728: 
                   2729: fi
                   2730: fi
                   2731: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2732: if test -n "$ac_ct_STRIP"; then
                   2733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2734: $as_echo "$ac_ct_STRIP" >&6; }
                   2735: else
                   2736:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2737: $as_echo "no" >&6; }
                   2738: fi
                   2739: 
                   2740:   if test "x$ac_ct_STRIP" = x; then
                   2741:     STRIP=":"
                   2742:   else
                   2743:     case $cross_compiling:$ac_tool_warned in
                   2744: yes:)
                   2745: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2746: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2747: ac_tool_warned=yes ;;
                   2748: esac
                   2749:     STRIP=$ac_ct_STRIP
                   2750:   fi
                   2751: else
                   2752:   STRIP="$ac_cv_prog_STRIP"
                   2753: fi
                   2754: 
                   2755: fi
                   2756: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2757: 
                   2758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2759: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2760: if test -z "$MKDIR_P"; then
                   2761:   if ${ac_cv_path_mkdir+:} false; then :
                   2762:   $as_echo_n "(cached) " >&6
                   2763: else
                   2764:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2765: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2766: do
                   2767:   IFS=$as_save_IFS
                   2768:   test -z "$as_dir" && as_dir=.
                   2769:     for ac_prog in mkdir gmkdir; do
                   2770:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    2771:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    2772:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2773:             'mkdir (GNU coreutils) '* | \
                   2774:             'mkdir (coreutils) '* | \
                   2775:             'mkdir (fileutils) '4.1*)
                   2776:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2777:               break 3;;
                   2778:           esac
                   2779:         done
                   2780:        done
                   2781:   done
                   2782: IFS=$as_save_IFS
                   2783: 
                   2784: fi
                   2785: 
                   2786:   test -d ./--version && rmdir ./--version
                   2787:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2788:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2789:   else
                   2790:     # As a last resort, use the slow shell script.  Don't cache a
                   2791:     # value for MKDIR_P within a source directory, because that will
                   2792:     # break other packages using the cache if that directory is
                   2793:     # removed, or if the value is a relative name.
                   2794:     MKDIR_P="$ac_install_sh -d"
                   2795:   fi
                   2796: fi
                   2797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2798: $as_echo "$MKDIR_P" >&6; }
                   2799: 
                   2800: for ac_prog in gawk mawk nawk awk
                   2801: do
                   2802:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2803: set dummy $ac_prog; ac_word=$2
                   2804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2805: $as_echo_n "checking for $ac_word... " >&6; }
                   2806: if ${ac_cv_prog_AWK+:} false; then :
                   2807:   $as_echo_n "(cached) " >&6
                   2808: else
                   2809:   if test -n "$AWK"; then
                   2810:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2811: else
                   2812: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2813: for as_dir in $PATH
                   2814: do
                   2815:   IFS=$as_save_IFS
                   2816:   test -z "$as_dir" && as_dir=.
                   2817:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    2818:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2819:     ac_cv_prog_AWK="$ac_prog"
                   2820:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2821:     break 2
                   2822:   fi
                   2823: done
                   2824:   done
                   2825: IFS=$as_save_IFS
                   2826: 
                   2827: fi
                   2828: fi
                   2829: AWK=$ac_cv_prog_AWK
                   2830: if test -n "$AWK"; then
                   2831:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2832: $as_echo "$AWK" >&6; }
                   2833: else
                   2834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2835: $as_echo "no" >&6; }
                   2836: fi
                   2837: 
                   2838: 
                   2839:   test -n "$AWK" && break
                   2840: done
                   2841: 
                   2842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2843: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2844: set x ${MAKE-make}
                   2845: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2846: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2847:   $as_echo_n "(cached) " >&6
                   2848: else
                   2849:   cat >conftest.make <<\_ACEOF
                   2850: SHELL = /bin/sh
                   2851: all:
                   2852:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2853: _ACEOF
                   2854: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2855: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2856:   *@@@%%%=?*=@@@%%%*)
                   2857:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2858:   *)
                   2859:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2860: esac
                   2861: rm -f conftest.make
                   2862: fi
                   2863: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2865: $as_echo "yes" >&6; }
                   2866:   SET_MAKE=
                   2867: else
                   2868:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2869: $as_echo "no" >&6; }
                   2870:   SET_MAKE="MAKE=${MAKE-make}"
                   2871: fi
                   2872: 
                   2873: rm -rf .tst 2>/dev/null
                   2874: mkdir .tst 2>/dev/null
                   2875: if test -d .tst; then
                   2876:   am__leading_dot=.
                   2877: else
                   2878:   am__leading_dot=_
                   2879: fi
                   2880: rmdir .tst 2>/dev/null
                   2881: 
                   2882: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2883:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2884:   # is not polluted with repeated "-I."
                   2885:   am__isrc=' -I$(srcdir)'
                   2886:   # test to see if srcdir already configured
                   2887:   if test -f $srcdir/config.status; then
                   2888:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2889:   fi
                   2890: fi
                   2891: 
                   2892: # test whether we have cygpath
                   2893: if test -z "$CYGPATH_W"; then
                   2894:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2895:     CYGPATH_W='cygpath -w'
                   2896:   else
                   2897:     CYGPATH_W=echo
                   2898:   fi
                   2899: fi
                   2900: 
                   2901: 
                   2902: # Define the identity of the package.
                   2903:  PACKAGE='smartmontools'
1.1.1.3 ! misho    2904:  VERSION='6.1'
1.1       misho    2905: 
                   2906: 
                   2907: cat >>confdefs.h <<_ACEOF
                   2908: #define PACKAGE "$PACKAGE"
                   2909: _ACEOF
                   2910: 
                   2911: 
                   2912: cat >>confdefs.h <<_ACEOF
                   2913: #define VERSION "$VERSION"
                   2914: _ACEOF
                   2915: 
                   2916: # Some tools Automake needs.
                   2917: 
                   2918: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2919: 
                   2920: 
                   2921: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2922: 
                   2923: 
                   2924: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2925: 
                   2926: 
                   2927: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2928: 
                   2929: 
                   2930: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2931: 
1.1.1.3 ! misho    2932: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          2933: # dies out for good.  For more background, see:
        !          2934: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          2935: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          2936: mkdir_p='$(MKDIR_P)'
        !          2937: 
1.1       misho    2938: # We need awk for the "check" target.  The system "awk" is bad on
                   2939: # some platforms.
1.1.1.2   misho    2940: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   2941: # in the wild :-(  We should find a proper way to deprecate it ...
                   2942: AMTAR='$${TAR-tar}'
1.1       misho    2943: 
1.1.1.2   misho    2944: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.1       misho    2945: 
                   2946: 
                   2947: 
                   2948: 
                   2949: 
                   2950: 
                   2951: 
                   2952: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   2953: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
                   2954:     # Check whether --enable-maintainer-mode was given.
                   2955: if test "${enable_maintainer_mode+set}" = set; then :
                   2956:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
                   2957: else
                   2958:   USE_MAINTAINER_MODE=no
                   2959: fi
                   2960: 
                   2961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
                   2962: $as_echo "$USE_MAINTAINER_MODE" >&6; }
                   2963:    if test $USE_MAINTAINER_MODE = yes; then
                   2964:   MAINTAINER_MODE_TRUE=
                   2965:   MAINTAINER_MODE_FALSE='#'
                   2966: else
                   2967:   MAINTAINER_MODE_TRUE='#'
                   2968:   MAINTAINER_MODE_FALSE=
                   2969: fi
                   2970: 
                   2971:   MAINT=$MAINTAINER_MODE_TRUE
                   2972: 
                   2973: 
                   2974: 
                   2975: ac_ext=cpp
                   2976: ac_cpp='$CXXCPP $CPPFLAGS'
                   2977: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2978: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2979: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2980: 
                   2981: ac_ext=cpp
                   2982: ac_cpp='$CXXCPP $CPPFLAGS'
                   2983: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2984: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2985: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2986: if test -z "$CXX"; then
                   2987:   if test -n "$CCC"; then
                   2988:     CXX=$CCC
                   2989:   else
                   2990:     if test -n "$ac_tool_prefix"; then
                   2991:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
                   2992:   do
                   2993:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2994: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2996: $as_echo_n "checking for $ac_word... " >&6; }
                   2997: if ${ac_cv_prog_CXX+:} false; then :
                   2998:   $as_echo_n "(cached) " >&6
                   2999: else
                   3000:   if test -n "$CXX"; then
                   3001:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   3002: else
                   3003: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3004: for as_dir in $PATH
                   3005: do
                   3006:   IFS=$as_save_IFS
                   3007:   test -z "$as_dir" && as_dir=.
                   3008:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3009:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3010:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   3011:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3012:     break 2
                   3013:   fi
                   3014: done
                   3015:   done
                   3016: IFS=$as_save_IFS
                   3017: 
                   3018: fi
                   3019: fi
                   3020: CXX=$ac_cv_prog_CXX
                   3021: if test -n "$CXX"; then
                   3022:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3023: $as_echo "$CXX" >&6; }
                   3024: else
                   3025:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3026: $as_echo "no" >&6; }
                   3027: fi
                   3028: 
                   3029: 
                   3030:     test -n "$CXX" && break
                   3031:   done
                   3032: fi
                   3033: if test -z "$CXX"; then
                   3034:   ac_ct_CXX=$CXX
                   3035:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
                   3036: do
                   3037:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3038: set dummy $ac_prog; ac_word=$2
                   3039: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3040: $as_echo_n "checking for $ac_word... " >&6; }
                   3041: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3042:   $as_echo_n "(cached) " >&6
                   3043: else
                   3044:   if test -n "$ac_ct_CXX"; then
                   3045:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   3046: else
                   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=.
                   3052:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3053:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3054:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   3055:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3056:     break 2
                   3057:   fi
                   3058: done
                   3059:   done
                   3060: IFS=$as_save_IFS
                   3061: 
                   3062: fi
                   3063: fi
                   3064: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3065: if test -n "$ac_ct_CXX"; then
                   3066:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3067: $as_echo "$ac_ct_CXX" >&6; }
                   3068: else
                   3069:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3070: $as_echo "no" >&6; }
                   3071: fi
                   3072: 
                   3073: 
                   3074:   test -n "$ac_ct_CXX" && break
                   3075: done
                   3076: 
                   3077:   if test "x$ac_ct_CXX" = x; then
                   3078:     CXX="g++"
                   3079:   else
                   3080:     case $cross_compiling:$ac_tool_warned in
                   3081: yes:)
                   3082: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3083: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3084: ac_tool_warned=yes ;;
                   3085: esac
                   3086:     CXX=$ac_ct_CXX
                   3087:   fi
                   3088: fi
                   3089: 
                   3090:   fi
                   3091: fi
                   3092: # Provide some information about the compiler.
                   3093: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3094: set X $ac_compile
                   3095: ac_compiler=$2
                   3096: for ac_option in --version -v -V -qversion; do
                   3097:   { { ac_try="$ac_compiler $ac_option >&5"
                   3098: case "(($ac_try" in
                   3099:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3100:   *) ac_try_echo=$ac_try;;
                   3101: esac
                   3102: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3103: $as_echo "$ac_try_echo"; } >&5
                   3104:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3105:   ac_status=$?
                   3106:   if test -s conftest.err; then
                   3107:     sed '10a\
                   3108: ... rest of stderr output deleted ...
                   3109:          10q' conftest.err >conftest.er1
                   3110:     cat conftest.er1 >&5
                   3111:   fi
                   3112:   rm -f conftest.er1 conftest.err
                   3113:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3114:   test $ac_status = 0; }
                   3115: done
                   3116: 
                   3117: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3118: /* end confdefs.h.  */
                   3119: 
                   3120: int
                   3121: main ()
                   3122: {
                   3123: 
                   3124:   ;
                   3125:   return 0;
                   3126: }
                   3127: _ACEOF
                   3128: ac_clean_files_save=$ac_clean_files
                   3129: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3130: # Try to create an executable without -o first, disregard a.out.
                   3131: # It will help us diagnose broken compilers, and finding out an intuition
                   3132: # of exeext.
                   3133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3134: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3135: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3136: 
                   3137: # The possible output files:
                   3138: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3139: 
                   3140: ac_rmfiles=
                   3141: for ac_file in $ac_files
                   3142: do
                   3143:   case $ac_file in
                   3144:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3145:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3146:   esac
                   3147: done
                   3148: rm -f $ac_rmfiles
                   3149: 
                   3150: if { { ac_try="$ac_link_default"
                   3151: case "(($ac_try" in
                   3152:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3153:   *) ac_try_echo=$ac_try;;
                   3154: esac
                   3155: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3156: $as_echo "$ac_try_echo"; } >&5
                   3157:   (eval "$ac_link_default") 2>&5
                   3158:   ac_status=$?
                   3159:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3160:   test $ac_status = 0; }; then :
                   3161:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3162: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3163: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3164: # so that the user can short-circuit this test for compilers unknown to
                   3165: # Autoconf.
                   3166: for ac_file in $ac_files ''
                   3167: do
                   3168:   test -f "$ac_file" || continue
                   3169:   case $ac_file in
                   3170:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3171:        ;;
                   3172:     [ab].out )
                   3173:        # We found the default executable, but exeext='' is most
                   3174:        # certainly right.
                   3175:        break;;
                   3176:     *.* )
                   3177:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3178:        then :; else
                   3179:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3180:        fi
                   3181:        # We set ac_cv_exeext here because the later test for it is not
                   3182:        # safe: cross compilers may not add the suffix if given an `-o'
                   3183:        # argument, so we may need to know it at that point already.
                   3184:        # Even if this section looks crufty: it has the advantage of
                   3185:        # actually working.
                   3186:        break;;
                   3187:     * )
                   3188:        break;;
                   3189:   esac
                   3190: done
                   3191: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3192: 
                   3193: else
                   3194:   ac_file=''
                   3195: fi
                   3196: if test -z "$ac_file"; then :
                   3197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3198: $as_echo "no" >&6; }
                   3199: $as_echo "$as_me: failed program was:" >&5
                   3200: sed 's/^/| /' conftest.$ac_ext >&5
                   3201: 
                   3202: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3203: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3204: as_fn_error 77 "C++ compiler cannot create executables
1.1.1.3 ! misho    3205: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3206: else
                   3207:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3208: $as_echo "yes" >&6; }
                   3209: fi
                   3210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3211: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3213: $as_echo "$ac_file" >&6; }
                   3214: ac_exeext=$ac_cv_exeext
                   3215: 
                   3216: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3217: ac_clean_files=$ac_clean_files_save
                   3218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3219: $as_echo_n "checking for suffix of executables... " >&6; }
                   3220: if { { ac_try="$ac_link"
                   3221: case "(($ac_try" in
                   3222:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3223:   *) ac_try_echo=$ac_try;;
                   3224: esac
                   3225: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3226: $as_echo "$ac_try_echo"; } >&5
                   3227:   (eval "$ac_link") 2>&5
                   3228:   ac_status=$?
                   3229:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3230:   test $ac_status = 0; }; then :
                   3231:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3232: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3233: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3234: # `rm'.
                   3235: for ac_file in conftest.exe conftest conftest.*; do
                   3236:   test -f "$ac_file" || continue
                   3237:   case $ac_file in
                   3238:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3239:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3240:          break;;
                   3241:     * ) break;;
                   3242:   esac
                   3243: done
                   3244: else
                   3245:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3246: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3247: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.1.1.3 ! misho    3248: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3249: fi
                   3250: rm -f conftest conftest$ac_cv_exeext
                   3251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3252: $as_echo "$ac_cv_exeext" >&6; }
                   3253: 
                   3254: rm -f conftest.$ac_ext
                   3255: EXEEXT=$ac_cv_exeext
                   3256: ac_exeext=$EXEEXT
                   3257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3258: /* end confdefs.h.  */
                   3259: #include <stdio.h>
                   3260: int
                   3261: main ()
                   3262: {
                   3263: FILE *f = fopen ("conftest.out", "w");
                   3264:  return ferror (f) || fclose (f) != 0;
                   3265: 
                   3266:   ;
                   3267:   return 0;
                   3268: }
                   3269: _ACEOF
                   3270: ac_clean_files="$ac_clean_files conftest.out"
                   3271: # Check that the compiler produces executables we can run.  If not, either
                   3272: # the compiler is broken, or we cross compile.
                   3273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3274: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3275: if test "$cross_compiling" != yes; then
                   3276:   { { ac_try="$ac_link"
                   3277: case "(($ac_try" in
                   3278:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3279:   *) ac_try_echo=$ac_try;;
                   3280: esac
                   3281: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3282: $as_echo "$ac_try_echo"; } >&5
                   3283:   (eval "$ac_link") 2>&5
                   3284:   ac_status=$?
                   3285:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3286:   test $ac_status = 0; }
                   3287:   if { ac_try='./conftest$ac_cv_exeext'
                   3288:   { { case "(($ac_try" in
                   3289:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3290:   *) ac_try_echo=$ac_try;;
                   3291: esac
                   3292: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3293: $as_echo "$ac_try_echo"; } >&5
                   3294:   (eval "$ac_try") 2>&5
                   3295:   ac_status=$?
                   3296:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3297:   test $ac_status = 0; }; }; then
                   3298:     cross_compiling=no
                   3299:   else
                   3300:     if test "$cross_compiling" = maybe; then
                   3301:        cross_compiling=yes
                   3302:     else
                   3303:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3304: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3305: as_fn_error $? "cannot run C++ compiled programs.
                   3306: If you meant to cross compile, use \`--host'.
1.1.1.3 ! misho    3307: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3308:     fi
                   3309:   fi
                   3310: fi
                   3311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3312: $as_echo "$cross_compiling" >&6; }
                   3313: 
                   3314: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3315: ac_clean_files=$ac_clean_files_save
                   3316: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3317: $as_echo_n "checking for suffix of object files... " >&6; }
                   3318: if ${ac_cv_objext+:} false; then :
                   3319:   $as_echo_n "(cached) " >&6
                   3320: else
                   3321:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3322: /* end confdefs.h.  */
                   3323: 
                   3324: int
                   3325: main ()
                   3326: {
                   3327: 
                   3328:   ;
                   3329:   return 0;
                   3330: }
                   3331: _ACEOF
                   3332: rm -f conftest.o conftest.obj
                   3333: if { { ac_try="$ac_compile"
                   3334: case "(($ac_try" in
                   3335:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3336:   *) ac_try_echo=$ac_try;;
                   3337: esac
                   3338: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3339: $as_echo "$ac_try_echo"; } >&5
                   3340:   (eval "$ac_compile") 2>&5
                   3341:   ac_status=$?
                   3342:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3343:   test $ac_status = 0; }; then :
                   3344:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3345:   test -f "$ac_file" || continue;
                   3346:   case $ac_file in
                   3347:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3348:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3349:        break;;
                   3350:   esac
                   3351: done
                   3352: else
                   3353:   $as_echo "$as_me: failed program was:" >&5
                   3354: sed 's/^/| /' conftest.$ac_ext >&5
                   3355: 
                   3356: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3357: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3358: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.1.1.3 ! misho    3359: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3360: fi
                   3361: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3362: fi
                   3363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3364: $as_echo "$ac_cv_objext" >&6; }
                   3365: OBJEXT=$ac_cv_objext
                   3366: ac_objext=$OBJEXT
                   3367: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3368: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3369: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3370:   $as_echo_n "(cached) " >&6
                   3371: else
                   3372:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3373: /* end confdefs.h.  */
                   3374: 
                   3375: int
                   3376: main ()
                   3377: {
                   3378: #ifndef __GNUC__
                   3379:        choke me
                   3380: #endif
                   3381: 
                   3382:   ;
                   3383:   return 0;
                   3384: }
                   3385: _ACEOF
                   3386: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3387:   ac_compiler_gnu=yes
                   3388: else
                   3389:   ac_compiler_gnu=no
                   3390: fi
                   3391: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3392: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   3393: 
                   3394: fi
                   3395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3396: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3397: if test $ac_compiler_gnu = yes; then
                   3398:   GXX=yes
                   3399: else
                   3400:   GXX=
                   3401: fi
                   3402: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3403: ac_save_CXXFLAGS=$CXXFLAGS
                   3404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3405: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3406: if ${ac_cv_prog_cxx_g+:} false; then :
                   3407:   $as_echo_n "(cached) " >&6
                   3408: else
                   3409:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3410:    ac_cxx_werror_flag=yes
                   3411:    ac_cv_prog_cxx_g=no
                   3412:    CXXFLAGS="-g"
                   3413:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3414: /* end confdefs.h.  */
                   3415: 
                   3416: int
                   3417: main ()
                   3418: {
                   3419: 
                   3420:   ;
                   3421:   return 0;
                   3422: }
                   3423: _ACEOF
                   3424: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3425:   ac_cv_prog_cxx_g=yes
                   3426: else
                   3427:   CXXFLAGS=""
                   3428:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3429: /* end confdefs.h.  */
                   3430: 
                   3431: int
                   3432: main ()
                   3433: {
                   3434: 
                   3435:   ;
                   3436:   return 0;
                   3437: }
                   3438: _ACEOF
                   3439: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3440: 
                   3441: else
                   3442:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3443:         CXXFLAGS="-g"
                   3444:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3445: /* end confdefs.h.  */
                   3446: 
                   3447: int
                   3448: main ()
                   3449: {
                   3450: 
                   3451:   ;
                   3452:   return 0;
                   3453: }
                   3454: _ACEOF
                   3455: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3456:   ac_cv_prog_cxx_g=yes
                   3457: fi
                   3458: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3459: fi
                   3460: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3461: fi
                   3462: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3463:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3464: fi
                   3465: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3466: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3467: if test "$ac_test_CXXFLAGS" = set; then
                   3468:   CXXFLAGS=$ac_save_CXXFLAGS
                   3469: elif test $ac_cv_prog_cxx_g = yes; then
                   3470:   if test "$GXX" = yes; then
                   3471:     CXXFLAGS="-g -O2"
                   3472:   else
                   3473:     CXXFLAGS="-g"
                   3474:   fi
                   3475: else
                   3476:   if test "$GXX" = yes; then
                   3477:     CXXFLAGS="-O2"
                   3478:   else
                   3479:     CXXFLAGS=
                   3480:   fi
                   3481: fi
                   3482: ac_ext=cpp
                   3483: ac_cpp='$CXXCPP $CPPFLAGS'
                   3484: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3485: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3486: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   3487: DEPDIR="${am__leading_dot}deps"
                   3488: 
                   3489: ac_config_commands="$ac_config_commands depfiles"
                   3490: 
                   3491: 
                   3492: am_make=${MAKE-make}
                   3493: cat > confinc << 'END'
                   3494: am__doit:
                   3495:        @echo this is the am__doit target
                   3496: .PHONY: am__doit
                   3497: END
                   3498: # If we don't find an include directive, just comment out the code.
                   3499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3500: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3501: am__include="#"
                   3502: am__quote=
                   3503: _am_result=none
                   3504: # First try GNU make style include.
                   3505: echo "include confinc" > confmf
1.1.1.3 ! misho    3506: # Ignore all kinds of additional output from 'make'.
1.1       misho    3507: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3508: *the\ am__doit\ target*)
                   3509:   am__include=include
                   3510:   am__quote=
                   3511:   _am_result=GNU
                   3512:   ;;
                   3513: esac
                   3514: # Now try BSD make style include.
                   3515: if test "$am__include" = "#"; then
                   3516:    echo '.include "confinc"' > confmf
                   3517:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3518:    *the\ am__doit\ target*)
                   3519:      am__include=.include
                   3520:      am__quote="\""
                   3521:      _am_result=BSD
                   3522:      ;;
                   3523:    esac
                   3524: fi
                   3525: 
                   3526: 
                   3527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3528: $as_echo "$_am_result" >&6; }
                   3529: rm -f confinc confmf
                   3530: 
                   3531: # Check whether --enable-dependency-tracking was given.
                   3532: if test "${enable_dependency_tracking+set}" = set; then :
                   3533:   enableval=$enable_dependency_tracking;
                   3534: fi
                   3535: 
                   3536: if test "x$enable_dependency_tracking" != xno; then
                   3537:   am_depcomp="$ac_aux_dir/depcomp"
                   3538:   AMDEPBACKSLASH='\'
1.1.1.2   misho    3539:   am__nodep='_no'
1.1       misho    3540: fi
                   3541:  if test "x$enable_dependency_tracking" != xno; then
                   3542:   AMDEP_TRUE=
                   3543:   AMDEP_FALSE='#'
                   3544: else
                   3545:   AMDEP_TRUE='#'
                   3546:   AMDEP_FALSE=
                   3547: fi
                   3548: 
                   3549: 
                   3550: 
                   3551: depcc="$CXX"  am_compiler_list=
                   3552: 
                   3553: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3554: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3555: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3556:   $as_echo_n "(cached) " >&6
                   3557: else
                   3558:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3559:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3560:   # making bogus files that we don't know about and never remove.  For
                   3561:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.3 ! misho    3562:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          3563:   # in D".
1.1.1.2   misho    3564:   rm -rf conftest.dir
1.1       misho    3565:   mkdir conftest.dir
                   3566:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3567:   # using a relative directory.
                   3568:   cp "$am_depcomp" conftest.dir
                   3569:   cd conftest.dir
                   3570:   # We will build objects and dependencies in a subdirectory because
                   3571:   # it helps to detect inapplicable dependency modes.  For instance
                   3572:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3573:   # side effect of compilation, but ICC will put the dependencies in
                   3574:   # the current directory while Tru64 will put them in the object
                   3575:   # directory.
                   3576:   mkdir sub
                   3577: 
                   3578:   am_cv_CXX_dependencies_compiler_type=none
                   3579:   if test "$am_compiler_list" = ""; then
                   3580:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3581:   fi
                   3582:   am__universal=false
                   3583:   case " $depcc " in #(
                   3584:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3585:      esac
                   3586: 
                   3587:   for depmode in $am_compiler_list; do
                   3588:     # Setup a source with many dependencies, because some compilers
                   3589:     # like to wrap large dependency lists on column 80 (with \), and
                   3590:     # we should not choose a depcomp mode which is confused by this.
                   3591:     #
                   3592:     # We need to recreate these files for each test, as the compiler may
                   3593:     # overwrite some of them when testing with obscure command lines.
                   3594:     # This happens at least with the AIX C compiler.
                   3595:     : > sub/conftest.c
                   3596:     for i in 1 2 3 4 5 6; do
                   3597:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.3 ! misho    3598:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          3599:       # Solaris 10 /bin/sh.
        !          3600:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    3601:     done
                   3602:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3603: 
1.1.1.3 ! misho    3604:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    3605:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.3 ! misho    3606:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          3607:     # versions had trouble with output in subdirs.
1.1       misho    3608:     am__obj=sub/conftest.${OBJEXT-o}
                   3609:     am__minus_obj="-o $am__obj"
                   3610:     case $depmode in
                   3611:     gcc)
                   3612:       # This depmode causes a compiler race in universal mode.
                   3613:       test "$am__universal" = false || continue
                   3614:       ;;
                   3615:     nosideeffect)
1.1.1.3 ! misho    3616:       # After this tag, mechanisms are not by side-effect, so they'll
        !          3617:       # only be used when explicitly requested.
1.1       misho    3618:       if test "x$enable_dependency_tracking" = xyes; then
                   3619:        continue
                   3620:       else
                   3621:        break
                   3622:       fi
                   3623:       ;;
1.1.1.2   misho    3624:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.1.1.3 ! misho    3625:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    3626:       # not run yet.  These depmodes are late enough in the game, and
                   3627:       # so weak that their functioning should not be impacted.
                   3628:       am__obj=conftest.${OBJEXT-o}
                   3629:       am__minus_obj=
                   3630:       ;;
                   3631:     none) break ;;
                   3632:     esac
                   3633:     if depmode=$depmode \
                   3634:        source=sub/conftest.c object=$am__obj \
                   3635:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3636:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3637:          >/dev/null 2>conftest.err &&
                   3638:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3639:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3640:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   3641:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3642:       # icc doesn't choke on unknown options, it will just issue warnings
                   3643:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3644:       # that says an option was ignored or not supported.
                   3645:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3646:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3647:       # The diagnosis changed in icc 8.0:
                   3648:       #   icc: Command line remark: option '-MP' not supported
                   3649:       if (grep 'ignoring option' conftest.err ||
                   3650:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3651:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3652:         break
                   3653:       fi
                   3654:     fi
                   3655:   done
                   3656: 
                   3657:   cd ..
                   3658:   rm -rf conftest.dir
                   3659: else
                   3660:   am_cv_CXX_dependencies_compiler_type=none
                   3661: fi
                   3662: 
                   3663: fi
                   3664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3665: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
                   3666: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3667: 
                   3668:  if
                   3669:   test "x$enable_dependency_tracking" != xno \
                   3670:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3671:   am__fastdepCXX_TRUE=
                   3672:   am__fastdepCXX_FALSE='#'
                   3673: else
                   3674:   am__fastdepCXX_TRUE='#'
                   3675:   am__fastdepCXX_FALSE=
                   3676: fi
                   3677: 
                   3678: 
                   3679: ac_ext=c
                   3680: ac_cpp='$CPP $CPPFLAGS'
                   3681: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3682: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3683: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3684: if test -n "$ac_tool_prefix"; then
                   3685:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3686: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3688: $as_echo_n "checking for $ac_word... " >&6; }
                   3689: if ${ac_cv_prog_CC+:} false; then :
                   3690:   $as_echo_n "(cached) " >&6
                   3691: else
                   3692:   if test -n "$CC"; then
                   3693:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3694: else
                   3695: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3696: for as_dir in $PATH
                   3697: do
                   3698:   IFS=$as_save_IFS
                   3699:   test -z "$as_dir" && as_dir=.
                   3700:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3701:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3702:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3703:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3704:     break 2
                   3705:   fi
                   3706: done
                   3707:   done
                   3708: IFS=$as_save_IFS
                   3709: 
                   3710: fi
                   3711: fi
                   3712: CC=$ac_cv_prog_CC
                   3713: if test -n "$CC"; then
                   3714:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3715: $as_echo "$CC" >&6; }
                   3716: else
                   3717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3718: $as_echo "no" >&6; }
                   3719: fi
                   3720: 
                   3721: 
                   3722: fi
                   3723: if test -z "$ac_cv_prog_CC"; then
                   3724:   ac_ct_CC=$CC
                   3725:   # Extract the first word of "gcc", so it can be a program name with args.
                   3726: set dummy gcc; ac_word=$2
                   3727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3728: $as_echo_n "checking for $ac_word... " >&6; }
                   3729: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3730:   $as_echo_n "(cached) " >&6
                   3731: else
                   3732:   if test -n "$ac_ct_CC"; then
                   3733:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3734: else
                   3735: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3736: for as_dir in $PATH
                   3737: do
                   3738:   IFS=$as_save_IFS
                   3739:   test -z "$as_dir" && as_dir=.
                   3740:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3741:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3742:     ac_cv_prog_ac_ct_CC="gcc"
                   3743:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3744:     break 2
                   3745:   fi
                   3746: done
                   3747:   done
                   3748: IFS=$as_save_IFS
                   3749: 
                   3750: fi
                   3751: fi
                   3752: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3753: if test -n "$ac_ct_CC"; then
                   3754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3755: $as_echo "$ac_ct_CC" >&6; }
                   3756: else
                   3757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3758: $as_echo "no" >&6; }
                   3759: fi
                   3760: 
                   3761:   if test "x$ac_ct_CC" = x; then
                   3762:     CC=""
                   3763:   else
                   3764:     case $cross_compiling:$ac_tool_warned in
                   3765: yes:)
                   3766: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3767: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3768: ac_tool_warned=yes ;;
                   3769: esac
                   3770:     CC=$ac_ct_CC
                   3771:   fi
                   3772: else
                   3773:   CC="$ac_cv_prog_CC"
                   3774: fi
                   3775: 
                   3776: if test -z "$CC"; then
                   3777:           if test -n "$ac_tool_prefix"; then
                   3778:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3779: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3780: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3781: $as_echo_n "checking for $ac_word... " >&6; }
                   3782: if ${ac_cv_prog_CC+:} false; then :
                   3783:   $as_echo_n "(cached) " >&6
                   3784: else
                   3785:   if test -n "$CC"; then
                   3786:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3787: else
                   3788: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3789: for as_dir in $PATH
                   3790: do
                   3791:   IFS=$as_save_IFS
                   3792:   test -z "$as_dir" && as_dir=.
                   3793:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3794:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3795:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3796:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3797:     break 2
                   3798:   fi
                   3799: done
                   3800:   done
                   3801: IFS=$as_save_IFS
                   3802: 
                   3803: fi
                   3804: fi
                   3805: CC=$ac_cv_prog_CC
                   3806: if test -n "$CC"; then
                   3807:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3808: $as_echo "$CC" >&6; }
                   3809: else
                   3810:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3811: $as_echo "no" >&6; }
                   3812: fi
                   3813: 
                   3814: 
                   3815:   fi
                   3816: fi
                   3817: if test -z "$CC"; then
                   3818:   # Extract the first word of "cc", so it can be a program name with args.
                   3819: set dummy cc; ac_word=$2
                   3820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3821: $as_echo_n "checking for $ac_word... " >&6; }
                   3822: if ${ac_cv_prog_CC+:} false; then :
                   3823:   $as_echo_n "(cached) " >&6
                   3824: else
                   3825:   if test -n "$CC"; then
                   3826:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3827: else
                   3828:   ac_prog_rejected=no
                   3829: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3830: for as_dir in $PATH
                   3831: do
                   3832:   IFS=$as_save_IFS
                   3833:   test -z "$as_dir" && as_dir=.
                   3834:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3835:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3836:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3837:        ac_prog_rejected=yes
                   3838:        continue
                   3839:      fi
                   3840:     ac_cv_prog_CC="cc"
                   3841:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3842:     break 2
                   3843:   fi
                   3844: done
                   3845:   done
                   3846: IFS=$as_save_IFS
                   3847: 
                   3848: if test $ac_prog_rejected = yes; then
                   3849:   # We found a bogon in the path, so make sure we never use it.
                   3850:   set dummy $ac_cv_prog_CC
                   3851:   shift
                   3852:   if test $# != 0; then
                   3853:     # We chose a different compiler from the bogus one.
                   3854:     # However, it has the same basename, so the bogon will be chosen
                   3855:     # first if we set CC to just the basename; use the full file name.
                   3856:     shift
                   3857:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3858:   fi
                   3859: fi
                   3860: fi
                   3861: fi
                   3862: CC=$ac_cv_prog_CC
                   3863: if test -n "$CC"; then
                   3864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3865: $as_echo "$CC" >&6; }
                   3866: else
                   3867:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3868: $as_echo "no" >&6; }
                   3869: fi
                   3870: 
                   3871: 
                   3872: fi
                   3873: if test -z "$CC"; then
                   3874:   if test -n "$ac_tool_prefix"; then
                   3875:   for ac_prog in cl.exe
                   3876:   do
                   3877:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3878: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3880: $as_echo_n "checking for $ac_word... " >&6; }
                   3881: if ${ac_cv_prog_CC+:} false; then :
                   3882:   $as_echo_n "(cached) " >&6
                   3883: else
                   3884:   if test -n "$CC"; then
                   3885:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3886: else
                   3887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3888: for as_dir in $PATH
                   3889: do
                   3890:   IFS=$as_save_IFS
                   3891:   test -z "$as_dir" && as_dir=.
                   3892:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3893:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3894:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3895:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3896:     break 2
                   3897:   fi
                   3898: done
                   3899:   done
                   3900: IFS=$as_save_IFS
                   3901: 
                   3902: fi
                   3903: fi
                   3904: CC=$ac_cv_prog_CC
                   3905: if test -n "$CC"; then
                   3906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3907: $as_echo "$CC" >&6; }
                   3908: else
                   3909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3910: $as_echo "no" >&6; }
                   3911: fi
                   3912: 
                   3913: 
                   3914:     test -n "$CC" && break
                   3915:   done
                   3916: fi
                   3917: if test -z "$CC"; then
                   3918:   ac_ct_CC=$CC
                   3919:   for ac_prog in cl.exe
                   3920: do
                   3921:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3922: set dummy $ac_prog; ac_word=$2
                   3923: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3924: $as_echo_n "checking for $ac_word... " >&6; }
                   3925: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3926:   $as_echo_n "(cached) " >&6
                   3927: else
                   3928:   if test -n "$ac_ct_CC"; then
                   3929:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3930: else
                   3931: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3932: for as_dir in $PATH
                   3933: do
                   3934:   IFS=$as_save_IFS
                   3935:   test -z "$as_dir" && as_dir=.
                   3936:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    3937:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3938:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3939:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3940:     break 2
                   3941:   fi
                   3942: done
                   3943:   done
                   3944: IFS=$as_save_IFS
                   3945: 
                   3946: fi
                   3947: fi
                   3948: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3949: if test -n "$ac_ct_CC"; then
                   3950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3951: $as_echo "$ac_ct_CC" >&6; }
                   3952: else
                   3953:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3954: $as_echo "no" >&6; }
                   3955: fi
                   3956: 
                   3957: 
                   3958:   test -n "$ac_ct_CC" && break
                   3959: done
                   3960: 
                   3961:   if test "x$ac_ct_CC" = x; then
                   3962:     CC=""
                   3963:   else
                   3964:     case $cross_compiling:$ac_tool_warned in
                   3965: yes:)
                   3966: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3967: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3968: ac_tool_warned=yes ;;
                   3969: esac
                   3970:     CC=$ac_ct_CC
                   3971:   fi
                   3972: fi
                   3973: 
                   3974: fi
                   3975: 
                   3976: 
                   3977: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3978: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3979: as_fn_error $? "no acceptable C compiler found in \$PATH
1.1.1.3 ! misho    3980: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3981: 
                   3982: # Provide some information about the compiler.
                   3983: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3984: set X $ac_compile
                   3985: ac_compiler=$2
                   3986: for ac_option in --version -v -V -qversion; do
                   3987:   { { ac_try="$ac_compiler $ac_option >&5"
                   3988: case "(($ac_try" in
                   3989:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3990:   *) ac_try_echo=$ac_try;;
                   3991: esac
                   3992: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3993: $as_echo "$ac_try_echo"; } >&5
                   3994:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3995:   ac_status=$?
                   3996:   if test -s conftest.err; then
                   3997:     sed '10a\
                   3998: ... rest of stderr output deleted ...
                   3999:          10q' conftest.err >conftest.er1
                   4000:     cat conftest.er1 >&5
                   4001:   fi
                   4002:   rm -f conftest.er1 conftest.err
                   4003:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4004:   test $ac_status = 0; }
                   4005: done
                   4006: 
                   4007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4008: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4009: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4010:   $as_echo_n "(cached) " >&6
                   4011: else
                   4012:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4013: /* end confdefs.h.  */
                   4014: 
                   4015: int
                   4016: main ()
                   4017: {
                   4018: #ifndef __GNUC__
                   4019:        choke me
                   4020: #endif
                   4021: 
                   4022:   ;
                   4023:   return 0;
                   4024: }
                   4025: _ACEOF
                   4026: if ac_fn_c_try_compile "$LINENO"; then :
                   4027:   ac_compiler_gnu=yes
                   4028: else
                   4029:   ac_compiler_gnu=no
                   4030: fi
                   4031: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4032: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4033: 
                   4034: fi
                   4035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4036: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4037: if test $ac_compiler_gnu = yes; then
                   4038:   GCC=yes
                   4039: else
                   4040:   GCC=
                   4041: fi
                   4042: ac_test_CFLAGS=${CFLAGS+set}
                   4043: ac_save_CFLAGS=$CFLAGS
                   4044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4045: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4046: if ${ac_cv_prog_cc_g+:} false; then :
                   4047:   $as_echo_n "(cached) " >&6
                   4048: else
                   4049:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4050:    ac_c_werror_flag=yes
                   4051:    ac_cv_prog_cc_g=no
                   4052:    CFLAGS="-g"
                   4053:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4054: /* end confdefs.h.  */
                   4055: 
                   4056: int
                   4057: main ()
                   4058: {
                   4059: 
                   4060:   ;
                   4061:   return 0;
                   4062: }
                   4063: _ACEOF
                   4064: if ac_fn_c_try_compile "$LINENO"; then :
                   4065:   ac_cv_prog_cc_g=yes
                   4066: else
                   4067:   CFLAGS=""
                   4068:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4069: /* end confdefs.h.  */
                   4070: 
                   4071: int
                   4072: main ()
                   4073: {
                   4074: 
                   4075:   ;
                   4076:   return 0;
                   4077: }
                   4078: _ACEOF
                   4079: if ac_fn_c_try_compile "$LINENO"; then :
                   4080: 
                   4081: else
                   4082:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4083:         CFLAGS="-g"
                   4084:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4085: /* end confdefs.h.  */
                   4086: 
                   4087: int
                   4088: main ()
                   4089: {
                   4090: 
                   4091:   ;
                   4092:   return 0;
                   4093: }
                   4094: _ACEOF
                   4095: if ac_fn_c_try_compile "$LINENO"; then :
                   4096:   ac_cv_prog_cc_g=yes
                   4097: fi
                   4098: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4099: fi
                   4100: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4101: fi
                   4102: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4103:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4104: fi
                   4105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4106: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   4107: if test "$ac_test_CFLAGS" = set; then
                   4108:   CFLAGS=$ac_save_CFLAGS
                   4109: elif test $ac_cv_prog_cc_g = yes; then
                   4110:   if test "$GCC" = yes; then
                   4111:     CFLAGS="-g -O2"
                   4112:   else
                   4113:     CFLAGS="-g"
                   4114:   fi
                   4115: else
                   4116:   if test "$GCC" = yes; then
                   4117:     CFLAGS="-O2"
                   4118:   else
                   4119:     CFLAGS=
                   4120:   fi
                   4121: fi
                   4122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4123: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4124: if ${ac_cv_prog_cc_c89+:} false; then :
                   4125:   $as_echo_n "(cached) " >&6
                   4126: else
                   4127:   ac_cv_prog_cc_c89=no
                   4128: ac_save_CC=$CC
                   4129: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4130: /* end confdefs.h.  */
                   4131: #include <stdarg.h>
                   4132: #include <stdio.h>
1.1.1.3 ! misho    4133: struct stat;
1.1       misho    4134: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4135: struct buf { int x; };
                   4136: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4137: static char *e (p, i)
                   4138:      char **p;
                   4139:      int i;
                   4140: {
                   4141:   return p[i];
                   4142: }
                   4143: static char *f (char * (*g) (char **, int), char **p, ...)
                   4144: {
                   4145:   char *s;
                   4146:   va_list v;
                   4147:   va_start (v,p);
                   4148:   s = g (p, va_arg (v,int));
                   4149:   va_end (v);
                   4150:   return s;
                   4151: }
                   4152: 
                   4153: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4154:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4155:    These don't provoke an error unfortunately, instead are silently treated
                   4156:    as 'x'.  The following induces an error, until -std is added to get
                   4157:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4158:    array size at least.  It's necessary to write '\x00'==0 to get something
                   4159:    that's true only with -std.  */
                   4160: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4161: 
                   4162: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4163:    inside strings and character constants.  */
                   4164: #define FOO(x) 'x'
                   4165: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4166: 
                   4167: int test (int i, double x);
                   4168: struct s1 {int (*f) (int a);};
                   4169: struct s2 {int (*f) (double a);};
                   4170: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4171: int argc;
                   4172: char **argv;
                   4173: int
                   4174: main ()
                   4175: {
                   4176: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4177:   ;
                   4178:   return 0;
                   4179: }
                   4180: _ACEOF
                   4181: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4182:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   4183: do
                   4184:   CC="$ac_save_CC $ac_arg"
                   4185:   if ac_fn_c_try_compile "$LINENO"; then :
                   4186:   ac_cv_prog_cc_c89=$ac_arg
                   4187: fi
                   4188: rm -f core conftest.err conftest.$ac_objext
                   4189:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4190: done
                   4191: rm -f conftest.$ac_ext
                   4192: CC=$ac_save_CC
                   4193: 
                   4194: fi
                   4195: # AC_CACHE_VAL
                   4196: case "x$ac_cv_prog_cc_c89" in
                   4197:   x)
                   4198:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4199: $as_echo "none needed" >&6; } ;;
                   4200:   xno)
                   4201:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4202: $as_echo "unsupported" >&6; } ;;
                   4203:   *)
                   4204:     CC="$CC $ac_cv_prog_cc_c89"
                   4205:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4206: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   4207: esac
                   4208: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   4209: 
                   4210: fi
                   4211: 
                   4212: ac_ext=cpp
                   4213: ac_cpp='$CXXCPP $CPPFLAGS'
                   4214: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4215: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4216: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4217: 
                   4218: depcc="$CC"   am_compiler_list=
                   4219: 
                   4220: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4221: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4222: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4223:   $as_echo_n "(cached) " >&6
                   4224: else
                   4225:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4226:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4227:   # making bogus files that we don't know about and never remove.  For
                   4228:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.3 ! misho    4229:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          4230:   # in D".
1.1.1.2   misho    4231:   rm -rf conftest.dir
1.1       misho    4232:   mkdir conftest.dir
                   4233:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4234:   # using a relative directory.
                   4235:   cp "$am_depcomp" conftest.dir
                   4236:   cd conftest.dir
                   4237:   # We will build objects and dependencies in a subdirectory because
                   4238:   # it helps to detect inapplicable dependency modes.  For instance
                   4239:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4240:   # side effect of compilation, but ICC will put the dependencies in
                   4241:   # the current directory while Tru64 will put them in the object
                   4242:   # directory.
                   4243:   mkdir sub
                   4244: 
                   4245:   am_cv_CC_dependencies_compiler_type=none
                   4246:   if test "$am_compiler_list" = ""; then
                   4247:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4248:   fi
                   4249:   am__universal=false
                   4250:   case " $depcc " in #(
                   4251:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4252:      esac
                   4253: 
                   4254:   for depmode in $am_compiler_list; do
                   4255:     # Setup a source with many dependencies, because some compilers
                   4256:     # like to wrap large dependency lists on column 80 (with \), and
                   4257:     # we should not choose a depcomp mode which is confused by this.
                   4258:     #
                   4259:     # We need to recreate these files for each test, as the compiler may
                   4260:     # overwrite some of them when testing with obscure command lines.
                   4261:     # This happens at least with the AIX C compiler.
                   4262:     : > sub/conftest.c
                   4263:     for i in 1 2 3 4 5 6; do
                   4264:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.3 ! misho    4265:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          4266:       # Solaris 10 /bin/sh.
        !          4267:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    4268:     done
                   4269:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4270: 
1.1.1.3 ! misho    4271:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    4272:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.3 ! misho    4273:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          4274:     # versions had trouble with output in subdirs.
1.1       misho    4275:     am__obj=sub/conftest.${OBJEXT-o}
                   4276:     am__minus_obj="-o $am__obj"
                   4277:     case $depmode in
                   4278:     gcc)
                   4279:       # This depmode causes a compiler race in universal mode.
                   4280:       test "$am__universal" = false || continue
                   4281:       ;;
                   4282:     nosideeffect)
1.1.1.3 ! misho    4283:       # After this tag, mechanisms are not by side-effect, so they'll
        !          4284:       # only be used when explicitly requested.
1.1       misho    4285:       if test "x$enable_dependency_tracking" = xyes; then
                   4286:        continue
                   4287:       else
                   4288:        break
                   4289:       fi
                   4290:       ;;
1.1.1.2   misho    4291:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.1.1.3 ! misho    4292:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    4293:       # not run yet.  These depmodes are late enough in the game, and
                   4294:       # so weak that their functioning should not be impacted.
                   4295:       am__obj=conftest.${OBJEXT-o}
                   4296:       am__minus_obj=
                   4297:       ;;
                   4298:     none) break ;;
                   4299:     esac
                   4300:     if depmode=$depmode \
                   4301:        source=sub/conftest.c object=$am__obj \
                   4302:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4303:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4304:          >/dev/null 2>conftest.err &&
                   4305:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4306:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4307:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4308:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4309:       # icc doesn't choke on unknown options, it will just issue warnings
                   4310:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4311:       # that says an option was ignored or not supported.
                   4312:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4313:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4314:       # The diagnosis changed in icc 8.0:
                   4315:       #   icc: Command line remark: option '-MP' not supported
                   4316:       if (grep 'ignoring option' conftest.err ||
                   4317:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4318:         am_cv_CC_dependencies_compiler_type=$depmode
                   4319:         break
                   4320:       fi
                   4321:     fi
                   4322:   done
                   4323: 
                   4324:   cd ..
                   4325:   rm -rf conftest.dir
                   4326: else
                   4327:   am_cv_CC_dependencies_compiler_type=none
                   4328: fi
                   4329: 
                   4330: fi
                   4331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4332: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4333: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4334: 
                   4335:  if
                   4336:   test "x$enable_dependency_tracking" != xno \
                   4337:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4338:   am__fastdepCC_TRUE=
                   4339:   am__fastdepCC_FALSE='#'
                   4340: else
                   4341:   am__fastdepCC_TRUE='#'
                   4342:   am__fastdepCC_FALSE=
                   4343: fi
                   4344: 
                   4345: 
                   4346: # By default we simply use the C compiler to build assembly code.
                   4347: 
                   4348: test "${CCAS+set}" = set || CCAS=$CC
                   4349: test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
                   4350: 
                   4351: 
                   4352: 
                   4353: depcc="$CCAS"   am_compiler_list=
                   4354: 
                   4355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4356: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4357: if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
                   4358:   $as_echo_n "(cached) " >&6
                   4359: else
                   4360:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4361:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4362:   # making bogus files that we don't know about and never remove.  For
                   4363:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.3 ! misho    4364:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          4365:   # in D".
1.1.1.2   misho    4366:   rm -rf conftest.dir
1.1       misho    4367:   mkdir conftest.dir
                   4368:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4369:   # using a relative directory.
                   4370:   cp "$am_depcomp" conftest.dir
                   4371:   cd conftest.dir
                   4372:   # We will build objects and dependencies in a subdirectory because
                   4373:   # it helps to detect inapplicable dependency modes.  For instance
                   4374:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4375:   # side effect of compilation, but ICC will put the dependencies in
                   4376:   # the current directory while Tru64 will put them in the object
                   4377:   # directory.
                   4378:   mkdir sub
                   4379: 
                   4380:   am_cv_CCAS_dependencies_compiler_type=none
                   4381:   if test "$am_compiler_list" = ""; then
                   4382:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4383:   fi
                   4384:   am__universal=false
                   4385: 
                   4386: 
                   4387:   for depmode in $am_compiler_list; do
                   4388:     # Setup a source with many dependencies, because some compilers
                   4389:     # like to wrap large dependency lists on column 80 (with \), and
                   4390:     # we should not choose a depcomp mode which is confused by this.
                   4391:     #
                   4392:     # We need to recreate these files for each test, as the compiler may
                   4393:     # overwrite some of them when testing with obscure command lines.
                   4394:     # This happens at least with the AIX C compiler.
                   4395:     : > sub/conftest.c
                   4396:     for i in 1 2 3 4 5 6; do
                   4397:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.3 ! misho    4398:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          4399:       # Solaris 10 /bin/sh.
        !          4400:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    4401:     done
                   4402:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4403: 
1.1.1.3 ! misho    4404:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    4405:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.3 ! misho    4406:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          4407:     # versions had trouble with output in subdirs.
1.1       misho    4408:     am__obj=sub/conftest.${OBJEXT-o}
                   4409:     am__minus_obj="-o $am__obj"
                   4410:     case $depmode in
                   4411:     gcc)
                   4412:       # This depmode causes a compiler race in universal mode.
                   4413:       test "$am__universal" = false || continue
                   4414:       ;;
                   4415:     nosideeffect)
1.1.1.3 ! misho    4416:       # After this tag, mechanisms are not by side-effect, so they'll
        !          4417:       # only be used when explicitly requested.
1.1       misho    4418:       if test "x$enable_dependency_tracking" = xyes; then
                   4419:        continue
                   4420:       else
                   4421:        break
                   4422:       fi
                   4423:       ;;
1.1.1.2   misho    4424:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.1.1.3 ! misho    4425:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    4426:       # not run yet.  These depmodes are late enough in the game, and
                   4427:       # so weak that their functioning should not be impacted.
                   4428:       am__obj=conftest.${OBJEXT-o}
                   4429:       am__minus_obj=
                   4430:       ;;
                   4431:     none) break ;;
                   4432:     esac
                   4433:     if depmode=$depmode \
                   4434:        source=sub/conftest.c object=$am__obj \
                   4435:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4436:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4437:          >/dev/null 2>conftest.err &&
                   4438:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4439:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4440:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4441:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4442:       # icc doesn't choke on unknown options, it will just issue warnings
                   4443:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4444:       # that says an option was ignored or not supported.
                   4445:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4446:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4447:       # The diagnosis changed in icc 8.0:
                   4448:       #   icc: Command line remark: option '-MP' not supported
                   4449:       if (grep 'ignoring option' conftest.err ||
                   4450:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4451:         am_cv_CCAS_dependencies_compiler_type=$depmode
                   4452:         break
                   4453:       fi
                   4454:     fi
                   4455:   done
                   4456: 
                   4457:   cd ..
                   4458:   rm -rf conftest.dir
                   4459: else
                   4460:   am_cv_CCAS_dependencies_compiler_type=none
                   4461: fi
                   4462: 
                   4463: fi
                   4464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
                   4465: $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
                   4466: CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
                   4467: 
                   4468:  if
                   4469:   test "x$enable_dependency_tracking" != xno \
                   4470:   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
                   4471:   am__fastdepCCAS_TRUE=
                   4472:   am__fastdepCCAS_FALSE='#'
                   4473: else
                   4474:   am__fastdepCCAS_TRUE='#'
                   4475:   am__fastdepCCAS_FALSE=
                   4476: fi
                   4477: 
                   4478: 
                   4479: 
                   4480: 
1.1.1.2   misho    4481: 
1.1       misho    4482: if test "$cross_compiling" = "no"; then
                   4483: 
                   4484: 
                   4485: 
                   4486: 
                   4487: 
                   4488: 
                   4489: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
                   4490:        if test -n "$ac_tool_prefix"; then
                   4491:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
                   4492: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
                   4493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4494: $as_echo_n "checking for $ac_word... " >&6; }
                   4495: if ${ac_cv_path_PKG_CONFIG+:} false; then :
                   4496:   $as_echo_n "(cached) " >&6
                   4497: else
                   4498:   case $PKG_CONFIG in
                   4499:   [\\/]* | ?:[\\/]*)
                   4500:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
                   4501:   ;;
                   4502:   *)
                   4503:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4504: for as_dir in $PATH
                   4505: do
                   4506:   IFS=$as_save_IFS
                   4507:   test -z "$as_dir" && as_dir=.
                   4508:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    4509:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4510:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   4511:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4512:     break 2
                   4513:   fi
                   4514: done
                   4515:   done
                   4516: IFS=$as_save_IFS
                   4517: 
                   4518:   ;;
                   4519: esac
                   4520: fi
                   4521: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
                   4522: if test -n "$PKG_CONFIG"; then
                   4523:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
                   4524: $as_echo "$PKG_CONFIG" >&6; }
                   4525: else
                   4526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4527: $as_echo "no" >&6; }
                   4528: fi
                   4529: 
                   4530: 
                   4531: fi
                   4532: if test -z "$ac_cv_path_PKG_CONFIG"; then
                   4533:   ac_pt_PKG_CONFIG=$PKG_CONFIG
                   4534:   # Extract the first word of "pkg-config", so it can be a program name with args.
                   4535: set dummy pkg-config; ac_word=$2
                   4536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4537: $as_echo_n "checking for $ac_word... " >&6; }
                   4538: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
                   4539:   $as_echo_n "(cached) " >&6
                   4540: else
                   4541:   case $ac_pt_PKG_CONFIG in
                   4542:   [\\/]* | ?:[\\/]*)
                   4543:   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
                   4544:   ;;
                   4545:   *)
                   4546:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4547: for as_dir in $PATH
                   4548: do
                   4549:   IFS=$as_save_IFS
                   4550:   test -z "$as_dir" && as_dir=.
                   4551:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    4552:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4553:     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   4554:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4555:     break 2
                   4556:   fi
                   4557: done
                   4558:   done
                   4559: IFS=$as_save_IFS
                   4560: 
                   4561:   ;;
                   4562: esac
                   4563: fi
                   4564: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
                   4565: if test -n "$ac_pt_PKG_CONFIG"; then
                   4566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
                   4567: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
                   4568: else
                   4569:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4570: $as_echo "no" >&6; }
                   4571: fi
                   4572: 
                   4573:   if test "x$ac_pt_PKG_CONFIG" = x; then
                   4574:     PKG_CONFIG=""
                   4575:   else
                   4576:     case $cross_compiling:$ac_tool_warned in
                   4577: yes:)
                   4578: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4579: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4580: ac_tool_warned=yes ;;
                   4581: esac
                   4582:     PKG_CONFIG=$ac_pt_PKG_CONFIG
                   4583:   fi
                   4584: else
                   4585:   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
                   4586: fi
                   4587: 
                   4588: fi
                   4589: if test -n "$PKG_CONFIG"; then
                   4590:        _pkg_min_version=0.9.0
                   4591:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
                   4592: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
                   4593:        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
                   4594:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4595: $as_echo "yes" >&6; }
                   4596:        else
                   4597:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4598: $as_echo "no" >&6; }
                   4599:                PKG_CONFIG=""
                   4600:        fi
                   4601: 
                   4602: fi
                   4603: fi
                   4604: 
                   4605: 
                   4606: 
                   4607: 
                   4608: 
                   4609: # Make sure we can run config.sub.
                   4610: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   4611:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   4612: 
                   4613: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4614: $as_echo_n "checking build system type... " >&6; }
                   4615: if ${ac_cv_build+:} false; then :
                   4616:   $as_echo_n "(cached) " >&6
                   4617: else
                   4618:   ac_build_alias=$build_alias
                   4619: test "x$ac_build_alias" = x &&
                   4620:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   4621: test "x$ac_build_alias" = x &&
                   4622:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4623: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   4624:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   4625: 
                   4626: fi
                   4627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4628: $as_echo "$ac_cv_build" >&6; }
                   4629: case $ac_cv_build in
                   4630: *-*-*) ;;
1.1.1.3 ! misho    4631: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    4632: esac
                   4633: build=$ac_cv_build
                   4634: ac_save_IFS=$IFS; IFS='-'
                   4635: set x $ac_cv_build
                   4636: shift
                   4637: build_cpu=$1
                   4638: build_vendor=$2
                   4639: shift; shift
                   4640: # Remember, the first character of IFS is used to create $*,
                   4641: # except with old shells:
                   4642: build_os=$*
                   4643: IFS=$ac_save_IFS
                   4644: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4645: 
                   4646: 
                   4647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4648: $as_echo_n "checking host system type... " >&6; }
                   4649: if ${ac_cv_host+:} false; then :
                   4650:   $as_echo_n "(cached) " >&6
                   4651: else
                   4652:   if test "x$host_alias" = x; then
                   4653:   ac_cv_host=$ac_cv_build
                   4654: else
                   4655:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   4656:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   4657: fi
                   4658: 
                   4659: fi
                   4660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4661: $as_echo "$ac_cv_host" >&6; }
                   4662: case $ac_cv_host in
                   4663: *-*-*) ;;
1.1.1.3 ! misho    4664: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    4665: esac
                   4666: host=$ac_cv_host
                   4667: ac_save_IFS=$IFS; IFS='-'
                   4668: set x $ac_cv_host
                   4669: shift
                   4670: host_cpu=$1
                   4671: host_vendor=$2
                   4672: shift; shift
                   4673: # Remember, the first character of IFS is used to create $*,
                   4674: # except with old shells:
                   4675: host_os=$*
                   4676: IFS=$ac_save_IFS
                   4677: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   4678: 
                   4679: 
                   4680: case "${host}" in
                   4681:   *-*-mingw*)
                   4682:     # Cygwin gcc 4.x does no longer support '-mno-cygwin' to select MinGW gcc.
                   4683:     if test "${build}" = "${host}" && test -x /usr/bin/uname && \
                   4684:     /usr/bin/uname | grep -i '^CYGWIN' >/dev/null; then
                   4685:       as_fn_error $? "Build with MinGW on Cygwin requires cross-compilation, see INSTALL file." "$LINENO" 5
                   4686:     fi
1.1.1.3 ! misho    4687:     if test -n "$ac_tool_prefix"; then
        !          4688:   # Extract the first word of "${ac_tool_prefix}windmc", so it can be a program name with args.
        !          4689: set dummy ${ac_tool_prefix}windmc; ac_word=$2
1.1       misho    4690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4691: $as_echo_n "checking for $ac_word... " >&6; }
                   4692: if ${ac_cv_prog_WINDMC+:} false; then :
                   4693:   $as_echo_n "(cached) " >&6
                   4694: else
                   4695:   if test -n "$WINDMC"; then
                   4696:   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
                   4697: else
                   4698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4699: for as_dir in $PATH
                   4700: do
                   4701:   IFS=$as_save_IFS
                   4702:   test -z "$as_dir" && as_dir=.
                   4703:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    4704:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4705:     ac_cv_prog_WINDMC="${ac_tool_prefix}windmc"
1.1       misho    4706:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4707:     break 2
                   4708:   fi
                   4709: done
                   4710:   done
                   4711: IFS=$as_save_IFS
                   4712: 
                   4713: fi
                   4714: fi
                   4715: WINDMC=$ac_cv_prog_WINDMC
                   4716: if test -n "$WINDMC"; then
                   4717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
                   4718: $as_echo "$WINDMC" >&6; }
                   4719: else
                   4720:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4721: $as_echo "no" >&6; }
                   4722: fi
                   4723: 
                   4724: 
1.1.1.3 ! misho    4725: fi
        !          4726: if test -z "$ac_cv_prog_WINDMC"; then
        !          4727:   ac_ct_WINDMC=$WINDMC
        !          4728:   # Extract the first word of "windmc", so it can be a program name with args.
        !          4729: set dummy windmc; ac_word=$2
        !          4730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4731: $as_echo_n "checking for $ac_word... " >&6; }
        !          4732: if ${ac_cv_prog_ac_ct_WINDMC+:} false; then :
        !          4733:   $as_echo_n "(cached) " >&6
        !          4734: else
        !          4735:   if test -n "$ac_ct_WINDMC"; then
        !          4736:   ac_cv_prog_ac_ct_WINDMC="$ac_ct_WINDMC" # Let the user override the test.
        !          4737: else
        !          4738: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4739: for as_dir in $PATH
        !          4740: do
        !          4741:   IFS=$as_save_IFS
        !          4742:   test -z "$as_dir" && as_dir=.
        !          4743:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4744:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4745:     ac_cv_prog_ac_ct_WINDMC="windmc"
        !          4746:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4747:     break 2
        !          4748:   fi
1.1       misho    4749: done
1.1.1.3 ! misho    4750:   done
        !          4751: IFS=$as_save_IFS
1.1       misho    4752: 
1.1.1.3 ! misho    4753: fi
        !          4754: fi
        !          4755: ac_ct_WINDMC=$ac_cv_prog_ac_ct_WINDMC
        !          4756: if test -n "$ac_ct_WINDMC"; then
        !          4757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDMC" >&5
        !          4758: $as_echo "$ac_ct_WINDMC" >&6; }
        !          4759: else
        !          4760:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4761: $as_echo "no" >&6; }
        !          4762: fi
        !          4763: 
        !          4764:   if test "x$ac_ct_WINDMC" = x; then
        !          4765:     WINDMC=""
        !          4766:   else
        !          4767:     case $cross_compiling:$ac_tool_warned in
        !          4768: yes:)
        !          4769: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4770: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4771: ac_tool_warned=yes ;;
        !          4772: esac
        !          4773:     WINDMC=$ac_ct_WINDMC
        !          4774:   fi
        !          4775: else
        !          4776:   WINDMC="$ac_cv_prog_WINDMC"
        !          4777: fi
        !          4778: 
        !          4779:     if test -n "$ac_tool_prefix"; then
        !          4780:   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
        !          4781: set dummy ${ac_tool_prefix}windres; ac_word=$2
1.1       misho    4782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4783: $as_echo_n "checking for $ac_word... " >&6; }
                   4784: if ${ac_cv_prog_WINDRES+:} false; then :
                   4785:   $as_echo_n "(cached) " >&6
                   4786: else
                   4787:   if test -n "$WINDRES"; then
                   4788:   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
                   4789: else
                   4790: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4791: for as_dir in $PATH
                   4792: do
                   4793:   IFS=$as_save_IFS
                   4794:   test -z "$as_dir" && as_dir=.
                   4795:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3 ! misho    4796:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4797:     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
1.1       misho    4798:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4799:     break 2
                   4800:   fi
                   4801: done
                   4802:   done
                   4803: IFS=$as_save_IFS
                   4804: 
                   4805: fi
                   4806: fi
                   4807: WINDRES=$ac_cv_prog_WINDRES
                   4808: if test -n "$WINDRES"; then
                   4809:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
                   4810: $as_echo "$WINDRES" >&6; }
                   4811: else
                   4812:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4813: $as_echo "no" >&6; }
                   4814: fi
                   4815: 
                   4816: 
1.1.1.3 ! misho    4817: fi
        !          4818: if test -z "$ac_cv_prog_WINDRES"; then
        !          4819:   ac_ct_WINDRES=$WINDRES
        !          4820:   # Extract the first word of "windres", so it can be a program name with args.
        !          4821: set dummy windres; ac_word=$2
        !          4822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4823: $as_echo_n "checking for $ac_word... " >&6; }
        !          4824: if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
        !          4825:   $as_echo_n "(cached) " >&6
        !          4826: else
        !          4827:   if test -n "$ac_ct_WINDRES"; then
        !          4828:   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
        !          4829: else
        !          4830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4831: for as_dir in $PATH
        !          4832: do
        !          4833:   IFS=$as_save_IFS
        !          4834:   test -z "$as_dir" && as_dir=.
        !          4835:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4836:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4837:     ac_cv_prog_ac_ct_WINDRES="windres"
        !          4838:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4839:     break 2
        !          4840:   fi
1.1       misho    4841: done
1.1.1.3 ! misho    4842:   done
        !          4843: IFS=$as_save_IFS
        !          4844: 
        !          4845: fi
        !          4846: fi
        !          4847: ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
        !          4848: if test -n "$ac_ct_WINDRES"; then
        !          4849:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
        !          4850: $as_echo "$ac_ct_WINDRES" >&6; }
        !          4851: else
        !          4852:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4853: $as_echo "no" >&6; }
        !          4854: fi
        !          4855: 
        !          4856:   if test "x$ac_ct_WINDRES" = x; then
        !          4857:     WINDRES=""
        !          4858:   else
        !          4859:     case $cross_compiling:$ac_tool_warned in
        !          4860: yes:)
        !          4861: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4862: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4863: ac_tool_warned=yes ;;
        !          4864: esac
        !          4865:     WINDRES=$ac_ct_WINDRES
        !          4866:   fi
        !          4867: else
        !          4868:   WINDRES="$ac_cv_prog_WINDRES"
        !          4869: fi
1.1       misho    4870: 
                   4871: 
                   4872:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for makensis" >&5
                   4873: $as_echo_n "checking checking for makensis... " >&6; }
                   4874:     if test -z "$MAKENSIS"; then
                   4875:       if test -n "$PROGRAMFILES" && "$PROGRAMFILES/NSIS/makensis" -VERSION >/dev/null 2>&1; then
                   4876:         MAKENSIS="$PROGRAMFILES/NSIS/makensis"
                   4877:       elif makensis -VERSION >/dev/null 2>&1; then
                   4878:         MAKENSIS=makensis
                   4879:       fi
                   4880:     fi
                   4881:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MAKENSIS:-no}" >&5
                   4882: $as_echo "${MAKENSIS:-no}" >&6; }
                   4883:     ;;
                   4884: esac
                   4885: 
                   4886: # Check for SVN.
                   4887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is a build from SVN" >&5
                   4888: $as_echo_n "checking whether this is a build from SVN... " >&6; }
                   4889: is_svn_build=no
1.1.1.2   misho    4890: svn_deps=
1.1       misho    4891: if test -f "$srcdir/.svn/entries"; then
                   4892:   is_svn_build=unknown
                   4893:   if (cd "$srcdir" && svn --version && svnversion && svn info) >/dev/null 2>&1; then
                   4894:     is_svn_build=yes
1.1.1.2   misho    4895:     svn_deps='${srcdir}/.svn/entries'
                   4896:     # SVN 1.7 working copy?
                   4897:     test -f "$srcdir/.svn/wc.db" && svn_deps='${srcdir}/.svn/wc.db'
1.1       misho    4898:   fi
                   4899: fi
1.1.1.2   misho    4900: 
1.1       misho    4901:  if test "$is_svn_build" = "yes"; then
                   4902:   IS_SVN_BUILD_TRUE=
                   4903:   IS_SVN_BUILD_FALSE='#'
                   4904: else
                   4905:   IS_SVN_BUILD_TRUE='#'
                   4906:   IS_SVN_BUILD_FALSE=
                   4907: fi
                   4908: 
                   4909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $is_svn_build" >&5
                   4910: $as_echo "$is_svn_build" >&6; }
                   4911: 
1.1.1.2   misho    4912: # Note: On Linux, clock_gettime() requires -lrt which implies -lpthreads
                   4913: # Check ommitted for now, gettimeofday() provides reasonable precision
                   4914: # AC_SEARCH_LIBS(clock_gettime, rt)
                   4915: 
1.1.1.3 ! misho    4916: 
1.1       misho    4917: ac_ext=cpp
                   4918: ac_cpp='$CXXCPP $CPPFLAGS'
                   4919: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4920: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4921: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4922: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   4923: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
                   4924: if test -z "$CXXCPP"; then
                   4925:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   4926:   $as_echo_n "(cached) " >&6
                   4927: else
                   4928:       # Double quotes because CXXCPP needs to be expanded
                   4929:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   4930:     do
                   4931:       ac_preproc_ok=false
                   4932: for ac_cxx_preproc_warn_flag in '' yes
                   4933: do
                   4934:   # Use a header file that comes with gcc, so configuring glibc
                   4935:   # with a fresh cross-compiler works.
                   4936:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4937:   # <limits.h> exists even on freestanding compilers.
                   4938:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4939:   # not just through cpp. "Syntax error" is here to catch this case.
                   4940:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4941: /* end confdefs.h.  */
                   4942: #ifdef __STDC__
                   4943: # include <limits.h>
                   4944: #else
                   4945: # include <assert.h>
                   4946: #endif
                   4947:                     Syntax error
                   4948: _ACEOF
                   4949: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   4950: 
                   4951: else
                   4952:   # Broken: fails on valid input.
                   4953: continue
                   4954: fi
                   4955: rm -f conftest.err conftest.i conftest.$ac_ext
                   4956: 
                   4957:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4958:   # can be detected and how.
                   4959:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4960: /* end confdefs.h.  */
                   4961: #include <ac_nonexistent.h>
                   4962: _ACEOF
                   4963: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   4964:   # Broken: success on invalid input.
                   4965: continue
                   4966: else
                   4967:   # Passes both tests.
                   4968: ac_preproc_ok=:
                   4969: break
                   4970: fi
                   4971: rm -f conftest.err conftest.i conftest.$ac_ext
                   4972: 
                   4973: done
                   4974: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4975: rm -f conftest.i conftest.err conftest.$ac_ext
                   4976: if $ac_preproc_ok; then :
                   4977:   break
                   4978: fi
                   4979: 
                   4980:     done
                   4981:     ac_cv_prog_CXXCPP=$CXXCPP
                   4982: 
                   4983: fi
                   4984:   CXXCPP=$ac_cv_prog_CXXCPP
                   4985: else
                   4986:   ac_cv_prog_CXXCPP=$CXXCPP
                   4987: fi
                   4988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   4989: $as_echo "$CXXCPP" >&6; }
                   4990: ac_preproc_ok=false
                   4991: for ac_cxx_preproc_warn_flag in '' yes
                   4992: do
                   4993:   # Use a header file that comes with gcc, so configuring glibc
                   4994:   # with a fresh cross-compiler works.
                   4995:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4996:   # <limits.h> exists even on freestanding compilers.
                   4997:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4998:   # not just through cpp. "Syntax error" is here to catch this case.
                   4999:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5000: /* end confdefs.h.  */
                   5001: #ifdef __STDC__
                   5002: # include <limits.h>
                   5003: #else
                   5004: # include <assert.h>
                   5005: #endif
                   5006:                     Syntax error
                   5007: _ACEOF
                   5008: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   5009: 
                   5010: else
                   5011:   # Broken: fails on valid input.
                   5012: continue
                   5013: fi
                   5014: rm -f conftest.err conftest.i conftest.$ac_ext
                   5015: 
                   5016:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5017:   # can be detected and how.
                   5018:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5019: /* end confdefs.h.  */
                   5020: #include <ac_nonexistent.h>
                   5021: _ACEOF
                   5022: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   5023:   # Broken: success on invalid input.
                   5024: continue
                   5025: else
                   5026:   # Passes both tests.
                   5027: ac_preproc_ok=:
                   5028: break
                   5029: fi
                   5030: rm -f conftest.err conftest.i conftest.$ac_ext
                   5031: 
                   5032: done
                   5033: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5034: rm -f conftest.i conftest.err conftest.$ac_ext
                   5035: if $ac_preproc_ok; then :
                   5036: 
                   5037: else
                   5038:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5039: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5040: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
1.1.1.3 ! misho    5041: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    5042: fi
                   5043: 
                   5044: ac_ext=cpp
                   5045: ac_cpp='$CXXCPP $CPPFLAGS'
                   5046: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5047: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5048: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   5049: 
                   5050: 
                   5051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5052: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5053: if ${ac_cv_path_GREP+:} false; then :
                   5054:   $as_echo_n "(cached) " >&6
                   5055: else
                   5056:   if test -z "$GREP"; then
                   5057:   ac_path_GREP_found=false
                   5058:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5059:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5060: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5061: do
                   5062:   IFS=$as_save_IFS
                   5063:   test -z "$as_dir" && as_dir=.
                   5064:     for ac_prog in grep ggrep; do
                   5065:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5066:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.3 ! misho    5067:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    5068: # Check for GNU ac_path_GREP and select it if it is found.
                   5069:   # Check for GNU $ac_path_GREP
                   5070: case `"$ac_path_GREP" --version 2>&1` in
                   5071: *GNU*)
                   5072:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5073: *)
                   5074:   ac_count=0
                   5075:   $as_echo_n 0123456789 >"conftest.in"
                   5076:   while :
                   5077:   do
                   5078:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5079:     mv "conftest.tmp" "conftest.in"
                   5080:     cp "conftest.in" "conftest.nl"
                   5081:     $as_echo 'GREP' >> "conftest.nl"
                   5082:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5083:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5084:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5085:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5086:       # Best one so far, save it but keep looking for a better one
                   5087:       ac_cv_path_GREP="$ac_path_GREP"
                   5088:       ac_path_GREP_max=$ac_count
                   5089:     fi
                   5090:     # 10*(2^10) chars as input seems more than enough
                   5091:     test $ac_count -gt 10 && break
                   5092:   done
                   5093:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5094: esac
                   5095: 
                   5096:       $ac_path_GREP_found && break 3
                   5097:     done
                   5098:   done
                   5099:   done
                   5100: IFS=$as_save_IFS
                   5101:   if test -z "$ac_cv_path_GREP"; then
                   5102:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5103:   fi
                   5104: else
                   5105:   ac_cv_path_GREP=$GREP
                   5106: fi
                   5107: 
                   5108: fi
                   5109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5110: $as_echo "$ac_cv_path_GREP" >&6; }
                   5111:  GREP="$ac_cv_path_GREP"
                   5112: 
                   5113: 
                   5114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5115: $as_echo_n "checking for egrep... " >&6; }
                   5116: if ${ac_cv_path_EGREP+:} false; then :
                   5117:   $as_echo_n "(cached) " >&6
                   5118: else
                   5119:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5120:    then ac_cv_path_EGREP="$GREP -E"
                   5121:    else
                   5122:      if test -z "$EGREP"; then
                   5123:   ac_path_EGREP_found=false
                   5124:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5125:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5126: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5127: do
                   5128:   IFS=$as_save_IFS
                   5129:   test -z "$as_dir" && as_dir=.
                   5130:     for ac_prog in egrep; do
                   5131:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5132:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.3 ! misho    5133:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    5134: # Check for GNU ac_path_EGREP and select it if it is found.
                   5135:   # Check for GNU $ac_path_EGREP
                   5136: case `"$ac_path_EGREP" --version 2>&1` in
                   5137: *GNU*)
                   5138:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5139: *)
                   5140:   ac_count=0
                   5141:   $as_echo_n 0123456789 >"conftest.in"
                   5142:   while :
                   5143:   do
                   5144:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5145:     mv "conftest.tmp" "conftest.in"
                   5146:     cp "conftest.in" "conftest.nl"
                   5147:     $as_echo 'EGREP' >> "conftest.nl"
                   5148:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5149:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5150:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5151:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5152:       # Best one so far, save it but keep looking for a better one
                   5153:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5154:       ac_path_EGREP_max=$ac_count
                   5155:     fi
                   5156:     # 10*(2^10) chars as input seems more than enough
                   5157:     test $ac_count -gt 10 && break
                   5158:   done
                   5159:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5160: esac
                   5161: 
                   5162:       $ac_path_EGREP_found && break 3
                   5163:     done
                   5164:   done
                   5165:   done
                   5166: IFS=$as_save_IFS
                   5167:   if test -z "$ac_cv_path_EGREP"; then
                   5168:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5169:   fi
                   5170: else
                   5171:   ac_cv_path_EGREP=$EGREP
                   5172: fi
                   5173: 
                   5174:    fi
                   5175: fi
                   5176: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5177: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5178:  EGREP="$ac_cv_path_EGREP"
                   5179: 
                   5180: 
                   5181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   5182: $as_echo_n "checking for ANSI C header files... " >&6; }
                   5183: if ${ac_cv_header_stdc+:} false; then :
                   5184:   $as_echo_n "(cached) " >&6
                   5185: else
                   5186:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5187: /* end confdefs.h.  */
                   5188: #include <stdlib.h>
                   5189: #include <stdarg.h>
                   5190: #include <string.h>
                   5191: #include <float.h>
                   5192: 
                   5193: int
                   5194: main ()
                   5195: {
                   5196: 
                   5197:   ;
                   5198:   return 0;
                   5199: }
                   5200: _ACEOF
                   5201: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5202:   ac_cv_header_stdc=yes
                   5203: else
                   5204:   ac_cv_header_stdc=no
                   5205: fi
                   5206: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5207: 
                   5208: if test $ac_cv_header_stdc = yes; then
                   5209:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   5210:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5211: /* end confdefs.h.  */
                   5212: #include <string.h>
                   5213: 
                   5214: _ACEOF
                   5215: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   5216:   $EGREP "memchr" >/dev/null 2>&1; then :
                   5217: 
                   5218: else
                   5219:   ac_cv_header_stdc=no
                   5220: fi
                   5221: rm -f conftest*
                   5222: 
                   5223: fi
                   5224: 
                   5225: if test $ac_cv_header_stdc = yes; then
                   5226:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   5227:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5228: /* end confdefs.h.  */
                   5229: #include <stdlib.h>
                   5230: 
                   5231: _ACEOF
                   5232: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   5233:   $EGREP "free" >/dev/null 2>&1; then :
                   5234: 
                   5235: else
                   5236:   ac_cv_header_stdc=no
                   5237: fi
                   5238: rm -f conftest*
                   5239: 
                   5240: fi
                   5241: 
                   5242: if test $ac_cv_header_stdc = yes; then
                   5243:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   5244:   if test "$cross_compiling" = yes; then :
                   5245:   :
                   5246: else
                   5247:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5248: /* end confdefs.h.  */
                   5249: #include <ctype.h>
                   5250: #include <stdlib.h>
                   5251: #if ((' ' & 0x0FF) == 0x020)
                   5252: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5253: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   5254: #else
                   5255: # define ISLOWER(c) \
                   5256:                   (('a' <= (c) && (c) <= 'i') \
                   5257:                     || ('j' <= (c) && (c) <= 'r') \
                   5258:                     || ('s' <= (c) && (c) <= 'z'))
                   5259: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   5260: #endif
                   5261: 
                   5262: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   5263: int
                   5264: main ()
                   5265: {
                   5266:   int i;
                   5267:   for (i = 0; i < 256; i++)
                   5268:     if (XOR (islower (i), ISLOWER (i))
                   5269:        || toupper (i) != TOUPPER (i))
                   5270:       return 2;
                   5271:   return 0;
                   5272: }
                   5273: _ACEOF
                   5274: if ac_fn_cxx_try_run "$LINENO"; then :
                   5275: 
                   5276: else
                   5277:   ac_cv_header_stdc=no
                   5278: fi
                   5279: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5280:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5281: fi
                   5282: 
                   5283: fi
                   5284: fi
                   5285: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   5286: $as_echo "$ac_cv_header_stdc" >&6; }
                   5287: if test $ac_cv_header_stdc = yes; then
                   5288: 
                   5289: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   5290: 
                   5291: fi
                   5292: 
                   5293: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5294: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5295:                  inttypes.h stdint.h unistd.h
                   5296: do :
                   5297:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5298: ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   5299: "
                   5300: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5301:   cat >>confdefs.h <<_ACEOF
                   5302: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5303: _ACEOF
                   5304: 
                   5305: fi
                   5306: 
                   5307: done
                   5308: 
                   5309: 
                   5310: for ac_header in locale.h
                   5311: do :
                   5312:   ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
                   5313: if test "x$ac_cv_header_locale_h" = xyes; then :
                   5314:   cat >>confdefs.h <<_ACEOF
                   5315: #define HAVE_LOCALE_H 1
                   5316: _ACEOF
                   5317: 
                   5318: fi
                   5319: 
                   5320: done
                   5321: 
                   5322: for ac_header in dev/ata/atavar.h
                   5323: do :
                   5324:   ac_fn_cxx_check_header_mongrel "$LINENO" "dev/ata/atavar.h" "ac_cv_header_dev_ata_atavar_h" "$ac_includes_default"
                   5325: if test "x$ac_cv_header_dev_ata_atavar_h" = xyes; then :
                   5326:   cat >>confdefs.h <<_ACEOF
                   5327: #define HAVE_DEV_ATA_ATAVAR_H 1
                   5328: _ACEOF
                   5329: 
                   5330: fi
                   5331: 
                   5332: done
                   5333: 
                   5334: for ac_header in netdb.h
                   5335: do :
                   5336:   ac_fn_cxx_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
                   5337: if test "x$ac_cv_header_netdb_h" = xyes; then :
                   5338:   cat >>confdefs.h <<_ACEOF
                   5339: #define HAVE_NETDB_H 1
                   5340: _ACEOF
                   5341: 
                   5342: fi
                   5343: 
                   5344: done
                   5345: 
                   5346: for ac_header in inttypes.h
                   5347: do :
                   5348:   ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
                   5349: if test "x$ac_cv_header_inttypes_h" = xyes; then :
                   5350:   cat >>confdefs.h <<_ACEOF
                   5351: #define HAVE_INTTYPES_H 1
                   5352: _ACEOF
                   5353: 
                   5354: fi
                   5355: 
                   5356: done
                   5357:                for ac_header in stdint.h
                   5358: do :
                   5359:   ac_fn_cxx_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
                   5360: if test "x$ac_cv_header_stdint_h" = xyes; then :
                   5361:   cat >>confdefs.h <<_ACEOF
                   5362: #define HAVE_STDINT_H 1
                   5363: _ACEOF
                   5364: 
                   5365: fi
                   5366: 
                   5367: done
                   5368:                for ac_header in sys/inttypes.h
                   5369: do :
                   5370:   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/inttypes.h" "ac_cv_header_sys_inttypes_h" "$ac_includes_default"
                   5371: if test "x$ac_cv_header_sys_inttypes_h" = xyes; then :
                   5372:   cat >>confdefs.h <<_ACEOF
                   5373: #define HAVE_SYS_INTTYPES_H 1
                   5374: _ACEOF
                   5375: 
                   5376: fi
                   5377: 
                   5378: done
                   5379:        for ac_header in sys/int_types.h
                   5380: do :
                   5381:   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/int_types.h" "ac_cv_header_sys_int_types_h" "$ac_includes_default"
                   5382: if test "x$ac_cv_header_sys_int_types_h" = xyes; then :
                   5383:   cat >>confdefs.h <<_ACEOF
                   5384: #define HAVE_SYS_INT_TYPES_H 1
                   5385: _ACEOF
                   5386: 
                   5387: fi
                   5388: 
                   5389: done
                   5390:        for ac_header in sys/tweio.h
                   5391: do :
                   5392:   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/tweio.h" "ac_cv_header_sys_tweio_h" "$ac_includes_default"
                   5393: if test "x$ac_cv_header_sys_tweio_h" = xyes; then :
                   5394:   cat >>confdefs.h <<_ACEOF
                   5395: #define HAVE_SYS_TWEIO_H 1
                   5396: _ACEOF
                   5397: 
                   5398: fi
                   5399: 
                   5400: done
                   5401: 
                   5402: for ac_header in sys/twereg.h
                   5403: do :
                   5404:   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/twereg.h" "ac_cv_header_sys_twereg_h" "$ac_includes_default"
                   5405: if test "x$ac_cv_header_sys_twereg_h" = xyes; then :
                   5406:   cat >>confdefs.h <<_ACEOF
                   5407: #define HAVE_SYS_TWEREG_H 1
                   5408: _ACEOF
                   5409: 
                   5410: fi
                   5411: 
                   5412: done
                   5413: 
                   5414: for ac_header in sys/tw_osl_ioctl.h
                   5415: do :
                   5416:   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/tw_osl_ioctl.h" "ac_cv_header_sys_tw_osl_ioctl_h" "$ac_includes_default"
                   5417: if test "x$ac_cv_header_sys_tw_osl_ioctl_h" = xyes; then :
                   5418:   cat >>confdefs.h <<_ACEOF
                   5419: #define HAVE_SYS_TW_OSL_IOCTL_H 1
                   5420: _ACEOF
                   5421: 
                   5422: fi
                   5423: 
                   5424: done
                   5425: 
                   5426: for ac_header in linux/compiler.h
                   5427: do :
                   5428:   ac_fn_cxx_check_header_mongrel "$LINENO" "linux/compiler.h" "ac_cv_header_linux_compiler_h" "$ac_includes_default"
                   5429: if test "x$ac_cv_header_linux_compiler_h" = xyes; then :
                   5430:   cat >>confdefs.h <<_ACEOF
                   5431: #define HAVE_LINUX_COMPILER_H 1
                   5432: _ACEOF
                   5433: 
                   5434: fi
                   5435: 
                   5436: done
                   5437: 
                   5438: for ac_header in dev/ciss/cissio.h
                   5439: do :
                   5440:   ac_fn_cxx_check_header_mongrel "$LINENO" "dev/ciss/cissio.h" "ac_cv_header_dev_ciss_cissio_h" "$ac_includes_default"
                   5441: if test "x$ac_cv_header_dev_ciss_cissio_h" = xyes; then :
                   5442:   cat >>confdefs.h <<_ACEOF
                   5443: #define HAVE_DEV_CISS_CISSIO_H 1
                   5444: _ACEOF
                   5445: 
                   5446: $as_echo "#define CISS_LOCATION <dev/ciss/cissio.h>" >>confdefs.h
                   5447: 
                   5448: else
                   5449: 
                   5450: $as_echo "#define CISS_LOCATION \"cissio_freebsd.h\"" >>confdefs.h
                   5451: 
                   5452: 
                   5453: fi
                   5454: 
                   5455: done
                   5456: 
                   5457: for ac_header in linux/cciss_ioctl.h
                   5458: do :
                   5459:   ac_fn_cxx_check_header_compile "$LINENO" "linux/cciss_ioctl.h" "ac_cv_header_linux_cciss_ioctl_h" "$ac_includes_default
                   5460: #ifdef HAVE_LINUX_COMPILER_H
                   5461: # include <linux/compiler.h>
                   5462: #endif
                   5463: 
                   5464: "
                   5465: if test "x$ac_cv_header_linux_cciss_ioctl_h" = xyes; then :
                   5466:   cat >>confdefs.h <<_ACEOF
                   5467: #define HAVE_LINUX_CCISS_IOCTL_H 1
                   5468: _ACEOF
                   5469: 
                   5470: fi
                   5471: 
                   5472: done
                   5473: 
                   5474: for ac_header in ntdddisk.h ddk/ntdddisk.h
                   5475: do :
                   5476:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5477: ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   5478: #include <windows.h>
                   5479: 
                   5480: "
                   5481: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5482:   cat >>confdefs.h <<_ACEOF
                   5483: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5484: _ACEOF
                   5485: 
                   5486: fi
                   5487: 
                   5488: done
                   5489: 
                   5490: for ac_header in wbemcli.h
                   5491: do :
                   5492:   ac_fn_cxx_check_header_mongrel "$LINENO" "wbemcli.h" "ac_cv_header_wbemcli_h" "$ac_includes_default"
                   5493: if test "x$ac_cv_header_wbemcli_h" = xyes; then :
                   5494:   cat >>confdefs.h <<_ACEOF
                   5495: #define HAVE_WBEMCLI_H 1
                   5496: _ACEOF
                   5497: 
                   5498: fi
                   5499: 
                   5500: done
                   5501: 
                   5502: 
                   5503: ac_fn_cxx_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
                   5504: if test "x$ac_cv_type_int64_t" = xyes; then :
                   5505: 
                   5506: cat >>confdefs.h <<_ACEOF
                   5507: #define HAVE_INT64_T 1
                   5508: _ACEOF
                   5509: 
                   5510: 
                   5511: fi
                   5512: ac_fn_cxx_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
                   5513: if test "x$ac_cv_type_uint64_t" = xyes; then :
                   5514: 
                   5515: cat >>confdefs.h <<_ACEOF
                   5516: #define HAVE_UINT64_T 1
                   5517: _ACEOF
                   5518: 
                   5519: 
                   5520: fi
                   5521: 
                   5522: 
                   5523: for ac_func in getopt_long
                   5524: do :
                   5525:   ac_fn_cxx_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
                   5526: if test "x$ac_cv_func_getopt_long" = xyes; then :
                   5527:   cat >>confdefs.h <<_ACEOF
                   5528: #define HAVE_GETOPT_LONG 1
                   5529: _ACEOF
                   5530:  need_getopt_long=no
                   5531: else
                   5532:   need_getopt_long=yes
                   5533: fi
                   5534: done
                   5535: 
                   5536:  if test "$need_getopt_long" = "yes"; then
                   5537:   NEED_GETOPT_LONG_TRUE=
                   5538:   NEED_GETOPT_LONG_FALSE='#'
                   5539: else
                   5540:   NEED_GETOPT_LONG_TRUE='#'
                   5541:   NEED_GETOPT_LONG_FALSE=
                   5542: fi
                   5543: 
                   5544: for ac_func in regcomp
                   5545: do :
                   5546:   ac_fn_cxx_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp"
                   5547: if test "x$ac_cv_func_regcomp" = xyes; then :
                   5548:   cat >>confdefs.h <<_ACEOF
                   5549: #define HAVE_REGCOMP 1
                   5550: _ACEOF
                   5551:  need_regex=no
                   5552: else
                   5553:   need_regex=yes
                   5554: fi
                   5555: done
                   5556: 
                   5557:  if test "$need_regex" = "yes"; then
                   5558:   NEED_REGEX_TRUE=
                   5559:   NEED_REGEX_FALSE='#'
                   5560: else
                   5561:   NEED_REGEX_TRUE='#'
                   5562:   NEED_REGEX_FALSE=
                   5563: fi
                   5564: 
                   5565: 
                   5566: for ac_func in sigset
                   5567: do :
                   5568:   ac_fn_cxx_check_func "$LINENO" "sigset" "ac_cv_func_sigset"
                   5569: if test "x$ac_cv_func_sigset" = xyes; then :
                   5570:   cat >>confdefs.h <<_ACEOF
                   5571: #define HAVE_SIGSET 1
                   5572: _ACEOF
                   5573: 
                   5574: fi
                   5575: done
                   5576: 
                   5577: for ac_func in strtoull
                   5578: do :
                   5579:   ac_fn_cxx_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull"
                   5580: if test "x$ac_cv_func_strtoull" = xyes; then :
                   5581:   cat >>confdefs.h <<_ACEOF
                   5582: #define HAVE_STRTOULL 1
                   5583: _ACEOF
                   5584: 
                   5585: fi
                   5586: done
                   5587: 
                   5588: for ac_func in uname
                   5589: do :
                   5590:   ac_fn_cxx_check_func "$LINENO" "uname" "ac_cv_func_uname"
                   5591: if test "x$ac_cv_func_uname" = xyes; then :
                   5592:   cat >>confdefs.h <<_ACEOF
                   5593: #define HAVE_UNAME 1
                   5594: _ACEOF
                   5595: 
                   5596: fi
                   5597: done
                   5598: 
1.1.1.2   misho    5599: for ac_func in clock_gettime ftime gettimeofday
                   5600: do :
                   5601:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   5602: ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   5603: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   5604:   cat >>confdefs.h <<_ACEOF
                   5605: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   5606: _ACEOF
                   5607: 
                   5608: fi
                   5609: done
                   5610: 
1.1       misho    5611: 
                   5612: # Check byte ordering (defines WORDS_BIGENDIAN)
                   5613:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   5614: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   5615: if ${ac_cv_c_bigendian+:} false; then :
                   5616:   $as_echo_n "(cached) " >&6
                   5617: else
                   5618:   ac_cv_c_bigendian=unknown
                   5619:     # See if we're dealing with a universal compiler.
                   5620:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5621: /* end confdefs.h.  */
                   5622: #ifndef __APPLE_CC__
                   5623:               not a universal capable compiler
                   5624:             #endif
                   5625:             typedef int dummy;
                   5626: 
                   5627: _ACEOF
                   5628: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5629: 
                   5630:        # Check for potential -arch flags.  It is not universal unless
                   5631:        # there are at least two -arch flags with different values.
                   5632:        ac_arch=
                   5633:        ac_prev=
                   5634:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   5635:         if test -n "$ac_prev"; then
                   5636:           case $ac_word in
                   5637:             i?86 | x86_64 | ppc | ppc64)
                   5638:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   5639:                 ac_arch=$ac_word
                   5640:               else
                   5641:                 ac_cv_c_bigendian=universal
                   5642:                 break
                   5643:               fi
                   5644:               ;;
                   5645:           esac
                   5646:           ac_prev=
                   5647:         elif test "x$ac_word" = "x-arch"; then
                   5648:           ac_prev=arch
                   5649:         fi
                   5650:        done
                   5651: fi
                   5652: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5653:     if test $ac_cv_c_bigendian = unknown; then
                   5654:       # See if sys/param.h defines the BYTE_ORDER macro.
                   5655:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5656: /* end confdefs.h.  */
                   5657: #include <sys/types.h>
                   5658:             #include <sys/param.h>
                   5659: 
                   5660: int
                   5661: main ()
                   5662: {
                   5663: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   5664:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   5665:                     && LITTLE_ENDIAN)
                   5666:              bogus endian macros
                   5667:             #endif
                   5668: 
                   5669:   ;
                   5670:   return 0;
                   5671: }
                   5672: _ACEOF
                   5673: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5674:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   5675:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5676: /* end confdefs.h.  */
                   5677: #include <sys/types.h>
                   5678:                #include <sys/param.h>
                   5679: 
                   5680: int
                   5681: main ()
                   5682: {
                   5683: #if BYTE_ORDER != BIG_ENDIAN
                   5684:                 not big endian
                   5685:                #endif
                   5686: 
                   5687:   ;
                   5688:   return 0;
                   5689: }
                   5690: _ACEOF
                   5691: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5692:   ac_cv_c_bigendian=yes
                   5693: else
                   5694:   ac_cv_c_bigendian=no
                   5695: fi
                   5696: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5697: fi
                   5698: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5699:     fi
                   5700:     if test $ac_cv_c_bigendian = unknown; then
                   5701:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   5702:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5703: /* end confdefs.h.  */
                   5704: #include <limits.h>
                   5705: 
                   5706: int
                   5707: main ()
                   5708: {
                   5709: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   5710:              bogus endian macros
                   5711:             #endif
                   5712: 
                   5713:   ;
                   5714:   return 0;
                   5715: }
                   5716: _ACEOF
                   5717: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5718:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   5719:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5720: /* end confdefs.h.  */
                   5721: #include <limits.h>
                   5722: 
                   5723: int
                   5724: main ()
                   5725: {
                   5726: #ifndef _BIG_ENDIAN
                   5727:                 not big endian
                   5728:                #endif
                   5729: 
                   5730:   ;
                   5731:   return 0;
                   5732: }
                   5733: _ACEOF
                   5734: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5735:   ac_cv_c_bigendian=yes
                   5736: else
                   5737:   ac_cv_c_bigendian=no
                   5738: fi
                   5739: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5740: fi
                   5741: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5742:     fi
                   5743:     if test $ac_cv_c_bigendian = unknown; then
                   5744:       # Compile a test program.
                   5745:       if test "$cross_compiling" = yes; then :
                   5746:   # Try to guess by grepping values from an object file.
                   5747:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5748: /* end confdefs.h.  */
                   5749: short int ascii_mm[] =
                   5750:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   5751:                short int ascii_ii[] =
                   5752:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   5753:                int use_ascii (int i) {
                   5754:                  return ascii_mm[i] + ascii_ii[i];
                   5755:                }
                   5756:                short int ebcdic_ii[] =
                   5757:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   5758:                short int ebcdic_mm[] =
                   5759:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   5760:                int use_ebcdic (int i) {
                   5761:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   5762:                }
                   5763:                extern int foo;
                   5764: 
                   5765: int
                   5766: main ()
                   5767: {
                   5768: return use_ascii (foo) == use_ebcdic (foo);
                   5769:   ;
                   5770:   return 0;
                   5771: }
                   5772: _ACEOF
                   5773: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5774:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   5775:              ac_cv_c_bigendian=yes
                   5776:            fi
                   5777:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   5778:              if test "$ac_cv_c_bigendian" = unknown; then
                   5779:                ac_cv_c_bigendian=no
                   5780:              else
                   5781:                # finding both strings is unlikely to happen, but who knows?
                   5782:                ac_cv_c_bigendian=unknown
                   5783:              fi
                   5784:            fi
                   5785: fi
                   5786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5787: else
                   5788:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5789: /* end confdefs.h.  */
                   5790: $ac_includes_default
                   5791: int
                   5792: main ()
                   5793: {
                   5794: 
                   5795:             /* Are we little or big endian?  From Harbison&Steele.  */
                   5796:             union
                   5797:             {
                   5798:               long int l;
                   5799:               char c[sizeof (long int)];
                   5800:             } u;
                   5801:             u.l = 1;
                   5802:             return u.c[sizeof (long int) - 1] == 1;
                   5803: 
                   5804:   ;
                   5805:   return 0;
                   5806: }
                   5807: _ACEOF
                   5808: if ac_fn_cxx_try_run "$LINENO"; then :
                   5809:   ac_cv_c_bigendian=no
                   5810: else
                   5811:   ac_cv_c_bigendian=yes
                   5812: fi
                   5813: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5814:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5815: fi
                   5816: 
                   5817:     fi
                   5818: fi
                   5819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   5820: $as_echo "$ac_cv_c_bigendian" >&6; }
                   5821:  case $ac_cv_c_bigendian in #(
                   5822:    yes)
                   5823:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   5824: ;; #(
                   5825:    no)
                   5826:       ;; #(
                   5827:    universal)
                   5828: 
                   5829: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   5830: 
                   5831:      ;; #(
                   5832:    *)
                   5833:      as_fn_error $? "unknown endianness
1.1.1.3 ! misho    5834:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
1.1       misho    5835:  esac
                   5836: 
                   5837: 
                   5838: # Check whether snprintf appends null char and returns expected length on overflow
                   5839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working snprintf" >&5
                   5840: $as_echo_n "checking for working snprintf... " >&6; }
                   5841: if test "$cross_compiling" = yes; then :
                   5842:   libc_have_working_snprintf=unknown
                   5843: else
                   5844:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5845: /* end confdefs.h.  */
                   5846: #include <stdio.h>
                   5847: int
                   5848: main ()
                   5849: {
                   5850:  char buf[]="ABCDEFGHI";
                   5851:                int i=snprintf(buf,8,"12345678"); return !(!buf[7] && i==8);
                   5852:   ;
                   5853:   return 0;
                   5854: }
                   5855: _ACEOF
                   5856: if ac_fn_cxx_try_run "$LINENO"; then :
                   5857:   libc_have_working_snprintf=yes
                   5858: else
                   5859:   libc_have_working_snprintf=no
                   5860: fi
                   5861: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5862:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5863: fi
                   5864: 
                   5865: 
                   5866: if test "$libc_have_working_snprintf" = "yes"; then
                   5867: 
                   5868: $as_echo "#define HAVE_WORKING_SNPRINTF 1" >>confdefs.h
                   5869: 
                   5870: fi
                   5871: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_have_working_snprintf" >&5
                   5872: $as_echo "$libc_have_working_snprintf" >&6; }
                   5873: 
                   5874: # check for __attribute__((packed))
                   5875: # (sizeof() check is required to avoid false positives if other
                   5876: # __attribute__((x)) are supported)
                   5877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports __attribute__((packed))" >&5
                   5878: $as_echo_n "checking whether $CXX supports __attribute__((packed))... " >&6; }
                   5879: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5880: /* end confdefs.h.  */
                   5881: 
                   5882: int
                   5883: main ()
                   5884: {
                   5885: 
                   5886:     struct s { char a; short b; } __attribute__((packed));
                   5887:     typedef char t[sizeof(struct s) == 3 ? 1 : -1];
                   5888:   ;
                   5889:   return 0;
                   5890: }
                   5891: _ACEOF
                   5892: if ac_fn_cxx_try_compile "$LINENO"; then :
                   5893:   gcc_have_attr_packed=yes
                   5894: else
                   5895:   gcc_have_attr_packed=no
                   5896: fi
                   5897: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5898: 
                   5899: if test "$gcc_have_attr_packed" = "yes"; then
                   5900: 
                   5901: $as_echo "#define HAVE_ATTR_PACKED 1" >>confdefs.h
                   5902: 
                   5903: fi
                   5904: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_have_attr_packed" >&5
                   5905: $as_echo "$gcc_have_attr_packed" >&6; }
                   5906: 
                   5907: 
                   5908: 
                   5909: 
                   5910: 
                   5911: 
                   5912: # Check whether --with-systemdsystemunitdir was given.
                   5913: if test "${with_systemdsystemunitdir+set}" = set; then :
                   5914:   withval=$with_systemdsystemunitdir;
                   5915: else
                   5916:   with_systemdsystemunitdir=auto
                   5917: fi
                   5918: 
                   5919: 
                   5920: systemdsystemunitdir=
                   5921: case "$with_systemdsystemunitdir" in
                   5922:  auto|yes)
                   5923:    if test -n "$PKG_CONFIG"; then
                   5924:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemdsystemunitdir" >&5
                   5925: $as_echo_n "checking for systemdsystemunitdir... " >&6; }
                   5926:      systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd`
                   5927:      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${systemdsystemunitdir:-no}" >&5
                   5928: $as_echo "${systemdsystemunitdir:-no}" >&6; }
                   5929:    fi
                   5930:    case "$with_systemdsystemunitdir:$sysconfdir:$systemdsystemunitdir" in
1.1.1.3 ! misho    5931:      yes:*:) as_fn_error $? "Location of systemd service files not found" "$LINENO" 5 ;;
1.1       misho    5932:      yes:*:*|auto:*:|auto:/etc:*) ;;
                   5933:      *) systemdsystemunitdir='${prefix}'$systemdsystemunitdir ;;
                   5934:    esac ;;
                   5935:  no) ;;
                   5936:  *) systemdsystemunitdir="$with_systemdsystemunitdir" ;;
                   5937: esac
                   5938: 
                   5939:  if test -n "$systemdsystemunitdir"; then
                   5940:   INSTALL_SYSTEMDUNIT_TRUE=
                   5941:   INSTALL_SYSTEMDUNIT_FALSE='#'
                   5942: else
                   5943:   INSTALL_SYSTEMDUNIT_TRUE='#'
                   5944:   INSTALL_SYSTEMDUNIT_FALSE=
                   5945: fi
                   5946: 
                   5947: 
                   5948: 
                   5949: # Check whether --with-initscriptdir was given.
                   5950: if test "${with_initscriptdir+set}" = set; then :
                   5951:   withval=$with_initscriptdir;
                   5952: else
                   5953:   with_initscriptdir=auto
                   5954: fi
                   5955: 
                   5956: 
                   5957: initddir=
                   5958: case "$with_initscriptdir:$cross_compiling:$systemdsystemunitdir" in
                   5959:   auto:no:|yes:*)
                   5960:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init (rc) directory" >&5
                   5961: $as_echo_n "checking for init (rc) directory... " >&6; }
                   5962:     for dir in rc.d/init.d init.d rc.d; do
                   5963:       if test -d /etc/$dir; then
                   5964:         initddir='${sysconfdir}'/$dir
                   5965:         break
                   5966:       fi
                   5967:     done
                   5968:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${initddir:-no}" >&5
                   5969: $as_echo "${initddir:-no}" >&6; }
                   5970:     case "$with_initscriptdir:$initddir" in
1.1.1.3 ! misho    5971:       yes:) as_fn_error $? "Location of init scripts not found" "$LINENO" 5 ;;
1.1       misho    5972:     esac ;;
                   5973:   auto:*|no:*) ;;
                   5974:   *) initddir="$with_initscriptdir" ;;
                   5975: esac
                   5976: 
                   5977:  if test -n "$initddir"; then
                   5978:   INSTALL_INITSCRIPT_TRUE=
                   5979:   INSTALL_INITSCRIPT_FALSE='#'
                   5980: else
                   5981:   INSTALL_INITSCRIPT_TRUE='#'
                   5982:   INSTALL_INITSCRIPT_FALSE=
                   5983: fi
                   5984: 
                   5985: 
                   5986: # use different init script templates for different OS
                   5987: case "${host}" in
                   5988:   *-*-freebsd*)
                   5989:     initdfile="smartd.freebsd.initd"
                   5990:     ;;
                   5991:   *)
                   5992:     initdfile="smartd.initd"
                   5993:     ;;
                   5994: esac
                   5995: 
                   5996: 
                   5997: 
                   5998: # Check whether --with-docdir was given.
                   5999: if test "${with_docdir+set}" = set; then :
                   6000:   withval=$with_docdir; docdir="$withval"
                   6001: else
                   6002:    if test -z "$docdir"; then
                   6003:       # autoconf 2.5x without '--docdir' support
                   6004:       docdir='${datadir}/doc/${PACKAGE}'
                   6005:     fi
                   6006: 
                   6007: fi
                   6008: 
                   6009: 
                   6010: 
                   6011: 
                   6012: # Check whether --with-exampledir was given.
                   6013: if test "${with_exampledir+set}" = set; then :
                   6014:   withval=$with_exampledir; exampledir="$withval"
                   6015: else
                   6016:   exampledir='${docdir}/examplescripts'
                   6017: fi
                   6018: 
                   6019: 
                   6020: 
                   6021: # Check whether --enable-drivedb was given.
                   6022: if test "${enable_drivedb+set}" = set; then :
                   6023:   enableval=$enable_drivedb;
                   6024: else
                   6025:   enable_drivedb=yes
                   6026: fi
                   6027: 
                   6028: 
                   6029: 
                   6030: # Check whether --with-drivedbdir was given.
                   6031: if test "${with_drivedbdir+set}" = set; then :
                   6032:   withval=$with_drivedbdir; drivedbdir="$withval"; enable_drivedb=yes
                   6033: else
                   6034:   drivedbdir=; test "$enable_drivedb" = "yes" && drivedbdir='${datadir}/${PACKAGE}'
                   6035: fi
                   6036: 
                   6037: 
                   6038:  if test "$enable_drivedb" = "yes"; then
                   6039:   ENABLE_DRIVEDB_TRUE=
                   6040:   ENABLE_DRIVEDB_FALSE='#'
                   6041: else
                   6042:   ENABLE_DRIVEDB_TRUE='#'
                   6043:   ENABLE_DRIVEDB_FALSE=
                   6044: fi
                   6045: 
                   6046: 
                   6047: # Check whether --enable-savestates was given.
                   6048: if test "${enable_savestates+set}" = set; then :
                   6049:   enableval=$enable_savestates;
                   6050: fi
                   6051: 
                   6052: 
                   6053: 
                   6054: # Check whether --with-savestates was given.
                   6055: if test "${with_savestates+set}" = set; then :
                   6056:   withval=$with_savestates; savestates="$withval"; enable_savestates="yes"
                   6057: else
                   6058:   savestates=; test "$enable_savestates" = "yes" && savestates='${localstatedir}/lib/${PACKAGE}/smartd.'
                   6059: fi
                   6060: 
                   6061: savestatesdir="${savestates%/*}"
                   6062: 
                   6063: 
                   6064:  if test "$enable_savestates" = "yes"; then
                   6065:   ENABLE_SAVESTATES_TRUE=
                   6066:   ENABLE_SAVESTATES_FALSE='#'
                   6067: else
                   6068:   ENABLE_SAVESTATES_TRUE='#'
                   6069:   ENABLE_SAVESTATES_FALSE=
                   6070: fi
                   6071: 
                   6072: 
                   6073: # Check whether --enable-attributelog was given.
                   6074: if test "${enable_attributelog+set}" = set; then :
                   6075:   enableval=$enable_attributelog;
                   6076: fi
                   6077: 
                   6078: 
                   6079: 
                   6080: # Check whether --with-attributelog was given.
                   6081: if test "${with_attributelog+set}" = set; then :
                   6082:   withval=$with_attributelog; attributelog="$withval"; enable_attributelog="yes"
                   6083: else
                   6084:   attributelog=; test "$enable_attributelog" = "yes" && attributelog='${localstatedir}/lib/${PACKAGE}/attrlog.'
                   6085: fi
                   6086: 
                   6087: attributelogdir="${attributelog%/*}"
                   6088: 
                   6089: 
                   6090:  if test "$enable_attributelog" = "yes"; then
                   6091:   ENABLE_ATTRIBUTELOG_TRUE=
                   6092:   ENABLE_ATTRIBUTELOG_FALSE='#'
                   6093: else
                   6094:   ENABLE_ATTRIBUTELOG_TRUE='#'
                   6095:   ENABLE_ATTRIBUTELOG_FALSE=
                   6096: fi
                   6097: 
                   6098: 
                   6099: # Check whether --enable-sample was given.
                   6100: if test "${enable_sample+set}" = set; then :
                   6101:   enableval=$enable_sample; smartd_suffix=; test "$enableval" = "yes" && smartd_suffix=".sample"
                   6102: else
                   6103:   smartd_suffix=;
                   6104: fi
                   6105: 
                   6106: 
                   6107: 
                   6108: 
                   6109: # Check whether --with-os-deps was given.
                   6110: if test "${with_os_deps+set}" = set; then :
                   6111:   withval=$with_os_deps;  for x in $with_os_deps; do
                   6112:       case $x in
                   6113:         *.o) ;;
1.1.1.3 ! misho    6114:         *) as_fn_error $? "non-object file specified by --with-os-deps" "$LINENO" 5 ;;
1.1       misho    6115:       esac
                   6116:     done
                   6117: 
                   6118: fi
                   6119: 
                   6120: 
                   6121: 
                   6122: # Check whether --with-selinux was given.
                   6123: if test "${with_selinux+set}" = set; then :
                   6124:   withval=$with_selinux;  if test "$withval" = "yes"; then
                   6125:       for ac_header in selinux/selinux.h
                   6126: do :
                   6127:   ac_fn_cxx_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
                   6128: if test "x$ac_cv_header_selinux_selinux_h" = xyes; then :
                   6129:   cat >>confdefs.h <<_ACEOF
                   6130: #define HAVE_SELINUX_SELINUX_H 1
                   6131: _ACEOF
                   6132: 
                   6133: else
                   6134:   as_fn_error $? "Missing SELinux header files" "$LINENO" 5
                   6135: fi
                   6136: 
                   6137: done
                   6138: 
                   6139:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for matchpathcon in -lselinux" >&5
                   6140: $as_echo_n "checking for matchpathcon in -lselinux... " >&6; }
                   6141: if ${ac_cv_lib_selinux_matchpathcon+:} false; then :
                   6142:   $as_echo_n "(cached) " >&6
                   6143: else
                   6144:   ac_check_lib_save_LIBS=$LIBS
                   6145: LIBS="-lselinux  $LIBS"
                   6146: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6147: /* end confdefs.h.  */
                   6148: 
                   6149: /* Override any GCC internal prototype to avoid an error.
                   6150:    Use char because int might match the return type of a GCC
                   6151:    builtin and then its argument prototype would still apply.  */
                   6152: #ifdef __cplusplus
                   6153: extern "C"
                   6154: #endif
                   6155: char matchpathcon ();
                   6156: int
                   6157: main ()
                   6158: {
                   6159: return matchpathcon ();
                   6160:   ;
                   6161:   return 0;
                   6162: }
                   6163: _ACEOF
                   6164: if ac_fn_cxx_try_link "$LINENO"; then :
                   6165:   ac_cv_lib_selinux_matchpathcon=yes
                   6166: else
                   6167:   ac_cv_lib_selinux_matchpathcon=no
                   6168: fi
                   6169: rm -f core conftest.err conftest.$ac_objext \
                   6170:     conftest$ac_exeext conftest.$ac_ext
                   6171: LIBS=$ac_check_lib_save_LIBS
                   6172: fi
                   6173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_matchpathcon" >&5
                   6174: $as_echo "$ac_cv_lib_selinux_matchpathcon" >&6; }
                   6175: if test "x$ac_cv_lib_selinux_matchpathcon" = xyes; then :
                   6176:   cat >>confdefs.h <<_ACEOF
                   6177: #define HAVE_LIBSELINUX 1
                   6178: _ACEOF
                   6179: 
                   6180:   LIBS="-lselinux $LIBS"
                   6181: 
                   6182: else
                   6183:   as_fn_error $? "Missing or incorrect SELinux library files" "$LINENO" 5
                   6184: fi
                   6185: 
                   6186:     fi
                   6187: 
                   6188: fi
                   6189: 
                   6190: 
                   6191: if test "$with_selinux" = "yes"; then
                   6192: 
                   6193: $as_echo "#define WITH_SELINUX 1" >>confdefs.h
                   6194: 
                   6195: fi
                   6196: 
                   6197: 
                   6198: # Check whether --with-libcap-ng was given.
                   6199: if test "${with_libcap_ng+set}" = set; then :
                   6200:   withval=$with_libcap_ng;
                   6201: else
                   6202:   with_libcap_ng=auto
                   6203: fi
                   6204: 
                   6205: 
                   6206: use_libcap_ng=no
                   6207: if test "$with_libcap_ng" != "no"; then
                   6208:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
                   6209: $as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
                   6210: if ${ac_cv_lib_cap_ng_capng_clear+:} false; then :
                   6211:   $as_echo_n "(cached) " >&6
                   6212: else
                   6213:   ac_check_lib_save_LIBS=$LIBS
                   6214: LIBS="-lcap-ng  $LIBS"
                   6215: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6216: /* end confdefs.h.  */
                   6217: 
                   6218: /* Override any GCC internal prototype to avoid an error.
                   6219:    Use char because int might match the return type of a GCC
                   6220:    builtin and then its argument prototype would still apply.  */
                   6221: #ifdef __cplusplus
                   6222: extern "C"
                   6223: #endif
                   6224: char capng_clear ();
                   6225: int
                   6226: main ()
                   6227: {
                   6228: return capng_clear ();
                   6229:   ;
                   6230:   return 0;
                   6231: }
                   6232: _ACEOF
                   6233: if ac_fn_cxx_try_link "$LINENO"; then :
                   6234:   ac_cv_lib_cap_ng_capng_clear=yes
                   6235: else
                   6236:   ac_cv_lib_cap_ng_capng_clear=no
                   6237: fi
                   6238: rm -f core conftest.err conftest.$ac_objext \
                   6239:     conftest$ac_exeext conftest.$ac_ext
                   6240: LIBS=$ac_check_lib_save_LIBS
                   6241: fi
                   6242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
                   6243: $as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
                   6244: if test "x$ac_cv_lib_cap_ng_capng_clear" = xyes; then :
                   6245: 
                   6246: $as_echo "#define HAVE_LIBCAP_NG 1" >>confdefs.h
                   6247: 
                   6248:      CAPNG_LDADD="-lcap-ng"; use_libcap_ng=yes
                   6249: fi
                   6250: 
                   6251: 
                   6252:   if test "$use_libcap_ng" = "yes"; then
                   6253:     ac_fn_cxx_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
                   6254: if test "x$ac_cv_header_cap_ng_h" = xyes; then :
                   6255: 
                   6256: else
                   6257:   as_fn_error $? "libcap-ng libraries found but headers are missing" "$LINENO" 5
                   6258: fi
                   6259: 
                   6260: 
                   6261:   elif test "$with_libcap_ng" = "yes"; then
                   6262:     as_fn_error $? "libcap-ng support was requested but the library was not found" "$LINENO" 5
                   6263:   fi
                   6264: fi
                   6265: 
                   6266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libcap-ng" >&5
                   6267: $as_echo_n "checking whether to use libcap-ng... " >&6; }
                   6268: 
                   6269:  if test "$use_libcap_ng" = "yes"; then
                   6270:   ENABLE_CAPABILITIES_TRUE=
                   6271:   ENABLE_CAPABILITIES_FALSE='#'
                   6272: else
                   6273:   ENABLE_CAPABILITIES_TRUE='#'
                   6274:   ENABLE_CAPABILITIES_FALSE=
                   6275: fi
                   6276: 
                   6277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libcap_ng" >&5
                   6278: $as_echo "$use_libcap_ng" >&6; }
                   6279: 
                   6280: if test "$prefix" = "NONE"; then
                   6281:         if test "$mandir" = '${prefix}/man'; then
                   6282:        mandir='${prefix}/share/man'
                   6283: 
                   6284:     fi
                   6285: fi
                   6286: 
                   6287: releaseversion='${PACKAGE}-${VERSION}'
                   6288: 
                   6289: 
                   6290: 
                   6291: 
                   6292: # Set platform-specific modules and symbols
                   6293: os_libs=
                   6294: os_dltools='curl wget lynx'
1.1.1.3 ! misho    6295: os_mailer=mail
1.1       misho    6296: os_darwin=no
                   6297: os_solaris=no
                   6298: os_win32=no
                   6299: os_win32_mingw=no
                   6300: os_win64=no
                   6301: os_man_filter=
                   6302: case "${host}" in
                   6303:   *-*-linux*)
1.1.1.3 ! misho    6304:     os_deps='os_linux.o cciss.o dev_areca.o'
1.1       misho    6305:     os_man_filter=Linux
                   6306:     ;;
                   6307:   *-*-freebsd*|*-*-dragonfly*|*-*-kfreebsd*-gnu*)
1.1.1.3 ! misho    6308:     os_deps='os_freebsd.o cciss.o dev_areca.o'
1.1       misho    6309:     os_libs='-lcam'
                   6310:     os_dltools='curl wget lynx fetch'
                   6311:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb20_dev_get_device_desc in -lusb" >&5
                   6312: $as_echo_n "checking for libusb20_dev_get_device_desc in -lusb... " >&6; }
                   6313: if ${ac_cv_lib_usb_libusb20_dev_get_device_desc+:} false; then :
                   6314:   $as_echo_n "(cached) " >&6
                   6315: else
                   6316:   ac_check_lib_save_LIBS=$LIBS
                   6317: LIBS="-lusb  $LIBS"
                   6318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6319: /* end confdefs.h.  */
                   6320: 
                   6321: /* Override any GCC internal prototype to avoid an error.
                   6322:    Use char because int might match the return type of a GCC
                   6323:    builtin and then its argument prototype would still apply.  */
                   6324: #ifdef __cplusplus
                   6325: extern "C"
                   6326: #endif
                   6327: char libusb20_dev_get_device_desc ();
                   6328: int
                   6329: main ()
                   6330: {
                   6331: return libusb20_dev_get_device_desc ();
                   6332:   ;
                   6333:   return 0;
                   6334: }
                   6335: _ACEOF
                   6336: if ac_fn_cxx_try_link "$LINENO"; then :
                   6337:   ac_cv_lib_usb_libusb20_dev_get_device_desc=yes
                   6338: else
                   6339:   ac_cv_lib_usb_libusb20_dev_get_device_desc=no
                   6340: fi
                   6341: rm -f core conftest.err conftest.$ac_objext \
                   6342:     conftest$ac_exeext conftest.$ac_ext
                   6343: LIBS=$ac_check_lib_save_LIBS
                   6344: fi
                   6345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_libusb20_dev_get_device_desc" >&5
                   6346: $as_echo "$ac_cv_lib_usb_libusb20_dev_get_device_desc" >&6; }
                   6347: if test "x$ac_cv_lib_usb_libusb20_dev_get_device_desc" = xyes; then :
                   6348:   cat >>confdefs.h <<_ACEOF
                   6349: #define HAVE_LIBUSB 1
                   6350: _ACEOF
                   6351: 
                   6352:   LIBS="-lusb $LIBS"
                   6353: 
                   6354: fi
                   6355: 
                   6356:     os_man_filter=FreeBSD
                   6357:     ;;
                   6358:   sparc-*-solaris*)
                   6359:     os_deps='os_solaris.o os_solaris_ata.o'
                   6360:     os_mailer='mailx'
                   6361:     os_solaris=yes
                   6362:     os_man_filter=Solaris
                   6363:     ;;
                   6364:   *-pc-solaris*)
                   6365:     os_deps='os_solaris.o'
                   6366:     os_mailer='mailx'
                   6367:     os_solaris=yes
                   6368:     os_man_filter=Solaris
                   6369:     ;;
                   6370:   *-*-netbsd*)
                   6371:     os_deps='os_netbsd.o'
                   6372:     os_libs='-lutil'
                   6373:     os_man_filter=NetBSD
                   6374:     ;;
                   6375:   *-*-openbsd*)
                   6376:     os_deps='os_openbsd.o'
                   6377:     os_libs='-lutil'
                   6378:     os_dltools='curl wget lynx ftp'
                   6379:     os_man_filter=OpenBSD
                   6380:     ;;
                   6381:   *-*-cygwin*)
1.1.1.3 ! misho    6382:     os_deps='os_win32.o dev_areca.o'
1.1       misho    6383:     os_win32=yes
                   6384:     os_man_filter=Cygwin
                   6385:     ;;
                   6386:   x86_64-*-mingw*)
1.1.1.3 ! misho    6387:     os_deps='os_win32.o dev_areca.o'
1.1       misho    6388:     os_win32=yes
                   6389:     os_win32_mingw=yes
                   6390:     os_win64=yes
                   6391:     os_man_filter=Windows
                   6392:     ;;
                   6393:   *-*-mingw*)
1.1.1.3 ! misho    6394:     os_deps='os_win32.o dev_areca.o'
1.1       misho    6395:     os_win32=yes
                   6396:     os_win32_mingw=yes
                   6397:     os_man_filter=Windows
                   6398:     ;;
                   6399:   *-*-darwin*)
                   6400:     os_deps='os_darwin.o'
                   6401:     os_libs='-framework CoreFoundation -framework IOKit'
                   6402:     os_darwin=yes
                   6403:     os_man_filter=Darwin
                   6404:     ;;
                   6405:   *-*-nto-qnx*)
                   6406:     os_deps='os_qnxnto.o'
                   6407:     ;;
                   6408:   *)
                   6409:     os_deps='os_generic.o'
                   6410:     ;;
                   6411: esac
                   6412: 
                   6413: # Replace if '--with-os-deps' was specified
                   6414: test -z "$with_os_deps" || os_deps="$with_os_deps"
                   6415: 
                   6416: # Check if we need adapter to old interface (dev_legacy.cpp)
                   6417: os_src=`echo "${os_deps}"|sed -n 's,^\([^ .]*\)\.o.*$,\1.cpp,p'`
                   6418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${os_src} uses new interface" >&5
                   6419: $as_echo_n "checking whether ${os_src} uses new interface... " >&6; }
                   6420: if grep "smart_interface" "${srcdir}/${os_src}" >/dev/null 2>&1; then
                   6421:   os_new_interface=yes
                   6422: else
                   6423:   os_new_interface=no
                   6424:   os_deps="${os_deps} dev_legacy.o"
                   6425: 
                   6426: $as_echo "#define OLD_INTERFACE 1" >>confdefs.h
                   6427: 
                   6428: fi
                   6429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_new_interface" >&5
                   6430: $as_echo "$os_new_interface" >&6; }
                   6431: 
                   6432: 
                   6433: 
                   6434: 
                   6435: 
                   6436: 
                   6437: 
                   6438: # Create drivedb.h update branch name from version: 5.41[.X] -> RELEASE_5_41_DRIVEDB
                   6439: DRIVEDB_BRANCH=`echo $VERSION | sed 's,^\([0-9]*\.[0-9]*\)\..*$,\1,' \
                   6440:                 | sed -n 's,^\([0-9][0-9]*\)\.\([0-9][0-9]*\)$,RELEASE_\1_\2_DRIVEDB,p'`
                   6441: if test -z "$DRIVEDB_BRANCH"; then
                   6442:   as_fn_error $? "Unable to create DRIVEDB_BRANCH from VERSION=$VERSION" "$LINENO" 5
                   6443: fi
                   6444: 
                   6445: 
                   6446: # Enable platform-specific makefile sections
                   6447:  if test "$os_darwin" = "yes"; then
                   6448:   OS_DARWIN_TRUE=
                   6449:   OS_DARWIN_FALSE='#'
                   6450: else
                   6451:   OS_DARWIN_TRUE='#'
                   6452:   OS_DARWIN_FALSE=
                   6453: fi
                   6454: 
                   6455:  if test "$os_solaris" = "yes"; then
                   6456:   OS_SOLARIS_TRUE=
                   6457:   OS_SOLARIS_FALSE='#'
                   6458: else
                   6459:   OS_SOLARIS_TRUE='#'
                   6460:   OS_SOLARIS_FALSE=
                   6461: fi
                   6462: 
                   6463:  if test "$os_win32" = "yes"; then
                   6464:   OS_WIN32_TRUE=
                   6465:   OS_WIN32_FALSE='#'
                   6466: else
                   6467:   OS_WIN32_TRUE='#'
                   6468:   OS_WIN32_FALSE=
                   6469: fi
                   6470: 
                   6471:  if test "$os_win32_mingw" = "yes"; then
                   6472:   OS_WIN32_MINGW_TRUE=
                   6473:   OS_WIN32_MINGW_FALSE='#'
                   6474: else
                   6475:   OS_WIN32_MINGW_TRUE='#'
                   6476:   OS_WIN32_MINGW_FALSE=
                   6477: fi
                   6478: 
                   6479:  if test -n "$MAKENSIS"; then
                   6480:   OS_WIN32_NSIS_TRUE=
                   6481:   OS_WIN32_NSIS_FALSE='#'
                   6482: else
                   6483:   OS_WIN32_NSIS_TRUE='#'
                   6484:   OS_WIN32_NSIS_FALSE=
                   6485: fi
                   6486: 
                   6487:  if test "$os_win64" = "yes"; then
                   6488:   OS_WIN64_TRUE=
                   6489:   OS_WIN64_FALSE='#'
                   6490: else
                   6491:   OS_WIN64_TRUE='#'
                   6492:   OS_WIN64_FALSE=
                   6493: fi
                   6494: 
                   6495: 
                   6496: if test "$GXX" = "yes"; then
                   6497:   if test -z "`echo "$CXXFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
                   6498:       CXXFLAGS="$CXXFLAGS -Wall"
                   6499:   fi
                   6500: # In the next line, do NOT delete the 2 spaces inside double quotes.
                   6501:   if test -z "`echo "$CXXFLAGS " | grep "\-W " 2> /dev/null`" ; then
                   6502:       CXXFLAGS="$CXXFLAGS -W"
                   6503:   fi
                   6504: 
                   6505: else
                   6506:   case "${host}" in
                   6507:        sparc*-*-solaris*)
                   6508:                     if test -z "`echo "$CXXFLAGS" | grep "\-xmemalign" 2> /dev/null`" ; then
                   6509:                         CXXFLAGS="-xmemalign=1i $CXXFLAGS"
                   6510:           fi
                   6511:  esac
                   6512:  case "${host}" in
                   6513:        *-*-solaris*)
                   6514:           if test -z "`echo "$CXXFLAGS" | grep "\-xO" 2> /dev/null`" ; then
                   6515:                         CXXFLAGS="-xO2 $CXXFLAGS"
                   6516:           fi
                   6517:           if test -z "`echo "$CXXFLAGS" | grep "\-erroff" 2> /dev/null`" ; then
                   6518:                    CXXFLAGS="-erroff=%none,wbadinitl,wbadasgl,badargtypel2w,badargtype2w $CXXFLAGS"
                   6519:          fi
                   6520:  esac
                   6521: fi
                   6522: 
                   6523: 
                   6524: cat >>confdefs.h <<_ACEOF
                   6525: #define SMARTMONTOOLS_BUILD_HOST "${host}"
                   6526: _ACEOF
                   6527: 
                   6528: 
                   6529: 
                   6530: 
                   6531: ac_config_files="$ac_config_files Makefile"
                   6532: 
                   6533: cat >confcache <<\_ACEOF
                   6534: # This file is a shell script that caches the results of configure
                   6535: # tests run on this system so they can be shared between configure
                   6536: # scripts and configure runs, see configure's option --config-cache.
                   6537: # It is not useful on other systems.  If it contains results you don't
                   6538: # want to keep, you may remove or edit it.
                   6539: #
                   6540: # config.status only pays attention to the cache file if you give it
                   6541: # the --recheck option to rerun configure.
                   6542: #
                   6543: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   6544: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   6545: # following values.
                   6546: 
                   6547: _ACEOF
                   6548: 
                   6549: # The following way of writing the cache mishandles newlines in values,
                   6550: # but we know of no workaround that is simple, portable, and efficient.
                   6551: # So, we kill variables containing newlines.
                   6552: # Ultrix sh set writes to stderr and can't be redirected directly,
                   6553: # and sets the high bit in the cache file unless we assign to the vars.
                   6554: (
                   6555:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   6556:     eval ac_val=\$$ac_var
                   6557:     case $ac_val in #(
                   6558:     *${as_nl}*)
                   6559:       case $ac_var in #(
                   6560:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   6561: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   6562:       esac
                   6563:       case $ac_var in #(
                   6564:       _ | IFS | as_nl) ;; #(
                   6565:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   6566:       *) { eval $ac_var=; unset $ac_var;} ;;
                   6567:       esac ;;
                   6568:     esac
                   6569:   done
                   6570: 
                   6571:   (set) 2>&1 |
                   6572:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   6573:     *${as_nl}ac_space=\ *)
                   6574:       # `set' does not quote correctly, so add quotes: double-quote
                   6575:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   6576:       sed -n \
                   6577:        "s/'/'\\\\''/g;
                   6578:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   6579:       ;; #(
                   6580:     *)
                   6581:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   6582:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   6583:       ;;
                   6584:     esac |
                   6585:     sort
                   6586: ) |
                   6587:   sed '
                   6588:      /^ac_cv_env_/b end
                   6589:      t clear
                   6590:      :clear
                   6591:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   6592:      t end
                   6593:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   6594:      :end' >>confcache
                   6595: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   6596:   if test -w "$cache_file"; then
                   6597:     if test "x$cache_file" != "x/dev/null"; then
                   6598:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   6599: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   6600:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   6601:        cat confcache >"$cache_file"
                   6602:       else
                   6603:         case $cache_file in #(
                   6604:         */* | ?:*)
                   6605:          mv -f confcache "$cache_file"$$ &&
                   6606:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   6607:         *)
                   6608:          mv -f confcache "$cache_file" ;;
                   6609:        esac
                   6610:       fi
                   6611:     fi
                   6612:   else
                   6613:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   6614: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   6615:   fi
                   6616: fi
                   6617: rm -f confcache
                   6618: 
                   6619: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   6620: # Let make expand exec_prefix.
                   6621: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   6622: 
                   6623: DEFS=-DHAVE_CONFIG_H
                   6624: 
                   6625: ac_libobjs=
                   6626: ac_ltlibobjs=
                   6627: U=
                   6628: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   6629:   # 1. Remove the extension, and $U if already installed.
                   6630:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   6631:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   6632:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   6633:   #    will be set to the directory where LIBOBJS objects are built.
                   6634:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   6635:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   6636: done
                   6637: LIBOBJS=$ac_libobjs
                   6638: 
                   6639: LTLIBOBJS=$ac_ltlibobjs
                   6640: 
                   6641: 
1.1.1.3 ! misho    6642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          6643: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          6644:    if test -n "$am_sleep_pid"; then
        !          6645:      # Hide warnings about reused PIDs.
        !          6646:      wait $am_sleep_pid 2>/dev/null
        !          6647:    fi
        !          6648:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          6649: $as_echo "done" >&6; }
1.1       misho    6650:  if test -n "$EXEEXT"; then
                   6651:   am__EXEEXT_TRUE=
                   6652:   am__EXEEXT_FALSE='#'
                   6653: else
                   6654:   am__EXEEXT_TRUE='#'
                   6655:   am__EXEEXT_FALSE=
                   6656: fi
                   6657: 
                   6658: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   6659:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
                   6660: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6661: fi
                   6662: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   6663:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   6664: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6665: fi
                   6666: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   6667:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   6668: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6669: fi
                   6670: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   6671:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   6672: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6673: fi
                   6674: if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
                   6675:   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
                   6676: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6677: fi
                   6678: if test -z "${IS_SVN_BUILD_TRUE}" && test -z "${IS_SVN_BUILD_FALSE}"; then
                   6679:   as_fn_error $? "conditional \"IS_SVN_BUILD\" was never defined.
                   6680: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6681: fi
                   6682: if test -z "${NEED_GETOPT_LONG_TRUE}" && test -z "${NEED_GETOPT_LONG_FALSE}"; then
                   6683:   as_fn_error $? "conditional \"NEED_GETOPT_LONG\" was never defined.
                   6684: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6685: fi
                   6686: if test -z "${NEED_REGEX_TRUE}" && test -z "${NEED_REGEX_FALSE}"; then
                   6687:   as_fn_error $? "conditional \"NEED_REGEX\" was never defined.
                   6688: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6689: fi
                   6690: 
                   6691: if test -z "${INSTALL_SYSTEMDUNIT_TRUE}" && test -z "${INSTALL_SYSTEMDUNIT_FALSE}"; then
                   6692:   as_fn_error $? "conditional \"INSTALL_SYSTEMDUNIT\" was never defined.
                   6693: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6694: fi
                   6695: if test -z "${INSTALL_INITSCRIPT_TRUE}" && test -z "${INSTALL_INITSCRIPT_FALSE}"; then
                   6696:   as_fn_error $? "conditional \"INSTALL_INITSCRIPT\" was never defined.
                   6697: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6698: fi
                   6699: if test -z "${ENABLE_DRIVEDB_TRUE}" && test -z "${ENABLE_DRIVEDB_FALSE}"; then
                   6700:   as_fn_error $? "conditional \"ENABLE_DRIVEDB\" was never defined.
                   6701: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6702: fi
                   6703: if test -z "${ENABLE_SAVESTATES_TRUE}" && test -z "${ENABLE_SAVESTATES_FALSE}"; then
                   6704:   as_fn_error $? "conditional \"ENABLE_SAVESTATES\" was never defined.
                   6705: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6706: fi
                   6707: if test -z "${ENABLE_ATTRIBUTELOG_TRUE}" && test -z "${ENABLE_ATTRIBUTELOG_FALSE}"; then
                   6708:   as_fn_error $? "conditional \"ENABLE_ATTRIBUTELOG\" was never defined.
                   6709: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6710: fi
                   6711: if test -z "${ENABLE_CAPABILITIES_TRUE}" && test -z "${ENABLE_CAPABILITIES_FALSE}"; then
                   6712:   as_fn_error $? "conditional \"ENABLE_CAPABILITIES\" was never defined.
                   6713: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6714: fi
                   6715: if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
                   6716:   as_fn_error $? "conditional \"OS_DARWIN\" was never defined.
                   6717: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6718: fi
                   6719: if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then
                   6720:   as_fn_error $? "conditional \"OS_SOLARIS\" was never defined.
                   6721: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6722: fi
                   6723: if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
                   6724:   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
                   6725: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6726: fi
                   6727: if test -z "${OS_WIN32_MINGW_TRUE}" && test -z "${OS_WIN32_MINGW_FALSE}"; then
                   6728:   as_fn_error $? "conditional \"OS_WIN32_MINGW\" was never defined.
                   6729: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6730: fi
                   6731: if test -z "${OS_WIN32_NSIS_TRUE}" && test -z "${OS_WIN32_NSIS_FALSE}"; then
                   6732:   as_fn_error $? "conditional \"OS_WIN32_NSIS\" was never defined.
                   6733: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6734: fi
                   6735: if test -z "${OS_WIN64_TRUE}" && test -z "${OS_WIN64_FALSE}"; then
                   6736:   as_fn_error $? "conditional \"OS_WIN64\" was never defined.
                   6737: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   6738: fi
                   6739: 
                   6740: : "${CONFIG_STATUS=./config.status}"
                   6741: ac_write_fail=0
                   6742: ac_clean_files_save=$ac_clean_files
                   6743: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   6744: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   6745: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   6746: as_write_fail=0
                   6747: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   6748: #! $SHELL
                   6749: # Generated by $as_me.
                   6750: # Run this file to recreate the current configuration.
                   6751: # Compiler output produced by configure, useful for debugging
                   6752: # configure, is in config.log if it exists.
                   6753: 
                   6754: debug=false
                   6755: ac_cs_recheck=false
                   6756: ac_cs_silent=false
                   6757: 
                   6758: SHELL=\${CONFIG_SHELL-$SHELL}
                   6759: export SHELL
                   6760: _ASEOF
                   6761: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   6762: ## -------------------- ##
                   6763: ## M4sh Initialization. ##
                   6764: ## -------------------- ##
                   6765: 
                   6766: # Be more Bourne compatible
                   6767: DUALCASE=1; export DUALCASE # for MKS sh
                   6768: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   6769:   emulate sh
                   6770:   NULLCMD=:
                   6771:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   6772:   # is contrary to our usage.  Disable this feature.
                   6773:   alias -g '${1+"$@"}'='"$@"'
                   6774:   setopt NO_GLOB_SUBST
                   6775: else
                   6776:   case `(set -o) 2>/dev/null` in #(
                   6777:   *posix*) :
                   6778:     set -o posix ;; #(
                   6779:   *) :
                   6780:      ;;
                   6781: esac
                   6782: fi
                   6783: 
                   6784: 
                   6785: as_nl='
                   6786: '
                   6787: export as_nl
                   6788: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   6789: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   6790: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   6791: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   6792: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   6793: # but without wasting forks for bash or zsh.
                   6794: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   6795:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   6796:   as_echo='print -r --'
                   6797:   as_echo_n='print -rn --'
                   6798: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   6799:   as_echo='printf %s\n'
                   6800:   as_echo_n='printf %s'
                   6801: else
                   6802:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   6803:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   6804:     as_echo_n='/usr/ucb/echo -n'
                   6805:   else
                   6806:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   6807:     as_echo_n_body='eval
                   6808:       arg=$1;
                   6809:       case $arg in #(
                   6810:       *"$as_nl"*)
                   6811:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   6812:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   6813:       esac;
                   6814:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   6815:     '
                   6816:     export as_echo_n_body
                   6817:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   6818:   fi
                   6819:   export as_echo_body
                   6820:   as_echo='sh -c $as_echo_body as_echo'
                   6821: fi
                   6822: 
                   6823: # The user is always right.
                   6824: if test "${PATH_SEPARATOR+set}" != set; then
                   6825:   PATH_SEPARATOR=:
                   6826:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   6827:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   6828:       PATH_SEPARATOR=';'
                   6829:   }
                   6830: fi
                   6831: 
                   6832: 
                   6833: # IFS
                   6834: # We need space, tab and new line, in precisely that order.  Quoting is
                   6835: # there to prevent editors from complaining about space-tab.
                   6836: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   6837: # splitting by setting IFS to empty value.)
                   6838: IFS=" ""       $as_nl"
                   6839: 
                   6840: # Find who we are.  Look in the path if we contain no directory separator.
                   6841: as_myself=
                   6842: case $0 in #((
                   6843:   *[\\/]* ) as_myself=$0 ;;
                   6844:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6845: for as_dir in $PATH
                   6846: do
                   6847:   IFS=$as_save_IFS
                   6848:   test -z "$as_dir" && as_dir=.
                   6849:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   6850:   done
                   6851: IFS=$as_save_IFS
                   6852: 
                   6853:      ;;
                   6854: esac
                   6855: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   6856: # in which case we are not to be found in the path.
                   6857: if test "x$as_myself" = x; then
                   6858:   as_myself=$0
                   6859: fi
                   6860: if test ! -f "$as_myself"; then
                   6861:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   6862:   exit 1
                   6863: fi
                   6864: 
                   6865: # Unset variables that we do not need and which cause bugs (e.g. in
                   6866: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   6867: # suppresses any "Segmentation fault" message there.  '((' could
                   6868: # trigger a bug in pdksh 5.2.14.
                   6869: for as_var in BASH_ENV ENV MAIL MAILPATH
                   6870: do eval test x\${$as_var+set} = xset \
                   6871:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   6872: done
                   6873: PS1='$ '
                   6874: PS2='> '
                   6875: PS4='+ '
                   6876: 
                   6877: # NLS nuisances.
                   6878: LC_ALL=C
                   6879: export LC_ALL
                   6880: LANGUAGE=C
                   6881: export LANGUAGE
                   6882: 
                   6883: # CDPATH.
                   6884: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   6885: 
                   6886: 
                   6887: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   6888: # ----------------------------------------
                   6889: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   6890: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   6891: # script with STATUS, using 1 if that was 0.
                   6892: as_fn_error ()
                   6893: {
                   6894:   as_status=$1; test $as_status -eq 0 && as_status=1
                   6895:   if test "$4"; then
                   6896:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   6897:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   6898:   fi
                   6899:   $as_echo "$as_me: error: $2" >&2
                   6900:   as_fn_exit $as_status
                   6901: } # as_fn_error
                   6902: 
                   6903: 
                   6904: # as_fn_set_status STATUS
                   6905: # -----------------------
                   6906: # Set $? to STATUS, without forking.
                   6907: as_fn_set_status ()
                   6908: {
                   6909:   return $1
                   6910: } # as_fn_set_status
                   6911: 
                   6912: # as_fn_exit STATUS
                   6913: # -----------------
                   6914: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   6915: as_fn_exit ()
                   6916: {
                   6917:   set +e
                   6918:   as_fn_set_status $1
                   6919:   exit $1
                   6920: } # as_fn_exit
                   6921: 
                   6922: # as_fn_unset VAR
                   6923: # ---------------
                   6924: # Portably unset VAR.
                   6925: as_fn_unset ()
                   6926: {
                   6927:   { eval $1=; unset $1;}
                   6928: }
                   6929: as_unset=as_fn_unset
                   6930: # as_fn_append VAR VALUE
                   6931: # ----------------------
                   6932: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   6933: # advantage of any shell optimizations that allow amortized linear growth over
                   6934: # repeated appends, instead of the typical quadratic growth present in naive
                   6935: # implementations.
                   6936: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   6937:   eval 'as_fn_append ()
                   6938:   {
                   6939:     eval $1+=\$2
                   6940:   }'
                   6941: else
                   6942:   as_fn_append ()
                   6943:   {
                   6944:     eval $1=\$$1\$2
                   6945:   }
                   6946: fi # as_fn_append
                   6947: 
                   6948: # as_fn_arith ARG...
                   6949: # ------------------
                   6950: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   6951: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   6952: # must be portable across $(()) and expr.
                   6953: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   6954:   eval 'as_fn_arith ()
                   6955:   {
                   6956:     as_val=$(( $* ))
                   6957:   }'
                   6958: else
                   6959:   as_fn_arith ()
                   6960:   {
                   6961:     as_val=`expr "$@" || test $? -eq 1`
                   6962:   }
                   6963: fi # as_fn_arith
                   6964: 
                   6965: 
                   6966: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   6967:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   6968:   as_expr=expr
                   6969: else
                   6970:   as_expr=false
                   6971: fi
                   6972: 
                   6973: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   6974:   as_basename=basename
                   6975: else
                   6976:   as_basename=false
                   6977: fi
                   6978: 
                   6979: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   6980:   as_dirname=dirname
                   6981: else
                   6982:   as_dirname=false
                   6983: fi
                   6984: 
                   6985: as_me=`$as_basename -- "$0" ||
                   6986: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   6987:         X"$0" : 'X\(//\)$' \| \
                   6988:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   6989: $as_echo X/"$0" |
                   6990:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   6991:            s//\1/
                   6992:            q
                   6993:          }
                   6994:          /^X\/\(\/\/\)$/{
                   6995:            s//\1/
                   6996:            q
                   6997:          }
                   6998:          /^X\/\(\/\).*/{
                   6999:            s//\1/
                   7000:            q
                   7001:          }
                   7002:          s/.*/./; q'`
                   7003: 
                   7004: # Avoid depending upon Character Ranges.
                   7005: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   7006: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   7007: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   7008: as_cr_digits='0123456789'
                   7009: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   7010: 
                   7011: ECHO_C= ECHO_N= ECHO_T=
                   7012: case `echo -n x` in #(((((
                   7013: -n*)
                   7014:   case `echo 'xy\c'` in
                   7015:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   7016:   xy)  ECHO_C='\c';;
                   7017:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   7018:        ECHO_T='        ';;
                   7019:   esac;;
                   7020: *)
                   7021:   ECHO_N='-n';;
                   7022: esac
                   7023: 
                   7024: rm -f conf$$ conf$$.exe conf$$.file
                   7025: if test -d conf$$.dir; then
                   7026:   rm -f conf$$.dir/conf$$.file
                   7027: else
                   7028:   rm -f conf$$.dir
                   7029:   mkdir conf$$.dir 2>/dev/null
                   7030: fi
                   7031: if (echo >conf$$.file) 2>/dev/null; then
                   7032:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   7033:     as_ln_s='ln -s'
                   7034:     # ... but there are two gotchas:
                   7035:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   7036:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.3 ! misho    7037:     # In both cases, we have to default to `cp -pR'.
1.1       misho    7038:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.3 ! misho    7039:       as_ln_s='cp -pR'
1.1       misho    7040:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   7041:     as_ln_s=ln
                   7042:   else
1.1.1.3 ! misho    7043:     as_ln_s='cp -pR'
1.1       misho    7044:   fi
                   7045: else
1.1.1.3 ! misho    7046:   as_ln_s='cp -pR'
1.1       misho    7047: fi
                   7048: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   7049: rmdir conf$$.dir 2>/dev/null
                   7050: 
                   7051: 
                   7052: # as_fn_mkdir_p
                   7053: # -------------
                   7054: # Create "$as_dir" as a directory, including parents if necessary.
                   7055: as_fn_mkdir_p ()
                   7056: {
                   7057: 
                   7058:   case $as_dir in #(
                   7059:   -*) as_dir=./$as_dir;;
                   7060:   esac
                   7061:   test -d "$as_dir" || eval $as_mkdir_p || {
                   7062:     as_dirs=
                   7063:     while :; do
                   7064:       case $as_dir in #(
                   7065:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   7066:       *) as_qdir=$as_dir;;
                   7067:       esac
                   7068:       as_dirs="'$as_qdir' $as_dirs"
                   7069:       as_dir=`$as_dirname -- "$as_dir" ||
                   7070: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7071:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   7072:         X"$as_dir" : 'X\(//\)$' \| \
                   7073:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   7074: $as_echo X"$as_dir" |
                   7075:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7076:            s//\1/
                   7077:            q
                   7078:          }
                   7079:          /^X\(\/\/\)[^/].*/{
                   7080:            s//\1/
                   7081:            q
                   7082:          }
                   7083:          /^X\(\/\/\)$/{
                   7084:            s//\1/
                   7085:            q
                   7086:          }
                   7087:          /^X\(\/\).*/{
                   7088:            s//\1/
                   7089:            q
                   7090:          }
                   7091:          s/.*/./; q'`
                   7092:       test -d "$as_dir" && break
                   7093:     done
                   7094:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   7095:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   7096: 
                   7097: 
                   7098: } # as_fn_mkdir_p
                   7099: if mkdir -p . 2>/dev/null; then
                   7100:   as_mkdir_p='mkdir -p "$as_dir"'
                   7101: else
                   7102:   test -d ./-p && rmdir ./-p
                   7103:   as_mkdir_p=false
                   7104: fi
                   7105: 
1.1.1.3 ! misho    7106: 
        !          7107: # as_fn_executable_p FILE
        !          7108: # -----------------------
        !          7109: # Test if FILE is an executable regular file.
        !          7110: as_fn_executable_p ()
        !          7111: {
        !          7112:   test -f "$1" && test -x "$1"
        !          7113: } # as_fn_executable_p
        !          7114: as_test_x='test -x'
        !          7115: as_executable_p=as_fn_executable_p
1.1       misho    7116: 
                   7117: # Sed expression to map a string onto a valid CPP name.
                   7118: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   7119: 
                   7120: # Sed expression to map a string onto a valid variable name.
                   7121: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   7122: 
                   7123: 
                   7124: exec 6>&1
                   7125: ## ----------------------------------- ##
                   7126: ## Main body of $CONFIG_STATUS script. ##
                   7127: ## ----------------------------------- ##
                   7128: _ASEOF
                   7129: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   7130: 
                   7131: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7132: # Save the log message, to keep $0 and so on meaningful, and to
                   7133: # report actual input values of CONFIG_FILES etc. instead of their
                   7134: # values after options handling.
                   7135: ac_log="
1.1.1.3 ! misho    7136: This file was extended by smartmontools $as_me 6.1, which was
        !          7137: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    7138: 
                   7139:   CONFIG_FILES    = $CONFIG_FILES
                   7140:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   7141:   CONFIG_LINKS    = $CONFIG_LINKS
                   7142:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   7143:   $ $0 $@
                   7144: 
                   7145: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   7146: "
                   7147: 
                   7148: _ACEOF
                   7149: 
                   7150: case $ac_config_files in *"
                   7151: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   7152: esac
                   7153: 
                   7154: case $ac_config_headers in *"
                   7155: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   7156: esac
                   7157: 
                   7158: 
                   7159: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7160: # Files that config.status was made for.
                   7161: config_files="$ac_config_files"
                   7162: config_headers="$ac_config_headers"
                   7163: config_commands="$ac_config_commands"
                   7164: 
                   7165: _ACEOF
                   7166: 
                   7167: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7168: ac_cs_usage="\
                   7169: \`$as_me' instantiates files and other configuration actions
                   7170: from templates according to the current configuration.  Unless the files
                   7171: and actions are specified as TAGs, all are instantiated by default.
                   7172: 
                   7173: Usage: $0 [OPTION]... [TAG]...
                   7174: 
                   7175:   -h, --help       print this help, then exit
                   7176:   -V, --version    print version number and configuration settings, then exit
                   7177:       --config     print configuration, then exit
                   7178:   -q, --quiet, --silent
                   7179:                    do not print progress messages
                   7180:   -d, --debug      don't remove temporary files
                   7181:       --recheck    update $as_me by reconfiguring in the same conditions
                   7182:       --file=FILE[:TEMPLATE]
                   7183:                    instantiate the configuration file FILE
                   7184:       --header=FILE[:TEMPLATE]
                   7185:                    instantiate the configuration header FILE
                   7186: 
                   7187: Configuration files:
                   7188: $config_files
                   7189: 
                   7190: Configuration headers:
                   7191: $config_headers
                   7192: 
                   7193: Configuration commands:
                   7194: $config_commands
                   7195: 
                   7196: Report bugs to <smartmontools-support@lists.sourceforge.net>."
                   7197: 
                   7198: _ACEOF
                   7199: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7200: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   7201: ac_cs_version="\\
1.1.1.3 ! misho    7202: smartmontools config.status 6.1
        !          7203: configured by $0, generated by GNU Autoconf 2.69,
1.1       misho    7204:   with options \\"\$ac_cs_config\\"
                   7205: 
1.1.1.3 ! misho    7206: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    7207: This config.status script is free software; the Free Software Foundation
                   7208: gives unlimited permission to copy, distribute and modify it."
                   7209: 
                   7210: ac_pwd='$ac_pwd'
                   7211: srcdir='$srcdir'
                   7212: INSTALL='$INSTALL'
                   7213: MKDIR_P='$MKDIR_P'
                   7214: AWK='$AWK'
                   7215: test -n "\$AWK" || AWK=awk
                   7216: _ACEOF
                   7217: 
                   7218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7219: # The default lists apply if the user does not specify any file.
                   7220: ac_need_defaults=:
                   7221: while test $# != 0
                   7222: do
                   7223:   case $1 in
                   7224:   --*=?*)
                   7225:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7226:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   7227:     ac_shift=:
                   7228:     ;;
                   7229:   --*=)
                   7230:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7231:     ac_optarg=
                   7232:     ac_shift=:
                   7233:     ;;
                   7234:   *)
                   7235:     ac_option=$1
                   7236:     ac_optarg=$2
                   7237:     ac_shift=shift
                   7238:     ;;
                   7239:   esac
                   7240: 
                   7241:   case $ac_option in
                   7242:   # Handling of the options.
                   7243:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   7244:     ac_cs_recheck=: ;;
                   7245:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   7246:     $as_echo "$ac_cs_version"; exit ;;
                   7247:   --config | --confi | --conf | --con | --co | --c )
                   7248:     $as_echo "$ac_cs_config"; exit ;;
                   7249:   --debug | --debu | --deb | --de | --d | -d )
                   7250:     debug=: ;;
                   7251:   --file | --fil | --fi | --f )
                   7252:     $ac_shift
                   7253:     case $ac_optarg in
                   7254:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   7255:     '') as_fn_error $? "missing file argument" ;;
                   7256:     esac
                   7257:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   7258:     ac_need_defaults=false;;
                   7259:   --header | --heade | --head | --hea )
                   7260:     $ac_shift
                   7261:     case $ac_optarg in
                   7262:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   7263:     esac
                   7264:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   7265:     ac_need_defaults=false;;
                   7266:   --he | --h)
                   7267:     # Conflict between --help and --header
                   7268:     as_fn_error $? "ambiguous option: \`$1'
                   7269: Try \`$0 --help' for more information.";;
                   7270:   --help | --hel | -h )
                   7271:     $as_echo "$ac_cs_usage"; exit ;;
                   7272:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7273:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7274:     ac_cs_silent=: ;;
                   7275: 
                   7276:   # This is an error.
                   7277:   -*) as_fn_error $? "unrecognized option: \`$1'
                   7278: Try \`$0 --help' for more information." ;;
                   7279: 
                   7280:   *) as_fn_append ac_config_targets " $1"
                   7281:      ac_need_defaults=false ;;
                   7282: 
                   7283:   esac
                   7284:   shift
                   7285: done
                   7286: 
                   7287: ac_configure_extra_args=
                   7288: 
                   7289: if $ac_cs_silent; then
                   7290:   exec 6>/dev/null
                   7291:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7292: fi
                   7293: 
                   7294: _ACEOF
                   7295: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7296: if \$ac_cs_recheck; then
1.1.1.3 ! misho    7297:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    7298:   shift
                   7299:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   7300:   CONFIG_SHELL='$SHELL'
                   7301:   export CONFIG_SHELL
                   7302:   exec "\$@"
                   7303: fi
                   7304: 
                   7305: _ACEOF
                   7306: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7307: exec 5>>config.log
                   7308: {
                   7309:   echo
                   7310:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7311: ## Running $as_me. ##
                   7312: _ASBOX
                   7313:   $as_echo "$ac_log"
                   7314: } >&5
                   7315: 
                   7316: _ACEOF
                   7317: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7318: #
                   7319: # INIT-COMMANDS
                   7320: #
                   7321: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   7322: 
                   7323: _ACEOF
                   7324: 
                   7325: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7326: 
                   7327: # Handling of arguments.
                   7328: for ac_config_target in $ac_config_targets
                   7329: do
                   7330:   case $ac_config_target in
                   7331:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   7332:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   7333:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   7334: 
1.1.1.3 ! misho    7335:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    7336:   esac
                   7337: done
                   7338: 
                   7339: 
                   7340: # If the user did not use the arguments to specify the items to instantiate,
                   7341: # then the envvar interface is used.  Set only those that are not.
                   7342: # We use the long form for the default assignment because of an extremely
                   7343: # bizarre bug on SunOS 4.1.3.
                   7344: if $ac_need_defaults; then
                   7345:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   7346:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   7347:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   7348: fi
                   7349: 
                   7350: # Have a temporary directory for convenience.  Make it in the build tree
                   7351: # simply because there is no reason against having it here, and in addition,
                   7352: # creating and moving files from /tmp can sometimes cause problems.
                   7353: # Hook for its removal unless debugging.
                   7354: # Note that there is a small window in which the directory will not be cleaned:
                   7355: # after its creation but before its name has been assigned to `$tmp'.
                   7356: $debug ||
                   7357: {
                   7358:   tmp= ac_tmp=
                   7359:   trap 'exit_status=$?
                   7360:   : "${ac_tmp:=$tmp}"
                   7361:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   7362: ' 0
                   7363:   trap 'as_fn_exit 1' 1 2 13 15
                   7364: }
                   7365: # Create a (secure) tmp directory for tmp files.
                   7366: 
                   7367: {
                   7368:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   7369:   test -d "$tmp"
                   7370: }  ||
                   7371: {
                   7372:   tmp=./conf$$-$RANDOM
                   7373:   (umask 077 && mkdir "$tmp")
                   7374: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   7375: ac_tmp=$tmp
                   7376: 
                   7377: # Set up the scripts for CONFIG_FILES section.
                   7378: # No need to generate them if there are no CONFIG_FILES.
                   7379: # This happens for instance with `./config.status config.h'.
                   7380: if test -n "$CONFIG_FILES"; then
                   7381: 
                   7382: 
                   7383: ac_cr=`echo X | tr X '\015'`
                   7384: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   7385: # But we know of no other shell where ac_cr would be empty at this
                   7386: # point, so we can use a bashism as a fallback.
                   7387: if test "x$ac_cr" = x; then
                   7388:   eval ac_cr=\$\'\\r\'
                   7389: fi
                   7390: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   7391: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   7392:   ac_cs_awk_cr='\\r'
                   7393: else
                   7394:   ac_cs_awk_cr=$ac_cr
                   7395: fi
                   7396: 
                   7397: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   7398: _ACEOF
                   7399: 
                   7400: 
                   7401: {
                   7402:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   7403:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   7404:   echo "_ACEOF"
                   7405: } >conf$$subs.sh ||
                   7406:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7407: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   7408: ac_delim='%!_!# '
                   7409: for ac_last_try in false false false false false :; do
                   7410:   . ./conf$$subs.sh ||
                   7411:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7412: 
                   7413:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   7414:   if test $ac_delim_n = $ac_delim_num; then
                   7415:     break
                   7416:   elif $ac_last_try; then
                   7417:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7418:   else
                   7419:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7420:   fi
                   7421: done
                   7422: rm -f conf$$subs.sh
                   7423: 
                   7424: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7425: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   7426: _ACEOF
                   7427: sed -n '
                   7428: h
                   7429: s/^/S["/; s/!.*/"]=/
                   7430: p
                   7431: g
                   7432: s/^[^!]*!//
                   7433: :repl
                   7434: t repl
                   7435: s/'"$ac_delim"'$//
                   7436: t delim
                   7437: :nl
                   7438: h
                   7439: s/\(.\{148\}\)..*/\1/
                   7440: t more1
                   7441: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   7442: p
                   7443: n
                   7444: b repl
                   7445: :more1
                   7446: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7447: p
                   7448: g
                   7449: s/.\{148\}//
                   7450: t nl
                   7451: :delim
                   7452: h
                   7453: s/\(.\{148\}\)..*/\1/
                   7454: t more2
                   7455: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   7456: p
                   7457: b
                   7458: :more2
                   7459: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7460: p
                   7461: g
                   7462: s/.\{148\}//
                   7463: t delim
                   7464: ' <conf$$subs.awk | sed '
                   7465: /^[^""]/{
                   7466:   N
                   7467:   s/\n//
                   7468: }
                   7469: ' >>$CONFIG_STATUS || ac_write_fail=1
                   7470: rm -f conf$$subs.awk
                   7471: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7472: _ACAWK
                   7473: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   7474:   for (key in S) S_is_set[key] = 1
                   7475:   FS = ""
                   7476: 
                   7477: }
                   7478: {
                   7479:   line = $ 0
                   7480:   nfields = split(line, field, "@")
                   7481:   substed = 0
                   7482:   len = length(field[1])
                   7483:   for (i = 2; i < nfields; i++) {
                   7484:     key = field[i]
                   7485:     keylen = length(key)
                   7486:     if (S_is_set[key]) {
                   7487:       value = S[key]
                   7488:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   7489:       len += length(value) + length(field[++i])
                   7490:       substed = 1
                   7491:     } else
                   7492:       len += 1 + keylen
                   7493:   }
                   7494: 
                   7495:   print line
                   7496: }
                   7497: 
                   7498: _ACAWK
                   7499: _ACEOF
                   7500: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7501: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   7502:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   7503: else
                   7504:   cat
                   7505: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   7506:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   7507: _ACEOF
                   7508: 
                   7509: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   7510: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   7511: # trailing colons and then remove the whole line if VPATH becomes empty
                   7512: # (actually we leave an empty line to preserve line numbers).
                   7513: if test "x$srcdir" = x.; then
                   7514:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   7515: h
                   7516: s///
                   7517: s/^/:/
                   7518: s/[     ]*$/:/
                   7519: s/:\$(srcdir):/:/g
                   7520: s/:\${srcdir}:/:/g
                   7521: s/:@srcdir@:/:/g
                   7522: s/^:*//
                   7523: s/:*$//
                   7524: x
                   7525: s/\(=[  ]*\).*/\1/
                   7526: G
                   7527: s/\n//
                   7528: s/^[^=]*=[      ]*$//
                   7529: }'
                   7530: fi
                   7531: 
                   7532: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7533: fi # test -n "$CONFIG_FILES"
                   7534: 
                   7535: # Set up the scripts for CONFIG_HEADERS section.
                   7536: # No need to generate them if there are no CONFIG_HEADERS.
                   7537: # This happens for instance with `./config.status Makefile'.
                   7538: if test -n "$CONFIG_HEADERS"; then
                   7539: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   7540: BEGIN {
                   7541: _ACEOF
                   7542: 
                   7543: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   7544: # here-document in config.status, that substitutes the proper values into
                   7545: # config.h.in to produce config.h.
                   7546: 
                   7547: # Create a delimiter string that does not exist in confdefs.h, to ease
                   7548: # handling of long lines.
                   7549: ac_delim='%!_!# '
                   7550: for ac_last_try in false false :; do
                   7551:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   7552:   if test -z "$ac_tt"; then
                   7553:     break
                   7554:   elif $ac_last_try; then
                   7555:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   7556:   else
                   7557:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7558:   fi
                   7559: done
                   7560: 
                   7561: # For the awk script, D is an array of macro values keyed by name,
                   7562: # likewise P contains macro parameters if any.  Preserve backslash
                   7563: # newline sequences.
                   7564: 
                   7565: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   7566: sed -n '
                   7567: s/.\{148\}/&'"$ac_delim"'/g
                   7568: t rset
                   7569: :rset
                   7570: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   7571: t def
                   7572: d
                   7573: :def
                   7574: s/\\$//
                   7575: t bsnl
                   7576: s/["\\]/\\&/g
                   7577: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   7578: D["\1"]=" \3"/p
                   7579: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   7580: d
                   7581: :bsnl
                   7582: s/["\\]/\\&/g
                   7583: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   7584: D["\1"]=" \3\\\\\\n"\\/p
                   7585: t cont
                   7586: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   7587: t cont
                   7588: d
                   7589: :cont
                   7590: n
                   7591: s/.\{148\}/&'"$ac_delim"'/g
                   7592: t clear
                   7593: :clear
                   7594: s/\\$//
                   7595: t bsnlc
                   7596: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   7597: d
                   7598: :bsnlc
                   7599: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   7600: b cont
                   7601: ' <confdefs.h | sed '
                   7602: s/'"$ac_delim"'/"\\\
                   7603: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   7604: 
                   7605: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7606:   for (key in D) D_is_set[key] = 1
                   7607:   FS = ""
                   7608: }
                   7609: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   7610:   line = \$ 0
                   7611:   split(line, arg, " ")
                   7612:   if (arg[1] == "#") {
                   7613:     defundef = arg[2]
                   7614:     mac1 = arg[3]
                   7615:   } else {
                   7616:     defundef = substr(arg[1], 2)
                   7617:     mac1 = arg[2]
                   7618:   }
                   7619:   split(mac1, mac2, "(") #)
                   7620:   macro = mac2[1]
                   7621:   prefix = substr(line, 1, index(line, defundef) - 1)
                   7622:   if (D_is_set[macro]) {
                   7623:     # Preserve the white space surrounding the "#".
                   7624:     print prefix "define", macro P[macro] D[macro]
                   7625:     next
                   7626:   } else {
                   7627:     # Replace #undef with comments.  This is necessary, for example,
                   7628:     # in the case of _POSIX_SOURCE, which is predefined and required
                   7629:     # on some systems where configure will not decide to define it.
                   7630:     if (defundef == "undef") {
                   7631:       print "/*", prefix defundef, macro, "*/"
                   7632:       next
                   7633:     }
                   7634:   }
                   7635: }
                   7636: { print }
                   7637: _ACAWK
                   7638: _ACEOF
                   7639: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7640:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   7641: fi # test -n "$CONFIG_HEADERS"
                   7642: 
                   7643: 
                   7644: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   7645: shift
                   7646: for ac_tag
                   7647: do
                   7648:   case $ac_tag in
                   7649:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   7650:   esac
                   7651:   case $ac_mode$ac_tag in
                   7652:   :[FHL]*:*);;
1.1.1.3 ! misho    7653:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    7654:   :[FH]-) ac_tag=-:-;;
                   7655:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   7656:   esac
                   7657:   ac_save_IFS=$IFS
                   7658:   IFS=:
                   7659:   set x $ac_tag
                   7660:   IFS=$ac_save_IFS
                   7661:   shift
                   7662:   ac_file=$1
                   7663:   shift
                   7664: 
                   7665:   case $ac_mode in
                   7666:   :L) ac_source=$1;;
                   7667:   :[FH])
                   7668:     ac_file_inputs=
                   7669:     for ac_f
                   7670:     do
                   7671:       case $ac_f in
                   7672:       -) ac_f="$ac_tmp/stdin";;
                   7673:       *) # Look for the file first in the build tree, then in the source tree
                   7674:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   7675:         # because $ac_f cannot contain `:'.
                   7676:         test -f "$ac_f" ||
                   7677:           case $ac_f in
                   7678:           [\\/$]*) false;;
                   7679:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   7680:           esac ||
1.1.1.3 ! misho    7681:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    7682:       esac
                   7683:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   7684:       as_fn_append ac_file_inputs " '$ac_f'"
                   7685:     done
                   7686: 
                   7687:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7688:     # use $as_me), people would be surprised to read:
                   7689:     #    /* config.h.  Generated by config.status.  */
                   7690:     configure_input='Generated from '`
                   7691:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   7692:        `' by configure.'
                   7693:     if test x"$ac_file" != x-; then
                   7694:       configure_input="$ac_file.  $configure_input"
                   7695:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   7696: $as_echo "$as_me: creating $ac_file" >&6;}
                   7697:     fi
                   7698:     # Neutralize special characters interpreted by sed in replacement strings.
                   7699:     case $configure_input in #(
                   7700:     *\&* | *\|* | *\\* )
                   7701:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   7702:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   7703:     *) ac_sed_conf_input=$configure_input;;
                   7704:     esac
                   7705: 
                   7706:     case $ac_tag in
                   7707:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
1.1.1.3 ! misho    7708:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    7709:     esac
                   7710:     ;;
                   7711:   esac
                   7712: 
                   7713:   ac_dir=`$as_dirname -- "$ac_file" ||
                   7714: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7715:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   7716:         X"$ac_file" : 'X\(//\)$' \| \
                   7717:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   7718: $as_echo X"$ac_file" |
                   7719:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7720:            s//\1/
                   7721:            q
                   7722:          }
                   7723:          /^X\(\/\/\)[^/].*/{
                   7724:            s//\1/
                   7725:            q
                   7726:          }
                   7727:          /^X\(\/\/\)$/{
                   7728:            s//\1/
                   7729:            q
                   7730:          }
                   7731:          /^X\(\/\).*/{
                   7732:            s//\1/
                   7733:            q
                   7734:          }
                   7735:          s/.*/./; q'`
                   7736:   as_dir="$ac_dir"; as_fn_mkdir_p
                   7737:   ac_builddir=.
                   7738: 
                   7739: case "$ac_dir" in
                   7740: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7741: *)
                   7742:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   7743:   # A ".." for each directory in $ac_dir_suffix.
                   7744:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   7745:   case $ac_top_builddir_sub in
                   7746:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7747:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   7748:   esac ;;
                   7749: esac
                   7750: ac_abs_top_builddir=$ac_pwd
                   7751: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   7752: # for backward compatibility:
                   7753: ac_top_builddir=$ac_top_build_prefix
                   7754: 
                   7755: case $srcdir in
                   7756:   .)  # We are building in place.
                   7757:     ac_srcdir=.
                   7758:     ac_top_srcdir=$ac_top_builddir_sub
                   7759:     ac_abs_top_srcdir=$ac_pwd ;;
                   7760:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   7761:     ac_srcdir=$srcdir$ac_dir_suffix;
                   7762:     ac_top_srcdir=$srcdir
                   7763:     ac_abs_top_srcdir=$srcdir ;;
                   7764:   *) # Relative name.
                   7765:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   7766:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   7767:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   7768: esac
                   7769: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   7770: 
                   7771: 
                   7772:   case $ac_mode in
                   7773:   :F)
                   7774:   #
                   7775:   # CONFIG_FILE
                   7776:   #
                   7777: 
                   7778:   case $INSTALL in
                   7779:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   7780:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   7781:   esac
                   7782:   ac_MKDIR_P=$MKDIR_P
                   7783:   case $MKDIR_P in
                   7784:   [\\/$]* | ?:[\\/]* ) ;;
                   7785:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   7786:   esac
                   7787: _ACEOF
                   7788: 
                   7789: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7790: # If the template does not know about datarootdir, expand it.
                   7791: # FIXME: This hack should be removed a few years after 2.60.
                   7792: ac_datarootdir_hack=; ac_datarootdir_seen=
                   7793: ac_sed_dataroot='
                   7794: /datarootdir/ {
                   7795:   p
                   7796:   q
                   7797: }
                   7798: /@datadir@/p
                   7799: /@docdir@/p
                   7800: /@infodir@/p
                   7801: /@localedir@/p
                   7802: /@mandir@/p'
                   7803: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   7804: *datarootdir*) ac_datarootdir_seen=yes;;
                   7805: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   7806:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   7807: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   7808: _ACEOF
                   7809: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7810:   ac_datarootdir_hack='
                   7811:   s&@datadir@&$datadir&g
                   7812:   s&@docdir@&$docdir&g
                   7813:   s&@infodir@&$infodir&g
                   7814:   s&@localedir@&$localedir&g
                   7815:   s&@mandir@&$mandir&g
                   7816:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   7817: esac
                   7818: _ACEOF
                   7819: 
                   7820: # Neutralize VPATH when `$srcdir' = `.'.
                   7821: # Shell code in configure.ac might set extrasub.
                   7822: # FIXME: do we really want to maintain this feature?
                   7823: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7824: ac_sed_extra="$ac_vpsub
                   7825: $extrasub
                   7826: _ACEOF
                   7827: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7828: :t
                   7829: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   7830: s|@configure_input@|$ac_sed_conf_input|;t t
                   7831: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   7832: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   7833: s&@srcdir@&$ac_srcdir&;t t
                   7834: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   7835: s&@top_srcdir@&$ac_top_srcdir&;t t
                   7836: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   7837: s&@builddir@&$ac_builddir&;t t
                   7838: s&@abs_builddir@&$ac_abs_builddir&;t t
                   7839: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   7840: s&@INSTALL@&$ac_INSTALL&;t t
                   7841: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   7842: $ac_datarootdir_hack
                   7843: "
                   7844: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   7845:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7846: 
                   7847: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   7848:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   7849:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   7850:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   7851:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   7852: which seems to be undefined.  Please make sure it is defined" >&5
                   7853: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   7854: which seems to be undefined.  Please make sure it is defined" >&2;}
                   7855: 
                   7856:   rm -f "$ac_tmp/stdin"
                   7857:   case $ac_file in
                   7858:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   7859:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   7860:   esac \
                   7861:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7862:  ;;
                   7863:   :H)
                   7864:   #
                   7865:   # CONFIG_HEADER
                   7866:   #
                   7867:   if test x"$ac_file" != x-; then
                   7868:     {
                   7869:       $as_echo "/* $configure_input  */" \
                   7870:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   7871:     } >"$ac_tmp/config.h" \
                   7872:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7873:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   7874:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   7875: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   7876:     else
                   7877:       rm -f "$ac_file"
                   7878:       mv "$ac_tmp/config.h" "$ac_file" \
                   7879:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7880:     fi
                   7881:   else
                   7882:     $as_echo "/* $configure_input  */" \
                   7883:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   7884:       || as_fn_error $? "could not create -" "$LINENO" 5
                   7885:   fi
                   7886: # Compute "$ac_file"'s index in $config_headers.
                   7887: _am_arg="$ac_file"
                   7888: _am_stamp_count=1
                   7889: for _am_header in $config_headers :; do
                   7890:   case $_am_header in
                   7891:     $_am_arg | $_am_arg:* )
                   7892:       break ;;
                   7893:     * )
                   7894:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   7895:   esac
                   7896: done
                   7897: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   7898: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7899:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   7900:         X"$_am_arg" : 'X\(//\)$' \| \
                   7901:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   7902: $as_echo X"$_am_arg" |
                   7903:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7904:            s//\1/
                   7905:            q
                   7906:          }
                   7907:          /^X\(\/\/\)[^/].*/{
                   7908:            s//\1/
                   7909:            q
                   7910:          }
                   7911:          /^X\(\/\/\)$/{
                   7912:            s//\1/
                   7913:            q
                   7914:          }
                   7915:          /^X\(\/\).*/{
                   7916:            s//\1/
                   7917:            q
                   7918:          }
                   7919:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   7920:  ;;
                   7921: 
                   7922:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   7923: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   7924:  ;;
                   7925:   esac
                   7926: 
                   7927: 
                   7928:   case $ac_file$ac_mode in
                   7929:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   7930:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   7931:   # are listed without --file.  Let's play safe and only enable the eval
                   7932:   # if we detect the quoting.
                   7933:   case $CONFIG_FILES in
                   7934:   *\'*) eval set x "$CONFIG_FILES" ;;
                   7935:   *)   set x $CONFIG_FILES ;;
                   7936:   esac
                   7937:   shift
                   7938:   for mf
                   7939:   do
                   7940:     # Strip MF so we end up with the name of the file.
                   7941:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   7942:     # Check whether this is an Automake generated Makefile or not.
1.1.1.3 ! misho    7943:     # We used to match only the files named 'Makefile.in', but
1.1       misho    7944:     # some people rename them; so instead we look at the file content.
                   7945:     # Grep'ing the first line is not enough: some people post-process
                   7946:     # each Makefile.in and add a new line on top of each file to say so.
                   7947:     # Grep'ing the whole file is not good either: AIX grep has a line
                   7948:     # limit of 2048, but all sed's we know have understand at least 4000.
                   7949:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   7950:       dirpart=`$as_dirname -- "$mf" ||
                   7951: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7952:         X"$mf" : 'X\(//\)[^/]' \| \
                   7953:         X"$mf" : 'X\(//\)$' \| \
                   7954:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   7955: $as_echo X"$mf" |
                   7956:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7957:            s//\1/
                   7958:            q
                   7959:          }
                   7960:          /^X\(\/\/\)[^/].*/{
                   7961:            s//\1/
                   7962:            q
                   7963:          }
                   7964:          /^X\(\/\/\)$/{
                   7965:            s//\1/
                   7966:            q
                   7967:          }
                   7968:          /^X\(\/\).*/{
                   7969:            s//\1/
                   7970:            q
                   7971:          }
                   7972:          s/.*/./; q'`
                   7973:     else
                   7974:       continue
                   7975:     fi
                   7976:     # Extract the definition of DEPDIR, am__include, and am__quote
1.1.1.3 ! misho    7977:     # from the Makefile without running 'make'.
1.1       misho    7978:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   7979:     test -z "$DEPDIR" && continue
                   7980:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   7981:     test -z "am__include" && continue
                   7982:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   7983:     # Find all dependency output files, they are included files with
                   7984:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   7985:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   7986:     # expansion.
                   7987:     for file in `sed -n "
                   7988:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.1.1.3 ! misho    7989:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1.1       misho    7990:       # Make sure the directory exists.
                   7991:       test -f "$dirpart/$file" && continue
                   7992:       fdir=`$as_dirname -- "$file" ||
                   7993: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7994:         X"$file" : 'X\(//\)[^/]' \| \
                   7995:         X"$file" : 'X\(//\)$' \| \
                   7996:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   7997: $as_echo X"$file" |
                   7998:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7999:            s//\1/
                   8000:            q
                   8001:          }
                   8002:          /^X\(\/\/\)[^/].*/{
                   8003:            s//\1/
                   8004:            q
                   8005:          }
                   8006:          /^X\(\/\/\)$/{
                   8007:            s//\1/
                   8008:            q
                   8009:          }
                   8010:          /^X\(\/\).*/{
                   8011:            s//\1/
                   8012:            q
                   8013:          }
                   8014:          s/.*/./; q'`
                   8015:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   8016:       # echo "creating $dirpart/$file"
                   8017:       echo '# dummy' > "$dirpart/$file"
                   8018:     done
                   8019:   done
                   8020: }
                   8021:  ;;
                   8022: 
                   8023:   esac
                   8024: done # for ac_tag
                   8025: 
                   8026: 
                   8027: as_fn_exit 0
                   8028: _ACEOF
                   8029: ac_clean_files=$ac_clean_files_save
                   8030: 
                   8031: test $ac_write_fail = 0 ||
                   8032:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   8033: 
                   8034: 
                   8035: # configure is writing to config.log, and then calls config.status.
                   8036: # config.status does its own redirection, appending to config.log.
                   8037: # Unfortunately, on DOS this fails, as config.log is still kept open
                   8038: # by configure, so config.status won't be able to write to it; its
                   8039: # output is simply discarded.  So we exec the FD to /dev/null,
                   8040: # effectively closing config.log, so it can be properly (re)opened and
                   8041: # appended to by config.status.  When coming back to configure, we
                   8042: # need to make the FD available again.
                   8043: if test "$no_create" != yes; then
                   8044:   ac_cs_success=:
                   8045:   ac_config_status_args=
                   8046:   test "$silent" = yes &&
                   8047:     ac_config_status_args="$ac_config_status_args --quiet"
                   8048:   exec 5>/dev/null
                   8049:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   8050:   exec 5>>config.log
                   8051:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   8052:   # would make configure fail if this is the last instruction.
                   8053:   $ac_cs_success || as_fn_exit 1
                   8054: fi
                   8055: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   8056:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   8057: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   8058: fi
                   8059: 
                   8060: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   8061: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   8062: set x ${MAKE-make}
                   8063: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   8064: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   8065:   $as_echo_n "(cached) " >&6
                   8066: else
                   8067:   cat >conftest.make <<\_ACEOF
                   8068: SHELL = /bin/sh
                   8069: all:
                   8070:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   8071: _ACEOF
                   8072: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   8073: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   8074:   *@@@%%%=?*=@@@%%%*)
                   8075:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   8076:   *)
                   8077:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   8078: esac
                   8079: rm -f conftest.make
                   8080: fi
                   8081: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   8082:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8083: $as_echo "yes" >&6; }
                   8084:   SET_MAKE=
                   8085: else
                   8086:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8087: $as_echo "no" >&6; }
                   8088:   SET_MAKE="MAKE=${MAKE-make}"
                   8089: fi
                   8090: 
                   8091: 
                   8092: echo "-----------------------------------------------------------------------------" >&6
                   8093: echo "${PACKAGE}-${VERSION} configuration:" >&6
                   8094: echo "host operating system:  $host" >&6
                   8095: echo "C++ compiler:           $CXX" >&6
                   8096: echo "C compiler:             $CC" >&6
                   8097: echo "preprocessor flags:     $CPPFLAGS" >&6
                   8098: echo "C++ compiler flags:     $CXXFLAGS" >&6
                   8099: echo "C compiler flags:       $CFLAGS" >&6
                   8100: echo "linker flags:           $LDFLAGS" >&6
                   8101: echo "OS specific modules:    $os_deps $os_libs $LIBS" >&6
                   8102: 
                   8103: case "$host_os" in
                   8104:   mingw*)
                   8105:     echo "resource compiler:      $WINDRES" >&6
                   8106:     echo "message compiler:       $WINDMC" >&6
                   8107:     echo "NSIS compiler:          $MAKENSIS" >&6
                   8108:     if test -n "$drivedbdir"; then
                   8109:       echo "drive database file:    EXEDIR/drivedb.h" >&6
                   8110:       if test -n "$MAKENSIS"; then
                   8111:         echo "database update tool:   EXEDIR/update-smart-drivedb.exe" >&6
                   8112:       fi
                   8113:     else
                   8114:       echo "drive database file:    [disabled]" >&6
                   8115:     fi
                   8116:     if test -n "$savestates"; then
                   8117:       echo "smartd save files:      `eval eval eval echo $savestates`MODEL-SERIAL.TYPE.state" >&6
                   8118:     fi
                   8119:     if test -n "$attributelog"; then
                   8120:       echo "smartd attribute logs:  `eval eval eval echo $attributelog`MODEL-SERIAL.TYPE.csv" >&6
                   8121:     fi
                   8122:     ;;
                   8123: 
                   8124:   *)
                   8125:     echo "binary install path:    `eval eval eval echo $sbindir`" >&6
                   8126:     echo "man page install path:  `eval eval eval echo $mandir`" >&6
                   8127:     echo "doc file install path:  `eval eval eval echo $docdir`" >&6
                   8128:     echo "examples install path:  `eval eval eval echo $exampledir`" >&6
                   8129:     if test -n "$drivedbdir"; then
                   8130:       echo "drive database file:    `eval eval eval echo $drivedbdir`/drivedb.h" >&6
                   8131:       echo "database update script: `eval eval eval echo $sbindir`/update-smart-drivedb" >&6
                   8132:       echo "download tools:         `eval eval eval echo $os_dltools`" >&6
                   8133:     else
                   8134:       echo "drive database file:    [disabled]" >&6
                   8135:     fi
                   8136:     echo "local drive database:   `eval eval eval echo $sysconfdir`/smart_drivedb.h" >&6
                   8137:     echo "smartd config file:     `eval eval eval echo $sysconfdir`/smartd.conf${smartd_suffix}" >&6
                   8138:     if test -n "$initddir"; then
                   8139:       echo "smartd initd script:    `eval eval eval echo $initddir`/smartd${smartd_suffix}" >&6
                   8140:     elif test -z "$systemdsystemunitdir"; then
                   8141:       echo "smartd initd script:    [disabled]" >&6
                   8142:     fi
                   8143:     if test -n "$systemdsystemunitdir"; then
                   8144:       echo "smartd systemd file:    `eval eval eval echo $systemdsystemunitdir`/smartd.service" >&6
                   8145:     fi
                   8146:     if test -n "$savestates"; then
                   8147:       echo "smartd save files:      `eval eval eval echo $savestates`MODEL-SERIAL.TYPE.state" >&6
                   8148:     else
                   8149:       echo "smartd save files:      [disabled]" >&6
                   8150:     fi
                   8151:     if test -n "$attributelog"; then
                   8152:       echo "smartd attribute logs:  `eval eval eval echo $attributelog`MODEL-SERIAL.TYPE.csv" >&6
                   8153:     else
                   8154:       echo "smartd attribute logs:  [disabled]" >&6
                   8155:     fi
                   8156:     echo "libcap-ng support:      $use_libcap_ng" >&6
                   8157:     case "$host_os" in
                   8158:       linux*) echo "SELinux support:        ${with_selinux-no}" >&6 ;;
                   8159:     esac
                   8160:     ;;
                   8161: esac
                   8162: echo "-----------------------------------------------------------------------------" >&6

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