diff options
author | midipix <writeonce@midipix.org> | 2024-06-02 22:07:03 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-06-02 22:07:03 +0000 |
commit | a50ee744ea3b86f7a0fea4df889d4662dbe9bfe2 (patch) | |
tree | 96630e12ccca731f5ae5fec8b1d74b36a4694696 /m4 | |
parent | 3c7f9b82126ab334db4f2c16bb9e92ed3c916e3e (diff) | |
download | slibtool-a50ee744ea3b86f7a0fea4df889d4662dbe9bfe2.tar.bz2 slibtool-a50ee744ea3b86f7a0fea4df889d4662dbe9bfe2.tar.xz |
slibtool.m4: SLIBTOOL_PROG_LEX: initialize and propagate LEX_OUTPUT_ROOT.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/slibtool.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index 25c37a3..bf1c4e1 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -402,8 +402,11 @@ if [[ -z "${LEX}" ]]; then AC_CHECK_PROG([LEX],[lex],[lex]) fi +slibtool_lex_output_root="${ac_cv_prog_lex_root:-lex.yy}" + AC_SUBST([LEX]) AC_SUBST([LEXLIB]) +AC_SUBST([LEX_OUTPUT_ROOT],["${slibtool_lex_output_root}"]) ]) |