Skip to content
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

logl() is missing from Cygwin's stdlib #17

Open
b-k opened this issue Oct 11, 2014 · 4 comments
Open

logl() is missing from Cygwin's stdlib #17

b-k opened this issue Oct 11, 2014 · 4 comments

Comments

@b-k
Copy link
Owner

b-k commented Oct 11, 2014

Need to add logl to AC_CHECK_FUNCS in configure.ac.

Can add logl.m4 to provide if missing.
http://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/logl.m4

@jgmbenoit
Copy link
Collaborator

Or add gnulib support for asprintf, logl, and the coming ones.

@iantist
Copy link

iantist commented Oct 28, 2014

As someone who's trying to learn C and Linux in part from your book, this is a bit confusing. Editing configure.ac was no problem but I'm not sure how to add logl.m4. Any help would be greatly appreciated.

@jgmbenoit
Copy link
Collaborator

You cannot add logl.m4 like that: logl.m4 is part of gnulib [1]:
gnulib support may be added.

[1] https://www.gnu.org/software/gnulib/

@jgmbenoit
Copy link
Collaborator

An other possibility, is to add by hand logl as asprintf was added: if you are not familiar with GNULib which is not that well documented, this is certainly the best way to proceed.

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

No branches or pull requests

3 participants