core: remove multiple detections of pkg-config in configure.ac
This commit is contained in:
parent
47ced4833d
commit
15394897e3
@ -621,9 +621,6 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
PKGCONFIG=""
|
||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||
if test "x$PKGCONFIG" != "x"; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||
echo
|
||||
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||
@ -642,7 +639,6 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
LUACONFIG=""
|
||||
@ -773,9 +769,6 @@ if test "x$enable_guile" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
guile_found="no"
|
||||
PKGCONFIG=""
|
||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||
if test "x$PKGCONFIG" != "x"; then
|
||||
AC_MSG_CHECKING(for Guile headers and librairies)
|
||||
echo
|
||||
for v in "2.0" ; do
|
||||
@ -788,7 +781,6 @@ if test "x$enable_guile" = "xyes" ; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test "x$guile_found" = "xno" ; then
|
||||
AC_MSG_WARN([
|
||||
|
Loading…
x
Reference in New Issue
Block a user