xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit 796556dae00fc397686cb573cd5d0488536ba4a0

Improving configure.ac - sub-makefiles macro call + more header deps.
Author: Martin Dvorak
Author date (UTC): 2014-09-12 19:59
Committer name: Martin Dvorak
Committer date (UTC): 2014-09-12 19:59
Parent(s): 967f1d013da1be79f553c905df611dbd54f378b7
Signing key:
Tree: 53310a485b7af5e899ac87c9da23020fe2f2c26e
File Lines added Lines deleted
configure.ac 7 4
src/hstr.c 3 3
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"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master