Commit d8559cb70b3e8aab08cdc54609302090f9fc3bba

Authored by Perry Werneck
1 parent db292162
Exists in master and in 2 other branches develop, macos

Fixing libtool on mac brew, updating readme (#25)

Showing 2 changed files with 8 additions and 3 deletions   Show diff stats
README.md
... ... @@ -144,7 +144,7 @@ Building for macOS (using homebrew)
144 144 2. Install dependencies
145 145  
146 146 ```shell
147   - brew install automake binutils coreutils curl gettext libtool openldap openssl pkgconfig
  147 + brew install automake binutils coreutils curl gettext libtool openssl pkgconfig
148 148 ```
149 149  
150 150 3. Use [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) to make keg-only dependencies available during build process
... ... @@ -156,7 +156,7 @@ Building for macOS (using homebrew)
156 156 4. Configure, build and install (inside the [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) shell opened above)
157 157  
158 158 ```shell
159   - ./autogen.sh --prefix="$(brew --cellar)/lib3270/5.3"
  159 + ./autogen.sh --prefix="$(brew --cellar)/lib3270/5.4"
160 160 make all && make install
161 161 $ brew link lib3270
162 162 ```
... ...
autogen.sh
... ... @@ -9,7 +9,12 @@ cd "$srcdir"
9 9 mkdir -p scripts
10 10 mkdir -p m4
11 11  
12   -libtoolize --force
  12 +LIBTOOLIZE=$(which libtoollize)
  13 +if [ -z ${LIBTOOLIZE} ]; then
  14 + LIBTOOLIZE=$(which glibtoolize)
  15 +fi
  16 +
  17 +${LIBTOOLIZE} --force
13 18 if test $? != 0 ; then
14 19 echo "libtoolize failed."
15 20 exit -1
... ...