summaryrefslogtreecommitdiff
path: root/Zend/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-17 13:36:15 +0000
committerSascha Schumann <sas@php.net>1999-12-17 13:36:15 +0000
commit91549cfa4fe0e8aac9e56d0a603de6d9d22c8396 (patch)
treebdfc775b76697f94c9bcc7f68b71c13846e742ca /Zend/acinclude.m4
parent7fe808ea028595d6bc1a72d016d5420845a57ae2 (diff)
downloadphp-git-91549cfa4fe0e8aac9e56d0a603de6d9d22c8396.tar.gz
Move config code into separate file
Diffstat (limited to 'Zend/acinclude.m4')
-rw-r--r--Zend/acinclude.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index 3202fc7207..558f1605af 100644
--- a/Zend/acinclude.m4
+++ b/Zend/acinclude.m4
@@ -8,15 +8,16 @@ dnl
AC_DEFUN(AC_ZEND_BROKEN_SPRINTF,[
AC_MSG_CHECKING([for broken sprintf])
AC_TRY_RUN([main() { char buf[20]; exit (sprintf(buf,"testing 123")!=11); }],[
- AC_DEFINE(ZEND_BROKEN_SPRINTF,0)
+ broken=0
AC_MSG_RESULT(ok)
],[
- AC_DEFINE(ZEND_BROKEN_SPRINTF,1)
+ broken=1
AC_MSG_RESULT(broken)
],[
- AC_DEFINE(ZEND_BROKEN_SPRINTF,0)
+ broken=0
AC_MSG_RESULT(cannot check, guessing ok)
])
+ AC_DEFINE(ZEND_BROKEN_SPRINTF, $broken, [Whether sprintf is broken])
])
AC_DEFUN(AM_SET_LIBTOOL_VARIABLE,[