# Re: configure --without-x

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Mon Oct 30 2000 - 11:14:17 PST

- Next message: Mark Plowman: "Re: TODO list"
  - Previous message: Henning Meier-Geinitz: "Re: TODO list"
  - In reply to: Jochen Eisinger: "configure --without-x"
  - Next in thread: Jochen Eisinger: "Re: configure --without-x"
  - Reply: Jochen Eisinger: "Re: configure --without-x"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  On Mon, Oct 30, 2000 at 12:41:18PM +0100, Jochen Eisinger wrote:
  > This option doesn't work... at least in my case :-)
  >
  > configure looks for GTK, finds it and enables xscanimage & xcam,
  > although I don't wan't (and actually have) X-support -> make fails
  >
  > Has anyone a patch for this?

  The following seems to work for me. However the whole X/gtk-thing can
  be removed when the frontends are moved their own package.

  Index: configure.in
  ===================================================================
  RCS file: /cvsroot/external/sane/configure.in,v
  retrieving revision 1.4
  diff -u -r1.4 configure.in
  --- configure.in 2000/08/15 18:28:39 1.4
  +++ configure.in 2000/10/30 18:16:52
  @@ -154,7 +154,9 @@
  AC_CHECK_FUNCS(shl_load, enable_dynamic=yes,)],)
  fi
  -AM_PATH_GTK(0.99.13, HAVE_GTK=yes, )
  +if test "${window_system}" != "none" ; then
  + AM_PATH_GTK(0.99.13, HAVE_GTK=yes, )
  +fi
  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
  # for the tests that follow. We set it back to REAL_CFLAGS later on.

  Bye,
  Henning

      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Mark Plowman: "Re: TODO list"
  - Previous message: Henning Meier-Geinitz: "Re: TODO list"
  - In reply to: Jochen Eisinger: "configure --without-x"
  - Next in thread: Jochen Eisinger: "Re: configure --without-x"
  - Reply: Jochen Eisinger: "Re: configure --without-x"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Mon Oct 30 2000 - 11:31:05 PST