Skip to content

Commit

Permalink
sed, it's two, two commands in one!
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 3, 2004
1 parent 8f29d39 commit 9f4766e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.in
Expand Up @@ -298,7 +298,7 @@ CheckALSA()
AC_ARG_ENABLE(alsa-shared,
[ --enable-alsa-shared dynamically load ALSA audio support [default=yes]],
, enable_alsa_shared=yes)
alsa_lib=`ls /usr/lib/libasound.so.* | head -1 | sed 's/.*\/\(.*\)/\1/'`
alsa_lib=`ls /usr/lib/libasound.so.* | sed 's/.*\/\(.*\)/\1/; q'`
if test x$use_dlopen != xyes && \
test x$enable_alsa_shared = xyes; then
AC_MSG_ERROR([You must have dlopen() support and use the --enable-dlopen option])
Expand Down Expand Up @@ -356,7 +356,7 @@ CheckESD()
[ --enable-esd-shared dynamically load ESD audio support [default=yes]],
, enable_esd_shared=yes)
esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
esd_lib=`ls $esd_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
esd_lib=`ls $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
echo "-- $esd_lib_spec -> $esd_lib"
if test x$use_dlopen != xyes && \
test x$enable_esd_shared = xyes; then
Expand Down Expand Up @@ -407,7 +407,7 @@ CheckARTSC()
[ --enable-arts-shared dynamically load aRts audio support [default=yes]],
, enable_arts_shared=yes)
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 | sed 's/.*\/\(.*\)/\1/; q'`
echo "-- $arts_lib_spec -> $arts_lib"
if test x$use_dlopen != xyes && \
test x$enable_arts_shared = xyes; then
Expand Down

0 comments on commit 9f4766e

Please sign in to comment.