Mercurial > sdl-ios-xcode
view autogen.sh @ 3294:470d0a416aa7
Fixed bug #714
fuzzyTew@gmail.com 2009-03-14 15:18:45 PDT
patch to change HAVE_ICONV to HAVE_ICONV_H
There are two separate iconv checks in configure -- one for the header file and
one for the library. include/SDL_stdinc.h uses the library define to see
whether or not it should reference the types defined in the header, which
naturally breaks if the library exists and the header does not.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 11:04:01 +0000 |
parents | c687a8691de3 |
children | 3da232c5980a |
line wrap: on
line source
#!/bin/sh # echo "Generating build information using autoconf" echo "This may take a while ..." # Regenerate configuration files cp acinclude.m4 aclocal.m4 found=false for autoconf in autoconf autoconf259 autoconf-2.59 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi done if test x$found = xfalse; then echo "Couldn't find autoconf, aborting" exit 1 fi (cd test; sh autogen.sh) # Run configure for this platform echo "Now you are ready to run ./configure"