Skip to content

Autotools updates#180

Open
EvaSDK wants to merge 17 commits intogphoto:masterfrom
EvaSDK:autotools-updates
Open

Autotools updates#180
EvaSDK wants to merge 17 commits intogphoto:masterfrom
EvaSDK:autotools-updates

Conversation

@EvaSDK
Copy link
Contributor

@EvaSDK EvaSDK commented Dec 8, 2018

Here is a first throw at what I had in mind concerning autotools changes.

Going forward, we could replace readline by ax_readline macro, not sure if it would work fine with prefix support though.

jpeg detection could probably be changed to use GP_CHECK_LIBRARY if you are ready to stop supporting systems that do not ship a pkgconfig for it. Afaik, most distributions now do.

exif check could be simplified to require 0.6.9. This release is quite old already, it seems reasonable to require it rather than an older one.

For cdk and aalib, besides contributing upstream it seems unlikely the checks can be simplified.

EvaSDK added 17 commits April 14, 2019 17:08
This is redundant with autoreconf error that will print:
[...] aclocal-1.16: error: couldn\'t open directory \'gphoto-m4\': No
such file or directory

at this point, people are supposed to turn to autogen.sh if familiar
with autotools based packages or README or INSTALL for others.
These versions should be available on most popular distributions at this time.
Not sure if any other target would use it but configure.ac is
definitely not the place to set it.
Use automake += operator to add source, cppflags and ldadd to gphoto2
target directly from optional features conditionals. Specifying these
files in EXTRA_DIST becomes unneeded. Add i18n.h to gphoto2_SOURCES as
it is included there and makes it redundant to specify in EXTRA_DIST.
And use autoconf provided variable names allowing removal of various intermediate variables.
Use AS_IF instead of raw if in affected blocks as is recommanded by autoconf.
@EvaSDK EvaSDK force-pushed the autotools-updates branch from 1937e85 to 500f9ed Compare April 14, 2019 15:09
@ndim ndim self-assigned this Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants