File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,14 @@ if test "$PHP_XPASS" != "no"; then
12
12
PHP_EVAL_LIBLINE([ $LIBXCRYPT_LIBS] , [ XPASS_SHARED_LIBADD] )
13
13
14
14
old_CFLAGS=$CFLAGS; CFLAGS="$CFLAGS $LIBXCRYPT_CFLAGS"
15
- old_LDFLAGS=$LDFLAGS; LDFLAGS ="$LIBXCRYPT_LIBS $LDFLAGS "
15
+ old_LIBS=$LIBS; LIBS ="$LIBS $LIBXCRYPT_LIBS "
16
16
17
- AC_MSG_CHECKING ( [ for yescrypt] )
17
+ AC_MSG_CHECKING ( [ for yescrypt algo ] )
18
18
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
19
19
#include <string.h>
20
20
#include <unistd.h>
21
21
#include <crypt.h>
22
22
#include <stdlib.h>
23
- #include <string.h>
24
23
25
24
int main(void) {
26
25
char salt[ 8] ;
@@ -39,7 +38,6 @@ int main(void) {
39
38
#include <unistd.h>
40
39
#include <crypt.h>
41
40
#include <stdlib.h>
42
- #include <string.h>
43
41
44
42
int main(void) {
45
43
char salt[ 8] ;
@@ -53,7 +51,7 @@ int main(void) {
53
51
] )
54
52
55
53
CFLAGS=$old_CFLAGS
56
- LDFLAGS=$old_LDFLAGS
54
+ LIBS=$old_LIBS
57
55
58
56
PHP_SUBST([ XPASS_SHARED_LIBADD] )
59
57
You can’t perform that action at this time.
0 commit comments