Skip to content

Commit 4304759

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
Conflicts: NEWS
2 parents 374646c + a6c95c8 commit 4304759

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: acinclude.m4

+6
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,12 @@ AC_DEFUN([PHP_SETUP_ICONV], [
24492449
dnl
24502450
dnl Check libc first if no path is provided in --with-iconv
24512451
dnl
2452+
24522453
if test "$PHP_ICONV" = "yes"; then
2454+
dnl Reset LIBS temporarily as it may have already been included
2455+
dnl -liconv in.
2456+
LIBS_save="$LIBS"
2457+
LIBS=
24532458
AC_CHECK_FUNC(iconv, [
24542459
found_iconv=yes
24552460
],[
@@ -2459,6 +2464,7 @@ AC_DEFUN([PHP_SETUP_ICONV], [
24592464
found_iconv=yes
24602465
])
24612466
])
2467+
LIBS="$LIBS_save"
24622468
fi
24632469
24642470
dnl

0 commit comments

Comments
 (0)