Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-05 Thread Nick Bowler
On 2021-01-05, Bob Friesenhahn wrote: > Something I found which surprised me is that Automake has added a GNU > COPYING file to my non-GNU non-GPL package. Once the file appeared in > the source directory, it seems that it continued to be used and > included in spite of the Automake options provi

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-05 Thread Bob Friesenhahn
On Tue, 5 Jan 2021, Zack Weinberg wrote: Something I found which surprised me is that Automake has added a GNU COPYING file to my non-GNU non-GPL package. Once the file appeared in the source directory, it seems that it continued to be used and included in spite of the Automake options provide

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-05 Thread Zack Weinberg
On Tue, Jan 5, 2021 at 8:43 AM Bob Friesenhahn wrote: > On Mon, 4 Jan 2021, Zack Weinberg wrote: > >> > >> Something which surprises me is that the distribution tarballs became > >> noticeably larger. > > > > This is expected. The bulk of the increase is probably due to the test > > programs used

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-05 Thread Bob Friesenhahn
On Mon, 4 Jan 2021, Zack Weinberg wrote: Something which surprises me is that the distribution tarballs became noticeably larger. This is expected. The bulk of the increase is probably due to the test programs used to probe for C and/or C++ 2011 support in the compilers. There were also some f

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-04 Thread Zack Weinberg
On Mon, Jan 4, 2021 at 9:08 PM Bob Friesenhahn wrote: > I am pretty close to done with updating GraphicsMagick to use the > recommended Autoconf and Automake initialization syntax. Thanks again > for your help. > > Something which surprises me is that the distribution tarballs became > noticeably

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-04 Thread Tim Rice
Hi Bob, On Mon, 4 Jan 2021, Bob Friesenhahn wrote: > The .tar.gz package increased from 9,675,006 to 9,683,225 bytes (8,219 bytes > difference when compressed). Perhaps it is not much but the size difference > seems large given that only 23 lines of original source code were added. Forget to

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-04 Thread Bob Friesenhahn
Zack, I am pretty close to done with updating GraphicsMagick to use the recommended Autoconf and Automake initialization syntax. Thanks again for your help. Something which surprises me is that the distribution tarballs became noticeably larger. The .tar.gz package increased from 9,675,00

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-03 Thread Bob Friesenhahn
On Sun, 3 Jan 2021, Zack Weinberg wrote: The trick here is that these shell commands will be executed when you run autoconf, *not* when you run configure. And you have to run autoconf with the current working directory equal to the top of the source tree *anyway*. So the answer is ". will be t

Re: Getting srcdir in script executed using m4_esyscmd in AC_INIT

2021-01-03 Thread Zack Weinberg
On Sun, Jan 3, 2021 at 6:01 PM Bob Friesenhahn wrote: > > AC_INIT(m4_esyscmd([./version.sh packagename]), > m4_esyscmd([./version.sh packageversion]), > m4_esyscmd([./version.sh packagebugreport])) > > This works fine when building in the source directory. > > The problem I am en