--- linux-2.4.26s/arch/i386/config.in.orig 2004-04-29 23:38:38.000000000 +0100 +++ linux-2.4.26s/arch/i386/config.in 2004-04-29 23:40:58.000000000 +0100 @@ -360,7 +360,7 @@ bool 'Power Management support' CONFIG_PM dep_tristate ' Advanced Power Management BIOS support' CONFIG_APM $CONFIG_PM -if [ "$CONFIG_APM" != "n" ]; then +if [ "$CONFIG_APM" != "n" -a "$CONFIG_PM" = "y" ]; then bool ' Ignore USER SUSPEND' CONFIG_APM_IGNORE_USER_SUSPEND bool ' Enable PM at boot time' CONFIG_APM_DO_ENABLE bool ' Make CPU Idle calls when idle' CONFIG_APM_CPU_IDLE @@ -370,7 +370,9 @@ bool ' Use real mode APM BIOS call to power off' CONFIG_APM_REAL_MODE_POWER_OFF fi -source drivers/acpi/Config.in +if [ "$CONFIG_PM" = "y" ]; then + source drivers/acpi/Config.in +fi endmenu