Configuration Information OS: linux 2.6 Compiler: gcc 3.4.3 Bash Version: 3.2 Patch Level: 17 Release Status: release
Description: trying a --disable-debugger with configure, the compilation crashed like this: > gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' > -DCONF_OSTYPE='"linux-gnu"' > -DCONF_MACHTYPE='"i686-pc-linux-gnu"' > -DCONF_VENDOR='"pc"' > -DLOCALEDIR='"/usr/share/locale"' > -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. > -I. -I./include -I./lib -O2 > -momit-leaf-frame-pointer -c variables.c > variables.c: In function `find_function_def': > variables.c:1578: error: `shell_function_defs' undeclared > (first use in this function) Indeed the definition of ``shell_function_defs'' in `variables.c' is protected by an #ifdef DEBUGGER but not all references are. ( And just for the aesthetics: since it is apparently used in this file only, the definition may deserve a `static' to keep it inside) Fix: #ifdefs at some more places ( ¿ or just none ? ) _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash