From: Eliot Blennerhassett <linux@audioscience.com>
To: alsa-devel@alsa-project.org
Subject: Wierdness in alsa-driver configure script
Date: Thu, 11 Feb 2010 10:59:56 +1300 [thread overview]
Message-ID: <4B732C5C.9020003@audioscience.com> (raw)
checking for kernel version... 2.6.28-17-generic
checking for GCC version... ./configure: eval: line 5540: syntax error
near unexpected token `)'
./configure: eval: line 5540: `my_compiler_version=4.3.3-5ubuntu4)'
Kernel compiler: Used compiler: gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
gcc --version gives (yes, it is ugly!):
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
The following change works for this particular case, but perhaps there
is a better answer?
--- a/configure.in
+++ b/configure.in
@@ -363,7 +363,7 @@ AC_DEFUN([CHECK_COMPILER], [
;;
[[0-9]].[[0-9]]*)
if test -z "$ac_compiler_version"; then
- ac_compiler_version="$i"
+ ac_compiler_version=`echo $i | sed -e
's|[[^0-9]]*\([[0-9.]]\+\).*$|\1|'`
fi
;;
esac
next reply other threads:[~2010-02-10 22:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 21:59 Eliot Blennerhassett [this message]
2010-02-11 7:43 ` Wierdness in alsa-driver configure script Jaroslav Kysela
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=4B732C5C.9020003@audioscience.com \
--to=linux@audioscience.com \
--cc=alsa-devel@alsa-project.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.