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

configure script reports, but does not use environment variables #8

Closed
hamogu opened this issue Apr 13, 2015 · 1 comment
Closed

configure script reports, but does not use environment variables #8

hamogu opened this issue Apr 13, 2015 · 1 comment

Comments

@hamogu
Copy link
Member

hamogu commented Apr 13, 2015

I found this problem when I tried to use CFLAGS to turn of optimization to help me in debugging during development.
The following works (and is the GNU standard way of doing things, so this is not a very urgent problem to fix): ./configure CFLAGS="-O0 -g"
The output is:

You are compiling MARX with the following compiler configuration:
       CC = gcc
   CFLAGS = -O0 -g
  LDFLAGS =  

and indeed I get the code I requested.
However, if I set the CFLAGS enviroment varible, then the output of configure is exactly the same, but the CFLAGS that's actually used in the Makefiles is different (just the default value).

This might not be worth fixing on it's own. Instead it might be more time-efficient to just change the whole installation to use the entire autotools stack instead of hand-writing configure.in.

@hamogu
Copy link
Member Author

hamogu commented Nov 4, 2015

I tried again and it works. No idea what went wrong, when I opened this issue, but since it's not reproducible I'll close this issue.

@hamogu hamogu closed this as completed Nov 4, 2015
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