diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/Makefile | 10 | ||||
-rw-r--r-- | scripts/kconfig/gconf.glade | 1 | ||||
-rw-r--r-- | scripts/kconfig/lxdialog/check-lxdialog.sh | 2 | ||||
-rw-r--r-- | scripts/kconfig/nconf.c | 2 |
4 files changed, 8 insertions, 7 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 52c34b914fc7..368ae306aee4 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -273,12 +273,10 @@ $(obj)/.tmp_qtcheck: | |||
273 | moc="/usr/bin/moc"; \ | 273 | moc="/usr/bin/moc"; \ |
274 | fi; \ | 274 | fi; \ |
275 | else \ | 275 | else \ |
276 | headerpath="\$$(shell qmake -query QT_INSTALL_HEADERS)"; \ | 276 | cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \ |
277 | libpath="\$$(shell qmake -query QT_INSTALL_LIBS)"; \ | 277 | libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \ |
278 | binpath="\$$(shell qmake -query QT_INSTALL_BINS)"; \ | 278 | binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \ |
279 | cflags="-I$$headerpath -I$$headerpath/QtCore -I$$headerpath/QtGui -I$$headerpath/Qt3Support -DQT3_SUPPORT"; \ | 279 | moc="$$binpath/bin/moc"; \ |
280 | libs="-L$$libpath -Wl,-rpath,$$libpath -lQtCore -lQtGui -lQt3Support"; \ | ||
281 | moc="$$binpath/moc"; \ | ||
282 | fi; \ | 280 | fi; \ |
283 | echo "KC_QT_CFLAGS=$$cflags" > $@; \ | 281 | echo "KC_QT_CFLAGS=$$cflags" > $@; \ |
284 | echo "KC_QT_LIBS=$$libs" >> $@; \ | 282 | echo "KC_QT_LIBS=$$libs" >> $@; \ |
diff --git a/scripts/kconfig/gconf.glade b/scripts/kconfig/gconf.glade index d52b0a75d824..aa483cb32755 100644 --- a/scripts/kconfig/gconf.glade +++ b/scripts/kconfig/gconf.glade | |||
@@ -1,5 +1,4 @@ | |||
1 | <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> | 1 | <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> |
2 | <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> | ||
3 | 2 | ||
4 | <glade-interface> | 3 | <glade-interface> |
5 | 4 | ||
diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh index fcef0f59d553..82cc3a85e7f8 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh | |||
@@ -23,6 +23,8 @@ ccflags() | |||
23 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"' | 23 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"' |
24 | elif [ -f /usr/include/ncurses/curses.h ]; then | 24 | elif [ -f /usr/include/ncurses/curses.h ]; then |
25 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' | 25 | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' |
26 | elif [ -f /usr/include/ncursesw/curses.h ]; then | ||
27 | echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>"' | ||
26 | elif [ -f /usr/include/ncurses.h ]; then | 28 | elif [ -f /usr/include/ncurses.h ]; then |
27 | echo '-DCURSES_LOC="<ncurses.h>"' | 29 | echo '-DCURSES_LOC="<ncurses.h>"' |
28 | else | 30 | else |
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index 545e1af7cb68..a2969fdc66b4 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
@@ -1256,6 +1256,8 @@ static void show_help(struct menu *menu) | |||
1256 | str_append(&help, _(menu_get_help(menu))); | 1256 | str_append(&help, _(menu_get_help(menu))); |
1257 | str_append(&help, "\n"); | 1257 | str_append(&help, "\n"); |
1258 | get_symbol_str(&help, menu->sym); | 1258 | get_symbol_str(&help, menu->sym); |
1259 | } else { | ||
1260 | str_append(&help, _(menu_get_help(menu))); | ||
1259 | } | 1261 | } |
1260 | } else { | 1262 | } else { |
1261 | str_append(&help, nohelp_text); | 1263 | str_append(&help, nohelp_text); |