1 --- SDL-1.2.6/configure.in.orig 2003-09-05 20:48:37.000000000 +0200
2 +++ SDL-1.2.6/configure.in 2003-09-05 21:10:36.881227832 +0200
4 esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
5 esd_lib=`ls $esd_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
6 echo "-- $esd_lib_spec -> $esd_lib"
7 - if test x$enable_dlopen != xyes && \
8 + if test x$enable_sdlopen != xyes && \
9 test x$enable_esd_shared = xyes; then
10 - AC_MSG_ERROR([You must have dlopen() support and use the --enable-dlopen option])
11 + AC_MSG_ERROR([You must have dlopen() support and use the --enable-sdlopen option])
13 - if test x$enable_dlopen = xyes && \
14 + if test x$enable_sdlopen = xyes && \
15 test x$enable_esd_shared = xyes && test x$esd_lib != x; then
16 CFLAGS="$CFLAGS -DESD_SUPPORT -DESD_DYNAMIC=\$(esd_lib) $ESD_CFLAGS"
19 arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'`
20 arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
21 echo "-- $arts_lib_spec -> $arts_lib"
22 - if test x$enable_dlopen != xyes && \
23 + if test x$enable_sdlopen != xyes && \
24 test x$enable_arts_shared = xyes; then
25 - AC_MSG_ERROR([You must have dlopen() support and use the --enable-dlopen option])
26 + AC_MSG_ERROR([You must have dlopen() support and use the --enable-sdlopen option])
28 - if test x$enable_dlopen = xyes && \
29 + if test x$enable_sdlopen = xyes && \
30 test x$enable_arts_shared = xyes && test x$arts_lib != x; then
31 CFLAGS="$CFLAGS -DARTSC_SUPPORT -DARTSC_DYNAMIC=\$(arts_lib) $ARTSC_CFLAGS"
33 @@ -1557,10 +1557,10 @@
34 dnl Check for the dlfcn.h interface for dynamically loading objects
37 - AC_ARG_ENABLE(dlopen,
38 -[ --enable-dlopen use dlopen for shared object loading [default=no]],
39 - , enable_dlopen=yes)
40 - if test x$enable_dlopen = xyes; then
41 + AC_ARG_ENABLE(sdlopen,
42 +[ --enable-sdlopen use dlopen for shared object loading [default=no]],
43 + , enable_sdlopen=yes)
44 + if test x$enable_sdlopen = xyes; then
45 AC_MSG_CHECKING(for dlopen)