zsh-workers
 help / color / mirror / code / Atom feed
* zsh configuration
@ 1999-08-11 12:14 Wim Yedema
  1999-08-11 15:37 ` Geoff Wing
  0 siblings, 1 reply; 4+ messages in thread
From: Wim Yedema @ 1999-08-11 12:14 UTC (permalink / raw)
  To: zsh-workers

check the defines in config.h some of them aren't used right:

config.h:
---
/* Define if you have the <dl.h> header file.  */
#define HAVE_DL_H 1

/* Define if you have the <dlfcn.h> header file.  */
#define HAVE_DLFCN_H 0
---

Src/module.c:
---
#ifdef HAVE_DLFCN_H
# include <dlfcn.h>
#else
# ifdef HAVE_DL_H
---

This kind of makes configure useless:)
besides that zsh is great

wim yedema


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zsh configuration
  1999-08-11 12:14 zsh configuration Wim Yedema
@ 1999-08-11 15:37 ` Geoff Wing
  1999-08-11 16:33   ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Geoff Wing @ 1999-08-11 15:37 UTC (permalink / raw)
  To: zsh-workers

Wim Yedema <yedema@natlab.research.philips.com> typed:
:check the defines in config.h some of them aren't used right:
:config.h:
:---
:/* Define if you have the <dl.h> header file.  */
:#define HAVE_DL_H 1
:
:/* Define if you have the <dlfcn.h> header file.  */
:#define HAVE_DLFCN_H 0
:---
:Src/module.c:
:---
:#ifdef HAVE_DLFCN_H
:# include <dlfcn.h>
:#else
:# ifdef HAVE_DL_H
:---
:This kind of makes configure useless:)
:besides that zsh is great

This looks perfectly OK to me.  <dlfcn.h> is used in preference to <dl.h>.
What's supposed to be wrong about it?

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zsh configuration
  1999-08-11 15:37 ` Geoff Wing
@ 1999-08-11 16:33   ` Bart Schaefer
  1999-08-11 23:50     ` Geoff Wing
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 1999-08-11 16:33 UTC (permalink / raw)
  To: mason, zsh-workers

On Aug 11,  3:37pm, Geoff Wing wrote:
} Subject: Re: zsh configuration
}
} Wim Yedema <yedema@natlab.research.philips.com> 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?

It should be

/* #undef HAVE_DLFCN_H */

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zsh configuration
  1999-08-11 16:33   ` Bart Schaefer
@ 1999-08-11 23:50     ` Geoff Wing
  0 siblings, 0 replies; 4+ messages in thread
From: Geoff Wing @ 1999-08-11 23:50 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

Bart Schaefer wrote about Re: zsh configuration:
:On Aug 11,  3:37pm, Geoff Wing wrote:
:} Subject: Re: zsh configuration
:} Wim Yedema <yedema@natlab.research.philips.com> 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@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-08-11 23:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-11 12:14 zsh configuration Wim Yedema
1999-08-11 15:37 ` Geoff Wing
1999-08-11 16:33   ` Bart Schaefer
1999-08-11 23:50     ` Geoff Wing

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).