I suggest the inclusion of windows.h in sysdep.h is removed and is moved 
to the windows specific parts parport/direct.c and usbconn/libftdxx.c. 
Cygwin is perfectly happy without knowing windows even exists. If 
support for mingw (or win32 is better word I think) is desirable perhaps 
only include windows.h in sysdep.h when compiling with mingw.

I also suggest removing the special case for cygwin and mingw in 
configure so the ftd2xx.lib is included as usual with CFLAGS="$CFLAGS 
-I$with_ftd2xx -L$with_ftd2xx" and  LIBS="-lftd2xx $LIBS".

As for the -no-undefined flag i don't understand the meaning or is it 
just to assure libtool we know what we are doing or what? Anyhow it 
needs to be in the LDFLAGS if compiling for both cygwin and mingw.

Let me know if I can help do further tests etc etc.

/Ake


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to