dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
433 stars 81 forks source link

configure.ac: Handle AM_PROG_AR not present in autoconf 1.11 #42

Closed winspool closed 11 years ago

winspool commented 11 years ago

AM_PROG_AR is a new feature since autoconf 1.12. autogen.sh failed on Ubuntu 11.10 with:

configure.ac:30: error: possibly undefined macro: AM_PROG_AR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1

Detlef

dvdhrm commented 11 years ago

Next time please include a comment why your fallback is safe for autoconf-1.11. It's actually not clear why we can simply drop AM_PROG_AR. I looked it up now and it seems that this is required internally by autoconf-1.12 (presumably for Windows-compiler-support) so your patch is in fact the right solution.

I picked it up as 4ed3e08dfeb12a0228d893455a1f60deb87d35f2

Thanks a lot! David