Hamlib/macros
Nate Bargmann a16dd4797a gr_pwin32.m4: Replace inline sleep() function
Building libltdl recursively with MinGW failed with an error of "sleep"
being redefined.  Commenting out the sleep() definition in config.h.in
resulted in libtdl compiling but a linker failure in libyaesu as
"_sleep" was not defined.

A bit of searching reveals that the MS Windows API does not include
"sleep" and MinGW does not include it either, hence the definition in
gr_pwin32.m4 from the GNU Radio project.  Uopn finding a MinGW User
thread from 2007 that discussed this very issue, the following message
hinted that using a CPP #define to wrap Windows Sleep() may work:

http://mingw.5.n7.nabble.com/Help-where-is-the-C-language-sleep-function-tp8921p8925.html

And indeed it seems to.  Compilation is now clean with recursive libltdl
and the rest of Hamlib, but does it work?
2013-04-24 21:58:50 -05:00
..
Makefile.am macros/Makefile.am: correct stupid typo... 2012-11-21 05:41:22 -06:00
ax_append_flag.m4
ax_cflags_warn_all.m4
ax_lib_readline.m4 configure.ac: Add build system test for readline 2013-02-21 21:37:18 -06:00
ax_pkg_swig.m4
ax_pthread.m4
ax_python_devel.m4
gr_doxygen.m4
gr_pwin32.m4 gr_pwin32.m4: Replace inline sleep() function 2013-04-24 21:58:50 -05:00
hl_getaddrinfo.m4
perl.m4
tcl.m4