Lines 1-6
Link Here
|
1 |
AC_INIT(aclocal.m4) |
1 |
AC_INIT(aclocal.m4) |
2 |
AM_INIT_AUTOMAKE(motor, "3.4.0") |
2 |
AM_INIT_AUTOMAKE(motor, "3.4.0") |
3 |
|
3 |
|
|
|
4 |
### AC_SYSTEM_EXTENSIONS |
5 |
AC_GNU_SOURCE |
6 |
|
4 |
AM_CONFIG_HEADER(config.h) |
7 |
AM_CONFIG_HEADER(config.h) |
5 |
|
8 |
|
6 |
AC_PROG_CC |
9 |
AC_PROG_CC |
Lines 59-64
Link Here
|
59 |
AC_MSG_RESULT($gnu_make) |
62 |
AC_MSG_RESULT($gnu_make) |
60 |
AC_DEFINE_UNQUOTED(GNUMAKE, "$gnu_make", [gnu make program name]) |
63 |
AC_DEFINE_UNQUOTED(GNUMAKE, "$gnu_make", [gnu make program name]) |
61 |
|
64 |
|
|
|
65 |
AC_CHECK_FUNCS([strndup]) |
66 |
|
62 |
AC_CHECK_LIB(ncurses, main,, |
67 |
AC_CHECK_LIB(ncurses, main,, |
63 |
[AC_CHECK_LIB(curses, main,, AC_MSG_ERROR(The ncurses terminal library is required in order to build the program))]) |
68 |
[AC_CHECK_LIB(curses, main,, AC_MSG_ERROR(The ncurses terminal library is required in order to build the program))]) |
64 |
|
69 |
|