-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autotools update #9
base: master
Are you sure you want to change the base?
Conversation
thanks, I'll try these out when I get home |
K. Don't merge it here yet; I've been doing a bit more research, and while this works, |
11637c1
to
6298e75
Compare
There we go. Should be good to go for a merge now. |
4c0e528
to
aaa4dff
Compare
Current autotools/autoconf uses configure.am by default, not configure.in. Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
Signed-off-by: Marty E. Plummer <[email protected]>
One only needs -lSDL2main and -mwindows when building an application linked against SDL2, not a library which is linked against SDL2. Without this change you'll only be able to build a static libSDL_sound.a because libtool freaks over libmingw32.a and libSDL2main.a not having a real library/dll to go with them. Signed-off-by: Marty E. Plummer <[email protected]>
aaa4dff
to
d3ea6a5
Compare
Actually hold off just a bit more; I need to get |
Needed a local patch to pkg.m4 to include the found version of a pkg-config module; will be sending this upstream as well, because it would be useful to be able to query a returned version from PKG_CHECK_MODULES. Signed-off-by: Marty E. Plummer <[email protected]>
Alrighty. Had to patch pkg.m4, which is part of the pkg-config package, to produce |
Three things you might add while you're at it:
Otherwise, great work! It's very nice to have ogg/vorbis detection "just work" via pkg-config. |
honestly |
@Ancurio and could you provide a log of it doing the modplug check/compile (both |
configure.output.log make.output.log Makefile.txt |
@Ancurio ok, having a look at it. For the record, do you actually have modplug present in deps-win32? |
One big problem here is that the flags and directories It bothers me that you kept most of the old stuff and just changed the formatting. |
@hanetzer Nvm I'm an idiot, I do have modplug installed under my deps-win32 prefix. Sorry for the noise. And I am very confused. Both |
The header directory change happened with libmodplug 0.8.8.5 release. It has hit almost all projects using it, though and AFAIR the reason for that breaking change was never explained. The configure script actually checks this case: |
@carstene1ns I do check that as well, and to be frank they should add it to the pkg-config file Also, using the APPEND_FLAGS stuff actually checks if the compiler/linker can actually use those |
Libraries should only ever ship with flags in their pkg-config files, that are needed to compile against them, so testing should not really be needed. |
Ok so for the modplug issue, it's probably easiest to just change the include directive (the breaking change happened in 2014, so I don't feel confident the pc file is going to get fixed any time soon). So I thought about updating the Any comment on lowering the min version to 1.14? |
@Ancurio I could, care to edit it locally and test it? I'm also planning to add a CMake project as well, makes things a bit easier. |
@hanetzer I already did locally, otherwise I couldn't have built it in the first place :) Didn't see any obvious problems. |
@Ancurio would you be alright with dropping support for libmodplug before the header movement? |
@hanetzer You mean the versions of libmodplug prior to the header change? Yeah sure. |
There, completely overhauled and working for mingw-w64 and linux.