configure.in
changeset 1606 d91c02552377
parent 1602 cd97a8e39874
child 1611 ec3466b08f17
     1.1 --- a/configure.in	Thu Mar 23 21:39:58 2006 +0000
     1.2 +++ b/configure.in	Thu Mar 23 21:46:24 2006 +0000
     1.3 @@ -327,7 +327,7 @@
     1.4                  fi
     1.5              fi
     1.6              alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'`
     1.7 -            alsa_lib=`ls $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
     1.8 +            alsa_lib=`ls -- $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
     1.9              echo "-- $alsa_lib_spec -> $alsa_lib"
    1.10  
    1.11              AC_DEFINE(SDL_AUDIO_DRIVER_ALSA)
    1.12 @@ -423,7 +423,7 @@
    1.13  AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [default=yes]]),
    1.14                            , enable_esd_shared=yes)
    1.15              esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
    1.16 -            esd_lib=`ls $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
    1.17 +            esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
    1.18              echo "-- $esd_lib_spec -> $esd_lib"
    1.19  
    1.20              AC_DEFINE(SDL_AUDIO_DRIVER_ESD)
    1.21 @@ -475,7 +475,7 @@
    1.22  AC_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [default=yes]]),
    1.23                                , enable_arts_shared=yes)
    1.24                  arts_lib_spec="$ARTS_PREFIX/lib/libartsc.so.*"
    1.25 -                arts_lib=`ls $arts_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
    1.26 +                arts_lib=`ls -- $arts_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
    1.27                  echo "-- $arts_lib_spec -> $arts_lib"
    1.28  
    1.29                  AC_DEFINE(SDL_AUDIO_DRIVER_ARTS)
    1.30 @@ -807,16 +807,16 @@
    1.31                      x11_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`]
    1.32                      for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do
    1.33                          if test "x$x11_lib" = "x"; then
    1.34 -                            x11_lib=[`ls $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.35 +                            x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.36                          fi
    1.37                          if test "x$x11ext_lib" = "x"; then
    1.38 -                            x11ext_lib=[`ls $path/libXext.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.39 +                            x11ext_lib=[`ls -- $path/libXext.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.40                          fi
    1.41                          if test "x$xrender_lib" = "x"; then
    1.42 -                            xrender_lib=[`ls $path/libXrender.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.43 +                            xrender_lib=[`ls -- $path/libXrender.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.44                          fi
    1.45                          if test "x$xrandr_lib" = "x"; then
    1.46 -                            xrandr_lib=[`ls $path/libXrandr.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.47 +                            xrandr_lib=[`ls -- $path/libXrandr.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.48                          fi
    1.49                      done
    1.50                      ;;