X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=bootstrap.sh;h=109767bcd8b5606cee805c2b20d8fc9fd19b5227;hb=fc21f9b9bc7d55fc4ce9d7a323b9e9173dbbe3ba;hp=9818b5b4bf3401d4fe08372405c95fe6cb70c804;hpb=200c86aa00265dbc1c6ae8dfe4fb5d77480e4dbe;p=m6w6%2Flibmemcached diff --git a/bootstrap.sh b/bootstrap.sh index 9818b5b4..109767bc 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,7 +2,12 @@ if test -f configure; then make clean; make merge-clean; make distclean; fi; -rm -r -f autom4te.cache +rm -r -f autom4te.cache/ config.h config.log config.status ./config/autorun.sh -./configure --disable-assert=no +if [ $(uname) = "Darwin" ]; +then + ./configure CC=clang CXX=clang++ --enable-assert +else + ./configure --enable-assert +fi make