By default, the CFITSIO library will be a "Universal Binary" (i.e.
32- and 64-bit compatible) under Mac OS X when built in the standard
way, i.e.

- tar xzf cfitsio3370.tar.gz (or whatever version this is)
- cd cfitsio/

- ./configure
- make
- make install

---------------------------------------------------------------------
To install CFITSIO using MacPorts:
---------------------------------------------------------------------

If you have MacPorts installed, you may install CFITSIO simply with
the command

  $ sudo port install cfitsio +universal

For more information, please visit:

http://macports.org
https://trac.macports.org/browser/trunk/dports/science/cfitsio/Portfile

---------------------------------------------------------------------
To install CFITSIO using Homebrew:
---------------------------------------------------------------------

If you have Homebrew installed, you may install CFITSIO simply with
the command

  $ brew install cfitsio

For more information, please visit:

http://brew.sh
http://brewformulas.org/Cfitsio


---------------------------------------------------------------------
To install CFITSIO using conda:
---------------------------------------------------------------------

If you have conda installed, you may install CFITSIO simply with
the command

  $ conda install cfitsio

For more information, please visit:

https://github.com/conda-forge/cfitsio-feedstock

---------------------------------------------------------------------
To build CFITSIO using the XCode GUI:
---------------------------------------------------------------------

- tar xzf cfitsio3370.tar.gz (or whatever version this is)
- cd cfitsio/

- Start Xcode and open cfitsio.xcodeproj/project.pbxproj,
  or just "open" the file from a terminal command line,

   $ open cfitsio.xcodeproj/project.pbxproj

  and this will start up XCode for you.

- Press the Build (or "Play") button in the upper left
  corner of the GUI.
