(file) Return to configure CVS log (file) (dir) Up to [Development] / JSOC

Diff for /JSOC/configure between version 1.64 and 1.72

version 1.64, 2011/02/17 20:11:23 version 1.72, 2013/11/12 02:38:49
Line 6  set PERLBIN = ""
Line 6  set PERLBIN = ""
 if ($PERLBIN == "") then if ($PERLBIN == "") then
     if (-e configsdp.txt) then     if (-e configsdp.txt) then
         # at stanford, use         # at stanford, use
         set PERLBIN = "/home/jsoc/bin/linux_x86_64/perl5.12.2"          set PERLBIN = "/home/jsoc/bin/linux_x86_64/activeperl"
     else     else
         set PERLBIN = "perl"         set PERLBIN = "perl"
     endif     endif
Line 170  endif
Line 170  endif
             endif             endif
         endif         endif
  
           # TEMPORARILY create a link from ${LOCALIZATIONDIR}/drmsparams.h to JSOC/base/libs/perl/JSOC_DB_INFO_INCLUDE.pl
           cd ${LOCALIZATIONDIR}
           rm -f drmsparams.pm
           ln -s ../base/libs/perl/JSOC_DB_INFO_INCLUDE.pl drmsparams.pm
           cd ..
   
   
         if (-e ${LOCALIZATIONDIR}/custom.mk) then         if (-e ${LOCALIZATIONDIR}/custom.mk) then
             rm ${LOCALIZATIONDIR}/custom.mk             rm ${LOCALIZATIONDIR}/custom.mk
         endif         endif
  
           # Must create the scripts subdirectory before the call to gen_init.csh
           if (!(-d scripts)) then
               mkdir scripts
           endif
   
         if (!(-e configsdp.txt)) then         if (!(-e configsdp.txt)) then
               # This is NetDRMS.
             if (!(-e config.local)) then             if (!(-e config.local)) then
                 echo "Error: config.local not found. If you have a saved version of this"                 echo "Error: config.local not found. If you have a saved version of this"
                 echo "       file from a previous installation, you should copy that into"                 echo "       file from a previous installation, you should copy that into"
Line 190  endif
Line 203  endif
                 exit 1;                 exit 1;
             else             else
                 echo "CUSTOM_DEFINES = __LOCALIZED_DEFS__" >> ${LOCALIZATIONDIR}/custom.mk                 echo "CUSTOM_DEFINES = __LOCALIZED_DEFS__" >> ${LOCALIZATIONDIR}/custom.mk
                 ./gen_init.csh  
  
                 set CUSTOMDEFSFILE = "base/include/localization.h"                 set CUSTOMDEFSFILE = "base/include/localization.h"
                   echo "*** generating $CUSTOMDEFSFILE ***"
                   cat /dev/null > $CUSTOMDEFSFILE
                   echo '#ifndef __LOCALIZATION_H' >> $CUSTOMDEFSFILE
                   echo '#define __LOCALIZATION_H' >> $CUSTOMDEFSFILE
                   ./gen_init.csh
   
                   # Non-customizable parameters. There are certain features that are not
                   # present in NetDRMS, but that are present in the SDP JSOC version of DRMS.
                   # Set defines needed to accomplish this here.
                   # NetDRMS sites do not have DSDS.
                   echo '#define DSDS_SUPPORT (0)' >> $CUSTOMDEFSFILE
                   echo '#endif' >> $CUSTOMDEFSFILE
  
                 # run moreconfigure.pl - this script is written in perl because it is easier to do the compiler detection                 # run moreconfigure.pl - this script is written in perl because it is easier to do the compiler detection
                 # in perl. It also reads configdsp.txt (if it exists) to set the default Stanford values for certain make variables                 # in perl. It also reads configdsp.txt (if it exists) to set the default Stanford values for certain make variables
Line 203  endif
Line 227  endif
                 $PERLBIN ./customizemake.pl ./config.local ${LOCALIZATIONDIR}                 $PERLBIN ./customizemake.pl ./config.local ${LOCALIZATIONDIR}
             endif             endif
         else if (-e config.local) then         else if (-e config.local) then
               # This is Stanford.
   
             # config.local is optional at Stanford, but it won't necessarily contain the same information that             # config.local is optional at Stanford, but it won't necessarily contain the same information that
             # a NetDRMS config.local contains. The first section contains items that will override the             # a NetDRMS config.local contains. The first section contains items that will override the
             # the items in serverdefs.h. The second section contains items used to populate custom.mk,             # the items in serverdefs.h. The second section contains items used to populate custom.mk,
Line 261  endif
Line 287  endif
         endif         endif
  
         echo "Setting links to scripts..."         echo "Setting links to scripts..."
         if (!(-d scripts)) then  
             mkdir scripts  
         endif  
         cd scripts         cd scripts
  
         # Sums scripts         # Sums scripts


Legend:
Removed from v.1.64  
changed lines
  Added in v.1.72

Karen Tian
Powered by
ViewCVS 0.9.4