hughperman / pure-lang

Automatically exported from code.google.com/p/pure-lang
0 stars 0 forks source link

./configure should fail if it doesn't find iconv #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
with libiconv in /usr/local

What steps will reproduce the problem?
1. svn co http://pure-lang.googlecode.com/svn/trunk/pure && cd pure
2. autoconf -I config
3. ./configure && gmake

What is the expected output? What do you see instead?
expected ./configure failing with "sorry, no inconv no go"
see ./configure prompting me to go ahead:

Now run 'make' to build everything, and 'make install' to install this
software on your system. To remove the installed software at a later
time use the 'make uninstall' command.

and gmake then bombing with 

g++ -g -O2   -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I. -c -o util.o util.cc
util.cc: In function 'char* toutf8(const char*, const char*)':
util.cc:587: error: 'ICONV_CONST' was not declared in this scope
util.cc:587: error: expected `)' before 'char'
util.cc:1285: error: expected `)' at end of input
util.cc:1285: error: expected statement at end of input
util.cc:1285: error: expected `}' at end of input
util.cc:1285: error: expected `}' at end of input
gmake: *** [util.o] Error 1

What version of the product are you using? On what operating system?

Path: .
URL: http://pure-lang.googlecode.com/svn/trunk/pure
Repository Root: http://pure-lang.googlecode.com/svn
Repository UUID: d7baec64-8d32-11dd-a14b-9ba93c563a2f
Revision: 2155
Node Kind: directory
Schedule: normal
Last Changed Author: aggraef
Last Changed Rev: 2155
Last Changed Date: 2009-08-29 13:47:25 +0200 (Sat, 29 Aug 2009)

Original issue reported on code.google.com by neuhau...@sigpipe.cz on 30 Aug 2009 at 8:26

GoogleCodeExporter commented 8 years ago
Fixed in r2159, can you please verify?

Original comment by aggraef@gmail.com on 30 Aug 2009 at 8:02