Naveen Narayanan
624bcd314c
libwine: Only link libi386 with the libraries that need it.
...
In particular it does not make sense to link executables and dlls built
with MinGW with it.
Signed-off-by: Francois Gouget <fgouget@icodeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:45:20 +02:00
Naveen Narayanan
557c4334a5
wineoss: Fix the -lossaudio check.
...
Only check for libossaudio if compiling wineoss.drv and the headers
are recent enough. Also only wineoss.drv needs to be linked with
libossaudio so put the link options in OSS4_LIBS.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Alexandre Julliard
d2e4a6fae0
configure: Add support for using an external libunwind.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Martin Storsjo
e38b46e7f7
msvcrt: Implement the tgamma functions.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 16:57:12 +02:00
Ethan Lee
d341efeff0
xaudio2: Use new features from FAudio 19.06 (but keep compatibility for <=19.05).
...
Signed-off-by: Ethan Lee <elee@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 22:22:22 +02:00
Andrew Eikum
fa54e895a7
msvcrt: Implement fma and fmaf.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Alexandre Julliard
ce09e564d7
configure: Don't allow using config.h when cross-compiling.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:13:53 +02:00
Alexandre Julliard
b8daf1f134
configure: Rename WINE_CROSSTEST to WINE_CROSS_PE.
...
It's not used only in tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 17:19:45 +02:00
Alexandre Julliard
d5a372abbb
include: Move inline assembly definitions to a new wine/asm.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Alexandre Julliard
d624883047
include: Move DECLSPEC_HOTPATCH definition out of config.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:35 +02:00
Martin Storsjo
de8be4a09c
msvcrt: Implement the remquo family of functions.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 19:29:41 +02:00
Zebediah Figura
34ef3c89ad
qcap: Port to libv4l2.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:43:15 +02:00
Alexandre Julliard
8d20ad28c3
configure: Remove some obsolete checks.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 10:43:57 +02:00
Alexandre Julliard
817fb9755c
configure: Hardcode some functions for Windows platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard
4d4c55d061
configure: Hardcode some types for Windows platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard
667bc336fe
configure: Hardcode some headers for Windows platforms.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard
47c440a8a9
libport: Remove checks for strerror().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:35 +01:00
Alexandre Julliard
4fcd86e17d
libport: Remove checks for memmove().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:21 +01:00
Alexandre Julliard
cba41d9bfd
libport: Remove checks for gettimeofday().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:21 +01:00
Alexandre Julliard
2f149571d5
configure: Remove a few no longer used definitions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 14:58:27 +01:00
Nikolay Sivov
8c8d8e80f5
ucrtbase: Add ilogb* functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:30 +01:00
Zebediah Figura
28e74af742
msvcr120: Add nexttoward implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45631
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 17:48:02 +01:00
Ethan Lee
3e390b1aaf
xaudio2: Rewrite to use FAudio.
...
Signed-off-by: Ethan Lee <elee@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 17:35:14 +01:00
Alex Henrie
48f108345a
msvcrt: Use isnan instead of isnanf.
...
This resolves several warnings when compiling with MinGW because isnanf
is not in MinGW's math.h (it's not a standard C function). On the other
hand, isnan is a widely available C99 macro designed for both floats and
doubles. We also have an isnan implementation in libs/port/isnan.c for
pre-C99 compilers.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 11:03:41 +02:00
Andrew Eikum
10035f1b97
winemac: Implement Vulkan driver on top of MoltenVK.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Ken Thomases
357017cd87
winemac: Implement WineMetalView class.
...
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Józef Kucia
281bdcac73
configure: Check for libvkd3d.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-24 09:11:23 +02:00
Alex Henrie
acd2f1e59b
msvcrt: Compile but show an error if Bessel functions aren't available.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-05 06:59:19 -06:00
Roderick Colenbrander
75b68a8585
winevulkan/winex11: Implement vkCreateInstance.
...
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:57 +01:00
Aric Stewart
f8c0228dc2
winebus.sys: Add SDL gamepad and joystick driver.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 18:51:58 +01:00
Alexandre Julliard
e7202687fc
ntdll: Remove support for vm86 mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:57 +01:00
Hans Leidekker
737d464e75
kerberos: Implement SpAcquireCredentialsHandle.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:12:38 +01:00
Martin Storsjo
4415653f84
ntdll: Implement NtFlushInstructionCache using __clear_cache where available.
...
The configure check needs to be done with a more elaborate test than
just AC_CHECK_FUNC, since it's a built-in function in clang and errors
out if invoked with no parameters.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 22:26:46 +01:00
Alexandre Julliard
9d36aad457
libport: Add a replacement implementation for strnlen.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-15 11:00:36 +01:00
Hans Leidekker
20aaf167dd
bcrypt: Add support for AES encryption on macOS.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 10:16:58 +01:00
Dmitry Timoshkov
e9063e1243
kerberos: Add a stub for Kerberos5 Authentication Package.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 11:49:58 +02:00
Vincent Povirk
66b126b675
windowscodecs: Generate a palette for color-keyed grayscale PNG's.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Hans Leidekker
8aa300ba1a
configure: Check for gnutls_cipher_init instead of gnutls_hash.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-16 22:30:16 +09:00
Alex Henrie
31b835d0e0
msvcr120: Add log1p.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:33 +02:00
Alex Henrie
79715cce88
msvcr120: Add expm1.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 13:53:26 +02:00
Alex Henrie
26163f5cdf
msvcr120: Add erfc.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 13:53:11 +02:00
Alex Henrie
860c1578e6
msvcr120: Add atanh.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 11:30:44 +02:00
Alex Henrie
f1dad14807
msvcr120: Add acosh.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 11:30:27 +02:00
Alexandre Julliard
ad9fbf8e0a
configure: Add check for OpenGL ES libraries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 21:42:45 +02:00
Alexandre Julliard
7f23bbe7f9
iphlpapi: Check if getifaddrs really exists.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 18:46:29 +02:00
Piotr Caban
4208bc8cdd
configure: Add configure checks for Xfixes library.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 15:30:24 +02:00
Alexandre Julliard
d3bbd03c8f
ntdll: Also store dynamic loader information in the PEB on Linux.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 20:53:04 +02:00
Alexandre Julliard
3558acac72
glu32: Load libGLU dynamically.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-06 13:57:24 +02:00
Stefan Silviu
4d37b87219
msvcrt: Implement nearbyint and nearbyintf.
...
Signed-off-by: Stefan Silviu <sylviu44@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:40 +01:00
Aric Stewart
eac738b95f
winebus.sys: Implement IOCTL_HID_GET_DEVICE_DESCRIPTOR for hidraw.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 17:04:12 +02:00
Aric Stewart
6d3e5f8441
winebus.sys: Add initial udev stub driver.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 23:15:02 +09:00
Daniel Lehman
28a5405968
msvcr120: Add lgamma.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 18:30:11 +09:00
Sebastian Lackner
9815806f16
configure: Explicitly check for sysinfo function.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 20:18:00 +09:00
Michael Müller
d0832cdf42
ntdll: Use sysinfo to report correct number of physical pages.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:52:35 +09:00
Hans Leidekker
d3cc9d1ca6
webservices: Use a long double variable in format_double.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:52:34 +09:00
Ken Thomases
10065d2acd
winspool.drv: Include <cups/ppd.h> to fix building against the macOS 10.12 SDK.
...
The cupsGetPPD() function was moved there from <cups/cups.h> because it's
deprecated.
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 15:31:43 +09:00
Alexandre Julliard
6171cfd0ae
configure: We no longer use getdirentries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 11:04:52 +09:00
Seong-ho Cho
ca8a08606d
configure: Add AC_HEADER_MAJOR to find where major() is defined.
...
Signed-off-by: Seong-ho Cho <darkcircle.0426@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 18:06:46 +09:00
Daniel Lehman
d9a0c55e7e
msvcr120: Add remainder.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 20:58:11 +09:00
Daniel Lehman
e084240415
msvcr120: Add asinh.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 19:49:41 +09:00
Charles Davis
5a4576ee09
kernel32: Use setprogname(3) to set the program name if available.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Matteo Bruni
961215b8b8
wined3d: Improve wined3d_popcount() implementation.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-27 23:35:31 +09:00
Huw Davies
625801ed7e
bcrypt: Ensure we have gnutls_hash() available.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 00:30:37 +09:00
Hans Leidekker
0c9b94eeb3
bcrypt: Implement BCryptCreateHash and BCryptDestroyHash.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:34 +01:00
Maarten Lankhorst
3fe0c08992
winepulse: Add initial stub for pulseaudio support.
...
Includes API compatibility patch by Juergen Tretthahn <orson@orson.at>.
Synchronous static data initialization by Andrew Eikum <aeikum@codeweavers.com>.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:27 +09:00
Ken Thomases
260832c5c8
configure: Add a check for libunwind.h.
2015-06-05 15:07:52 +09:00
Daniel Lehman
e89813fe3c
msvcr120: Add erf functions.
2015-05-29 16:16:21 +09:00
Ken Thomases
4655924568
configure: Add a check for sys/vnode.h.
2015-05-21 13:59:51 +09:00
Charles Davis
7ef720f184
msvcrt: Support 64-bit platforms that don't have finitef or isnanf.
2015-01-23 11:58:14 +01:00
Henri Verbeet
f5939399f0
wined3d: Use __builtin_clz() in wined3d_log2i() when available.
2014-12-10 13:40:47 +01:00
Martin Storsjo
547ba7a10b
msvcr120: Implement more C99 math functions.
2014-12-08 17:25:26 +01:00
André Hentschel
fa67586811
wpcap: Implement pcap_lib_version.
2014-08-07 17:53:12 +02:00
Alexandre Julliard
8d817997ce
configure: Add a check for sys/ucontext.h and include it where appropriate.
2014-07-23 19:06:58 +02:00
Alexandre Julliard
67f9b6e3c5
configure: Update FreeType configure checks for the changed headers location.
2013-11-30 11:55:26 +01:00
Francois Gouget
e4856dbb70
libport: Add an isfinite() implementation for Solaris.
2013-11-29 17:58:40 +01:00
Hans Leidekker
eaef76f041
netapi32: Add support for remote computers in NetServerGetInfo.
2013-11-12 12:58:04 +01:00
Huw Davies
0dff81f495
wsock32: Add a fallback for inet_network.
2013-10-15 14:28:21 +02:00
Huw Davies
2a32d5765a
server: Android has struct user in asm/user.h.
2013-09-24 18:58:24 +02:00
Huw Davies
96e32da5c9
dbghelp: Add a couple of structures that are missing from the Android ndk.
2013-09-23 20:32:21 +02:00
Huw Davies
21dc848378
iphlpapi: Add interface enumeration for Android.
2013-09-19 20:14:04 +02:00
Huw Davies
208eae73ae
iphlpapi: Add a version of get_dns_servers for Android.
2013-09-17 16:24:24 +02:00
Huw Davies
c7dd313d75
iphlpapi: Add a configure check for struct __res_state.
2013-09-17 16:23:42 +02:00
Huw Davies
2f25ddfd14
iphlpapi: Add support for ip6 dns addresses.
2013-09-13 14:19:36 +02:00
Alexandre Julliard
f21961cc14
ntdll: Add a configure check for the tcdrain function.
...
Also remove the tcgetattr check that is no longer used.
2013-09-05 13:18:21 +02:00
Francois Gouget
4f27b78fb4
iphlpapi: Check for proc_pidinfo() instead of assuming libproc.h always defines it.
...
This is needed on FreeBSD 8.1.
2013-09-04 14:42:58 +02:00
Charles Davis
3a2247f7d3
iphlpapi: Implement find_owning_pid() on FreeBSD.
2013-08-20 12:31:12 +02:00
Charles Davis
e3b9167335
iphlpapi: Implement find_owning_pid() for Mac OS.
2013-08-20 12:29:44 +02:00
Charles Davis
7fcb736d51
configure: Use a real header guard for config.h.
2013-08-15 17:20:07 +02:00
Hans Leidekker
d40c91262b
mscms: Port to liblcms2.
2013-07-29 14:27:52 +02:00
Francois Gouget
11fe51b61b
gphoto2.ds: Check for libgphoto2 and libgphoto2_port independently.
2013-05-06 11:39:43 +02:00
Alexandre Julliard
43ac582d7d
libport: Rename spawnvp to _spawnvp to avoid the deprecated name.
2013-04-09 15:26:10 +02:00
Jacek Caban
adb8c8615b
configure: Get rid of no longer needed OpenSSL checks.
2013-04-03 17:54:04 +02:00
Alexandre Julliard
25598513dc
ntdll: Use a monotonic time counter to implement NtQueryPerformanceCounter.
2013-01-28 15:39:37 +01:00
Damjan Jovanovic
8d4f636d54
qcap: Use libv4l1.h when available, instead of linux/videodev.h which is deprecated/obsolete.
2013-01-14 11:18:04 +01:00
Alexandre Julliard
61768c0775
configure: Get rid of the check for getpagesize.
2013-01-09 12:23:02 +01:00
Hans Leidekker
c019083240
kernel32: Implement SetFileValidData.
2012-12-04 14:42:28 +01:00
Charles Davis
5da1eaf213
ntdll: Add support for BSD-style creation ("birth") time.
2012-11-30 19:12:14 +01:00
Charles Davis
ed5e0a6e41
ntdll: Add support for nanosecond precision file times on *BSD.
2012-11-30 19:12:14 +01:00
Alexandre Julliard
e40b2a1b07
configure: Remove checks for OpenGL headers that are no longer used.
2012-11-08 15:37:38 +01:00
Alexandre Julliard
551077ab73
configure: Check for getopt_long_only instead of getopt_long.
...
Some platforms have the latter but not the former.
2012-11-08 10:57:09 +01:00