File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
dnl
2
2
dnl Check if flush should be called explicitly after buffered io
3
3
dnl
4
- AC_CACHE_CHECK ( [ whether flush should be called explicitly after a buffered io] , ac_cv_flush_io ,[
5
- AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
4
+ AC_CACHE_CHECK ( [ whether flush should be called explicitly after a buffered io] ,
5
+ [ php_cv_have_flush_io] ,
6
+ [ AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
6
7
#include <stdio.h>
7
8
#include <stdlib.h>
8
9
#ifdef HAVE_UNISTD_H
@@ -40,16 +41,13 @@ int main(int argc, char **argv)
40
41
41
42
exit(result);
42
43
}
43
- ] ] ) ] ,[
44
- ac_cv_flush_io=no
45
- ] ,[
46
- ac_cv_flush_io=yes
47
- ] ,[
48
- ac_cv_flush_io=no
49
- ] ) ] )
50
- if test "$ac_cv_flush_io" = "yes"; then
51
- AC_DEFINE ( HAVE_FLUSHIO , 1 , [ Define if flush should be called explicitly after a buffered io.] )
52
- fi
44
+ ] ] ) ] ,
45
+ [ php_cv_have_flush_io=no] ,
46
+ [ php_cv_have_flush_io=yes] ,
47
+ [ php_cv_have_flush_io=no] ) ] )
48
+ AS_VAR_IF ( [ php_cv_have_flush_io] , [ yes] ,
49
+ [ AC_DEFINE ( [ HAVE_FLUSHIO] , [ 1] ,
50
+ [ Define to 1 if flush should be called explicitly after a buffered io.] ) ] )
53
51
54
52
PHP_ARG_WITH([ external-libcrypt] ,
55
53
[ for external libcrypt or libxcrypt] ,
You can’t perform that action at this time.
0 commit comments