Small gnome-games patch #2



Hi again,

The test for C++ is wrong in general in GAMES_CHECK_CXX. In
the case where, say c++ is a sym link to g++ it reports no C++
compiler. The fix is to let AC_PROG_CXX do it's job, and check
just GXX. A one-line patch is attached. Module is gnome-games
(again).

Cheers,
Dave.

-- 
       David Neary,
    Marseille, France
  E-Mail: bolsh gimp org
? index.html
? stamp-h1
? aisleriot/help/Makefile
? aisleriot/help/Makefile.in
? aisleriot/help/C/Makefile
? aisleriot/help/C/Makefile.in
? aisleriot/help/C/omf_timestamp
? glines/help/Makefile
? glines/help/Makefile.in
? glines/help/C/Makefile
? glines/help/C/Makefile.in
? glines/help/C/omf_timestamp
? glines/help/it/Makefile
? glines/help/it/Makefile.in
? glines/help/it/omf_timestamp
? omf-install/glines-C.omf
? omf-install/glines-it.omf
Index: games-macros/games-cxx-check.m4
===================================================================
RCS file: /cvs/gnome/gnome-games/games-macros/games-cxx-check.m4,v
retrieving revision 1.1
diff -u -r1.1 games-cxx-check.m4
--- games-macros/games-cxx-check.m4	9 Jan 2002 00:02:48 -0000	1.1
+++ games-macros/games-cxx-check.m4	7 Mar 2002 21:46:20 -0000
@@ -7,7 +7,7 @@
   # If this is not GNU C++ but CXX = g++ then no compiles was found.
 
 
-  if test "x$GXX" = xyes && test "x$CXX" = xg++; then
+  if test "x$GXX" = xyes; then
     ac_cv_prog_cxx_works=yes 
   else
     AC_MSG_WARN(ifelse([$1], , "No C++ compiler", [$1]))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]