Commit 1ffec2d7c84b92a175d5d193d57654a14b96fa79

Authored by Perry Werneck
1 parent 2e847de3
Exists in master and in 1 other branch develop

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 106 3. Configure, build and install
107 107  
108 108 ```shell
109   - ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.3"
  109 + ./autogen.sh --prefix="$(brew --cellar)/libv3270/5.4"
110 110 make all && make install
111 111 brew link libv3270
112 112 ```
... ...
autogen.sh
... ... @@ -44,6 +44,8 @@ fi
44 44  
45 45 automake --add-missing 2> /dev/null | true
46 46  
  47 +autopoint
  48 +
47 49 cd "$olddir"
48 50 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
49 51  
... ...
configure.ac
... ... @@ -52,6 +52,9 @@ AM_INIT_AUTOMAKE
52 52 dnl Check for iconv
53 53 AM_ICONV
54 54  
  55 +dnl Set gettext version
  56 +AM_GNU_GETTEXT_VERSION([0.14])
  57 +
55 58 dnl Checks for programs.
56 59 AC_PROG_CC
57 60 AC_PROG_SED
... ... @@ -103,9 +106,9 @@ case "$host" in
103 106 *-apple-darwin*)
104 107 CFLAGS="$CFLAGS -pthread"
105 108 LDFLAGS="$LDFLAGS -pthread"
106   - app_cv_osname="linux"
  109 + app_cv_osname="macos"
107 110 LOGDIR="/var/log"
108   - DLLEXT=".so"
  111 + DLLEXT=".dylib"
109 112 DLL_LDFLAGS="-shared -Wl,-install_name,\$(@F)"
110 113  
111 114 INSTALL_PACKAGES="linux-lib ${INSTALL_PACKAGES}"
... ...