unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: Daniel Engeler <engeler@gmail.com>,
	kzeitler@alcatel-lucent.com, emacs-devel@gnu.org
Subject: Re: Undefined symbols: cfmakeraw and cfsetspeed
Date: Thu, 19 Jun 2008 13:17:58 -0400	[thread overview]
Message-ID: <jwv7icljqgy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <485A84D6.2050105@alice.it> (Angelo Graziosi's message of "Thu, 19 Jun 2008 18:09:58 +0200")

>>> Following the suggestions in [2], it seems that this patch
>> 
>> Could you improve the patch so as to avoid things like "#ifdef __CYGWIN__"
>> and use autoconf instead?

> I can't, do not know how autoconf works.

I don't either, to tell you the truth, but some parts are pretty easy.
In this case, I think you just need to add the relevant functions to one
of the calls to AC_CHECK_FUNCS (in configure.in) and that will provide
you with a HAVE_<FUNNAME> macro which you can then use in your code with
#ifdef HAVE_<FUNNAME>.


        Stefan




  reply	other threads:[~2008-06-19 17:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 15:08 Undefined symbols: cfmakeraw and cfsetspeed Angelo Graziosi
2008-06-19 13:59 ` Stefan Monnier
2008-06-19 16:09   ` Angelo Graziosi
2008-06-19 17:17     ` Stefan Monnier [this message]
2008-06-19 23:02       ` Angelo Graziosi
2008-06-20  1:01         ` Stefan Monnier
2008-06-20  7:34           ` Angelo Graziosi
2008-06-20 14:51             ` Stefan Monnier
2008-06-19 17:29   ` Emanuele Giaquinta
  -- strict thread matches above, loose matches on Subject: below --
2008-06-20 21:25 Daniel Engeler
2008-06-18  7:23 Klaus Zeitler
2008-06-18  7:30 ` dhruva
2008-06-18  7:47 ` David Kastrup
2008-06-18 13:01 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7icljqgy.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    --cc=engeler@gmail.com \
    --cc=kzeitler@alcatel-lucent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).