Changeset 5760
- Timestamp:
- Dec 12, 2005, 10:11:07 AM (20 years ago)
- Location:
- trunk/psModules
- Files:
-
- 3 edited
-
configure.ac (modified) (4 diffs)
-
src/config/pmConfig.c (modified) (3 diffs)
-
src/objects/pmObjects.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/configure.ac
r5729 r5760 37 37 AC_SUBST([AM_CFLAGS]) 38 38 39 dnl ------------------- PERL options --------------------- 40 AC_ARG_WITH(perl, 41 [AS_HELP_STRING(--with-perl=FILE,Specify location of PERL executable.)], 42 [AC_CHECK_PROG(PERL, $withval, $withval)], 43 [AC_CHECK_PROG(PERL, perl, `which perl`)]) 44 if test "$PERL" == "" 45 then 46 AC_MSG_ERROR([PERL is required. Use --with-perl to specify its install location.]) 47 fi 48 AC_SUBST(PERL,$PERL) 49 39 50 SRCPATH='${top_srcdir}/src' 40 SRCDIRS="astrom camera config detrend imcombine imsubtract objects photom" 41 SRCINC=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"` 42 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|\1/libpsmodule\1.la|g"` 43 AC_SUBST([SRCSUBLIBS],${SRCSUBLIBS=}) 51 SRCDIRS="astrom config detrend imcombine imsubtract objects" 52 # escape two escapes at this level so \\ gets passed to the shell and \ to perl 53 SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"` 54 SRCINC="-I${SRCPATH=} ${SRCINC=}" 55 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodule\1.la|g"` 56 AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=}) 57 AC_SUBST(SRCINC,${SRCINC=}) 44 58 AC_SUBST([SRCDIRS],${SRCDIRS=}) 45 AC_SUBST([SRCINC],${SRCINC=})46 59 47 60 dnl doxygen ------------------------------------------------------------------- … … 79 92 src/Makefile 80 93 src/astrom/Makefile 81 src/camera/Makefile82 94 src/config/Makefile 83 95 src/detrend/Makefile … … 85 97 src/imsubtract/Makefile 86 98 src/objects/Makefile 87 src/photom/Makefile88 99 test/Makefile 89 100 test/astrom/Makefile 90 test/camera/Makefile91 101 test/config/Makefile 92 102 test/detrend/Makefile … … 94 104 test/imsubtract/Makefile 95 105 test/objects/Makefile 96 test/photom/Makefile97 106 Doxyfile 98 107 psmodule-config -
trunk/psModules/src/config/pmConfig.c
r5516 r5760 3 3 * @author PAP, IfA 4 4 * 5 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $6 * @date $Date: 2005-1 1-15 20:09:03$5 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2005-12-12 20:11:06 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 28 28 const char *description) // Description of file 29 29 { 30 int numBadLines = 0;30 unsigned int numBadLines = 0; 31 31 32 32 psLogMsg(__func__, PS_LOG_INFO, "Loading %s configuration from file %s\n", … … 359 359 } else if (cameraItem->type == PS_DATA_STRING) { 360 360 psTrace(__func__, 5, "Reading camera configuration for %s...\n", cameraItem->name); 361 int badLines = 0; // Number of bad lines in reading camera configuration361 unsigned int badLines = 0; // Number of bad lines in reading camera configuration 362 362 camera = psMetadataConfigParse(NULL, &badLines, cameraItem->data.V, true); 363 363 if (badLines > 0) { -
trunk/psModules/src/objects/pmObjects.h
r5255 r5760 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-1 0-10 19:53:40$12 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-12-12 20:11:07 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 * values with specific meanings that other functions can add to or define? 37 37 */ 38 enum {38 typedef enum { 39 39 PSPHOT_MASK_CLEAR = 0x00, 40 40 PSPHOT_MASK_INVALID = 0x01,
Note:
See TracChangeset
for help on using the changeset viewer.
