]> git.pld-linux.org Git - packages/php.git/commitdiff
- clock_gettime cames from -lrt
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 16 Nov 2008 14:04:52 +0000 (14:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-fpm-libs.patch -> 1.1

php-fpm-libs.patch [new file with mode: 0644]

diff --git a/php-fpm-libs.patch b/php-fpm-libs.patch
new file mode 100644 (file)
index 0000000..1b9cda1
--- /dev/null
@@ -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])
+               ], [
This page took 0.046406 seconds and 4 git commands to generate.