Autoconf checks for native libraries (when using PKG_CHECK_MODULES) when
cross-compiling, and it shouldn't. Follow the suggestion in
http://stackoverflow.com/questions/12624600 and double-check with
AC_CHECK_LIB. I hate pkg-config.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
At present, xmp client tries reading its config from/writing its config
to %SystemRoot% which is c:/windows or something:
http://en.wikipedia.org/wiki/Environment_variables#Microsoft_Windows
... and it is wrong and many times not allowed. A better choice would
be using %USERPROFILE% instead, which is what I did today for mikmod.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Reported by Ozkan Sezer <sezeroz@gmail.com>:
There are also warnings wherever list_entry() macro is used, such as:
src/load.c: In function 'unlink_tempfiles':
src/load.c:404:8: warning: cast from pointer to integer of different size
... or:
options.c: In function 'usage':
options.c:52:8: warning: cast from pointer to integer of different size
options.c:57:8: warning: cast from pointer to integer of different size
... which may be cured by changing (unsigned long) cast with (size_t)
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Mostly in a standards-compliant way this time, complain if set as "no".
This is being re-added by user request.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This patch makes xmp compatible with win64. Here is the relevant warning
from gcc:
sound_win32.c: In function 'init':
sound_win32.c:97:50: warning: cast from pointer to integer of different size
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Command-line options use minus signs, but groff interprets '-' as a
hyphen, which is a different Unicode character. For text which may be
copied to a command-line for re-use, it's preferable to use explicit
minus signs, '\-' in groff. See
http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html for more
details.
We don't need libtool support, so remove libtoolize from the autogen
script (and create build-aux to prevent errors when installing missing
components required by automake).
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>