Date: Mon, 23 Feb 2004 19:00:23 +0100
authorSam Lantinga <slouken@libsdl.org>
Tue, 24 Feb 2004 19:22:22 +0000
changeset 856d3165b90ee42
parent 855 aa4ac9e65d92
child 857 ce05e92d909b
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).
configure.in
     1.1 --- a/configure.in	Tue Feb 24 18:58:40 2004 +0000
     1.2 +++ b/configure.in	Tue Feb 24 19:22:22 2004 +0000
     1.3 @@ -374,6 +374,7 @@
     1.4          else
     1.5              ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
     1.6              ARTSC_LIBS=`$ARTSCCONFIG --libs`
     1.7 +            ARTSC_PREFIX=`$ARTSCCONFIG --arts-prefix`
     1.8              AC_MSG_CHECKING(for aRts development environment)
     1.9              audio_arts=no
    1.10              save_CFLAGS="$CFLAGS"
    1.11 @@ -391,7 +392,7 @@
    1.12                  AC_ARG_ENABLE(arts-shared,
    1.13  [  --enable-arts-shared    dynamically load aRts audio support [default=yes]],
    1.14                                , enable_arts_shared=yes)
    1.15 -                arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'`
    1.16 +                arts_lib_spec="$ARTSC_PREFIX/lib/libartsc.so.*"
    1.17                  arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
    1.18                  echo "-- $arts_lib_spec -> $arts_lib"
    1.19                  if test x$use_dlopen != xyes && \