IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3139


Ignore:
Timestamp:
Feb 4, 2005, 10:33:20 PM (21 years ago)
Author:
desonia
Message:

* empty log message *

Location:
trunk/psLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.in

    r3136 r3139  
    1111AC_LANG(C)
    1212AC_PROG_CC
     13AC_PROG_F77
     14AC_F77_WRAPPERS
    1315AC_PROG_INSTALL
    1416AC_PROG_LIBTOOL
     
    1921dnl Setup CFLAGS/FFLAGS/LDFLAGS with project-particulars
    2022CFLAGS="${CFLAGS=} -Wall -std=c99 -D_GNU_SOURCE"
    21 FFLAGS="-fno-second-underscore -O -fno-f2c"
    2223LDFLAGS="-release 5"
    2324
     
    6364[GSL_CONFIG=$withval],
    6465[GSL_CONFIG=`which gsl-config`])
    65 AC_CHECK_FILE($GSL_CONFIG,[],
     66AC_CHECK_FILE($GSL_CONFIG,[AC_MSG_RESULT([yes])],
    6667    [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`"
     68AC_MSG_CHECKING([GSL cflags])
     69GSL_CFLAGS="`${GSL_CONFIG} --cflags`"
     70AC_MSG_RESULT([${GSL_CFLAGS}])
     71CFLAGS="${CFLAGS=} ${GSL_CFLAGS}"
    6872PSLIB_LIBS="${PSLIB_LIBS=} `${GSL_CONFIG} --libs`"
    6973   
     
    7377[XML_CONFIG=$withval],
    7478[XML_CONFIG=`which xml2-config`])
    75 AC_CHECK_FILE($XML_CONFIG,[],
     79AC_CHECK_FILE($XML_CONFIG,[AC_MSG_RESULT([yes])],
    7680    [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`"
     81AC_MSG_CHECKING([xml2 cflags])
     82XML_CFLAGS="`${XML_CONFIG} --cflags`"
     83AC_MSG_RESULT([${XML_CFLAGS}])
     84CFLAGS="${CFLAGS=} ${XML_CFLAGS}"
    7885PSLIB_LIBS="${PSLIB_LIBS=} `${XML_CONFIG} --libs`"
    7986
  • trunk/psLib/src/astronomy/slalib.h

    r2061 r3139  
    77*  @author Robert DeSonia, MHPCC
    88*
    9 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2004-10-12 21:10:41 $
     9*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-02-05 08:33:20 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1616#define SLALIB_H
    1717
    18 #ifdef FORTRAN_UNDERSCORE_PREFIX
    19 #ifdef FORTRAN_DOUBLE_UNDERSCORE_SUFFIX
    20 #ifdef FORTRAN_UPPERCASE
    21 #define fslaAoppa _SLA_AOPPA__
    22 #define fslaAopqk _SLA_AOPQK__
    23 #define fslaOapqk _SLA_OAPQK__
    24 #define fslaAirmas _SLA_AIRMAS__
    25 #else
    26 #define fslaAoppa _sla_aoppa__
    27 #define fslaAopqk _sla_aopqk__
    28 #define fslaOapqk _sla_oapqk__
    29 #define fslaAirmas _sla_airmas__
    30 #endif
    31 #elif FORTRAN_NO_UNDERSCORE_SUFFIX
    32 #ifdef FORTRAN_UPPERCASE
    33 #define fslaAoppa _SLA_AOPPA
    34 #define fslaAopqk _SLA_AOPQK
    35 #define fslaOapqk _SLA_OAPQK
    36 #define fslaAirmas _SLA_AIRMAS
    37 #else
    38 #define fslaAoppa _sla_aoppa
    39 #define fslaAopqk _sla_aopqk
    40 #define fslaOapqk _sla_oapqk
    41 #define fslaAirmas _sla_airmas
    42 #endif
    43 #else
    44 #ifdef FORTRAN_UPPERCASE
    45 #define fslaAoppa _SLA_AOPPA_
    46 #define fslaAopqk _SLA_AOPQK_
    47 #define fslaOapqk _SLA_OAPQK_
    48 #define fslaAirmas _SLA_AIRMAS_
    49 #else
    50 #define fslaAoppa _sla_aoppa_
    51 #define fslaAopqk _sla_aopqk_
    52 #define fslaOapqk _sla_oapqk_
    53 #define fslaAirmas _sla_airmas_
    54 #endif
    55 #endif
    56 #else
    57 #ifdef FORTRAN_DOUBLE_UNDERSCORE_SUFFIX
    58 #ifdef FORTRAN_UPPERCASE
    59 #define fslaAoppa SLA_AOPPA__
    60 #define fslaAopqk SLA_AOPQK__
    61 #define fslaOapqk SLA_OAPQK__
    62 #define fslaAirmas SLA_AIRMAS__
    63 #else
    64 #define fslaAoppa sla_aoppa__
    65 #define fslaAopqk sla_aopqk__
    66 #define fslaOapqk sla_oapqk__
    67 #define fslaAirmas sla_airmas__
    68 #endif
    69 #elif FORTRAN_NO_UNDERSCORE_SUFFIX
    70 #ifdef FORTRAN_UPPERCASE
    71 #define fslaAoppa SLA_AOPPA
    72 #define fslaAopqk SLA_AOPQK
    73 #define fslaOapqk SLA_OAPQK
    74 #define fslaAirmas SLA_AIRMAS
    75 #else
    76 #define fslaAoppa sla_aoppa
    77 #define fslaAopqk sla_aopqk
    78 #define fslaOapqk sla_oapqk
    79 #define fslaAirmas sla_airmas
    80 #endif
    81 #else
    82 #ifdef FORTRAN_UPPERCASE
    83 #define fslaAoppa SLA_AOPPA_
    84 #define fslaAopqk SLA_AOPQK_
    85 #define fslaOapqk SLA_OAPQK_
    86 #define fslaAirmas SLA_AIRMAS_
    87 #else
    88 #define fslaAoppa sla_aoppa_
    89 #define fslaAopqk sla_aopqk_
    90 #define fslaOapqk sla_oapqk_
    91 #define fslaAirmas sla_airmas_
    92 #endif
    93 #endif
    94 #endif
    9518
     19#define fslaAoppa F77_FUNC(sla_aoppa,SLA_AOPPA)
    9620extern void fslaAoppa(
    9721        const double* date,
     
    11034    );
    11135
     36#define fslaAopqk F77_FUNC(sla_aopqk,SLA_AOPQK)
    11237extern void fslaAopqk(
    11338        const double* RAP,
     
    12146    );
    12247
     48#define fslaOapqk F77_FUNC(sla_oapqk,SLA_OAPQK)
    12349extern void fslaOapqk(
    12450        char* TYPE,
     
    13056    );
    13157
     58#define fslaAirmas F77_FUNC(sla_airmas,SLA_AIRMAS)
    13259extern double fslaAirmas(
    13360        const double* zenithDistance
  • trunk/psLib/src/config.h.in

    r3115 r3139  
    44#undef CONFIG_FILE
    55
     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
    620/* Define to 1 if you have the <dlfcn.h> header file. */
    721#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
    828
    929/* Define to 1 if you have the <inttypes.h> header file. */
Note: See TracChangeset for help on using the changeset viewer.