make/make-3.79.1-noclock_gettime.patch
cvsdist d320491ce7 auto-import changelog data from make-3.80-1.src.rpm
Sun Nov 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 3.80
2004-09-09 08:14:37 +00:00

23 lines
870 B
Diff

--- make-3.80/configure.in
+++ make-3.80/configure.in
@@ -91,7 +91,7 @@
if test "$make_cv_file_timestamp_hi_res" = yes; then
# Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
# Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
- AC_SEARCH_LIBS(clock_gettime, [rt posix4])
+ AC_SEARCH_LIBS(clock_gettime, [posix4])
if test "$ac_cv_search_clock_gettime" != no; then
AC_DEFINE(HAVE_CLOCK_GETTIME, 1,
[Define if you have the clock_gettime function.])
--- make-3.80/configure
+++ make-3.80/configure
@@ -6794,7 +6794,7 @@
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_clock_gettime" = no; then
- for ac_lib in rt posix4; do
+ for ac_lib in posix4; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"