[Scummvm-cvs-logs] SF.net SVN: scummvm:[46657] tools/branches/gsoc2009-gui/configure

sev at users.sourceforge.net sev at users.sourceforge.net
Sun Dec 27 20:50:58 CET 2009


Revision: 46657
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46657&view=rev
Author:   sev
Date:     2009-12-27 19:50:58 +0000 (Sun, 27 Dec 2009)

Log Message:
-----------
Fix libiconv detection.

Modified Paths:
--------------
    tools/branches/gsoc2009-gui/configure

Modified: tools/branches/gsoc2009-gui/configure
===================================================================
--- tools/branches/gsoc2009-gui/configure	2009-12-27 19:16:06 UTC (rev 46656)
+++ tools/branches/gsoc2009-gui/configure	2009-12-27 19:50:58 UTC (rev 46657)
@@ -1005,14 +1005,14 @@
 
 		cat > $TMPC << EOF
 #include <iconv.h>
-int main(int, char **) {
-	iconv_t iconv;
+int main(int argc, char **argv) {
+	iconv_t iconvP;
 	const char **inbuf = 0;
-	iconv(iconv, inbuf, 0, 0, 0);
+	iconv(iconvP, inbuf, 0, 0, 0);
 	return 0;
 }
 EOF
-		cc_check $LDFLAGS $CXXFLAGS $_iconvlibs && uses_const = yes
+		cc_check $LDFLAGS $CXXFLAGS $_iconvlibs && uses_const=yes
 
 		if test "$uses_const" = yes ; then
 			echo "iconv_t, const char **, size_t *, char **, size_t *"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list