1 dnl BISON_DEFINE_FILE(VARNAME, FILE)
2 dnl Defines (with AC_DEFINE) VARNAME to the expansion of the FILE
3 dnl variable, expanding ${prefix} and such.
4 dnl Example: BISON_DEFINE_FILE(DATADIR, datadir)
5 dnl By Alexandre Oliva <oliva@dcc.unicamp.br>
6 AC_DEFUN(BISON_DEFINE_FILE, [
8 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
9 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
12 AC_DEFINE_UNQUOTED($1, "$ac_expanded")