IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10487


Ignore:
Timestamp:
Dec 5, 2006, 5:07:47 PM (19 years ago)
Author:
jhoblitt
Message:

convert from OMIT_PSDB -> HAVE_PSDB

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeConfig.c

    r10479 r10487  
    6868    psFree(files);                      // Drop reference
    6969
    70 #ifdef DONT_USE_DB
    71 #ifndef OMIT_PSDB
     70#ifndef DONT_USE_DB
     71#ifdef HAVE_PSDB
    7272    // Define database handle, if required
    7373    config->database = pmConfigDB(config);
  • trunk/psLib/configure.ac

    r10309 r10487  
    120120
    121121AX_LIB_MYSQL([4.1.2],
    122   [PSLIB_CFLAGS="${PSLIB_CFLAGS=} ${MYSQL_CFLAGS}"
     122  [PSLIB_CFLAGS="${PSLIB_CFLAGS=} ${MYSQL_CFLAGS} -DHAVE_PSDB"
    123123    PSLIB_LIBS="${PSLIB_LIBS=} ${MYSQL_LDFLAGS}"],
    124   [PSLIB_CFLAGS="${PSLIB_CFLAGS=} -DOMIT_PSDB"]
     124  [PSLIB_CFLAGS="${PSLIB_CFLAGS=}"]
    125125)
    126126
  • trunk/psLib/src/db/psDB.c

    r10241 r10487  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.118 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-11-28 22:41:47 $
     14 *  @version $Revision: 1.119 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-12-06 03:01:42 $
    1616 *
    1717 *  Copyright (C) 2005-2006  Joshua Hoblitt, University of Hawaii
    1818 */
    1919
    20 #ifndef OMIT_PSDB
     20#ifdef HAVE_PSDB
    2121
    2222#include <stdio.h>
     
    22572257}
    22582258
    2259 #endif // OMIT_PSDB
     2259#endif // HAVE_PSDB
  • trunk/psLib/src/db/psDB.h

    r10044 r10487  
    1010 *  @author Joshua Hoblitt
    1111 *
    12  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-11-17 22:06:57 $
     12 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-12-06 03:01:42 $
    1414 *
    1515 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    1919#define PS_DB_H 1
    2020
    21 #ifndef OMIT_PSDB
     21#ifdef HAVE_PSDB
    2222
    2323#include "psType.h"
     
    451451#else
    452452typedef void psDB;
    453 #endif // OMIT_PSDB
     453#endif // HAVE_PSDB
    454454
    455455#endif // PS_DB_H
  • trunk/psLib/src/sys/psConfigure.c

    r10291 r10487  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2006-11-29 22:53:48 $
     15 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2006-12-06 03:01:42 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4949
    5050    psStringAppend(&version, " (cvs tag %s), %s, %s with"
    51                    #ifdef OMIT_PSDB
     51                   #ifdef HAVE_PSDB
    5252                   "out"
    5353                   #endif
  • trunk/psModules/src/concepts/pmConcepts.c

    r9695 r10487  
    164164    }
    165165
    166     #ifndef OMIT_PSDB
     166    #ifdef HAVE_PSDB
    167167    if (source & PM_CONCEPT_SOURCE_DATABASE && !(*read & PM_CONCEPT_SOURCE_DATABASE)) {
    168168        if (p_pmConceptsReadFromDatabase(target, *specs, fpa, chip, cell, db)) {
  • trunk/psModules/src/concepts/pmConceptsRead.c

    r9697 r10487  
    353353    PS_ASSERT_PTR_NON_NULL(target, false);
    354354
    355     #ifdef OMIT_PSDB
     355    #ifndef HAVE_PSDB
    356356
    357357    return false;
  • trunk/psModules/src/concepts/pmConceptsWrite.c

    r9730 r10487  
    404404    }
    405405
    406     #ifdef OMIT_PSDB
     406    #ifndef HAVE_PSDB
    407407    return false;
    408408    #else
  • trunk/psModules/src/config/pmConfig.c

    r10483 r10487  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.62 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2006-12-05 22:04:15 $
     6 *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2006-12-06 03:06:02 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    681681    PS_ASSERT_PTR_NON_NULL(config->site, NULL);
    682682
    683     #ifdef OMIT_PSDB
     683    #ifndef HAVE_PSDB
    684684
    685685    return NULL;
Note: See TracChangeset for help on using the changeset viewer.