After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741052 - autotools: Run configure if autogen didn't
autotools: Run configure if autogen didn't
Status: RESOLVED OBSOLETE
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2014-12-03 02:34 UTC by Colin Walters
Modified: 2021-05-17 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
autotools: Run configure if autogen didn't (1.47 KB, patch)
2014-12-03 02:34 UTC, Colin Walters
none Details | Review

Description Colin Walters 2014-12-03 02:34:47 UTC
I had this sitting around.
Comment 1 Colin Walters 2014-12-03 02:34:49 UTC
Created attachment 292034 [details] [review]
autotools: Run configure if autogen didn't

We can't rely on autogen.sh doing this, and in the future we want to
switch to using:

env NOCONFIGURE=1 ./autogen.sh && ./configure --prefix=...

as that's going to be more reliable.
Comment 2 John Ralls 2014-12-03 04:01:43 UTC
Just don't break out-of-source builds: Use %(srcdir)s instead of . . Doesn't affect this patch, just remember to keep it in mind.
Comment 3 Kai Lüke 2017-07-29 17:45:55 UTC
It would be really nice to have this for the two UDisks dependencies libblockdev and libbytesize because there ./autogen.sh is not invoking ./configure.
The patch here seems to work, but maybe needs some more testing to make sure there is nothing left to do.
Comment 4 John Ralls 2017-07-29 18:01:46 UTC
Remember that for individual modules you can always add 

   autogen-template="%(srcdir)s/%(autogen-sh)s && %(srcdir)s/configure --prefix=%(prefix)s %(autogenargs)s"
Comment 5 Kai Lüke 2017-07-30 10:49:38 UTC
Thanks, that would also be enough, I don't have a preference on either one.
Comment 6 GNOME Infrastructure Team 2021-05-17 16:00:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/202.