Re: cvs: php-src / acinclude.m4
| From: | Joe Orton | Date: | Wed, 08 Dec 2004 13:10:41 +0000 |
| Subject: | Re: cvs: php-src / acinclude.m4 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14022@lists.php.net to get a copy of this message | ||
On Sun, Sep 12, 2004 at 06:35:51AM -0000, Antony Dovgal wrote:
> tony2001 Sun Sep 12 02:35:51 2004 EDT
>
> Modified files:
> /php-src acinclude.m4
> Log:
> add PHP_CHECK_64BIT macro to be able to detect 64-bit platform in ./configure
>
...
> +dnl PHP_CHECK_64BIT([do if 32], [do if 64])
> +dnl This macro is used to detect if we're at 64-bit platform or not.
> +dnl It could be useful for those external libs, that have different precompiled
> +dnl versions in different directories.
> +AC_DEFUN(PHP_CHECK_64BIT,[
> + AC_CHECK_SIZEOF(int)
> + AC_MSG_CHECKING([checking if we're at 64-bit platform])
> + if test "$ac_cv_sizeof_int" = "4" ; then
Do you really have a platform with a 64-bit int or did you mean
$ac_cv_sizeof_long?
joe