Adding operating system detection to configure for bug 1209

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Tue Mar 7 08:51:54 EST 2006

I am working on:

and I need to figure out the os name to use the proper include path
for the java headers.
I have added a new configuration option to configure called
--with-os-name which will set a variable in mapscript/java/
allowing the correct directory to be added to the include path. The
patch has been tested by user and reported to work.

Since this could be useful for others too I accept suggestions on:

- configure option name and explanation text
- os checking code: should we use the AC_CANONICAL_SYSTEM macro instead?

Thanks for your attention,

More information about the mapserver-dev mailing list