c2c695c
--- tar-1.15.1/configure.nolibrt	2004-12-21 13:30:30.000000000 +0000
c2c695c
+++ tar-1.15.1/configure	2005-01-07 11:18:51.878839553 +0000
c2c695c
@@ -11470,20 +11470,20 @@
c2c695c
   # dnl Persuade glibc <time.h> to declare these functions.
c2c695c
 
c2c695c
 
c2c695c
-  # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
c2c695c
+  # Solaris 2.5.1 needs -lposix4 to get the clock_gettyme function.
c2c695c
   # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
c2c695c
 
c2c695c
   # Save and restore LIBS so e.g., -lrt, isn't added to it.  Otherwise, *all*
c2c695c
   # programs in the package would end up linked with that potentially-shared
c2c695c
   # library, inducing unnecessary run-time overhead.
c2c695c
   fetish_saved_libs=$LIBS
c2c695c
-    echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
c2c695c
-echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
c2c695c
-if test "${ac_cv_search_clock_gettime+set}" = set; then
c2c695c
+    echo "$as_me:$LINENO: checking for library containing clock_gettyme" >&5
c2c695c
+echo $ECHO_N "checking for library containing clock_gettyme... $ECHO_C" >&6
c2c695c
+if test "${ac_cv_search_clock_gettyme+set}" = set; then
c2c695c
   echo $ECHO_N "(cached) $ECHO_C" >&6
c2c695c
 else
c2c695c
   ac_func_search_save_LIBS=$LIBS
c2c695c
-ac_cv_search_clock_gettime=no
c2c695c
+ac_cv_search_clock_gettyme=no
c2c695c
 cat >conftest.$ac_ext <<_ACEOF
c2c695c
 /* confdefs.h.  */
c2c695c
 _ACEOF
c2c695c
@@ -11497,11 +11497,11 @@
c2c695c
 #endif
c2c695c
 /* We use char because int might match the return type of a gcc2
c2c695c
    builtin and then its argument prototype would still apply.  */
c2c695c
-char clock_gettime ();
c2c695c
+char clock_gettyme ();
c2c695c
 int
c2c695c
 main ()
c2c695c
 {
c2c695c
-clock_gettime ();
c2c695c
+clock_gettyme ();
c2c695c
   ;
c2c695c
   return 0;
c2c695c
 }
c2c695c
@@ -11528,7 +11528,7 @@
c2c695c
   ac_status=$?
c2c695c
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
c2c695c
   (exit $ac_status); }; }; then
c2c695c
-  ac_cv_search_clock_gettime="none required"
c2c695c
+  ac_cv_search_clock_gettyme="none required"
c2c695c
 else
c2c695c
   echo "$as_me: failed program was:" >&5
c2c695c
 sed 's/^/| /' conftest.$ac_ext >&5
c2c695c
@@ -11536,7 +11536,7 @@
c2c695c
 fi
c2c695c
 rm -f conftest.err conftest.$ac_objext \
c2c695c
       conftest$ac_exeext conftest.$ac_ext
c2c695c
-if test "$ac_cv_search_clock_gettime" = no; then
c2c695c
+if test "$ac_cv_search_clock_gettyme" = no; then
c2c695c
   for ac_lib in rt posix4; do
c2c695c
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
c2c695c
     cat >conftest.$ac_ext <<_ACEOF
c2c695c
@@ -11552,11 +11552,11 @@
c2c695c
 #endif
c2c695c
 /* We use char because int might match the return type of a gcc2
c2c695c
    builtin and then its argument prototype would still apply.  */
c2c695c
-char clock_gettime ();
c2c695c
+char clock_gettyme ();
c2c695c
 int
c2c695c
 main ()
c2c695c
 {
c2c695c
-clock_gettime ();
c2c695c
+clock_gettyme ();
c2c695c
   ;
c2c695c
   return 0;
c2c695c
 }
c2c695c
@@ -11583,7 +11583,7 @@
c2c695c
   ac_status=$?
c2c695c
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
c2c695c
   (exit $ac_status); }; }; then
c2c695c
-  ac_cv_search_clock_gettime="-l$ac_lib"
c2c695c
+  ac_cv_search_clock_gettyme="-l$ac_lib"
c2c695c
 break
c2c695c
 else
c2c695c
   echo "$as_me: failed program was:" >&5
c2c695c
@@ -11596,18 +11596,18 @@
c2c695c
 fi
c2c695c
 LIBS=$ac_func_search_save_LIBS
c2c695c
 fi
c2c695c
-echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
c2c695c
-echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
c2c695c
-if test "$ac_cv_search_clock_gettime" != no; then
c2c695c
-  test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
c2c695c
-  test "$ac_cv_search_clock_gettime" = "none required" ||
c2c695c
-                    LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
c2c695c
+echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettyme" >&5
c2c695c
+echo "${ECHO_T}$ac_cv_search_clock_gettyme" >&6
c2c695c
+if test "$ac_cv_search_clock_gettyme" != no; then
c2c695c
+  test "$ac_cv_search_clock_gettyme" = "none required" || LIBS="$ac_cv_search_clock_gettyme $LIBS"
c2c695c
+  test "$ac_cv_search_clock_gettyme" = "none required" ||
c2c695c
+                    LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettyme
c2c695c
 fi
c2c695c
 
c2c695c
 
c2c695c
 
c2c695c
 
