Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh configuration



Bart Schaefer wrote about Re: zsh configuration:
:On Aug 11,  3:37pm, Geoff Wing wrote:
:} Subject: Re: zsh configuration
:} Wim Yedema <yedema@xxxxxxxxxxxxxxxxxxxxxxxxxxx> typed:
:} :#define HAVE_DLFCN_H 0
:} :#ifdef HAVE_DLFCN_H
:} :# include <dlfcn.h>
:} :#else
:} :# ifdef HAVE_DL_H
:} This looks perfectly OK to me.  <dlfcn.h> is used in preference to <dl.h>.
:} What's supposed to be wrong about it?

To get ``#define HAVE_DLFCN_H 0'' with the ``0'' there you would have to
have edited config.h and ignored the comment on the previous line:
	/* Define if you have the <dlfcn.h> header file.  */
because that generated lines are either ``#define ... 1'' or
``/* #undef ... */''.   ``#define ... 0'' is not generated.

:It should be
:/* #undef HAVE_DLFCN_H */

I wasn't automatically presuming that it was user error (the opposite of
``define'' being ``not define''; not ``define as some other value'') and was
allowing for the case where it may have been a valid point.

Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@xxxxxxx>       Phone   : (Australia) 0413 431 874



Messages sorted by: Reverse Date, Date, Thread, Author