Commit 04e40d2c authored by Eric Jullo's avatar Eric Jullo
Browse files

Implement sigma_ap correction (Bergamini+2019). Define DEBUG symbol in...

Implement sigma_ap correction (Bergamini+2019). Define DEBUG symbol in --enable-debug mode. Add ./tests directory.
parent ee9e1d8d
# Makefile.in generated by automake 1.15 from Makefile.am.
# Makefile.in generated by automake 1.16.2 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -133,7 +133,7 @@ am__recursive_targets = \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
......@@ -212,6 +212,7 @@ CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFITSIO_HDR = @CFITSIO_HDR@
CFITSIO_LIB = @CFITSIO_LIB@
CFITSIO_STATIC = @CFITSIO_STATIC@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
......@@ -257,6 +258,7 @@ STRIP = @STRIP@
VERSION = @VERSION@
WCS_HDR = @WCS_HDR@
WCS_LIB = @WCS_LIB@
WCS_STATIC = @WCS_STATIC@
XMKMF = @XMKMF@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
......@@ -333,8 +335,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
......@@ -452,7 +454,10 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(DISTFILES)
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
......@@ -517,7 +522,7 @@ distdir: $(DISTFILES)
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
......@@ -532,6 +537,10 @@ dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-zstd: distdir
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
......@@ -543,7 +552,7 @@ dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
......@@ -561,7 +570,7 @@ dist dist-all:
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
......@@ -571,9 +580,11 @@ distcheck: dist
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
......@@ -750,7 +761,7 @@ uninstall-am:
am--refresh check check-am clean clean-cscope clean-generic \
cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
distcheck distclean distclean-generic distclean-tags \
dist-zstd distcheck distclean distclean-generic distclean-tags \
distcleancheck distdir distuninstallcheck dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
......
# generated automatically by aclocal 1.15 -*- Autoconf -*-
# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
# Copyright (C) 2002-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.15'
[am__api_version='1.16'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.15], [],
m4_if([$1], [1.16.2], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
......@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.15])dnl
[AM_AUTOMAKE_VERSION([1.16.2])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -332,13 +332,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
......@@ -346,49 +345,43 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
*\'*) eval set x "$CONFIG_FILES" ;;
*) set x $CONFIG_FILES ;;
esac
# TODO: see whether this extra hack can be removed once we start
# requiring Autoconf 2.70 or later.
AS_CASE([$CONFIG_FILES],
[*\'*], [eval set x "$CONFIG_FILES"],
[*], [set x $CONFIG_FILES])
shift
for mf
# Used to flag and report bootstrapping failures.
am_rc=0
for am_mf
do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile which includes
# dependency-tracking related rules and includes.
# Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|| continue
am_dirpart=`AS_DIRNAME(["$am_mf"])`
am_filepart=`AS_BASENAME(["$am_mf"])`
AM_RUN_LOG([cd "$am_dirpart" \
&& sed -e '/# am--include-marker/d' "$am_filepart" \
| $MAKE -f - am--depfiles]) || am_rc=$?
done
if test $am_rc -ne 0; then
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).])
fi
AS_UNSET([am_dirpart])
AS_UNSET([am_filepart])
AS_UNSET([am_mf])
AS_UNSET([am_rc])
rm -f conftest-deps.mk
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
......@@ -397,18 +390,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each '.P' file that we will
# need in order to bootstrap the dependency handling code.
# This code is only required when automatic dependency tracking is enabled.
# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
# order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
[AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -495,8 +487,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
......@@ -563,7 +555,7 @@ END
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: <http://www.gnu.org/software/coreutils/>.
that behaves properly: <https://www.gnu.org/software/coreutils/>.
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
......@@ -605,7 +597,7 @@ for _am_header in $config_headers :; do
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -626,7 +618,7 @@ if test x"${install_sh+set}" != xset; then
fi
AC_SUBST([install_sh])])
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
# Copyright (C) 2003-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -647,7 +639,7 @@ AC_SUBST([am__leading_dot])])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -655,49 +647,42 @@ AC_SUBST([am__leading_dot])])
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
# Check whether make has an 'include' directive that can support all
# the idioms we need for our automatic dependency tracking code.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
cat > confinc.mk << 'END'
am__doit:
@echo this is the am__doit target
@echo this is the am__doit target >confinc.out
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
am__quote=
_am_result=GNU
;;
esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=.include
am__quote="\""
_am_result=BSD
;;
esac
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# BSD make does it like this.
echo '.include "confinc.mk" # ignored' > confmf.BSD
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
echo 'include confinc.mk # ignored' > confmf.GNU
_am_result=no
for s in GNU BSD; do
AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
AS_CASE([$?:`cat confinc.out 2>/dev/null`],
['0:this is the am__doit target'],
[AS_CASE([$s],
[BSD], [am__include='.include' am__quote='"'],
[am__include='include' am__quote=''])])
if test "$am__include" != "#"; then
_am_result="yes ($s style)"
break
fi
done
rm -f confinc.* confmf.*
AC_MSG_RESULT([${_am_result}])
AC_SUBST([am__include])])
AC_SUBST([am__quote])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -736,7 +721,7 @@ fi
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -765,7 +750,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -812,7 +797,7 @@ AC_LANG_POP([C])])
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -831,7 +816,7 @@ AC_DEFUN([AM_RUN_LOG],
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -912,7 +897,7 @@ AC_CONFIG_COMMANDS_PRE(
rm -f conftest.file
])
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
# Copyright (C) 2009-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -972,7 +957,7 @@ AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -1000,7 +985,7 @@ fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
# Copyright (C) 2006-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -1019,7 +1004,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
# Copyright (C) 2004-2020 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......
This diff is collapsed.
......@@ -13,7 +13,8 @@ AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],
[Compile in debug mode])],[],[])
if test "${enable_debug+set}" = set ; then
CFLAGS=$(echo "$CFLAGS -g" | sed -e "s/-O./-O0/")
CFLAGS=$(echo "$CFLAGS " | sed -e "s/-O./-O0/")
CFLAGS="$CFLAGS -DDEBUG"
AC_MSG_NOTICE([Enable debug mode])
fi
......
......@@ -155,6 +155,7 @@ double sersic_dpl(double r, double re, double n, double kappae);
double sersic_kappa_eps(double r, double re, double n, double theta, double kappas, double eps);
struct point sersic_gamma_eps(double r, double re, double n, double theta, double kappas, double eps);
double err_invim(double **errim, int **imult);
double e_sigma_ap(struct pot *ilens, double r);
void e_tau(long int n, struct galaxie gal[NAMAX]);
void e_testg(int i, int j, struct bitriplet *Tsol, int ni, struct point *P, double dlsds, double zs);
int e_test_P(struct bitriplet *Tsol, int ni, struct point *ps, struct point image[NIMAX], double dlsds, double zs, double err);
......
......@@ -24,7 +24,7 @@ liblenstool_a_SOURCES = \
e_grad.c e_hernquist.c e_im_prec.c e_inthere.c e_lens.c \
e_lensing.c e_lens_P.c e_mag.c e_mass.c \
e_nfw.c e_nfwgt.c e_nfwtri.c e_pcpx.c e_pixel.c \
e_pot.c err_invim.c e_sersic.c e_einasto.c e_tau.c \
e_pot.c err_invim.c e_sersic.c e_einasto.c e_sigma_ap.c e_tau.c \
e_test.c e_testg.c e_test_P.c e_time.c \
e_unlens.c e_unlens_fast.c e_unlensgrid.c e_unmag.c \
e_zeroamp.c fft.c fftcc_im.c fftc_im.c \
......
......@@ -134,42 +134,42 @@ am_liblenstool_a_OBJECTS = al_sq_point.$(OBJEXT) amplif.$(OBJEXT) \
e_nfw.$(OBJEXT) e_nfwgt.$(OBJEXT) e_nfwtri.$(OBJEXT) \
e_pcpx.$(OBJEXT) e_pixel.$(OBJEXT) e_pot.$(OBJEXT) \
err_invim.$(OBJEXT) e_sersic.$(OBJEXT) e_einasto.$(OBJEXT) \
e_tau.$(OBJEXT) e_test.$(OBJEXT) e_testg.$(OBJEXT) \
e_test_P.$(OBJEXT) e_time.$(OBJEXT) e_unlens.$(OBJEXT) \
e_unlens_fast.$(OBJEXT) e_unlensgrid.$(OBJEXT) \
e_unmag.$(OBJEXT) e_zeroamp.$(OBJEXT) fft.$(OBJEXT) \
fftcc_im.$(OBJEXT) fftc_im.$(OBJEXT) fmin_ell.$(OBJEXT) \
follow.$(OBJEXT) followi.$(OBJEXT) formeli.$(OBJEXT) \
frprmn.$(OBJEXT) fr_sq_point.$(OBJEXT) f_shape2.$(OBJEXT) \
f_shape3.$(OBJEXT) f_shape4.$(OBJEXT) f_shape_abs.$(OBJEXT) \
f_shape.$(OBJEXT) f_shmap.$(OBJEXT) f_source.$(OBJEXT) \
fz_dlsds.$(OBJEXT) g_ampli.$(OBJEXT) g_amplif.$(OBJEXT) \
g_curv.$(OBJEXT) g_dpl.$(OBJEXT) g_grid.$(OBJEXT) \
g_mass.$(OBJEXT) g_poten.$(OBJEXT) g_profil.$(OBJEXT) \
g_prop.$(OBJEXT) g_radial.$(OBJEXT) grid.$(OBJEXT) \
gridp.$(OBJEXT) gs_ecrire.$(OBJEXT) gs_ecrire_t.$(OBJEXT) \
g_shear.$(OBJEXT) g_shearf.$(OBJEXT) g_time.$(OBJEXT) \
hilbert.$(OBJEXT) ic_product.$(OBJEXT) im_add_const.$(OBJEXT) \
i_marker.$(OBJEXT) im_bin.$(OBJEXT) im_convolve.$(OBJEXT) \
im_stat.$(OBJEXT) imtosou.$(OBJEXT) inconvexe.$(OBJEXT) \
init_grille.$(OBJEXT) inside.$(OBJEXT) interpol.$(OBJEXT) \
inverse.$(OBJEXT) isoima.$(OBJEXT) iter.$(OBJEXT) \
keep_cl.$(OBJEXT) lire.$(OBJEXT) local.$(OBJEXT) \
lt_math.$(OBJEXT) min_parabol.$(OBJEXT) min_slo_par.$(OBJEXT) \
multiscale_grid.$(OBJEXT) nimage.$(OBJEXT) \
norm_angle.$(OBJEXT) o_big_slope.$(OBJEXT) o_chi.$(OBJEXT) \
o_chi_flux.$(OBJEXT) o_chires.$(OBJEXT) o_dpl.$(OBJEXT) \
o_flux.$(OBJEXT) o_pixsource.$(OBJEXT) o_global.$(OBJEXT) \
o_invim.$(OBJEXT) o_keep_min.$(OBJEXT) o_keepz_min.$(OBJEXT) \
o_kp_sp_min.$(OBJEXT) o_mag.$(OBJEXT) o_mag_m.$(OBJEXT) \
o_min_loc.$(OBJEXT) o_min_slope.$(OBJEXT) o_prep.$(OBJEXT) \
o_prep_mult.$(OBJEXT) o_print.$(OBJEXT) o_print_res.$(OBJEXT) \
opt_source.$(OBJEXT) o_rescale.$(OBJEXT) o_run1.$(OBJEXT) \
o_run2.$(OBJEXT) o_run_bayes.$(OBJEXT) o_run.$(OBJEXT) \
o_run_mc0.$(OBJEXT) o_run_mc.$(OBJEXT) o_runpot1.$(OBJEXT) \
o_runpot2.$(OBJEXT) o_runz0.$(OBJEXT) o_runz2.$(OBJEXT) \
o_runz.$(OBJEXT) o_runz_mc0.$(OBJEXT) o_runz_mc.$(OBJEXT) \
o_set_err.$(OBJEXT) o_set_exc.$(OBJEXT) \
e_sigma_ap.$(OBJEXT) e_tau.$(OBJEXT) e_test.$(OBJEXT) \
e_testg.$(OBJEXT) e_test_P.$(OBJEXT) e_time.$(OBJEXT) \
e_unlens.$(OBJEXT) e_unlens_fast.$(OBJEXT) \
e_unlensgrid.$(OBJEXT) e_unmag.$(OBJEXT) e_zeroamp.$(OBJEXT) \
fft.$(OBJEXT) fftcc_im.$(OBJEXT) fftc_im.$(OBJEXT) \
fmin_ell.$(OBJEXT) follow.$(OBJEXT) followi.$(OBJEXT) \
formeli.$(OBJEXT) frprmn.$(OBJEXT) fr_sq_point.$(OBJEXT) \
f_shape2.$(OBJEXT) f_shape3.$(OBJEXT) f_shape4.$(OBJEXT) \
f_shape_abs.$(OBJEXT) f_shape.$(OBJEXT) f_shmap.$(OBJEXT) \
f_source.$(OBJEXT) fz_dlsds.$(OBJEXT) g_ampli.$(OBJEXT) \
g_amplif.$(OBJEXT) g_curv.$(OBJEXT) g_dpl.$(OBJEXT) \
g_grid.$(OBJEXT) g_mass.$(OBJEXT) g_poten.$(OBJEXT) \
g_profil.$(OBJEXT) g_prop.$(OBJEXT) g_radial.$(OBJEXT) \
grid.$(OBJEXT) gridp.$(OBJEXT) gs_ecrire.$(OBJEXT) \
gs_ecrire_t.$(OBJEXT) g_shear.$(OBJEXT) g_shearf.$(OBJEXT) \
g_time.$(OBJEXT) hilbert.$(OBJEXT) ic_product.$(OBJEXT) \
im_add_const.$(OBJEXT) i_marker.$(OBJEXT) im_bin.$(OBJEXT) \
im_convolve.$(OBJEXT) im_stat.$(OBJEXT) imtosou.$(OBJEXT) \
inconvexe.$(OBJEXT) init_grille.$(OBJEXT) inside.$(OBJEXT) \
interpol.$(OBJEXT) inverse.$(OBJEXT) isoima.$(OBJEXT) \
iter.$(OBJEXT) keep_cl.$(OBJEXT) lire.$(OBJEXT) \
local.$(OBJEXT) lt_math.$(OBJEXT) min_parabol.$(OBJEXT) \
min_slo_par.$(OBJEXT) multiscale_grid.$(OBJEXT) \
nimage.$(OBJEXT) norm_angle.$(OBJEXT) o_big_slope.$(OBJEXT) \
o_chi.$(OBJEXT) o_chi_flux.$(OBJEXT) o_chires.$(OBJEXT) \
o_dpl.$(OBJEXT) o_flux.$(OBJEXT) o_pixsource.$(OBJEXT) \
o_global.$(OBJEXT) o_invim.$(OBJEXT) o_keep_min.$(OBJEXT) \
o_keepz_min.$(OBJEXT) o_kp_sp_min.$(OBJEXT) o_mag.$(OBJEXT) \
o_mag_m.$(OBJEXT) o_min_loc.$(OBJEXT) o_min_slope.$(OBJEXT) \
o_prep.$(OBJEXT) o_prep_mult.$(OBJEXT) o_print.$(OBJEXT) \
o_print_res.$(OBJEXT) opt_source.$(OBJEXT) o_rescale.$(OBJEXT) \
o_run1.$(OBJEXT) o_run2.$(OBJEXT) o_run_bayes.$(OBJEXT) \
o_run.$(OBJEXT) o_run_mc0.$(OBJEXT) o_run_mc.$(OBJEXT) \
o_runpot1.$(OBJEXT) o_runpot2.$(OBJEXT) o_runz0.$(OBJEXT) \
o_runz2.$(OBJEXT) o_runz.$(OBJEXT) o_runz_mc0.$(OBJEXT) \
o_runz_mc.$(OBJEXT) o_set_err.$(OBJEXT) o_set_exc.$(OBJEXT) \
o_set_lens_bayes.$(OBJEXT) o_set_lens.$(OBJEXT) \
o_set_lmax.$(OBJEXT) o_set_lmin.$(OBJEXT) o_set_map.$(OBJEXT) \
o_set_map_mc.$(OBJEXT) o_set_map_z.$(OBJEXT) \
......@@ -262,29 +262,29 @@ am__depfiles_remade = ./$(DEPDIR)/Bspline.Po \
./$(DEPDIR)/e_nfw.Po ./$(DEPDIR)/e_nfwgt.Po \
./$(DEPDIR)/e_nfwtri.Po ./$(DEPDIR)/e_pcpx.Po \
./$(DEPDIR)/e_pixel.Po ./$(DEPDIR)/e_pot.Po \
./$(DEPDIR)/e_sersic.Po ./$(DEPDIR)/e_skew.Po \
./$(DEPDIR)/e_tau.Po ./$(DEPDIR)/e_test.Po \
./$(DEPDIR)/e_test_P.Po ./$(DEPDIR)/e_testg.Po \
./$(DEPDIR)/e_time.Po ./$(DEPDIR)/e_unlens.Po \
./$(DEPDIR)/e_unlens_fast.Po ./$(DEPDIR)/e_unlensgrid.Po \
./$(DEPDIR)/e_unmag.Po ./$(DEPDIR)/e_zeroamp.Po \
./$(DEPDIR)/ecrire_r.Po ./$(DEPDIR)/err_invim.Po \
./$(DEPDIR)/f_shape.Po ./$(DEPDIR)/f_shape2.Po \
./$(DEPDIR)/f_shape3.Po ./$(DEPDIR)/f_shape4.Po \
./$(DEPDIR)/f_shape_abs.Po ./$(DEPDIR)/f_shmap.Po \
./$(DEPDIR)/f_source.Po ./$(DEPDIR)/fft.Po \
./$(DEPDIR)/fftc_im.Po ./$(DEPDIR)/fftcc_im.Po \
./$(DEPDIR)/fmin_ell.Po ./$(DEPDIR)/follow.Po \
./$(DEPDIR)/followi.Po ./$(DEPDIR)/formeli.Po \
./$(DEPDIR)/fr_sq_point.Po ./$(DEPDIR)/frprmn.Po \
./$(DEPDIR)/fz_dlsds.Po ./$(DEPDIR)/g_ampli.Po \
./$(DEPDIR)/g_amplif.Po ./$(DEPDIR)/g_curv.Po \
./$(DEPDIR)/g_dpl.Po ./$(DEPDIR)/g_grid.Po \
./$(DEPDIR)/g_mass.Po ./$(DEPDIR)/g_poten.Po \
./$(DEPDIR)/g_profil.Po ./$(DEPDIR)/g_prop.Po \
./$(DEPDIR)/g_radial.Po ./$(DEPDIR)/g_shear.Po \
./$(DEPDIR)/g_shearf.Po ./$(DEPDIR)/g_time.Po \
./$(DEPDIR)/grid.Po ./$(DEPDIR)/gridp.Po \
./$(DEPDIR)/e_sersic.Po ./$(DEPDIR)/e_sigma_ap.Po \
./$(DEPDIR)/e_skew.Po ./$(DEPDIR)/e_tau.Po \
./$(DEPDIR)/e_test.Po ./$(DEPDIR)/e_test_P.Po \
./$(DEPDIR)/e_testg.Po ./$(DEPDIR)/e_time.Po \
./$(DEPDIR)/e_unlens.Po ./$(DEPDIR)/e_unlens_fast.Po \
./$(DEPDIR)/e_unlensgrid.Po ./$(DEPDIR)/e_unmag.Po \
./$(DEPDIR)/e_zeroamp.Po ./$(DEPDIR)/ecrire_r.Po \
./$(DEPDIR)/err_invim.Po ./$(DEPDIR)/f_shape.Po \
./$(DEPDIR)/f_shape2.Po ./$(DEPDIR)/f_shape3.Po \
./$(DEPDIR)/f_shape4.Po ./$(DEPDIR)/f_shape_abs.Po \
./$(DEPDIR)/f_shmap.Po ./$(DEPDIR)/f_source.Po \
./$(DEPDIR)/fft.Po ./$(DEPDIR)/fftc_im.Po \
./$(DEPDIR)/fftcc_im.Po ./$(DEPDIR)/fmin_ell.Po \
./$(DEPDIR)/follow.Po ./$(DEPDIR)/followi.Po \
./$(DEPDIR)/formeli.Po ./$(DEPDIR)/fr_sq_point.Po \
./$(DEPDIR)/frprmn.Po ./$(DEPDIR)/fz_dlsds.Po \
./$(DEPDIR)/g_ampli.Po ./$(DEPDIR)/g_amplif.Po \
./$(DEPDIR)/g_curv.Po ./$(DEPDIR)/g_dpl.Po \
./$(DEPDIR)/g_grid.Po ./$(DEPDIR)/g_mass.Po \
./$(DEPDIR)/g_poten.Po ./$(DEPDIR)/g_profil.Po \
./$(DEPDIR)/g_prop.Po ./$(DEPDIR)/g_radial.Po \