Skip to content

Commit 3b24b85

Browse files
authored
Autotools: Sync CS in ext/pdo_firebird (#15372)
- Obsolete backticks replaced with the recommended $(...) - AS_VAR_IF used
1 parent 540b9f5 commit 3b24b85

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/pdo_firebird/config.m4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ if test "$PHP_PDO_FIREBIRD" != "no"; then
99

1010
if test -x "$FB_CONFIG" && test "$PHP_PDO_FIREBIRD" = "yes"; then
1111
AC_MSG_CHECKING([for libfbconfig])
12-
FB_CFLAGS=`$FB_CONFIG --cflags`
13-
FB_LIBDIR=`$FB_CONFIG --libs`
14-
FB_VERSION=`$FB_CONFIG --version`
12+
FB_CFLAGS=$($FB_CONFIG --cflags)
13+
FB_LIBDIR=$($FB_CONFIG --libs)
14+
FB_VERSION=$($FB_CONFIG --version)
1515
AC_MSG_RESULT([version $FB_VERSION])
1616
PHP_EVAL_LIBLINE([$FB_LIBDIR], [PDO_FIREBIRD_SHARED_LIBADD])
1717
PHP_EVAL_INCLINE([$FB_CFLAGS])
1818

1919
else
20-
if test "$PHP_PDO_FIREBIRD" = "yes"; then
20+
AS_VAR_IF([PHP_PDO_FIREBIRD], [yes], [
2121
FIREBIRD_INCDIR=
2222
FIREBIRD_LIBDIR=
2323
FIREBIRD_LIBDIR_FLAG=
24-
else
24+
], [
2525
FIREBIRD_INCDIR=$PHP_PDO_FIREBIRD/include
2626
FIREBIRD_LIBDIR=$PHP_PDO_FIREBIRD/$PHP_LIBDIR
2727
FIREBIRD_LIBDIR_FLAG=-L$FIREBIRD_LIBDIR
28-
fi
28+
])
2929

3030
PHP_CHECK_LIBRARY([fbclient], [isc_detach_database],
3131
[FIREBIRD_LIBNAME=fbclient],

0 commit comments

Comments
 (0)