diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-31 21:22:41 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-31 21:22:41 +0000 |
commit | fdf4fa45ad6b0beed6c67a76001c0969e427e8f2 (patch) | |
tree | 34805e5eb4958f93fa008df7f69434abe3975ed7 /configure | |
parent | f4b492fa1ef0ac681416300f8d6782b248c849b1 (diff) | |
download | openttd-fdf4fa45ad6b0beed6c67a76001c0969e427e8f2.tar.xz |
(svn r4219) - Add support for WITH_ICONV. It is enabled by default for OSX > 10.3 for all others set it with WITH_ICONV in Makefile.config or with --with-iconv with configure. --with-config=/somedir will search for iconv include files somewhere (or in Makefile.config with WITH_ICONV_PATH). Custom library loading is not (yet) supported
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -31,12 +31,14 @@ function showhelp() { echo " zlib Do you want zlib-support? [yes]" echo " sdl Do you want SDL-support? [yes]" echo " png Do you want PNG-support? [yes]" + echo " iconv Do you want iconv-support? [no]" echo " cocoa Do you want cocoa-support? (MacOSX) [no]" echo "" echo "Params used to configure external libs:" echo " --static-zlib-path Set the path to your static zlib []" echo " --sdl-config Where is your sdl-config [sdl-config]" echo " --libpng-config Where is your libpng-config [libpng-config]" + echo " --with-iconv Set the path to your iconv headers []" echo " " } @@ -149,6 +151,16 @@ do --without-png) PARAM="$PARAM WITH_PNG=" ;; + --with-iconv) + PARAM="$PARAM WITH_ICONV=1" + ;; + --with-iconv=*) + PARAM="$PARAM WITH_ICONV=1" + handle WITH_ICONV_PATH "$n" + ;; + --without-iconv) + PARAM="$PARAM WITH_ICONV=" + ;; --with-cocoa) PARAM="$PARAM WITH_COCOA=1" ;; |