diff --git a/acinclude.m4 b/acinclude.m4 index e68fc82f7..55737f68b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -924,11 +924,11 @@ AC_DEFUN([GB_COMPONENT_PKG_CONFIG], if test "$have_$1" = "no"; then if test "$gb_in_component_search" != "yes"; then - touch DISABLED + dnl touch DISABLED touch DISABLED.$3 fi - AC_MSG_RESULT(no) + AC_MSG_RESULT([** NOT FOUND **]) for pkgcmp in $5 do @@ -1114,7 +1114,6 @@ AC_DEFUN([GB_COMPONENT], else have_$1=no - touch DISABLED touch DISABLED.$3 if test "$gb_enable_$1" = "yes" && test "x${GAMBAS_CONFIG_FAILURE}" != "x"; then diff --git a/configure.ac b/configure.ac index 2ad2713ab..fb751f023 100644 --- a/configure.ac +++ b/configure.ac @@ -74,15 +74,16 @@ AC_OUTPUT(Makefile) GB_CLEAR_MESSAGES for gb_dir in gb.*; do - if test -e $gb_dir/DISABLED; then - for gb_comp in $gb_dir/DISABLED.*; do + for gb_comp in $gb_dir/DISABLED.*; do + gb_comp=`basename "$gb_comp"` + gb_comp=${gb_comp#DISABLED.} + if test "$gb_comp" != '*'; then if ! test -s $srcdir/warnings.log; then GB_MESSAGE([THESE COMPONENTS ARE DISABLED:]) fi - gb_comp=`basename "$gb_comp"` - GB_MESSAGE([- ${gb_comp#DISABLED.}]) - done - fi + GB_MESSAGE([- $gb_comp]) + fi + done done if ! test -s $srcdir/warnings.log; then