public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Lingard <chris@ukpost.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: make xconfig needs QTDIR; though qt is in /usr
Date: Wed, 16 Jun 2004 14:42:38 +0100	[thread overview]
Message-ID: <200406161442.38245.chris@ukpost.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

All versions of Linux-2.6

I install qt and all other stuff in /usr; and do not set
QTDIR, as it is not needed.

Can /usr be added to the scripts/kconfig/Makefile?
I attach a patch.  The last two variables of:

@set -e; for d in $$QTDIR /usr/share/qt* /usr/lib/qt*; do \
if [ -f $$d/include/qconfig.h ]; then DIR=$$d; break; fi; \

seem pointless as it is looking for a header file.

The patch just adds /usr to the end; but I suggest that the
line could be

@set -e; for d in $$QTDIR /usr; do \

Chris Lingard

[-- Attachment #2: linux-2.6.7-qtdir_in_usr --]
[-- Type: text/x-diff, Size: 555 bytes --]

diff -Naur linux-2.6.7.old/scripts/kconfig/Makefile linux-2.6.7/scripts/kconfig/Makefile
--- linux-2.6.7.old/scripts/kconfig/Makefile	2004-04-05 18:19:04.000000000 +0100
+++ linux-2.6.7/scripts/kconfig/Makefile	2004-06-16 13:33:38.988229264 +0100
@@ -112,7 +112,7 @@
 
 # QT needs some extra effort...
 $(obj)/.tmp_qtcheck:
-	@set -e; for d in $$QTDIR /usr/share/qt* /usr/lib/qt*; do \
+	@set -e; for d in $$QTDIR /usr/share/qt* /usr/lib/qt* /usr; do \
 	  if [ -f $$d/include/qconfig.h ]; then DIR=$$d; break; fi; \
 	done; \
 	if [ -z "$$DIR" ]; then \

                 reply	other threads:[~2004-06-16 13:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200406161442.38245.chris@ukpost.com \
    --to=chris@ukpost.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mec@shout.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox