Date: Mon, 23 Feb 2004 19:00:23 +0100
From: "Juergen \"George\" Sawinski" Subject: Problems compiling libsdl with gcc 3.3 I attached another patch (configure.in.patch) that might resolv issues for some ppl finding the correct place of libartsc.so.*. (here, the output of "artsc-config --libs" contains two "-L.*", therefore the respecting arts_lib_spec contains the wrong path). --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40857
This commit is contained in:
parent
6c967b9343
commit
ab5e55b081
1 changed files with 2 additions and 1 deletions
|
@ -374,6 +374,7 @@ CheckARTSC()
|
||||||
else
|
else
|
||||||
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
|
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
|
||||||
ARTSC_LIBS=`$ARTSCCONFIG --libs`
|
ARTSC_LIBS=`$ARTSCCONFIG --libs`
|
||||||
|
ARTSC_PREFIX=`$ARTSCCONFIG --arts-prefix`
|
||||||
AC_MSG_CHECKING(for aRts development environment)
|
AC_MSG_CHECKING(for aRts development environment)
|
||||||
audio_arts=no
|
audio_arts=no
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -391,7 +392,7 @@ CheckARTSC()
|
||||||
AC_ARG_ENABLE(arts-shared,
|
AC_ARG_ENABLE(arts-shared,
|
||||||
[ --enable-arts-shared dynamically load aRts audio support [default=yes]],
|
[ --enable-arts-shared dynamically load aRts audio support [default=yes]],
|
||||||
, enable_arts_shared=yes)
|
, enable_arts_shared=yes)
|
||||||
arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'`
|
arts_lib_spec="$ARTSC_PREFIX/lib/libartsc.so.*"
|
||||||
arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
|
arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
|
||||||
echo "-- $arts_lib_spec -> $arts_lib"
|
echo "-- $arts_lib_spec -> $arts_lib"
|
||||||
if test x$use_dlopen != xyes && \
|
if test x$use_dlopen != xyes && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue