[asterisk-dev] menuselect.h change to check asterisk.makeopts

Johansson Olle E oej at edvina.net
Mon Feb 2 03:02:37 CST 2009


31 jan 2009 kl. 00.52 skrev SVN commits to the Digium repositories:

>  Add the string "asterisk.makeopts" to search for valid makeopts  
> configuration files in the arguments provided to menuselect.  
> Previously, the existing_config flag was not getting set causing the  
> defaults to load when a menuselect.makeopts file was not present,  
> even though a valid /etc/asterisk.makeopts or ~/.asterisk.makeopts  
> file existed. Technically the use of strstr is going to allow any  
> valid file with the string "asterisk.makeopts" in it to work. I  
> believe this is best though since it avoids any hardcoded paths and  
> the encouraged method of invoking menuselect is through use of the  
> menuselect makefile targets.

Menuselect is used in both Dahdi and Asterisk - and in the future  
maybe somewhere else. Do we really want to add something called  
"asterisk" to menuselect?

Just checking...

/O



More information about the asterisk-dev mailing list