Fix --with-XYZ-prefix options, which would incorrectly overwrite _prefix (see also patch #1411577, but note that this fix is different)
svn-id: r20123
This commit is contained in:
parent
c3f3615074
commit
4a8c720252
1 changed files with 27 additions and 27 deletions
54
configure
vendored
54
configure
vendored
|
@ -385,49 +385,49 @@ for ac_option in $@; do
|
||||||
--enable-mt32emu) _mt32emu=yes ;;
|
--enable-mt32emu) _mt32emu=yes ;;
|
||||||
--disable-mt32emu) _mt32emu=no ;;
|
--disable-mt32emu) _mt32emu=no ;;
|
||||||
--with-fluidsynth-prefix=*)
|
--with-fluidsynth-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
FLUIDSYNTH_CFLAGS="-I$_prefix/include"
|
FLUIDSYNTH_CFLAGS="-I$arg/include"
|
||||||
FLUIDSYNTH_LIBS="-L$_prefix/lib"
|
FLUIDSYNTH_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-mpeg2-prefix=*)
|
--with-mpeg2-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
MPEG2_CFLAGS="-I$_prefix/include"
|
MPEG2_CFLAGS="-I$arg/include"
|
||||||
MPEG2_LIBS="-L$_prefix/lib"
|
MPEG2_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-alsa-prefix=*)
|
--with-alsa-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
ALSA_CFLAGS="-I$_prefix/include"
|
ALSA_CFLAGS="-I$arg/include"
|
||||||
ALSA_LIBS="-L$_prefix/lib"
|
ALSA_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-ogg-prefix=*)
|
--with-ogg-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
OGG_CFLAGS="-I$_prefix/include"
|
OGG_CFLAGS="-I$arg/include"
|
||||||
OGG_LIBS="-L$_prefix/lib"
|
OGG_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-vorbis-prefix=*)
|
--with-vorbis-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
VORBIS_CFLAGS="-I$_prefix/include"
|
VORBIS_CFLAGS="-I$arg/include"
|
||||||
VORBIS_LIBS="-L$_prefix/lib"
|
VORBIS_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-tremor-prefix=*)
|
--with-tremor-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
TREMOR_CFLAGS="-I$_prefix/include"
|
TREMOR_CFLAGS="-I$arg/include"
|
||||||
TREMOR_LIBS="-L$_prefix/lib"
|
TREMOR_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-flac-prefix=*)
|
--with-flac-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
FLAC_CFLAGS="-I$_prefix/include"
|
FLAC_CFLAGS="-I$arg/include"
|
||||||
FLAC_LIBS="-L$_prefix/lib"
|
FLAC_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-mad-prefix=*)
|
--with-mad-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
MAD_CFLAGS="-I$_prefix/include"
|
MAD_CFLAGS="-I$arg/include"
|
||||||
MAD_LIBS="-L$_prefix/lib"
|
MAD_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--with-zlib-prefix=*)
|
--with-zlib-prefix=*)
|
||||||
_prefix=`echo $ac_option | cut -d '=' -f 2`
|
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||||
ZLIB_CFLAGS="-I$_prefix/include"
|
ZLIB_CFLAGS="-I$arg/include"
|
||||||
ZLIB_LIBS="-L$_prefix/lib"
|
ZLIB_LIBS="-L$arg/lib"
|
||||||
;;
|
;;
|
||||||
--backend=*)
|
--backend=*)
|
||||||
_backend=`echo $ac_option | cut -d '=' -f 2`
|
_backend=`echo $ac_option | cut -d '=' -f 2`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue