0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

fix display of echocheck on sunos

added missing '--with-mlibdir' to help message
replaced \t by ' ' in help section
uses $MLIBHOME as a hint to set _mlibdir (Solaris)
small indent fixes (dunno why people did not align them ?)

(bugs & fixes for sun by meleth@freebox.com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4544 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2002-02-05 22:57:17 +00:00
parent 2eb99e4ea5
commit f83b0797c0

17
configure vendored
View File

@ -15,11 +15,12 @@
# _ld_opt : ' -L/path/dir -lopt ' that is: some GCC option
# _inc_opt : ' -I/path/dir/include '
#
# In this file, a tab is 8 chars and indentation shift is 2 characters
#
# GOTCHAS:
# - config files are currently:
# config.h config.mak libvo/config.mak libao2/config.mak
# Gui/config.mak libvo2/config.mak
# - removed dvbincdir/madincdir/cssincdir: add them to extraincdir
#
#############################################################################
@ -76,7 +77,7 @@ x86() {
# Use this before starting a check
echocheck() {
echo "============ Checking for $@ ============" >> "$TMPLOG"
echo "$_echo_n" "Checking for $@ ... $_echo_c"
echo ${_echo_n} "Checking for $@ ... ${_echo_c}"
}
# Use this to echo the results of a check
@ -90,8 +91,8 @@ echores() {
# Check how echo works in this /bin/sh
case `echo -n` in
-n) _echo_n='' _echo_c='\c' ;; # SysV echo
*) _echo_n=-n _echo_c='' ;; # BSD echo
-n) _echo_n= _echo_c='\c' ;; # SysV echo
*) _echo_n='-n ' _echo_c= ;; # BSD echo
esac
LANGUAGES=`echo help_mp-??.h | sed "s/help_mp-\(..\).h/\1/g"`
@ -196,6 +197,7 @@ Use these options if autodetection fails:
--with-x11libdir=DIR X library files in DIR
--with-csslibdir=DIR libcss in DIR
--with-madlibdir=DIR libmad (libmad shared lib.) in DIR
--with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only)
--with-win32libdir=DIR W*ndows DLL files in DIR
--with-xanimlibdir=DIR XAnim DLL files in DIR
--with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config)
@ -975,9 +977,10 @@ for ac_option do
done
# Atmos: moved this here, to be correct, if --prefix is specified
test -z "$_datadir" && _datadir=$_prefix"/share/mplayer"
test -z "$_confdir" && _confdir=$_datadir
test -z "$_libdir" && _libdir=$_prefix"/lib/mplayer"
test -z "$_datadir" && _datadir="$_prefix/share/mplayer"
test -z "$_confdir" && _confdir="$_datadir"
test -z "$_libdir" && _libdir="$_prefix/lib/mplayer"
test -z "$_mlibdir" && _mlibdir="$MLIBHOME"
if x86 ; then
# Checking assembler (_as) compatibility...