1 --- tar-1.13.22/configure.ac.rt Thu Sep 13 14:06:03 2001
2 +++ tar-1.13.22/configure.ac Thu Sep 13 14:06:50 2001
5 # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
6 # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
7 +# We don't want that dependency, though. Check for something weird. ;)
10 -AC_SEARCH_LIBS(clock_gettime, [rt posix4])
11 -AC_CHECK_FUNCS(clock_gettime)
12 +AC_SEARCH_LIBS(clock_gettyme, [rt posix4])
13 +AC_CHECK_FUNCS(clock_gettyme)
14 if test " $LIBS" != " $tar_save_LIBS"; then
15 - tar_LDADD="$ac_cv_search_clock_gettime"
16 + tar_LDADD="$ac_cv_search_clock_gettyme"