Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 28/03/2010 at 16:50:54 Revision: 3738 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: tiny Log: Add --with-nomodules parameter for list of disabled modules. This eliminates the need to pass an environment variable to process_modules.py. Modified: M configure.ac === modified file 'configure.ac' --- configure.ac 2010-03-26 16:30:10 +0000 +++ configure.ac 2010-03-28 13:49:20 +0000 @@ -101,6 +101,10 @@ AC_SUBST(usagi_libc) +AC_ARG_WITH(nomodules, + AS_HELP_STRING([--with-nomodules=list], + [comma-separated list of disabled modules])) + AC_ARG_ENABLE(firewall, AS_HELP_STRING([--enable-firewall], [HIP enabled firewall daemon (default is YES)]), @@ -310,7 +314,7 @@ echo "+-----------------------------------------------"; echo "| processing modules..."; echo "|"; -python ${srcdir}/process_modules.py -s ${srcdir} -d "${DISABLE_MODULES}" +python ${srcdir}/process_modules.py -s ${srcdir} -d "${with_nomodules}" if [[ "$?" != "0" ]]; then echo "configure: error: Module processing failed" exit 1