--- /dev/null
+--- 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])
+ ], [