Commit 1ffec2d7c84b92a175d5d193d57654a14b96fa79
1 parent
2e847de3
Exists in
master
and in
1 other branch
Fixing configure.ac
Showing
3 changed files
with
8 additions
and
3 deletions
Show diff stats
README.md
@@ -106,7 +106,7 @@ For the supported distributions get the install repositories and instructions fr | @@ -106,7 +106,7 @@ For the supported distributions get the install repositories and instructions fr | ||
106 | 3. Configure, build and install | 106 | 3. Configure, build and install |
107 | 107 | ||
108 | ```shell | 108 | ```shell |
109 | - ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3" | 109 | + ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.4" |
110 | make all && make install | 110 | make all && make install |
111 | brew link libv3270 | 111 | brew link libv3270 |
112 | ``` | 112 | ``` |
autogen.sh
@@ -44,6 +44,8 @@ fi | @@ -44,6 +44,8 @@ fi | ||
44 | 44 | ||
45 | automake --add-missing 2> /dev/null | true | 45 | automake --add-missing 2> /dev/null | true |
46 | 46 | ||
47 | +autopoint | ||
48 | + | ||
47 | cd "$olddir" | 49 | cd "$olddir" |
48 | test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" | 50 | test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" |
49 | 51 |
configure.ac
@@ -52,6 +52,9 @@ AM_INIT_AUTOMAKE | @@ -52,6 +52,9 @@ AM_INIT_AUTOMAKE | ||
52 | dnl Check for iconv | 52 | dnl Check for iconv |
53 | AM_ICONV | 53 | AM_ICONV |
54 | 54 | ||
55 | +dnl Set gettext version | ||
56 | +AM_GNU_GETTEXT_VERSION([0.14]) | ||
57 | + | ||
55 | dnl Checks for programs. | 58 | dnl Checks for programs. |
56 | AC_PROG_CC | 59 | AC_PROG_CC |
57 | AC_PROG_SED | 60 | AC_PROG_SED |
@@ -103,9 +106,9 @@ case "$host" in | @@ -103,9 +106,9 @@ case "$host" in | ||
103 | *-apple-darwin*) | 106 | *-apple-darwin*) |
104 | CFLAGS="$CFLAGS -pthread" | 107 | CFLAGS="$CFLAGS -pthread" |
105 | LDFLAGS="$LDFLAGS -pthread" | 108 | LDFLAGS="$LDFLAGS -pthread" |
106 | - app_cv_osname="linux" | 109 | + app_cv_osname="macos" |
107 | LOGDIR="/var/log" | 110 | LOGDIR="/var/log" |
108 | - DLLEXT=".so" | 111 | + DLLEXT=".dylib" |
109 | DLL_LDFLAGS="-shared -Wl,-install_name,\$(@F)" | 112 | DLL_LDFLAGS="-shared -Wl,-install_name,\$(@F)" |
110 | 113 | ||
111 | INSTALL_PACKAGES="linux-lib ${INSTALL_PACKAGES}" | 114 | INSTALL_PACKAGES="linux-lib ${INSTALL_PACKAGES}" |