Protect AM_PROG_AR with m4_ifdef

AM_PROG_AR is required in automake >= 1.12 when using -Wall,
but the macro is absent in old versions of automake.

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@429 5e3cd54f-fed5-4059-89be-b68eacfec290
Use -Wall and AM_PROG_AR in C configure.ac

This change was made to the C++ configure.ac but not the C one.

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@430 5e3cd54f-fed5-4059-89be-b68eacfec290
Call AC_SUBST after PKG_CHECK_MODULES

With pkg-config < 0.24, PKG_CHECK_MODULES does not AC_SUBST
the _CFLAGS and _LIBS variables.

See:
http://www.flameeyes.eu/autotools-mythbuster/pkgconfig/pkg_check_modules.html#idm117020112158704

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@431 5e3cd54f-fed5-4059-89be-b68eacfec290
Add -lm to CFITSIO_LIBS

At least on Scientific Linux 6, the link test fails unless -lm
is in the linker flags.

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@432 5e3cd54f-fed5-4059-89be-b68eacfec290
Introduce --enable-native-optimizations argument

This turns on the -march=native compiler flag where supported.
This option is now disabled by default.

Online help (./configure --help) will now show:

  --enable-native-optimizations
          Enable non-portable optimizations for your own CPU
          by compiling with -march=native [default=no]

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@433 5e3cd54f-fed5-4059-89be-b68eacfec290
Install lsconstants.h, which is used by Healpy

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@434 5e3cd54f-fed5-4059-89be-b68eacfec290
Initialize CFITSIO_LIBS to -lcfitsio

This should work if cfitsio is installed in the standard paths, even if
there is no pkg-config file.

git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@435 5e3cd54f-fed5-4059-89be-b68eacfec290
web site material



git-svn-id: svn://svn.code.sf.net/p/healpix/code/trunk@436 5e3cd54f-fed5-4059-89be-b68eacfec290