Mercurial > sdl-ios-xcode
comparison configure.in @ 3358:1164528004ff
Use test instead of [ because that's an m4 quote character
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Oct 2009 05:27:59 +0000 |
parents | 98c5b421426e |
children | ca6f355e44b2 |
comparison
equal
deleted
inserted
replaced
3357:2d19d10e24d5 | 3358:1164528004ff |
---|---|
602 elif test "x`ls /usr/local/$base_libdir/libasound.so.* 2> /dev/null`" != "x"; then | 602 elif test "x`ls /usr/local/$base_libdir/libasound.so.* 2> /dev/null`" != "x"; then |
603 ALSA_LIBS="-L/usr/local/$base_libdir $ALSA_LIBS" | 603 ALSA_LIBS="-L/usr/local/$base_libdir $ALSA_LIBS" |
604 fi | 604 fi |
605 fi | 605 fi |
606 alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'` | 606 alsa_lib_spec=`echo $ALSA_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libasound.so.*/'` |
607 if [ x$alsa_lib_spec = x ]; then | 607 if test x$alsa_lib_spec = x; then |
608 alsa_lib_spec="/usr/$base_libdir/libasound.so.*" | 608 alsa_lib_spec="/usr/$base_libdir/libasound.so.*" |
609 fi | 609 fi |
610 alsa_lib=`ls -- $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` | 610 alsa_lib=`ls -- $alsa_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` |
611 echo "-- $alsa_lib_spec -> $alsa_lib" | 611 echo "-- $alsa_lib_spec -> $alsa_lib" |
612 | 612 |
701 if test x$have_esd = xyes; then | 701 if test x$have_esd = xyes; then |
702 AC_ARG_ENABLE(esd-shared, | 702 AC_ARG_ENABLE(esd-shared, |
703 AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]), | 703 AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]), |
704 , enable_esd_shared=yes) | 704 , enable_esd_shared=yes) |
705 esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'` | 705 esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'` |
706 if [ x$esd_lib_spec = x ]; then | 706 if test x$esd_lib_spec = x; then |
707 esd_lib_spec="/usr/$base_libdir/libesd.so.*" | 707 esd_lib_spec="/usr/$base_libdir/libesd.so.*" |
708 fi | 708 fi |
709 esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` | 709 esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` |
710 echo "-- $esd_lib_spec -> $esd_lib" | 710 echo "-- $esd_lib_spec -> $esd_lib" |
711 | 711 |
761 elif test "x`ls /usr/local/$base_libdir/libpulse-simple.so.* 2> /dev/null`" != "x"; then | 761 elif test "x`ls /usr/local/$base_libdir/libpulse-simple.so.* 2> /dev/null`" != "x"; then |
762 PULSE_LIBS="-L/usr/local/$base_libdir $PULSE_LIBS" | 762 PULSE_LIBS="-L/usr/local/$base_libdir $PULSE_LIBS" |
763 fi | 763 fi |
764 fi | 764 fi |
765 pulseaudio_lib_spec=`echo $PULSEAUDIO_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libpulse-simple.so.*/'` | 765 pulseaudio_lib_spec=`echo $PULSEAUDIO_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libpulse-simple.so.*/'` |
766 if [ x$pulse_lib_spec = x ]; then | 766 if test x$pulse_lib_spec = x; then |
767 pulse_lib_spec="/usr/$base_libdir/libpulse-simple.so.*" | 767 pulse_lib_spec="/usr/$base_libdir/libpulse-simple.so.*" |
768 fi | 768 fi |
769 pulseaudio_lib=`ls -- $pulseaudio_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` | 769 pulseaudio_lib=`ls -- $pulseaudio_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` |
770 echo "-- $pulseaudio_lib_spec -> $pulseaudio_lib" | 770 echo "-- $pulseaudio_lib_spec -> $pulseaudio_lib" |
771 | 771 |
884 elif test "x`ls /usr/local/lib/libaudio.so.* 2> /dev/null`" != "x"; then | 884 elif test "x`ls /usr/local/lib/libaudio.so.* 2> /dev/null`" != "x"; then |
885 NAS_LIBS="-L/usr/local/lib $NAS_LIBS" | 885 NAS_LIBS="-L/usr/local/lib $NAS_LIBS" |
886 fi | 886 fi |
887 fi | 887 fi |
888 nas_lib_spec=`echo $NAS_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libaudio.so.*/'` | 888 nas_lib_spec=`echo $NAS_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libaudio.so.*/'` |
889 if [ x$nas_lib_spec = x ]; then | 889 if test x$nas_lib_spec = x; then |
890 nas_lib_spec="/usr/$base_libdir/libaudio.so.*" | 890 nas_lib_spec="/usr/$base_libdir/libaudio.so.*" |
891 fi | 891 fi |
892 nas_lib=`ls -- $nas_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` | 892 nas_lib=`ls -- $nas_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` |
893 echo "-- $nas_lib_spec -> $nas_lib" | 893 echo "-- $nas_lib_spec -> $nas_lib" |
894 | 894 |