]> git.pld-linux.org Git - packages/php.git/blob - php-fpm-libs.patch
- do not disable pear if cli is not enabled
[packages/php.git] / php-fpm-libs.patch
1 --- php-5.2.6/sapi/cgi/fpm/acinclude.m4~        2008-11-16 15:46:18.000000000 +0200
2 +++ php-5.2.6/sapi/cgi/fpm/acinclude.m4 2008-11-16 15:58:43.837395814 +0200
3 @@ -119,7 +119,7 @@
4  
5         AC_MSG_CHECKING([for clock_gettime])
6  
7 -       AC_TRY_COMPILE([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
8 +       AC_TRY_LINK([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
9                 have_clock_gettime=yes
10                 AC_MSG_RESULT([yes])
11         ], [
12 @@ -132,7 +132,7 @@
13                 SAVED_LIBS="$LIBS"
14                 LIBS="$LIBS -lrt"
15  
16 -               AC_TRY_COMPILE([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
17 +               AC_TRY_LINK([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
18                         have_clock_gettime=yes
19                         AC_MSG_RESULT([yes])
20                 ], [
This page took 0.243596 seconds and 3 git commands to generate.