File configure.ac changed (mode: 100644) (index d77b1e8..24cd46e) |
4 |
4 |
|
|
5 |
5 |
AC_PREREQ([2.69]) |
AC_PREREQ([2.69]) |
6 |
6 |
|
|
7 |
|
AC_INIT(hh, 1.15, martin.dvorak@mindforger.com) |
|
|
7 |
|
AC_INIT(hh, 1.16, martin.dvorak@mindforger.com) |
8 |
8 |
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) |
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) |
9 |
9 |
|
|
10 |
10 |
# Checks for src dir existence. |
# Checks for src dir existence. |
|
... |
... |
AM_INIT_AUTOMAKE |
16 |
16 |
# Checks for programs. |
# Checks for programs. |
17 |
17 |
AC_PROG_CC |
AC_PROG_CC |
18 |
18 |
|
|
19 |
|
# Mac-specific ncurses check |
|
20 |
|
AC_CANONICAL_HOST |
|
21 |
|
AS_CASE([$host_os], |
|
22 |
|
[darwin*], |
|
23 |
|
[ |
|
24 |
|
AC_CHECK_LIB(ncurses, killwchar, [], [AC_MSG_ERROR([Could not find ncurses library])]) |
|
25 |
|
AC_CHECK_HEADER(curses.h) |
|
26 |
|
], |
|
27 |
|
[ |
|
28 |
|
AC_CHECK_LIB(ncursesw, killwchar, [], [AC_MSG_ERROR([Could not find ncursesw library])]) |
|
29 |
|
AC_CHECK_HEADER(ncursesw/curses.h) |
|
30 |
|
] |
|
31 |
|
) |
|
|
19 |
|
# ncurses check. |
|
20 |
|
AC_CHECK_LIB(ncursesw, killwchar, [], [AC_MSG_ERROR([Could not find ncursesw library])]) |
|
21 |
|
AC_CHECK_HEADER(ncursesw/curses.h) |
32 |
22 |
|
|
33 |
23 |
# Checks for libraries. |
# Checks for libraries. |
34 |
24 |
AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])]) |
AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])]) |
File dist/github-env.sh changed (mode: 100755) (index 72e110e..f054ad9) |
... |
... |
export NOW=`date +%Y-%m-%d--%H-%M-%S` |
4 |
4 |
export GH_RELEASE_DIR=~/p/hstr/release |
export GH_RELEASE_DIR=~/p/hstr/release |
5 |
5 |
export GH_DISTRO_DIR=${GH_RELEASE_DIR}/release-${NOW} |
export GH_DISTRO_DIR=${GH_RELEASE_DIR}/release-${NOW} |
6 |
6 |
|
|
7 |
|
export HHVERSION="1.15" |
|
8 |
|
export GH_MSG="Enter first item auto-select, Vim keybinding, doc improvements." |
|
|
7 |
|
export HHVERSION="1.16" |
|
8 |
|
export GH_MSG="History timestamps, Zsh support and management fixes." |
9 |
9 |
|
|
10 |
10 |
# eof |
# eof |
File dist/mac/configure.ac copied from file configure.ac (similarity 74%) (mode: 100644) (index d77b1e8..f85c8a3) |
4 |
4 |
|
|
5 |
5 |
AC_PREREQ([2.69]) |
AC_PREREQ([2.69]) |
6 |
6 |
|
|
7 |
|
AC_INIT(hh, 1.15, martin.dvorak@mindforger.com) |
|
|
7 |
|
AC_INIT(hh, 1.16, martin.dvorak@mindforger.com) |
8 |
8 |
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) |
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) |
9 |
9 |
|
|
10 |
10 |
# Checks for src dir existence. |
# Checks for src dir existence. |
|
... |
... |
AM_INIT_AUTOMAKE |
16 |
16 |
# Checks for programs. |
# Checks for programs. |
17 |
17 |
AC_PROG_CC |
AC_PROG_CC |
18 |
18 |
|
|
19 |
|
# Mac-specific ncurses check |
|
20 |
|
AC_CANONICAL_HOST |
|
21 |
|
AS_CASE([$host_os], |
|
22 |
|
[darwin*], |
|
23 |
|
[ |
|
24 |
|
AC_CHECK_LIB(ncurses, killwchar, [], [AC_MSG_ERROR([Could not find ncurses library])]) |
|
25 |
|
AC_CHECK_HEADER(curses.h) |
|
26 |
|
], |
|
27 |
|
[ |
|
28 |
|
AC_CHECK_LIB(ncursesw, killwchar, [], [AC_MSG_ERROR([Could not find ncursesw library])]) |
|
29 |
|
AC_CHECK_HEADER(ncursesw/curses.h) |
|
30 |
|
] |
|
31 |
|
) |
|
|
19 |
|
# Mac specific ncurses check |
|
20 |
|
# Unfortunately AC_CANONICAL_HOST macro cannot be used to |
|
21 |
|
# detect Linux/Mac platform as it actives the use of config.sub/config.guess |
|
22 |
|
# which doesn't work when building for launchpad (and @ launchpad) |
|
23 |
|
AC_CHECK_LIB(ncurses, killwchar, [], [AC_MSG_ERROR([Could not find ncurses library])]) |
|
24 |
|
AC_CHECK_HEADER(curses.h) |
32 |
25 |
|
|
33 |
26 |
# Checks for libraries. |
# Checks for libraries. |
34 |
27 |
AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])]) |
AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])]) |
File dist/ubuntu-make-all-distros.sh changed (mode: 100755) (index b0af814..c45035c) |
1 |
1 |
#!/bin/bash |
#!/bin/bash |
2 |
2 |
|
|
3 |
|
export HHBZRMSG="Enter first item auto-select, Vim keybinding, doc improvements." |
|
4 |
|
export VERSION=1.15. |
|
5 |
|
export MINOR=3 |
|
|
3 |
|
export HHBZRMSG="History timestamps, Zsh support and management fixes." |
|
4 |
|
export VERSION=1.16. |
|
5 |
|
export MINOR=1 |
6 |
6 |
|
|
7 |
7 |
# precise quantal saucy / precise trusty utopic |
# precise quantal saucy / precise trusty utopic |
8 |
8 |
for DISTRO in trusty utopic |
for DISTRO in trusty utopic |