GNOME Bugzilla – Bug 741052
autotools: Run configure if autogen didn't
Last modified: 2021-05-17 16:00:35 UTC
I had this sitting around.
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.
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.
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.
Remember that for individual modules you can always add autogen-template="%(srcdir)s/%(autogen-sh)s && %(srcdir)s/configure --prefix=%(prefix)s %(autogenargs)s"
Thanks, that would also be enough, I don't have a preference on either one.
-- 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.