diff options
Diffstat (limited to 'tests/semantics.at')
-rw-r--r-- | tests/semantics.at | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/semantics.at b/tests/semantics.at index e6c7cf20..ac7fe013 100644 --- a/tests/semantics.at +++ b/tests/semantics.at @@ -1250,9 +1250,23 @@ AT_CLEANUP # their paces as much as the autogenerated AT_CHECK_MACRO invocation # used to, back when AC_PROG_LEX took no arguments. -AT_CHECK_MACRO([AC_PROG_LEX with yywrap], [AC_PROG_LEX([yywrap])]) AT_CHECK_MACRO([AC_PROG_LEX with noyywrap], [AC_PROG_LEX([noyywrap])]) +AT_CHECK_MACRO([AC_PROG_LEX with yywrap], [AC_PROG_LEX([yywrap])], + [], [], [], +[# Skip this test on OSes where there is no -ll nor -lfl. + +AT_DATA([configure.ac], +[[AC_INIT([lexlib-probe], [1]) +AC_PROG_CC +AC_SEARCH_LIBS([yywrap], [l fl], [], [AS_EXIT(77)]) +AC_OUTPUT +]]) +AT_CHECK_AUTOCONF +AT_CHECK_CONFIGURE +]) + + AT_SETUP([AC_PROG_LEX in legacy mode]) AT_CONFIGURE_AC([[AC_PROG_LEX]]) |