Skip to content

Commit

Permalink
Check that pkg-config can actually find package first
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Oct 21, 2024
1 parent 08dfa0e commit 4438414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ dnl `-l' flag(s). Else, straight up use lib-path and include-path.
AC_DEFUN([FLINT_SET_LIBFLAGS],
[tmpalias=m4_default([$4],[$1])
if test "x$PKG_CONFIG" != "x";
if test "x$PKG_CONFIG" != "x" && test "x`$PKG_CONFIG --path $1`" != "x";
then
if test "x$2" != "x";
then
Expand Down

0 comments on commit 4438414

Please sign in to comment.