all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.50; Configure with-gpm=no but yes
@ 2007-09-01 19:30 canestak canestak
  2007-09-01 23:04 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: canestak canestak @ 2007-09-01 19:30 UTC (permalink / raw)
  To: emacs-pretest-bug


Whem building emacs 23.0.50 for i686-pc-linux-gnu
Configure --with-gpm=no

* With gpm installed
=> Does Emacs use -lgpm? yes".

* Without gpm installed
=> Does Emacs use -lgpm? no".

Why to ask?


Best,

Chris.


      Flickr agora em português. Você clica, todo mundo vê.
http://www.flickr.com.br/

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

* Re: 23.0.50; Configure with-gpm=no but yes
  2007-09-01 19:30 23.0.50; Configure with-gpm=no but yes canestak canestak
@ 2007-09-01 23:04 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2007-09-01 23:04 UTC (permalink / raw)
  To: canestak canestak; +Cc: emacs-pretest-bug

 > Whem building emacs 23.0.50 for i686-pc-linux-gnu
 > Configure --with-gpm=no
 > 
 > * With gpm installed
 > => Does Emacs use -lgpm? yes".
 > 
 > * Without gpm installed
 > => Does Emacs use -lgpm? no".
 > 
 > Why to ask?

I have gpm installed and if I do "./configure --with-gpm=no" I get:

  Does Emacs use -lgpm?   no

In config.log do you have?:

  #define EMACS_CONFIG_OPTIONS " '--with-gpm=no'"

and in config.h?:

  /* Define to the options passed to configure. */
  #define EMACS_CONFIG_OPTIONS " '--with-gpm=no'"

  /* Define to 1 if you have the gpm library (-lgpm). */
  /* #undef HAVE_GPM */


In configure.in the relevant part of the code is:

  ### Use -lgpm if available, unless `--with-gpm=no'.
  HAVE_GPM=no
  if test "${with_gpm}" != "no"; then
    AC_CHECK_HEADER(gpm.h,
      AC_CHECK_LIB(gpm, Gpm_Open, HAVE_GPM=yes))
  fi

  if test "${HAVE_GPM}" = "yes"; then
    AC_DEFINE(HAVE_GPM, 1, [Define to 1 if you have the gpm library (-lgpm).])
  fi

I've just copied this from the other options.  I don't know how "--with-gpm=no"
gets transferred to "with_gpm" but presuming it does, then HAVE_GPM should
still be "no".

Perhaps using "M-x report-emacs-bug" to report your configuration will help
someone who knows more about autoconf than me.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

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

end of thread, other threads:[~2007-09-01 23:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-01 19:30 23.0.50; Configure with-gpm=no but yes canestak canestak
2007-09-01 23:04 ` Nick Roberts

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.