Fixed dynamic arts support.
authorSam Lantinga <slouken@libsdl.org>
Wed, 06 Mar 2002 19:14:12 +0000
changeset 300 8bdc210ed1de
parent 299 e25d2604b3a6
child 301 fb4c4c6a2773
Fixed dynamic arts support. Turned on dynamic audio load by default in RPM build.
SDL.spec.in
configure.in
--- a/SDL.spec.in	Wed Mar 06 18:25:45 2002 +0000
+++ b/SDL.spec.in	Wed Mar 06 19:14:12 2002 +0000
@@ -38,7 +38,7 @@
 %setup -q 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-svga --disable-video-ggi --disable-video-aalib --disable-debug --enable-xfree86-glidehack
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-svga --disable-video-ggi --disable-video-aalib --disable-debug --enable-dlopen --enable-esd-shared --enable-arts-shared
 make
 
 %install
--- a/configure.in	Wed Mar 06 18:25:45 2002 +0000
+++ b/configure.in	Wed Mar 06 19:14:12 2002 +0000
@@ -380,7 +380,7 @@
                 AC_ARG_ENABLE(arts-shared,
 [  --enable-arts-shared     dynamically load aRts audio support [default=no]],
                               , enable_arts_shared=no)
-                arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libarts.so.*/'`
+                arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'`
 	        arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
 	        echo "-- $arts_lib_spec -> $arts_lib"
                 if test x$enable_dlopen != xyes && \