From: Elan Ruusamäe Date: Sun, 16 Nov 2008 14:04:52 +0000 (+0000) Subject: - clock_gettime cames from -lrt X-Git-Tag: auto/th/php-5_2_6-18~16 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=ceeec4f67711d3271aee822872406dae1c00e440;p=packages%2Fphp.git - clock_gettime cames from -lrt Changed files: php-fpm-libs.patch -> 1.1 --- diff --git a/php-fpm-libs.patch b/php-fpm-libs.patch new file mode 100644 index 0000000..1b9cda1 --- /dev/null +++ b/php-fpm-libs.patch @@ -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 ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [ ++ AC_TRY_LINK([ #include ], [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 ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [ ++ AC_TRY_LINK([ #include ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [ + have_clock_gettime=yes + AC_MSG_RESULT([yes]) + ], [