X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=bootstrap.sh;h=109767bcd8b5606cee805c2b20d8fc9fd19b5227;hb=303f0aafd224cdb5d27c717661c34eaf1eaf4cae;hp=e1c39ec8f984e9e0a320cdef6e720b83285c7c73;hpb=3dffdabbb7e41075f7998cd2af6498b42c97f471;p=m6w6%2Flibmemcached diff --git a/bootstrap.sh b/bootstrap.sh index e1c39ec8..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 +if [ $(uname) = "Darwin" ]; +then + ./configure CC=clang CXX=clang++ --enable-assert +else + ./configure --enable-assert +fi make