Re: cvs: php-src / acinclude.m4
| From: | Antony Dovgal | Date: | Wed, 08 Dec 2004 13:10:16 +0000 |
| Subject: | Re: cvs: php-src / acinclude.m4 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14023@lists.php.net to get a copy of this message | ||
On Wed, 8 Dec 2004 13:10:41 +0000
Joe Orton <jorton@redhat.com> wrote:
> 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?
No, I don't have such platform around here, so feel free to fix it if your think it's
wrong.
--
Wbr,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com