Index: src/configure =================================================================== --- src/configure (revision 1701) +++ src/configure (working copy) @@ -36,6 +36,7 @@ -nosse Do not optimize for the SSE family of vectorizations -altix Use optimizations specific for the SGI Altix with intel -nolfs Remove compile flags for Large File Support + -macosx Use blas/lapack bundled with Mac OS X Rarely used/tested NAB options: -scalapack Use ScaLAPACK for linear algebra (don't specify -mpi as well) @@ -105,6 +106,7 @@ fppflags="-P " freeformat_flag='' mdgx='no' +macosx='no' #------------------- # Platform specific: @@ -142,6 +144,7 @@ -nosleap) nosleap="true";; -3drism) rism="yes";; -oldmkl) oldmkl="yes";; + -macosx) macosx="yes"; static="no"; ;; -help) usage;; --help) usage;; @@ -556,6 +559,14 @@ flibs_goto="$GOTO -lpthread" fi +if [ $macosx = "yes" -a $mkl = "no" ]; then + lapack=skip + blas=skip + flibs="\$(LIBDIR)/carpack.a \$(LIBDIR)/f2c.a" + flibsf="\$(LIBDIR)/carpack.a \$(LIBDIR)/f2c.a" + flibs_arch="-framwork Accelerate" +fi + #-------------------------------------------------------------------------- # Support platforms without a C by building c9x-complex. #--------------------------------------------------------------------------