]> git.pld-linux.org Git - packages/tar.git/blob - tar-nolibrt.patch
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/tar.git] / tar-nolibrt.patch
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
3 @@ -166,12 +166,13 @@
4  #
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. ;)
8  tar_LDADD=
9  tar_save_LIBS="$LIBS"
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"
17    LIBS="$tar_save_LIBS"
18  fi
19  AC_SUBST(tar_LDADD)
This page took 0.054846 seconds and 3 git commands to generate.