| File configure.ac changed (mode: 100644) (index abb215e..700dd41) |
| ... |
... |
AC_PREREQ([2.69]) |
| 6 |
6 |
|
|
| 7 |
7 |
AC_INIT(hh, 1.13, martin.dvorak@mindforger.com) |
AC_INIT(hh, 1.13, martin.dvorak@mindforger.com) |
| 8 |
8 |
AM_INIT_AUTOMAKE(hh, 1.13) |
AM_INIT_AUTOMAKE(hh, 1.13) |
| 9 |
|
AC_OUTPUT(Makefile src/Makefile man/Makefile) |
|
|
9 |
|
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) |
| 10 |
10 |
|
|
| 11 |
11 |
# Checks for src dir existence. |
# Checks for src dir existence. |
| 12 |
12 |
AC_CONFIG_SRCDIR([src/hstr.c]) |
AC_CONFIG_SRCDIR([src/hstr.c]) |
| 13 |
|
# Where to generate header file. |
|
| 14 |
|
#AC_CONFIG_HEADERS([config.h]) |
|
| 15 |
13 |
|
|
| 16 |
14 |
# Checks for programs. |
# Checks for programs. |
| 17 |
15 |
AC_PROG_CC |
AC_PROG_CC |
| |
| ... |
... |
AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline |
| 24 |
22 |
# Checks for header files. |
# Checks for header files. |
| 25 |
23 |
AC_CHECK_HEADER(assert.h) |
AC_CHECK_HEADER(assert.h) |
| 26 |
24 |
AC_CHECK_HEADER(ctype.h) |
AC_CHECK_HEADER(ctype.h) |
| 27 |
|
AC_CHECK_HEADER(ncursesw/curses.h) |
|
| 28 |
25 |
AC_CHECK_HEADER(fcntl.h) |
AC_CHECK_HEADER(fcntl.h) |
|
26 |
|
AC_CHECK_HEADER(getopt.h) |
|
27 |
|
AC_CHECK_HEADER(locale.h) |
| 29 |
28 |
AC_CHECK_HEADER(math.h) |
AC_CHECK_HEADER(math.h) |
|
29 |
|
AC_CHECK_HEADER(ncursesw/curses.h) |
| 30 |
30 |
AC_CHECK_HEADER(readline/history.h) |
AC_CHECK_HEADER(readline/history.h) |
|
31 |
|
AC_CHECK_HEADER(regex.h) |
|
32 |
|
AC_CHECK_HEADER(signal.h) |
| 31 |
33 |
AC_CHECK_HEADER(stdbool.h) |
AC_CHECK_HEADER(stdbool.h) |
| 32 |
34 |
AC_CHECK_HEADER(stddef.h) |
AC_CHECK_HEADER(stddef.h) |
| 33 |
35 |
AC_CHECK_HEADER(stdio.h) |
AC_CHECK_HEADER(stdio.h) |
| |
| ... |
... |
AC_CHECK_HEADER(string.h) |
| 36 |
38 |
AC_CHECK_HEADER(sys/ioctl.h) |
AC_CHECK_HEADER(sys/ioctl.h) |
| 37 |
39 |
AC_CHECK_HEADER(termios.h) |
AC_CHECK_HEADER(termios.h) |
| 38 |
40 |
AC_CHECK_HEADER(unistd.h) |
AC_CHECK_HEADER(unistd.h) |
|
41 |
|
AC_CHECK_HEADER(wchar.h) |
| 39 |
42 |
|
|
| 40 |
43 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 41 |
44 |
AC_CHECK_HEADER_STDBOOL |
AC_CHECK_HEADER_STDBOOL |
| File src/hstr.c changed (mode: 100644) (index a4cdafd..337fc13) |
| 9 |
9 |
|
|
| 10 |
10 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
| 11 |
11 |
|
|
| 12 |
|
#include <ncursesw/curses.h> |
|
| 13 |
12 |
#include <getopt.h> |
#include <getopt.h> |
| 14 |
|
#include <regex.h> |
|
| 15 |
13 |
#include <locale.h> |
#include <locale.h> |
|
14 |
|
#include <ncursesw/curses.h> |
|
15 |
|
#include <readline/chardefs.h> |
|
16 |
|
#include <regex.h> |
| 16 |
17 |
#include <signal.h> |
#include <signal.h> |
| 17 |
18 |
#include <stdbool.h> |
#include <stdbool.h> |
| 18 |
19 |
#include <stddef.h> |
#include <stddef.h> |
| |
| 22 |
23 |
#include <termios.h> |
#include <termios.h> |
| 23 |
24 |
#include <unistd.h> |
#include <unistd.h> |
| 24 |
25 |
#include <wchar.h> |
#include <wchar.h> |
| 25 |
|
#include <readline/chardefs.h> |
|
| 26 |
26 |
|
|
| 27 |
27 |
#include "include/hashset.h" |
#include "include/hashset.h" |
| 28 |
28 |
#include "include/hstr_curses.h" |
#include "include/hstr_curses.h" |