summaryrefslogtreecommitdiffstats
path: root/ast/erfa.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-09 19:06:55 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-09 19:06:55 (GMT)
commit01e0ebfe59d9028b0246ec4a549bd7528ada94eb (patch)
treea6c5b54db03177a1c8f3e7fb531990dfbc7bae39 /ast/erfa.h
parentd64cf9c0bd23e752867b149be636d1bbd4501cf4 (diff)
downloadblt-01e0ebfe59d9028b0246ec4a549bd7528ada94eb.zip
blt-01e0ebfe59d9028b0246ec4a549bd7528ada94eb.tar.gz
blt-01e0ebfe59d9028b0246ec4a549bd7528ada94eb.tar.bz2
update ast 8.6.2
Diffstat (limited to 'ast/erfa.h')
-rw-r--r--ast/erfa.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/ast/erfa.h b/ast/erfa.h
new file mode 100644
index 0000000..1f98296
--- /dev/null
+++ b/ast/erfa.h
@@ -0,0 +1,72 @@
+#if !defined( ERFA_INCLUDED ) /* Include this file only once */
+#define ERFA_INCLUDED
+/*
+*+
+* Name:
+* erfa.h
+
+* Purpose:
+* Function prototypes for ERFA routines.
+
+* Language:
+* Starlink ANSI C
+
+* Type of Module:
+* Include file
+
+* Description:
+* Function prototypes for ERFA routines. Note, the
+* --with-external_pal configuration option implies that an external
+* ERFA library will also be used.
+
+* Authors:
+* DSBJ: David S Berry (JAC, Hawaii)
+* {enter_new_authors_here}
+
+* History:
+* 23-FEB-2012 (DSB):
+* Initial version.
+* {enter_further_changes_here}
+
+* Copyright:
+* Copyright (C) 2012 Science and Technology Facilities Council.
+* All Rights Reserved.
+
+* Licence:
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License as
+* published by the Free Software Foundation; either version 3 of
+* the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be
+* useful, but WITHOUT ANY WARRANTY; without even the implied
+* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+* PURPOSE. See the GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+* USA.
+
+* Bugs:
+* {note_any_bugs_here}
+*-
+*/
+
+/* Include configuration results in order to get any definition for the
+ EXTERNAL_PAL macro. This macro is set if the --with-external_pal
+ option was set when AST was configured. */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+/* If we not using an external ERFA library, rename all ERFA functions so
+ that references to "iauXxx" below get translated to "astIauXxx". */
+#ifndef EXTERNAL_PAL
+#include "erfa2ast.h"
+#endif
+
+/* Include the prototypes defined in the erfa header file. */
+#include "erfa/erfa.h"
+
+#endif