configure.in
changeset 300 8bdc210ed1de
parent 296 fab1ddc4d7bf
child 302 8a86bdf34f0f
equal deleted inserted replaced
299:e25d2604b3a6 300:8bdc210ed1de
   378             AC_MSG_RESULT($audio_arts)
   378             AC_MSG_RESULT($audio_arts)
   379             if test x$audio_arts = xyes; then
   379             if test x$audio_arts = xyes; then
   380                 AC_ARG_ENABLE(arts-shared,
   380                 AC_ARG_ENABLE(arts-shared,
   381 [  --enable-arts-shared     dynamically load aRts audio support [default=no]],
   381 [  --enable-arts-shared     dynamically load aRts audio support [default=no]],
   382                               , enable_arts_shared=no)
   382                               , enable_arts_shared=no)
   383                 arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libarts.so.*/'`
   383                 arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'`
   384 	        arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
   384 	        arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
   385 	        echo "-- $arts_lib_spec -> $arts_lib"
   385 	        echo "-- $arts_lib_spec -> $arts_lib"
   386                 if test x$enable_dlopen != xyes && \
   386                 if test x$enable_dlopen != xyes && \
   387                    test x$enable_arts_shared = xyes; then
   387                    test x$enable_arts_shared = xyes; then
   388                     AC_MSG_ERROR([You must have dlopen() support and use the --enable-dlopen option])
   388                     AC_MSG_ERROR([You must have dlopen() support and use the --enable-dlopen option])