SOURCES: php-fpm-libs.patch (NEW) - clock_gettime cames from -lrt
glen
glen at pld-linux.org
Sun Nov 16 15:04:58 CET 2008
Author: glen Date: Sun Nov 16 14:04:58 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- clock_gettime cames from -lrt
---- Files affected:
SOURCES:
php-fpm-libs.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/php-fpm-libs.patch
diff -u /dev/null SOURCES/php-fpm-libs.patch:1.1
--- /dev/null Sun Nov 16 15:04:58 2008
+++ SOURCES/php-fpm-libs.patch Sun Nov 16 15:04:52 2008
@@ -0,0 +1,20 @@
+--- php-5.2.6/sapi/cgi/fpm/acinclude.m4~ 2008-11-16 15:46:18.000000000 +0200
++++ php-5.2.6/sapi/cgi/fpm/acinclude.m4 2008-11-16 15:58:43.837395814 +0200
+@@ -119,7 +119,7 @@
+
+ AC_MSG_CHECKING([for clock_gettime])
+
+- AC_TRY_COMPILE([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
++ AC_TRY_LINK([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
+ have_clock_gettime=yes
+ AC_MSG_RESULT([yes])
+ ], [
+@@ -132,7 +132,7 @@
+ SAVED_LIBS="$LIBS"
+ LIBS="$LIBS -lrt"
+
+- AC_TRY_COMPILE([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
++ AC_TRY_LINK([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
+ have_clock_gettime=yes
+ AC_MSG_RESULT([yes])
+ ], [
================================================================
More information about the pld-cvs-commit
mailing list