Mercurial > mplayer.hg
changeset 1182:40ec53d0f207
freebsd fix
author | arpi_esp |
---|---|
date | Thu, 21 Jun 2001 22:28:50 +0000 |
parents | 27374756fc40 |
children | 6fbcfe7f7f10 |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Jun 21 21:52:24 2001 +0000 +++ b/configure Thu Jun 21 22:28:50 2001 +0000 @@ -662,7 +662,7 @@ int main (void) { return 0;} EOF -$_cc -I/usr/X11R6/unclude $TMPC -o $TMPO -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXext -lXxf86dga -lXxf86vm $_socklib > /dev/null 2>&1 && _dga=yes +$_cc $_x11incdir $TMPC -o $TMPO -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXext -lXxf86dga -lXxf86vm $_socklib > /dev/null 2>&1 && _dga=yes # Note: the -lXxf86vm library is the VideoMode extension and though it's # not needed for DGA, AFAIK every distribution packages together with DGA # stuffs named 'X extensions' or something similar. This check can be usefull @@ -1275,6 +1275,12 @@ CFLAGS="-O4 -march=$proc -mcpu=$proc -pipe -ffast-math -fomit-frame-pointer" fi fi +# Under FreeBSD (maybe other systems as well?) we have to add to CFLAGS +# for MT applications: +if [ "$system_name" = "FreeBSD" ]; then +CFLAGS="$CFLAGS -D_THREAD_SAFE" +fi + echo echo "Creating $MCONF" cat > $MCONF << EOF