Andreas Beck <[EMAIL PROTECTED]> writes:
> > Is there a way to have it determine the correct extension, or add a
> > command-line to configure to change this?
>
> Sure. It is already prepared in the configure.in script. The DLLEXT variable
> has to be set according to the OS detected.
>
> This can be done like this:
>
> if test "$ac_cv_header_windows_h" != "yes"; then
> DLLEXT=dll
> fi
Not really nice, I'd like to be able to have whatever headers I want
on my system without things breaking. Better to do:
case "${target}" in
*-*-mingw* | *-*-cygwin*)
DLLEXT="dll"
I've written a GGI_DLLEXT macro which does just this, please verify
that it works correctly when compiling with mingw32/cygwin.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]