>> Well, I couldn't make esyscmd([head -n 1 NEWS]) work in an AC_INIT arg. > > Works here. What's happening in your case?
------------------ > If I were you, I would not try to do that, but that's only my opinion, > no flamewar needed. > > /tmp % cat configure.ac nostromo 18:42 > AC_INIT([Foo], esyscmd([cat version | tr -d '\n']), [bug@devnull]) > /tmp % autoconf nostromo 18:42 > /tmp % ./configure --version nostromo 18:42 > Foo configure Dead broken. The trailing newline inserted by esyscmd was the problem. For example, # Generated by GNU Autoconf 2.53 for gliv <version number>. expanded to # Generated by GNU Autoconf 2.53 for gliv 1.5.1 . Now everything works fine. Thank you all, for your patience. Guillaume