[27044] in Source-Commits

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

Re: /svn/athena r25907 - in trunk/athena/lib/athdir: . src

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Apr 9 19:59:23 2013

Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201304092252.r39MqKHx002840@drugstore.mit.edu>
Date: Tue, 9 Apr 2013 19:59:04 -0400
Cc: source-commits@MIT.EDU
Message-Id: <28B777FE-E234-4BCA-898B-1F984508B5B3@mit.edu>
To: Alexander Chernyakhovsky <achernya@MIT.EDU>
Content-Transfer-Encoding: 8bit


On Apr 9, 2013, at 6:52 PM, Alexander Chernyakhovsky wrote:

> +AC_ARG_WITH([hosttype],
> +    [AS_HELP_STRING([--with-hosttype],
> +                    [machtype for compatibility])],
> +    [
> +	case $withval in
> +	     linux)	withval='"linux"';;
> +	     sun4)    	withval='"sun4"';;
> +	     inbsd)	withval='"inbsd"';;
> +	     yes)	withval='"linux"';;
> +	     no)	withval=NULL;;
> +	     *)		AC_MSG_ERROR([invalid hosttype specified]);;
> +	esac
> +	hosttype=$withval
> +    ],
> +    [hosttype='"linux"'])
> +AC_DEFINE_UNQUOTED([HOSTTYPE], [$hosttype], [Define the type of the Athena System])
> 

A "(legacy)" somewhere in the various help strings would be clever, but not strictly speaking needed, because I don't think anyone is actually going to download libathdir and try to use it at another site.

-Jon

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