1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00

build: fix string comparisons in autogen.sh

Compare strings with '=', not '=='.  The second form doesn't work with
all shells.

Fixes #876.
This commit is contained in:
Ben Noordhuis 2013-08-11 12:12:58 +02:00
parent db1dccb9ec
commit 0e4fa705f0

View File

@ -14,7 +14,7 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
if [ "$LIBTOOLIZE" == "" ] && [ "`uname`" == "Darwin" ]; then
if [ "$LIBTOOLIZE" = "" ] && [ "`uname`" = "Darwin" ]; then
LIBTOOLIZE=glibtoolize
fi