c2c695c
-for ac_func in clock_gettime clock_settime
c2c695c
+for ac_func in clock_gettyme clock_settime
c2c695c
 do
c2c695c
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
c2c695c
 echo "$as_me:$LINENO: checking for $ac_func" >&5
c2c695c
@@ -20541,17 +20541,17 @@
c2c695c
 # programs in the package would end up linked with that potentially-shared
c2c695c
 # library, inducing unnecessary run-time overhead.
c2c695c
 
c2c695c
-# Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
c2c695c
+# Solaris 2.5.1 needs -lposix4 to get the clock_gettyme function.
c2c695c
 # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
c2c695c
 tar_save_LIBS=$LIBS
c2c695c
   LIB_CLOCK_GETTIME=
c2c695c
-  echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
c2c695c
-echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
c2c695c
-if test "${ac_cv_search_clock_gettime+set}" = set; then
c2c695c
+  echo "$as_me:$LINENO: checking for library containing clock_gettyme" >&5
c2c695c
+echo $ECHO_N "checking for library containing clock_gettyme... $ECHO_C" >&6
c2c695c
+if test "${ac_cv_search_clock_gettyme+set}" = set; then
c2c695c
   echo $ECHO_N "(cached) $ECHO_C" >&6
c2c695c
 else
c2c695c
   ac_func_search_save_LIBS=$LIBS
c2c695c
-ac_cv_search_clock_gettime=no
c2c695c
+ac_cv_search_clock_gettyme=no
c2c695c
 cat >conftest.$ac_ext <<_ACEOF
c2c695c
 /* confdefs.h.  */
c2c695c
 _ACEOF
c2c695c
@@ -20565,11 +20565,11 @@
c2c695c
 #endif
c2c695c
 /* We use char because int might match the return type of a gcc2
c2c695c
    builtin and then its argument prototype would still apply.  */
c2c695c
-char clock_gettime ();
c2c695c
+char clock_gettyme ();
c2c695c
 int
c2c695c
 main ()
c2c695c
 {
c2c695c
-clock_gettime ();
c2c695c
+clock_gettyme ();
c2c695c
   ;
c2c695c
   return 0;
c2c695c
 }
c2c695c
@@ -20596,7 +20596,7 @@
c2c695c
   ac_status=$?
c2c695c
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
c2c695c
   (exit $ac_status); }; }; then
c2c695c
-  ac_cv_search_clock_gettime="none required"
c2c695c
+  ac_cv_search_clock_gettyme="none required"
c2c695c
 else
c2c695c
   echo "$as_me: failed program was:" >&5
c2c695c
 sed 's/^/| /' conftest.$ac_ext >&5
c2c695c
@@ -20604,7 +20604,7 @@
c2c695c
 fi
c2c695c
 rm -f conftest.err conftest.$ac_objext \
c2c695c
       conftest$ac_exeext conftest.$ac_ext
c2c695c
-if test "$ac_cv_search_clock_gettime" = no; then
c2c695c
+if test "$ac_cv_search_clock_gettyme" = no; then
c2c695c
   for ac_lib in rt posix4; do
c2c695c
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
c2c695c
     cat >conftest.$ac_ext <<_ACEOF
c2c695c
@@ -20620,11 +20620,11 @@
c2c695c
 #endif
c2c695c
 /* We use char because int might match the return type of a gcc2
c2c695c
    builtin and then its argument prototype would still apply.  */
c2c695c
-char clock_gettime ();
c2c695c
+char clock_gettyme ();
c2c695c
 int
c2c695c
 main ()
c2c695c
 {
c2c695c
-clock_gettime ();
c2c695c
+clock_gettyme ();
c2c695c
   ;
c2c695c
   return 0;
c2c695c
 }
c2c695c
@@ -20651,7 +20651,7 @@
c2c695c
   ac_status=$?
c2c695c
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
c2c695c
   (exit $ac_status); }; }; then
c2c695c
-  ac_cv_search_clock_gettime="-l$ac_lib"
c2c695c
+  ac_cv_search_clock_gettyme="-l$ac_lib"
c2c695c
 break
c2c695c
 else
c2c695c
   echo "$as_me: failed program was:" >&5
c2c695c
@@ -20664,19 +20664,19 @@
c2c695c
 fi
c2c695c
 LIBS=$ac_func_search_save_LIBS
c2c695c
 fi
c2c695c
-echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
c2c695c
-echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
c2c695c
-if test "$ac_cv_search_clock_gettime" != no; then
c2c695c
-  test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
c2c695c
+echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettyme" >&5
c2c695c
+echo "${ECHO_T}$ac_cv_search_clock_gettyme" >&6
c2c695c
+if test "$ac_cv_search_clock_gettyme" != no; then
c2c695c
+  test "$ac_cv_search_clock_gettyme" = "none required" || LIBS="$ac_cv_search_clock_gettyme $LIBS"
c2c695c
 
c2c695c
 fi
c2c695c
 
c2c695c
-  case "$ac_cv_search_clock_gettime" in
c2c695c
-    -l*) LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime;;
c2c695c
+  case "$ac_cv_search_clock_gettyme" in
c2c695c
+    -l*) LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettyme;;
c2c695c
   esac
c2c695c
 
c2c695c
 
c2c695c
-for ac_func in clock_gettime
c2c695c
+for ac_func in clock_gettyme
c2c695c
 do
c2c695c
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
c2c695c
 echo "$as_me:$LINENO: checking for $ac_func" >&5