--- embedaddon/smartmontools/configure	2012/02/21 16:32:16	1.1
+++ embedaddon/smartmontools/configure	2012/10/09 09:36:45	1.1.1.2
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for smartmontools 5.42.
+# Generated by GNU Autoconf 2.68 for smartmontools 5.43.
 #
 # Report bugs to <smartmontools-support@lists.sourceforge.net>.
 #
@@ -560,8 +560,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='smartmontools'
 PACKAGE_TARNAME='smartmontools'
-PACKAGE_VERSION='5.42'
-PACKAGE_STRING='smartmontools 5.42'
+PACKAGE_VERSION='5.43'
+PACKAGE_STRING='smartmontools 5.43'
 PACKAGE_BUGREPORT='smartmontools-support@lists.sourceforge.net'
 PACKAGE_URL=''
 
@@ -664,6 +664,7 @@ GREP
 CXXCPP
 IS_SVN_BUILD_FALSE
 IS_SVN_BUILD_TRUE
+svn_deps
 host_os
 host_vendor
 host_cpu
@@ -692,6 +693,7 @@ CC
 am__fastdepCXX_FALSE
 am__fastdepCXX_TRUE
 CXXDEPMODE
+am__nodep
 AMDEPBACKSLASH
 AMDEP_FALSE
 AMDEP_TRUE
@@ -1351,7 +1353,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures smartmontools 5.42 to adapt to many kinds of systems.
+\`configure' configures smartmontools 5.43 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1421,7 +1423,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of smartmontools 5.42:";;
+     short | recursive ) echo "Configuration of smartmontools 5.43:";;
    esac
   cat <<\_ACEOF
 
@@ -1553,7 +1555,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-smartmontools configure 5.42
+smartmontools configure 5.43
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2014,7 +2016,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by smartmontools $as_me 5.42, which was
+It was created by smartmontools $as_me 5.43, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2365,9 +2367,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'`
-smartmontools_cvs_tag=`echo '$Id: configure,v 1.1 2012/02/21 16:32:16 misho Exp $'`
-smartmontools_release_date=2011-10-20
-smartmontools_release_time="19:19:34 UTC"
+smartmontools_cvs_tag=`echo '$Id: configure,v 1.1.1.2 2012/10/09 09:36:45 misho Exp $'`
+smartmontools_release_date=2012-06-30
+smartmontools_release_time="14:03:01 UTC"
 
 
 cat >>confdefs.h <<_ACEOF
@@ -2870,7 +2872,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='smartmontools'
- VERSION='5.42'
+ VERSION='5.43'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -2900,18 +2902,18 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
-# Always define AMTAR for backward compatibility.
+# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
 
-AMTAR=${AMTAR-"${am_missing_run}tar"}
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
 
 
 
 
 
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     # Check whether --enable-maintainer-mode was given.
@@ -3499,6 +3501,7 @@ fi
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
+  am__nodep='_no'
 fi
  if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=
@@ -3523,6 +3526,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -3582,7 +3586,7 @@ else
 	break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -4190,6 +4194,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -4249,7 +4254,7 @@ else
 	break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -4324,6 +4329,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -4381,7 +4387,7 @@ else
 	break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -4438,6 +4444,7 @@ fi
 
 
 
+
 if test "$cross_compiling" = "no"; then
 
 
@@ -4746,12 +4753,17 @@ esac
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is a build from SVN" >&5
 $as_echo_n "checking whether this is a build from SVN... " >&6; }
 is_svn_build=no
+svn_deps=
 if test -f "$srcdir/.svn/entries"; then
   is_svn_build=unknown
   if (cd "$srcdir" && svn --version && svnversion && svn info) >/dev/null 2>&1; then
     is_svn_build=yes
+    svn_deps='${srcdir}/.svn/entries'
+    # SVN 1.7 working copy?
+    test -f "$srcdir/.svn/wc.db" && svn_deps='${srcdir}/.svn/wc.db'
   fi
 fi
+
  if test "$is_svn_build" = "yes"; then
   IS_SVN_BUILD_TRUE=
   IS_SVN_BUILD_FALSE='#'
@@ -4990,6 +5002,10 @@ if test "$ac_res" != no; then :
 fi
 
 
+# Note: On Linux, clock_gettime() requires -lrt which implies -lpthreads
+# Check ommitted for now, gettimeofday() provides reasonable precision
+# AC_SEARCH_LIBS(clock_gettime, rt)
+
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -5716,7 +5732,19 @@ _ACEOF
 fi
 done
 
+for ac_func in clock_gettime ftime gettimeofday
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
 
+fi
+done
+
+
 # Check byte ordering (defines WORDS_BIGENDIAN)
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
@@ -7263,7 +7291,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by smartmontools $as_me 5.42, which was
+This file was extended by smartmontools $as_me 5.43, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -7329,7 +7357,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-smartmontools config.status 5.42
+smartmontools config.status 5.43
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"