svnno****@sourc*****
svnno****@sourc*****
Thu Mar 22 11:12:07 JST 2007
Revision: 2945 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=2945 Author: kous Date: 2007-03-22 11:12:07 +0900 (Thu, 22 Mar 2007) Log Message: ----------- * configure.ac: added --enable-mingw-debug. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/configure.ac Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-03-21 10:18:35 UTC (rev 2944) +++ kazehakase/trunk/ChangeLog 2007-03-22 02:12:07 UTC (rev 2945) @@ -1,3 +1,7 @@ +2007-03-22 Kouhei Sutou <kou****@cozmi*****> + + * configure.ac: added --enable-mingw-debug. + 2007-03-21 Kouhei Sutou <kou****@cozmi*****> * configure.ac: fixed strptime detection. Modified: kazehakase/trunk/configure.ac =================================================================== --- kazehakase/trunk/configure.ac 2007-03-21 10:18:35 UTC (rev 2944) +++ kazehakase/trunk/configure.ac 2007-03-22 02:12:07 UTC (rev 2945) @@ -441,6 +441,21 @@ AC_DEFINE(WITH_ANTHY_TRAINER, 1, [Define to 1 if Anthy and Mecab is found]) fi +dnl ************************************************************** +dnl Check for MinGW +dnl ************************************************************** + +AC_ARG_ENABLE([mingw-debug], + AS_HELP_STRING([--enable-mingw-debug], + [Enable MinGW debug])) +case $host_os in +mingw*) + if test "x$enable_mingw_debug" != "xno"; then + LDFLAGS="$LDFLAGS -mwindows" + fi + ;; +esac + AC_SUBST([AM_CPPFLAGS]) AC_SUBST([AM_CFLAGS]) AC_SUBST([AM_CXXFLAGS])