make sure to install the macport packages that are printed in the wiki - you are missing gtk and glib
I ran the script exactly as it appears in the wiki. There are these errors also with ./configure --enable-univsersal
The script pulls gtk2, I am pulling gtk1. missing gtk might explain these errors perhaps?
checking jpeglib.h presence... no
configure: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jpeglib.h: proceeding with the compiler's result
checking for jpeglib.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... no
configure: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ogg/ogg.h: proceeding with the compiler's result
checking for ogg/ogg.h... yes
checking for ogg_sync_init in -logg... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VORBIS... yes
checking xvid.h usability... yes
checking xvid.h presence... no
configure: WARNING: xvid.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: xvid.h: proceeding with the compiler's result
checking for xvid.h... yes
checking for xvid_decore in -lxvidcore... yes
checking for THEORA... yes
checking libintl.h usability... yes
checking libintl.h presence... no
configure: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: libintl.h: proceeding with the compiler's result
checking for libintl.h... yes
checking for library containing gettext... -lintl
checking SDL.h usability... yes
checking SDL.h presence... no
configure: WARNING: SDL.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL.h: proceeding with the compiler's result
checking for SDL.h... yes
checking SDL_mixer.h usability... yes
checking SDL_mixer.h presence... no
configure: WARNING: SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_mixer.h: proceeding with the compiler's result
checking for SDL_mixer.h... yes
checking for library containing Mix_OpenAudio... -lSDL_mixer
checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... no
configure: WARNING: SDL_ttf.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_ttf.h: proceeding with the compiler's result
checking for SDL_ttf.h... yes
checking for library containing TTF_Init... -lSDL_ttf
checking png.h usability... yes
checking png.h presence... no
configure: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: png.h: proceeding with the compiler's result
checking for png.h... yes
checking for png_create_info_struct in -lpng... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... no
configure: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: GL/gl.h: proceeding with the compiler's result
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... no
configure: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: GL/glu.h: proceeding with the compiler's result
checking for GL/glu.h... yes
checking for library containing newwin... -lcurses
configure: Without msys
configure: UFORadiant dependencies: gtk2, gtkglext, glib2 and libxml2
checking for RADIANT... yes
configure: Enabling client
configure: Enabling dedicated server
configure: Enabling ufo2map
configure: Enabling UFORadiant
configure: Enabling debug build
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --enable-univsersal
Aluminum-Contention-4:trunk dorzak$ cd ~/
Aluminum-Contention-4:~ dorzak$ less ufoaiscript
Aluminum-Contention-4:~ dorzak$ cd ufoai/trunk/
Aluminum-Contention-4:trunk dorzak$ ./configure --enable-universal
checking build system type... i686-apple-darwin9.7.0
checking host system type... i686-apple-darwin9.7.0
checking target system type... i686-apple-darwin9.7.0
checking system... Mac OS X
checking for sed... yes
checking for echo... yes
checking target OS... darwin
checking target CPU... universal
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of int*... 4
checking for rm... yes
checking for mkdir... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking whether AI_NUMERICSERV is declared... no
checking for setpriority... yes
checking for strncasecmp... yes
checking for stdint.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for library containing dlopen... none required
checking for library containing cos... none required
checking for library containing stricmp... no
checking for library containing strcasecmp... none required
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... no
configure: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jpeglib.h: proceeding with the compiler's result
checking for jpeglib.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... no
configure: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ogg/ogg.h: proceeding with the compiler's result
checking for ogg/ogg.h... yes
checking for ogg_sync_init in -logg... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VORBIS... yes
checking xvid.h usability... yes
checking xvid.h presence... no
configure: WARNING: xvid.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: xvid.h: proceeding with the compiler's result
checking for xvid.h... yes
checking for xvid_decore in -lxvidcore... yes
checking for THEORA... yes
checking libintl.h usability... yes
checking libintl.h presence... no
configure: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: libintl.h: proceeding with the compiler's result
checking for libintl.h... yes
checking for library containing gettext... -lintl
checking SDL.h usability... yes
checking SDL.h presence... no
configure: WARNING: SDL.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL.h: proceeding with the compiler's result
checking for SDL.h... yes
checking SDL_mixer.h usability... yes
checking SDL_mixer.h presence... no
configure: WARNING: SDL_mixer.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_mixer.h: proceeding with the compiler's result
checking for SDL_mixer.h... yes
checking for library containing Mix_OpenAudio... -lSDL_mixer
checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... no
configure: WARNING: SDL_ttf.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_ttf.h: proceeding with the compiler's result
checking for SDL_ttf.h... yes
checking for library containing TTF_Init... -lSDL_ttf
checking png.h usability... yes
checking png.h presence... no
configure: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: png.h: proceeding with the compiler's result
checking for png.h... yes
checking for png_create_info_struct in -lpng... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... no
configure: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: GL/gl.h: proceeding with the compiler's result
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... no
configure: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: GL/glu.h: proceeding with the compiler's result
checking for GL/glu.h... yes
checking for library containing newwin... -lcurses
configure: Without msys
configure: UFORadiant dependencies: gtk2, gtkglext, glib2 and libxml2