Mercurial > sdl-ios-xcode
view autogen.sh @ 1136:d16c010d5d98
Fix dlvsym() detection in the configure script.
--ryan.
From: Mike Frysinger <vapier@gentoo.org>
To: sdl@libsdl.org
Subject: Re: [SDL] sdl, sdl-mixer not compiling with uclibc
Date: Wed, 7 Sep 2005 19:17:49 -0400
in this case actually, the error is in libsdl
the configure check for dlvsym presence is pretty pointless, it currently
always detects it
AC_TRY_COMPILE([
#include <stdio.h>
#define __USE_GNU
#include <dlfcn.h>
],[
dlvsym(NULL,"","");
],[
use_dlvsym=yes
])
since it's merely compiling, the warning about dlvsym being implicitly
declared doesnt trigger a failure
find attached a patch to fix this
-mike
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 08 Sep 2005 06:43:51 +0000 |
parents | 9430ba1a19f3 |
children | c7376efecdb5 |
line wrap: on
line source
#!/bin/sh # echo "Generating build information using aclocal, automake and autoconf" echo "This may take a while ..." # Touch the timestamps on all the files since CVS messes them up directory=`dirname $0` touch $directory/configure.in # Regenerate configuration files aclocal automake --foreign --include-deps --add-missing --copy autoconf (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf) # Run configure for this platform #./configure $* echo "Now you are ready to run ./configure"