Changeset 3139
- Timestamp:
- Feb 4, 2005, 10:33:20 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 3 edited
-
configure.in (modified) (4 diffs)
-
src/astronomy/slalib.h (modified) (5 diffs)
-
src/config.h.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.in
r3136 r3139 11 11 AC_LANG(C) 12 12 AC_PROG_CC 13 AC_PROG_F77 14 AC_F77_WRAPPERS 13 15 AC_PROG_INSTALL 14 16 AC_PROG_LIBTOOL … … 19 21 dnl Setup CFLAGS/FFLAGS/LDFLAGS with project-particulars 20 22 CFLAGS="${CFLAGS=} -Wall -std=c99 -D_GNU_SOURCE" 21 FFLAGS="-fno-second-underscore -O -fno-f2c"22 23 LDFLAGS="-release 5" 23 24 … … 63 64 [GSL_CONFIG=$withval], 64 65 [GSL_CONFIG=`which gsl-config`]) 65 AC_CHECK_FILE($GSL_CONFIG,[ ],66 AC_CHECK_FILE($GSL_CONFIG,[AC_MSG_RESULT([yes])], 66 67 [AC_MSG_ERROR([GSL is required. Obtain it at http://www.gnu.org/software/gsl or use --with-gsl-config to specify location.])]) 67 CFLAGS="${CFLAGS=} `${GSL_CONFIG} --cflags`" 68 AC_MSG_CHECKING([GSL cflags]) 69 GSL_CFLAGS="`${GSL_CONFIG} --cflags`" 70 AC_MSG_RESULT([${GSL_CFLAGS}]) 71 CFLAGS="${CFLAGS=} ${GSL_CFLAGS}" 68 72 PSLIB_LIBS="${PSLIB_LIBS=} `${GSL_CONFIG} --libs`" 69 73 … … 73 77 [XML_CONFIG=$withval], 74 78 [XML_CONFIG=`which xml2-config`]) 75 AC_CHECK_FILE($XML_CONFIG,[ ],79 AC_CHECK_FILE($XML_CONFIG,[AC_MSG_RESULT([yes])], 76 80 [AC_MSG_ERROR([GNOME XML C parser is required. Obtain it at http://www.xmlsoft.org or use --with-xml2-config to specify location.])]) 77 CFLAGS="${CFLAGS=} `${XML_CONFIG} --cflags`" 81 AC_MSG_CHECKING([xml2 cflags]) 82 XML_CFLAGS="`${XML_CONFIG} --cflags`" 83 AC_MSG_RESULT([${XML_CFLAGS}]) 84 CFLAGS="${CFLAGS=} ${XML_CFLAGS}" 78 85 PSLIB_LIBS="${PSLIB_LIBS=} `${XML_CONFIG} --libs`" 79 86 -
trunk/psLib/src/astronomy/slalib.h
r2061 r3139 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $10 * @date $Date: 200 4-10-12 21:10:41$9 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-02-05 08:33:20 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 #define SLALIB_H 17 17 18 #ifdef FORTRAN_UNDERSCORE_PREFIX19 #ifdef FORTRAN_DOUBLE_UNDERSCORE_SUFFIX20 #ifdef FORTRAN_UPPERCASE21 #define fslaAoppa _SLA_AOPPA__22 #define fslaAopqk _SLA_AOPQK__23 #define fslaOapqk _SLA_OAPQK__24 #define fslaAirmas _SLA_AIRMAS__25 #else26 #define fslaAoppa _sla_aoppa__27 #define fslaAopqk _sla_aopqk__28 #define fslaOapqk _sla_oapqk__29 #define fslaAirmas _sla_airmas__30 #endif31 #elif FORTRAN_NO_UNDERSCORE_SUFFIX32 #ifdef FORTRAN_UPPERCASE33 #define fslaAoppa _SLA_AOPPA34 #define fslaAopqk _SLA_AOPQK35 #define fslaOapqk _SLA_OAPQK36 #define fslaAirmas _SLA_AIRMAS37 #else38 #define fslaAoppa _sla_aoppa39 #define fslaAopqk _sla_aopqk40 #define fslaOapqk _sla_oapqk41 #define fslaAirmas _sla_airmas42 #endif43 #else44 #ifdef FORTRAN_UPPERCASE45 #define fslaAoppa _SLA_AOPPA_46 #define fslaAopqk _SLA_AOPQK_47 #define fslaOapqk _SLA_OAPQK_48 #define fslaAirmas _SLA_AIRMAS_49 #else50 #define fslaAoppa _sla_aoppa_51 #define fslaAopqk _sla_aopqk_52 #define fslaOapqk _sla_oapqk_53 #define fslaAirmas _sla_airmas_54 #endif55 #endif56 #else57 #ifdef FORTRAN_DOUBLE_UNDERSCORE_SUFFIX58 #ifdef FORTRAN_UPPERCASE59 #define fslaAoppa SLA_AOPPA__60 #define fslaAopqk SLA_AOPQK__61 #define fslaOapqk SLA_OAPQK__62 #define fslaAirmas SLA_AIRMAS__63 #else64 #define fslaAoppa sla_aoppa__65 #define fslaAopqk sla_aopqk__66 #define fslaOapqk sla_oapqk__67 #define fslaAirmas sla_airmas__68 #endif69 #elif FORTRAN_NO_UNDERSCORE_SUFFIX70 #ifdef FORTRAN_UPPERCASE71 #define fslaAoppa SLA_AOPPA72 #define fslaAopqk SLA_AOPQK73 #define fslaOapqk SLA_OAPQK74 #define fslaAirmas SLA_AIRMAS75 #else76 #define fslaAoppa sla_aoppa77 #define fslaAopqk sla_aopqk78 #define fslaOapqk sla_oapqk79 #define fslaAirmas sla_airmas80 #endif81 #else82 #ifdef FORTRAN_UPPERCASE83 #define fslaAoppa SLA_AOPPA_84 #define fslaAopqk SLA_AOPQK_85 #define fslaOapqk SLA_OAPQK_86 #define fslaAirmas SLA_AIRMAS_87 #else88 #define fslaAoppa sla_aoppa_89 #define fslaAopqk sla_aopqk_90 #define fslaOapqk sla_oapqk_91 #define fslaAirmas sla_airmas_92 #endif93 #endif94 #endif95 18 19 #define fslaAoppa F77_FUNC(sla_aoppa,SLA_AOPPA) 96 20 extern void fslaAoppa( 97 21 const double* date, … … 110 34 ); 111 35 36 #define fslaAopqk F77_FUNC(sla_aopqk,SLA_AOPQK) 112 37 extern void fslaAopqk( 113 38 const double* RAP, … … 121 46 ); 122 47 48 #define fslaOapqk F77_FUNC(sla_oapqk,SLA_OAPQK) 123 49 extern void fslaOapqk( 124 50 char* TYPE, … … 130 56 ); 131 57 58 #define fslaAirmas F77_FUNC(sla_airmas,SLA_AIRMAS) 132 59 extern double fslaAirmas( 133 60 const double* zenithDistance -
trunk/psLib/src/config.h.in
r3115 r3139 4 4 #undef CONFIG_FILE 5 5 6 /* Define to dummy `main' function (if any) required to link to the Fortran 7 libraries. */ 8 #undef F77_DUMMY_MAIN 9 10 /* Define to a macro mangling the given C identifier (in lower and upper 11 case), which must not contain underscores, for linking with Fortran. */ 12 #undef F77_FUNC 13 14 /* As F77_FUNC, but for C identifiers containing underscores. */ 15 #undef F77_FUNC_ 16 17 /* Define if F77 and FC dummy `main' functions are identical. */ 18 #undef FC_DUMMY_MAIN_EQ_F77 19 6 20 /* Define to 1 if you have the <dlfcn.h> header file. */ 7 21 #undef HAVE_DLFCN_H 22 23 /* Define to 1 if you have the <fftw3.h> header file. */ 24 #undef HAVE_FFTW3_H 25 26 /* Define to 1 if you have the <fitsio.h> header file. */ 27 #undef HAVE_FITSIO_H 8 28 9 29 /* Define to 1 if you have the <inttypes.h> header file. */
Note:
See TracChangeset
for help on using the changeset viewer.
