1. 05 7月, 2012 2 次提交
  2. 20 9月, 2010 1 次提交
    • J
      kconfig: fix menuconfig on debian lenny · 8c41e5e3
      Junio C Hamano 提交于
      In 60f33b80 (kconfig: get rid of stray a.o, support ncursesw, 2006-01-15),
      support to link menuconfig with ncursesw library was added.  To compute
      the linker command option -l, we check "libncursesw.{so,a,dylib}" to allow
      ncursesw to be used as a replacement ncurses.  However, when checking what
      header file to include, we do not check /usr/include/ncursesw directory.
      
      Add /usr/include/ncursesw to the list of directories that are checked.
      With this patch, on my Debian Lenny box with libncursesw5-dev package but
      not libncurses5-dev package, I can say "make menuconfig".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      8c41e5e3
  3. 04 12月, 2008 1 次提交
  4. 02 5月, 2008 1 次提交
  5. 29 1月, 2008 1 次提交
    • S
      kconfig: if ncurses-devel is missing then say so · 6e588f6d
      Sam Ravnborg 提交于
      With this patch when ncurses-devel (or whatever it is named)
      is missing trying to run menuconfig will result in this:
      
      $ make menuconfig
        HOSTCC  scripts/kconfig/conf.o
        HOSTCC  scripts/kconfig/kxgettext.o
       *** Unable to find the ncurses libraries or the
       *** required header files.
       *** 'make menuconfig' requires the ncurses libraries.
       ***
       *** Install ncurses (ncurses-devel) and try again.
       ***
      make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
      make: *** [menuconfig] Error 2
      
      Much better than before where we just listed some build errors.
      The other *config targets will work indepenednt on ncurses
      being present or not.
      
      Includes improvements suggested by: Frans Pop <elendil@planet.nl>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Frans Pop <elendil@planet.nl>
      6e588f6d
  6. 17 7月, 2007 1 次提交
  7. 19 5月, 2007 1 次提交
  8. 21 1月, 2006 1 次提交
    • S
      kconfig: fix /dev/null breakage · 3835f821
      Sam Ravnborg 提交于
      While running "make menuconfig" and "make mrproper"
      some people experienced that /dev/null suddenly changed
      permissions or suddenly became a regular file.
      The main reason was that /dev/null was used as output
      to gcc in the check-lxdialog.sh script and gcc did
      some strange things with the output file; in this
      case /dev/null when it errorred out.
      
      Following patch implements a suggestion
      from Bryan O'Sullivan <bos@serpentine.com> to
      use gcc -print-file-name=libxxx.so.
      
      Also the Makefile is adjusted to not resolve value of
      HOST_EXTRACFLAGS and HOST_LOADLIBES until they are actually used.
      This prevents us from calling gcc when running make *clean/mrproper
      
      Thanks to Eyal Lebedinsky <eyal@eyal.emu.id.au> and
      Jean Delvare <khali@linux-fr.org> for the first error reports.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      ---
      3835f821
  9. 15 1月, 2006 1 次提交
    • S
      kconfig: get rid of stray a.o, support ncursesw · 60f33b80
      Sam Ravnborg 提交于
      scripts/kconfig/lxdialog/check-lxdialog.sh uses gcc to check for
      what libraries are present. Redirect output to /dev/null
      so we do not generate an a.out.
      Also included support for ncursesw - so if present prefer that
      instead of ncurses.
      The order is now (first is preferred):
      1) ncursesw
      2) ncurses
      3) curses
      
      The latter is to support SunOS.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      60f33b80
  10. 09 1月, 2006 1 次提交