Skip to content

Commit 99d0219

Browse files
committed
configure: Check for Fox 1.7 as well as Fox 1.6 for the testgui
The testgui will work with both, so check for them both at configure time. This came from Alex Barker <alex@1stleg.com> and was posted on github.
1 parent 627f3aa commit 99d0219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ if test "x$testgui_enabled" != "xno"; then
196196
fi
197197
else
198198
# On Linux and FreeBSD platforms, use pkg-config to find fox.
199-
PKG_CHECK_MODULES([fox], [fox])
199+
PKG_CHECK_MODULES([fox], [fox17], [], [PKG_CHECK_MODULES([fox], [fox])])
200200
LIBS_TESTGUI="${LIBS_TESTGUI} $fox_LIBS"
201201
if test "x$os" = xfreebsd; then
202202
LIBS_TESTGUI="${LIBS_TESTGUI} -L/usr/local/lib"

0 commit comments

Comments
 (0)