Skip to content

Commit 7236dfe

Browse files
authored
ext/gettext: resolve underqouting that breaks with autoconf 2.72 (#11427)
1 parent 700f691 commit 7236dfe

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

ext/gettext/config.m4

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ if test "$PHP_GETTEXT" != "no"; then
1818
O_LDFLAGS=$LDFLAGS
1919
LDFLAGS="$LDFLAGS -L$GETTEXT_LIBDIR"
2020
AC_CHECK_LIB(intl, bindtextdomain, [
21-
GETTEXT_LIBS=intl
22-
GETTEXT_CHECK_IN_LIB=intl
23-
],
24-
AC_CHECK_LIB(c, bindtextdomain, [
25-
GETTEXT_LIBS=
26-
GETTEXT_CHECK_IN_LIB=c
27-
],[
28-
AC_MSG_ERROR(Unable to find required gettext library)
29-
])
21+
GETTEXT_LIBS=intl
22+
GETTEXT_CHECK_IN_LIB=intl
23+
],
24+
[
25+
AC_CHECK_LIB(c, bindtextdomain, [
26+
GETTEXT_LIBS=
27+
GETTEXT_CHECK_IN_LIB=c
28+
],[
29+
AC_MSG_ERROR(Unable to find required gettext library)
30+
])
31+
]
3032
)
3133

3234
AC_DEFINE(HAVE_LIBINTL,1,[ ])

0 commit comments

Comments
 (0)