Print this page
make: unifdef for _CHECK_UPDATE_H (undefined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/main.cc
          +++ new/usr/src/cmd/make/bin/main.cc
↓ open down ↓ 260 lines elided ↑ open up ↑
 261  261          um = umask(0);
 262  262          avo_init(argv[0]);
 263  263          umask(um);
 264  264  
 265  265          cleanup = new Avo_cleanup(NOCATGETS("dmake"), argc, argv);
 266  266  #endif
 267  267  
 268  268  #if defined(TEAMWARE_MAKE_CMN)
 269  269          catd = catopen(AVO_DOMAIN_DMAKE, NL_CAT_LOCALE);
 270  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  271  #endif
 287  272  
 288  273  // ---> fprintf(stderr, catgets(catd, 15, 666, "--- SUN make ---\n"));
 289  274  
 290  275  
 291  276  #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL)
 292  277  /*
 293  278   * I put libmksdmsi18n_init() under #ifdef because it requires avo_i18n_init()
 294  279   * from avo_util library. 
 295  280   */
↓ open down ↓ 3276 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX