Merge branch 'kbuild/kconfig/kbuild-generic-v7' of http://github.com/lacombar/linux...
authorMichal Marek <mmarek@suse.cz>
Mon, 27 Sep 2010 21:24:53 +0000 (23:24 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 27 Sep 2010 21:24:53 +0000 (23:24 +0200)
* 'kbuild/kconfig/kbuild-generic-v7' of http://github.com/lacombar/linux-2.6:
  kbuild: migrate all arch to the kconfig mainmenu upgrade
  kconfig: expand file names
  kconfig: use the file's name of sourced file
  kconfig: constify file name
  kconfig: don't emit warning upon rootmenu's prompt redefinition
  kconfig: replace KERNELVERSION usage by the mainmenu's prompt
  kconfig: delay gconf window initialization
  kconfig: expand by default the rootmenu's prompt
  kconfig: add a symbol string expansion helper
  kconfig: regen parser
  kconfig: implement the `mainmenu' directive
  kconfig: allow PACKAGE to be defined on the compiler's command-line
  kconfig: rephrase help texts/comments not to include the package name
  kconfig: allow build-time definition of the internal config prefix
  kconfig: rephrase help text not to mention the internal prefix
  kconfig: replace a `switch()' statement by a more flexible `if()' statement

scripts/kconfig/Makefile
scripts/kconfig/gconf.glade
scripts/kconfig/lxdialog/check-lxdialog.sh
scripts/kconfig/nconf.c

index 52c34b9..368ae30 100644 (file)
@@ -273,12 +273,10 @@ $(obj)/.tmp_qtcheck:
              moc="/usr/bin/moc"; \
            fi; \
        else \
-         headerpath="\$$(shell qmake -query QT_INSTALL_HEADERS)"; \
-         libpath="\$$(shell qmake -query QT_INSTALL_LIBS)"; \
-         binpath="\$$(shell qmake -query QT_INSTALL_BINS)"; \
-         cflags="-I$$headerpath -I$$headerpath/QtCore -I$$headerpath/QtGui -I$$headerpath/Qt3Support -DQT3_SUPPORT"; \
-         libs="-L$$libpath -Wl,-rpath,$$libpath -lQtCore -lQtGui -lQt3Support"; \
-         moc="$$binpath/moc"; \
+         cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
+         libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
+         binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \
+         moc="$$binpath/bin/moc"; \
        fi; \
        echo "KC_QT_CFLAGS=$$cflags" > $@; \
        echo "KC_QT_LIBS=$$libs" >> $@; \
index d52b0a7..aa483cb 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
-<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
 
 <glade-interface>
 
index fcef0f5..82cc3a8 100644 (file)
@@ -23,6 +23,8 @@ ccflags()
                echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"'
        elif [ -f /usr/include/ncurses/curses.h ]; then
                echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"'
+       elif [ -f /usr/include/ncursesw/curses.h ]; then
+               echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>"'
        elif [ -f /usr/include/ncurses.h ]; then
                echo '-DCURSES_LOC="<ncurses.h>"'
        else
index 545e1af..a2969fd 100644 (file)
@@ -1256,6 +1256,8 @@ static void show_help(struct menu *menu)
                        str_append(&help, _(menu_get_help(menu)));
                        str_append(&help, "\n");
                        get_symbol_str(&help, menu->sym);
+               } else {
+                       str_append(&help, _(menu_get_help(menu)));
                }
        } else {
                str_append(&help, nohelp_text);