Merge lp:~mhr3/geis/fix-autogen into lp:geis

Proposed by Michal Hruby
Status: Merged
Merged at revision: 279
Proposed branch: lp:~mhr3/geis/fix-autogen
Merge into: lp:geis
Diff against target: 17 lines (+11/-1)
1 file modified
autogen.sh (+11/-1)
To merge this branch: bzr merge lp:~mhr3/geis/fix-autogen
Reviewer Review Type Date Requested Status
Daniel d'Andrada (community) Disapprove
Chase Douglas (community) Approve
Review via email: mp+118329@code.launchpad.net

Commit message

Invoke configure as last step of autogen

Description of the change

Invoke configure in autogen, this fixes build when using jhbuild.

To post a comment you must log in.
Revision history for this message
Chase Douglas (chasedouglas) wrote :

I'm ok with this change.

Can you propagate this change to other projects: evemu, frame, grail?

review: Approve
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

I don't think this is a good idea. I think autogen should just generate configure and not run it as well.

a lot of times, for projects I'm new to, I just want to see what are the parameters etc and therefore do a "configure --help". I cannot do it if autogen already calls configure. "autogen --help" will give me the help of autogen and not the one from configure.

http://sources.redhat.com/autobook/autobook/autobook_43.html#IDX1

And a related discussion:
http://bugs.mysql.com/bug.php?id=49256

review: Disapprove
Revision history for this message
Michal Hruby (mhr3) wrote :

Sorry Daniel, in the GNOME platform autogen usually runs configure as well, and the tools we use expect that. FWIW you can use the NOCONFIGURE envvar to not run it.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'autogen.sh'
2--- autogen.sh 2010-07-23 13:58:53 +0000
3+++ autogen.sh 2012-08-06 10:21:05 +0000
4@@ -1,2 +1,12 @@
5 #!/bin/sh
6-autoreconf -ifv
7+
8+srcdir=`dirname $0`
9+test -z "$srcdir" && srcdir=.
10+
11+ORIGDIR=`pwd`
12+cd $srcdir
13+
14+autoreconf --force --verbose --install || exit 1
15+cd $ORIGDIR || exit $?
16+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
17+

Subscribers

People subscribed via source and target branches