Re: Procedure of modification of autoconf scripts
От | Tom Lane |
---|---|
Тема | Re: Procedure of modification of autoconf scripts |
Дата | |
Msg-id | 927882.1619071094@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Procedure of modification of autoconf scripts (Ian Zagorskikh <izagorskikh@cloudlinux.com>) |
Ответы |
Re: Procedure of modification of autoconf scripts
|
Список | pgsql-hackers |
Ian Zagorskikh <izagorskikh@cloudlinux.com> writes: > Can you please explain the process of adding new items into autoconf > scripts? Specifically into configure.ac. For example, if I want to add a > new --with-foo argument, let's say a new 3rd party library. What should I > do after proper configure.ac modification? Should I also re-generate > configure script with local autoreconf? My doubts are that changes to > configure script can be rather huge and likely conflicting with other > patches that possibly do the same. Thanks! If you see massive changes in the configure script after a localized change in configure.ac, it probably means that you're not using the right autoconf version. Our project convention is to use exactly the GNU release of whichever version of autoconf we're on (currently 2.69). A lot of vendors ship modified-to-some-extent autoconf versions, which can result in these sorts of unwanted changes if you just use whatever is on your operating system. Grab the official release off a GNU mirror and install it somewhere handy, and use that. As a test case, try running autoconf and autoheader *without* having changed the input files. If the outputs don't match what's in git, then you've got something to fix. regards, tom lane
В списке pgsql-hackers по дате отправления: