Print this page
make: unifdef for _CHECK_UPDATE_H (undefined)


 251                 getname_stat = true;
 252         }
 253 #endif
 254 
 255 
 256         /*
 257          * avo_init() sets the umask to 0.  Save it here and restore
 258          * it after the avo_init() call.
 259          */
 260 #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL)
 261         um = umask(0);
 262         avo_init(argv[0]);
 263         umask(um);
 264 
 265         cleanup = new Avo_cleanup(NOCATGETS("dmake"), argc, argv);
 266 #endif
 267 
 268 #if defined(TEAMWARE_MAKE_CMN)
 269         catd = catopen(AVO_DOMAIN_DMAKE, NL_CAT_LOCALE);
 270         libcli_init();
 271 
 272 #ifdef _CHECK_UPDATE_H
 273         /* This is for dmake only (not for Solaris make).
 274          * Check (in background) if there is an update (dmake patch)
 275          * and inform user
 276          */
 277         {
 278                 Avo_err         *err;
 279                 char            *dir;
 280                 err = avo_find_run_dir(&dir);
 281                 if (AVO_OK == err) {
 282                         AU_check_update_service(NOCATGETS("Dmake"), dir);
 283                 }
 284         }
 285 #endif /* _CHECK_UPDATE_H */
 286 #endif
 287 
 288 // ---> fprintf(stderr, catgets(catd, 15, 666, "--- SUN make ---\n"));
 289 
 290 
 291 #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL)
 292 /*
 293  * I put libmksdmsi18n_init() under #ifdef because it requires avo_i18n_init()
 294  * from avo_util library. 
 295  */
 296         libmksdmsi18n_init();
 297 #endif
 298 
 299 
 300 #ifndef TEAMWARE_MAKE_CMN
 301         textdomain(NOCATGETS("SUNW_SPRO_MAKE"));
 302 #endif /* TEAMWARE_MAKE_CMN */
 303 
 304 #ifdef TEAMWARE_MAKE_CMN
 305         g_argc = argc;




 251                 getname_stat = true;
 252         }
 253 #endif
 254 
 255 
 256         /*
 257          * avo_init() sets the umask to 0.  Save it here and restore
 258          * it after the avo_init() call.
 259          */
 260 #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL)
 261         um = umask(0);
 262         avo_init(argv[0]);
 263         umask(um);
 264 
 265         cleanup = new Avo_cleanup(NOCATGETS("dmake"), argc, argv);
 266 #endif
 267 
 268 #if defined(TEAMWARE_MAKE_CMN)
 269         catd = catopen(AVO_DOMAIN_DMAKE, NL_CAT_LOCALE);
 270         libcli_init();















 271 #endif
 272 
 273 // ---> fprintf(stderr, catgets(catd, 15, 666, "--- SUN make ---\n"));
 274 
 275 
 276 #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL)
 277 /*
 278  * I put libmksdmsi18n_init() under #ifdef because it requires avo_i18n_init()
 279  * from avo_util library. 
 280  */
 281         libmksdmsi18n_init();
 282 #endif
 283 
 284 
 285 #ifndef TEAMWARE_MAKE_CMN
 286         textdomain(NOCATGETS("SUNW_SPRO_MAKE"));
 287 #endif /* TEAMWARE_MAKE_CMN */
 288 
 289 #ifdef TEAMWARE_MAKE_CMN
 290         g_argc = argc;