X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=config%2Fbootstrap;h=624c14570987c575ffd6ec9e62e1d5c582f440b7;hb=44a351afa447e7a6299258550d3ee3b498b42093;hp=cc463d86d6abbf5ab36688ac8a88461a5940c05f;hpb=375ad7d822a4bbc121a79ce7e927385d6be7f754;p=m6w6%2Flibmemcached diff --git a/config/bootstrap b/config/bootstrap index cc463d86..624c1457 100755 --- a/config/bootstrap +++ b/config/bootstrap @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Taken from lighthttpd server (BSD). Thanks Jan! # Run this to generate all the initial makefiles, etc. @@ -26,9 +26,9 @@ set -e ## We do not currently support glibtoolize if test x$LIBTOOLIZE = x; then -# if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then -# LIBTOOLIZE=glibtoolize - if test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then + if test \! "x`which glibtoolize 2> /dev/null | grep -v '^no'`" = x; then + LIBTOOLIZE=glibtoolize + elif test \! "x`which libtoolize-1.5 2> /dev/null | grep -v '^no'`" = x; then LIBTOOLIZE=libtoolize-1.5 elif test \! "x`which libtoolize 2> /dev/null | grep -v '^no'`" = x; then LIBTOOLIZE=libtoolize