Skip to content

Autotools: Sync CS in ext/pdo_firebird #15372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions ext/pdo_firebird/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ if test "$PHP_PDO_FIREBIRD" != "no"; then

if test -x "$FB_CONFIG" && test "$PHP_PDO_FIREBIRD" = "yes"; then
AC_MSG_CHECKING([for libfbconfig])
FB_CFLAGS=`$FB_CONFIG --cflags`
FB_LIBDIR=`$FB_CONFIG --libs`
FB_VERSION=`$FB_CONFIG --version`
FB_CFLAGS=$($FB_CONFIG --cflags)
FB_LIBDIR=$($FB_CONFIG --libs)
FB_VERSION=$($FB_CONFIG --version)
AC_MSG_RESULT([version $FB_VERSION])
PHP_EVAL_LIBLINE([$FB_LIBDIR], [PDO_FIREBIRD_SHARED_LIBADD])
PHP_EVAL_INCLINE([$FB_CFLAGS])

else
if test "$PHP_PDO_FIREBIRD" = "yes"; then
AS_VAR_IF([PHP_PDO_FIREBIRD], [yes], [
FIREBIRD_INCDIR=
FIREBIRD_LIBDIR=
FIREBIRD_LIBDIR_FLAG=
else
], [
FIREBIRD_INCDIR=$PHP_PDO_FIREBIRD/include
FIREBIRD_LIBDIR=$PHP_PDO_FIREBIRD/$PHP_LIBDIR
FIREBIRD_LIBDIR_FLAG=-L$FIREBIRD_LIBDIR
fi
])

PHP_CHECK_LIBRARY([fbclient], [isc_detach_database],
[FIREBIRD_LIBNAME=fbclient],
Expand Down
Loading