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