[3209] in testers

home help back first fref pref prev next nref lref last post

re: sun4 [8.1.3]: machtype

daemon@ATHENA.MIT.EDU (Mike Barker)
Mon Jun 9 23:26:55 1997

To: testers@MIT.EDU
Date: Mon, 09 Jun 1997 23:26:50 EDT
From: Mike Barker <mbarker@MIT.EDU>


sgi also has the same problem.

from /mit/source-8.1/athena/bin/machtype/

code in machtype_sgi.c 

	/* Print out version of Athena machtype compiled against */
    if (doathenaV) {
      if (verbose)
	printf("Machtype version: %s.%s\n",ATHMAJV,ATHMINV);
      else
	printf("%s.%s\n",ATHMAJV,ATHMINV);
    }

code in machtype_sun4.c

     /* Print out version of Athena machtype compiled against */
    if (doathenaV) {
      if (verbose)
      printf("Machtype version: %s.%s\n",ATHMAJV,ATHMINV);
      else
      printf("%s.%s\n",ATHMAJV,ATHMINV);
    }

from the Imakefile

	$(CC) -c $(CFLAGS) -DATHMAJV=\"$$ATHMAJV\" -DATHMINV=\"$$ATHMINV\" \

I'm guessing that something should be setting this during the build?

And should this be modified for the new dotted triplet convention?

Sorry I don't quite know the right way to fix this.  But it should
be an easy fix.

Mike

home help back first fref pref prev next nref lref last post