diff options
author | Sascha Schumann <sas@php.net> | 2000-01-01 20:49:34 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-01-01 20:49:34 +0000 |
commit | 800ffda01c019ccd9b5dba8e9b1d62fac9495b5d (patch) | |
tree | b23772405487519739066e3c161c5229976264d4 /Zend/Zend.m4 | |
parent | 6bdbd306b1c7dbc5e35807954f442e66bdefc6fa (diff) | |
download | php-git-800ffda01c019ccd9b5dba8e9b1d62fac9495b5d.tar.gz |
Some cleanup
Diffstat (limited to 'Zend/Zend.m4')
-rw-r--r-- | Zend/Zend.m4 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index c2816402ad..5acdf7c3fa 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -200,7 +200,7 @@ dnl Digital Unix 4.0 AC_CHECK_LIB(cxx, cin) AC_CHECK_LIB(cxxstd, __array_delete) -AC_MSG_CHECKING(for class istdiostream) +AC_CACHE_CHECK(for class istdiostream,ac_cv_class_istdiostream,[ AC_TRY_COMPILE([ #include <sys/types.h> #include <unistd.h> @@ -209,11 +209,14 @@ AC_TRY_COMPILE([ ],[ istdiostream *foo = new istdiostream((FILE *) 0); ],[ - AC_DEFINE(HAVE_CLASS_ISTDIOSTREAM, 1, [Whether you have class istdiostream]) - AC_MSG_RESULT(yes) + ac_cv_class_istdiostream=yes ],[ - AC_MSG_RESULT(no) + ac_cv_class_istdiostream=no ]) +]) + if test "$ac_cv_class_istdiostream" = "yes"; then + AC_DEFINE(HAVE_CLASS_ISTDIOSTREAM, 1, [Whether you have class istdiostream]) + fi AC_LANG_C fi ]) |