My program needs to load some files at run time, which will be installed into whatever folder is given to ./configure --datadir=/somewhere
./configure --datadir=/somewhere
As my program nee
AC_DEFINE_UNQUOTED([DATA_PATH], ["$pkgdatadir"])
Although modifying the compiler flags is really the more usual way to do it.