0

OK, I have a file m4/revision.m4 which has the macro REC_SVN_REV defined. I would like to use that in the version info in AC_INIT in configure.ac. But is it OK to call AC_CONFIG_MACRO_DIR([m4]) before AC_INIT?

Thanks in advance

BenjiWiebe
  • 2,116
  • 5
  • 22
  • 41

1 Answers1

0
m4_include([revision.m4])
AC_INIT([*******], [svn[]REC_SVN_REV], [i****@b*********.com], [*******-prealpha])

Works fine!

BenjiWiebe
  • 2,116
  • 5
  • 22
  • 41