Skip to content
Snippets Groups Projects
Commit f4b2bada authored by gambas's avatar gambas
Browse files

Now configure should fail only if a component is actually disabled, not just...

Now configure should fail only if a component is actually disabled, not just because a library search fails.

[CONFIGURATION]
* BUG: Now configure should fail only if a component is actually disabled, not just because a library search fails.
parent 5d1d758d
No related branches found
No related tags found
No related merge requests found
Pipeline #31649615 failed
...@@ -55,6 +55,10 @@ AC_DEFUN([GB_PRINT_MESSAGES], ...@@ -55,6 +55,10 @@ AC_DEFUN([GB_PRINT_MESSAGES],
echo "||" echo "||"
echo echo
fi fi
if test -e DISABLED.* && test "x${GAMBAS_CONFIG_FAILURE}" != "x"; then
AC_MSG_ERROR([Failed to configure $3])
fi
]) ])
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
...@@ -945,10 +949,6 @@ AC_DEFUN([GB_COMPONENT_PKG_CONFIG], ...@@ -945,10 +949,6 @@ AC_DEFUN([GB_COMPONENT_PKG_CONFIG],
done done
if test "$gb_enable_$1" = "yes" && test "x${GAMBAS_CONFIG_FAILURE}" != "x" && test "$gb_in_component_search" != "yes"; then
AC_MSG_ERROR([Failed to configure $3])
fi
else else
AC_DEFINE(HAVE_$2_COMPONENT, 1, [Have $3 component]) AC_DEFINE(HAVE_$2_COMPONENT, 1, [Have $3 component])
...@@ -1121,10 +1121,6 @@ AC_DEFUN([GB_COMPONENT], ...@@ -1121,10 +1121,6 @@ AC_DEFUN([GB_COMPONENT],
have_$1=no have_$1=no
touch DISABLED.$3 touch DISABLED.$3
if test "$gb_enable_$1" = "yes" && test "x${GAMBAS_CONFIG_FAILURE}" != "x"; then
AC_MSG_ERROR([Failed to configure $3])
fi
fi fi
if test "$have_$1" = "no"; then if test "$have_$1" = "no"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment