From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from most.weird.com ([204.92.254.2]) by hawkwind.utcs.utoronto.ca with SMTP id <24648>; Tue, 1 Apr 1997 23:34:32 -0500 Received: by most.weird.com via sendmail with stdio id for rc@hawkwind.utcs.toronto.edu; Tue, 1 Apr 1997 20:11:13 -0500 (EST) (Smail-3.2.0.93-pre 1997-Mar-5 #11 built 1997-Mar-5) Message-Id: Date: Tue, 1 Apr 1997 20:11:13 -0500 From: woods@most.weird.com (Greg A. Woods) To: rc@hawkwind.utcs.toronto.edu Subject: Re: autoconfig In-Reply-To: Byron Rakitzis's message of "Tue, April 1, 1997 14:28:39 -0500" regarding "autoconfig" id <9704011928.AA27920@netapp.com> References: <9704011928.AA27920@netapp.com> Reply-To: woods@weird.com (Greg A. Woods) X-Mailer: ViewMail (vm) Version 5.96 (beta) with GNU Emacs 19.34.1 (m68k.68881-sun-sunos4.1.1, X toolkit) of Thu Sep 12 1996 on most Organization: Planix, Inc.; Toronto, Ontario; Canada [ On Tue, April 1, 1997 at 14:28:39 (-0500), Byron Rakitzis wrote: ] > Subject: autoconfig > > > #define DEFAULTPATH "/usr/ucb", "/usr/bin", "/bin", "." > > I think this can be deduced by running /bin/sh as a login shell > with $PATH unset, and snarfing the output of "echo $PATH". Ssh (which also uses GNU autoconf) adds a special option to the autoconf generated configure script: --with-path=PATH Default path passed to user shell by sshd. (autoconf has an AC_ARG_WITH() macro to support such features....) > I am sorely tempted to remove named pipe support. It never worked > properly. So something is needed to auto-sense the particular > encoding for /dev/fd (systems encode this differently), which I > doubt is supplied by GNU autoconf. It would be sad to lose it, though of course if it doesn't wrok right (I admit I've not tried it in a very long time), > > #define DEFAULTINTERP "/bin/sh" > > Ditto, this should just be a standard feature. Though of course autoconf can tell for sure. (Note that many modern systems don't have a /bin directory, eg. SunOS-4 & 5, though of course they do usually have a symlink there pointing at /usr/bin) > > #define PROTECT_ENV > > Given that every /bin/sh I have tried croaks on rc-native environment > variable representation in some way or other, PROTECT_ENV should > be the only method for encoding env. variable names. What if DEFAULTINTERP isn't /bin/sh? ;-) -- Greg A. Woods +1 416 443-1734 VE3TCP robohack!woods Planix, Inc. ; Secrets of the Weird