From 1ffec2d7c84b92a175d5d193d57654a14b96fa79 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 3 Dec 2021 10:34:16 -0300 Subject: [PATCH] Fixing configure.ac --- README.md | 2 +- autogen.sh | 2 ++ configure.ac | 7 +++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7cceaf8..651375e 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ For the supported distributions get the install repositories and instructions fr 3. Configure, build and install ```shell - ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3" + ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.4" make all && make install brew link libv3270 ``` diff --git a/autogen.sh b/autogen.sh index 1ca89ff..457d202 100755 --- a/autogen.sh +++ b/autogen.sh @@ -44,6 +44,8 @@ fi automake --add-missing 2> /dev/null | true +autopoint + cd "$olddir" test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" diff --git a/configure.ac b/configure.ac index 8eb36ae..e745015 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,9 @@ AM_INIT_AUTOMAKE dnl Check for iconv AM_ICONV +dnl Set gettext version +AM_GNU_GETTEXT_VERSION([0.14]) + dnl Checks for programs. AC_PROG_CC AC_PROG_SED @@ -103,9 +106,9 @@ case "$host" in *-apple-darwin*) CFLAGS="$CFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" - app_cv_osname="linux" + app_cv_osname="macos" LOGDIR="/var/log" - DLLEXT=".so" + DLLEXT=".dylib" DLL_LDFLAGS="-shared -Wl,-install_name,\$(@F)" INSTALL_PACKAGES="linux-lib ${INSTALL_PACKAGES}" -- libgit2 0.21.2