*** TideContext.cc.orig	Wed Feb  5 00:53:46 2003
--- TideContext.cc	Sun Mar 28 02:09:06 2004
***************
*** 47,59 ****
    Dstr hfile_path (getenv ("HFILE_PATH"));
    if (hfile_path.isNull()) {
      FILE *configfile;
!     if ((configfile = fopen ("/etc/xtide.conf", "r"))) {
        hfile_path.getline (configfile);
        fclose (configfile);
      }
    }
    if (hfile_path.isNull())
!     hfile_path = "harmonics.tcd";
    harmonicsPath = new HarmonicsPath (hfile_path);
  
    homedir = getenv ("HOME");
--- 47,59 ----
    Dstr hfile_path (getenv ("HFILE_PATH"));
    if (hfile_path.isNull()) {
      FILE *configfile;
!     if ((configfile = fopen ("%%PREFIX%%/etc/xtide.conf", "r"))) {
        hfile_path.getline (configfile);
        fclose (configfile);
      }
    }
    if (hfile_path.isNull())
!     hfile_path = "%%PREFIX%%/share/xtide/harmonics.tcd";
    harmonicsPath = new HarmonicsPath (hfile_path);
  
    homedir = getenv ("HOME");
