PATCH: Cygwin port

Warren Young <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
The following one-line change allows the current version of Doxygen to 
build on Cygwin.


--- origsrc/doxygen-1.5.5/tmake/lib/linux-g++/tmake.conf
+++ src/doxygen-1.5.5/tmake/lib/linux-g++/tmake.conf
@@ -42,7 +42,7 @@
  TMAKE_LFLAGS_SHLIB = -shared
  TMAKE_LFLAGS_SONAME    = -Wl,-soname,

-TMAKE_LIBS     =
+TMAKE_LIBS     = -liconv
  TMAKE_LIBS_X11     = -lXext -lX11 -lm
  TMAKE_LIBS_X11SM   = -lICE -lSM
  TMAKE_LIBS_QT      = -lqt


It shouldn't be applied to the top-level Doxygen sources, because 
libiconv doesn't actually exist for Linux.  (iconv() is in glibc.  It's 
separate on Cygwin because Cygwin uses a different Standard C library, 
which doesn't include iconv().)

Instead, we need a 'cygwin-g++' build configuration.  Such a thing 
already exists in the top-level tmake distribution.  It seems to be 
identical to linux-g++, currently, so essentially the same patch applies.

I don't think this patch needs to be applied to tmake itself, since not 
all tmake users will need this.  Besides, tmake seems moribund.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.