bstansell / conserver

Logged, multi-user access to device consoles
https://www.conserver.com/
BSD 3-Clause "New" or "Revised" License
129 stars 38 forks source link

configure.ac: autoconf-2.70 fix #58

Closed Polynomial-C closed 3 years ago

Polynomial-C commented 3 years ago

This was previously reported downstream at Gentoo: https://bugs.gentoo.org/750230

autoconf-2.70 changed behavior when using $@ in AC_DEFINE_UNQUOTED which results in the string getting a newline after each element and that later makes the configure run fail. Changing this to $* fixes the issue.

The change to AC_PREREQ is not really required for autoconf-2.70 (especially not settiong it to 2.69 vaule) but I could only test the fix with autoconf-2.69 and autoconf-2.70 and given that v2.69 is nearly eight years old already I don't see a problem in rasing the version requirement here.