All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Fromreide <magfr at lysator.liu.se>
To: powertop@lists.01.org
Subject: [Powertop] [PATCH] Move AC_LANG after AC_INIT to make it take effect.
Date: Fri, 18 May 2012 13:31:37 +0200	[thread overview]
Message-ID: <1337340697.2972.2.camel@sara> (raw)

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

Looking at config.log one sees that the tests are run using the C compiler
in spite of the AC_LANG line if AC_LANG is before AC_INIT.

Signed-off-by: Magnus Fromreide <magfr(a)lysator.liu.se>
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 2d56684..2a547d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,9 +2,9 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.68])
-AC_LANG([C++])
 AC_INIT([powertop], [2.0], [power(a)bughost.org])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign ])
+AC_LANG([C++])
 AC_CONFIG_FILES([Makefile src/Makefile pevent/Makefile po/Makefile.in])
 AC_CONFIG_SRCDIR([src/main.cpp])
 AC_CONFIG_MACRO_DIR([m4])
-- 
1.7.10

Resent to the right list.
It could be an idea to change the mail address in AC_INIT.





                 reply	other threads:[~2012-05-18 11:31 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=1337340697.2972.2.camel@sara \
    --to=powertop@lists.01.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.