Commit | Line | Data |
---|---|---|
252b5132 | 1 | sinclude(../bfd/acinclude.m4) |
ac48eca1 AO |
2 | |
3 | dnl sinclude(../libtool.m4) already included in bfd/acinclude.m4 | |
4 | dnl The lines below arrange for aclocal not to bring libtool.m4 | |
5 | dnl AM_PROG_LIBTOOL into aclocal.m4, while still arranging for automake | |
6 | dnl to add a definition of LIBTOOL to Makefile.in. | |
7 | ifelse(yes,no,[ | |
8 | AC_DEFUN([AM_PROG_LIBTOOL],) | |
9 | AC_SUBST(LIBTOOL) | |
10 | ]) | |
11 | ||
12 | dnl sinclude(../gettext.m4) already included in bfd/acinclude.m4 | |
13 | ifelse(yes,no,[ | |
14 | AC_DEFUN([CY_WITH_NLS],) | |
15 | AC_SUBST(INTLLIBS) | |
16 | ]) | |
8ca8f343 HPN |
17 | |
18 | ## Replacement for AC_PROG_LEX and AC_DECL_YYTEXT | |
19 | ## by Alexandre Oliva <oliva@dcc.unicamp.br> | |
20 | ||
21 | ## We need to override the installed aclocal/lex.m4 because of a bug in | |
22 | ## this definition in the recommended automake snapshot of 000227: | |
23 | ## There were double-quotes around ``$missing_dir/missing flex'' which was | |
24 | ## bad since aclocal wraps it in double-quotes. | |
25 | ||
26 | dnl AM_PROG_LEX | |
27 | dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT | |
f8b73030 | 28 | AC_DEFUN([AM_PROG_LEX], |
8ca8f343 HPN |
29 | [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1) |
30 | AC_CHECK_PROGS(LEX, flex lex, [$missing_dir/missing flex]) | |
31 | AC_PROG_LEX | |
32 | AC_DECL_YYTEXT]) |