GNU Autoconf, Automake and LibtoolCommonly Used configure.in macrosAC_DEFINE

4.1. AC_DEFINE

AC_DEFINE(HELLO)

AC_DEFINE(VERSION, "5.6")

myvar="foo"
othervar="bar"
AC_DEFINE_UNQUOTED(TEST, "${myvar}${othervar}")

Written by Shlomi Fish