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

Protable fix to memory.h problem with autoconf? #23

Open
sa2kaa opened this issue Jun 7, 2020 · 1 comment
Open

Protable fix to memory.h problem with autoconf? #23

sa2kaa opened this issue Jun 7, 2020 · 1 comment

Comments

@sa2kaa
Copy link

sa2kaa commented Jun 7, 2020

Hi.
I had the same problem with the missing header file in my Ubuntu18 machine arm cross compiler. It seems like a nice educational task to use GNU autotools to automatically detect if the compiler should use string.h instead. But I don't understand the gnu autotools weill enough make a solution myself. It seems possible to use autoscan to detect used header files but then there are some obstacles. Like using a cross-compiler and creating the actual rules to create rules patch the source code or whatever, handle autoconf in the entire project tree.

Any other thoughts on how to make this more portable or actually solve the autoconf rules?

Olof

@sa2kaa
Copy link
Author

sa2kaa commented Jun 7, 2020

autoheader seems to be the program that creates config.h.in where HAVE_MEMORY_H is defined. So it could be enough to include config.h the get that macro definition.

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

1 participant