From 2ea2648bdc63a9f3b29b2ff4f377aedb45cc45fd Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Fri, 19 Jul 2013 03:55:53 +0200 Subject: [PATCH] configure.ac properly use pkg-config Change-Id: Ib45d9defd94c8c61250aa249daa1c3312574a684 --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 6de7893a45fc..a5180a1683c5 100644 --- a/configure.ac +++ b/configure.ac @@ -8097,10 +8097,7 @@ if test "x$enable_firebird_sdbc" = "xyes"; then AC_PATH_PROG(FIREBIRDCONFIG, [fb_config]) if test -z "$FIREBIRDCONFIG"; then AC_MSG_NOTICE([No fb_config -- using pkg-config]) - FIREBIRD_VERSION=`pkg-config --modversion fbembed` - AC_MSG_CHECKING([for Firebird Client library]) - FIREBIRD_CFLAGS=`pkg-config --cflags fbembed` - FIREBIRD_LIBS=`pkg-config --libs fbembed` + PKG_CHECK_MODULES(FIREBIRD, fbembed) else AC_MSG_NOTICE([fb_config found]) FIREBIRD_VERSION=`$FIREBIRDCONFIG --version`