cvs: php4 /ext/mysql/libmysql acinclude.m4

From: Date: Sun, 23 Dec 2001 00:41:27 +0000
Subject: cvs: php4 /ext/mysql/libmysql acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8777@lists.php.net to get a copy of this message
alexwaugh Sat Dec 22 19:41:27 2001 EDT Modified files: /php4/ext/mysql/libmysql acinclude.m4 Log: Cache results of check for int8 Index: php4/ext/mysql/libmysql/acinclude.m4 diff -u php4/ext/mysql/libmysql/acinclude.m4:1.5 php4/ext/mysql/libmysql/acinclude.m4:1.6 --- php4/ext/mysql/libmysql/acinclude.m4:1.5 Fri Jun 1 16:07:26 2001 +++ php4/ext/mysql/libmysql/acinclude.m4 Sat Dec 22 19:41:27 2001 @@ -297,7 +297,8 @@ AC_DEFUN(MYSQL_CHECK_INT_8_16_32, [AC_MSG_CHECKING([for int8]) -AC_TRY_RUN([ +AC_CACHE_VAL(ac_cv_int8, +[AC_TRY_RUN([ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif @@ -315,9 +316,14 @@ int8 i; return 0; } -], AC_DEFINE(HAVE_INT_8_16_32, , [ ]) AC_MSG_RESULT([yes]), AC_MSG_RESULT([no]) -) +], ac_cv_int8=yes, ac_cv_int8=no, ac_cv_int8=no)]) +AC_MSG_RESULT($ac_cv_int8) +if test "$ac_cv_int8" = "yes" +then + AC_DEFINE(HAVE_INT_8_16_32,,[ ]) +fi ]) + AC_DEFUN(MYSQL_HEADER_CHECKS,[ AC_HEADER_STDC

« previous php.cvs (#8777) next »