Re: config.h (was Re: Misc. consequences of backend memory management changes)
В списке pgsql-hackers по дате отправления:
| От | Brook Milligan |
|---|---|
| Тема | Re: config.h (was Re: Misc. consequences of backend memory management changes) |
| Дата | |
| Msg-id | 200006301456.IAA05428@biology.nmsu.edu обсуждение исходный текст |
| Ответ на | config.h (was Re: Misc. consequences of backend memory management changes) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
One thing that does occur to me is that a very large fraction of config.h is now symbols that are supposed to be setby configure, and as you say it's not good to give people the idea that they should tweak those results by hand afterconfiguring. What do you think of pulling the remaining hand-settable symbols out into a separate file, maybe calledsomething like "siteconfig.h"? Then config.h becomes purely a machine-generated file. This would also solve theproblem of losing hand-set config choices if you rerun configure. config.h should contain only machine generated stuff for exactly the reasons you mention. Perhaps config.h.in should be something like: /* siteconfig.h overrides various variables */ #include "siteconfig.h" /* enable feature FOO (can be overridden by siteconfig.h) */ #ifndef FOO #undefine FOO #endif Cheers, Brook
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера