comparison configure @ 8353:6dd42a044681

a little (my first!) patch to add some info about MPlayer on Irix 6.5 to documentation.html and some changes to the configure script + Makefile to support optional different "install" location and change ranlib to ar when Irix is detected. Steffen Boelaars <mplayer.development@graphicscave.com>
author arpi
date Wed, 04 Dec 2002 23:29:41 +0000
parents 6ba26d05c7a9
children b5478134c853
comparison
equal deleted inserted replaced
8352:2aed330d2054 8353:6dd42a044681
220 --enable-static build a statically linked binary. Set further linking 220 --enable-static build a statically linked binary. Set further linking
221 options with --enable-static="-lslang -lncurses" 221 options with --enable-static="-lslang -lncurses"
222 --language=xx select a language (for translated messages/gui) [en] 222 --language=xx select a language (for translated messages/gui) [en]
223 (Available: $LANGUAGES) 223 (Available: $LANGUAGES)
224 --enable-shared-pp install & use shared postprocessing lib 224 --enable-shared-pp install & use shared postprocessing lib
225 --install-path=PATH the path to a custom install program (useful if
226 your OS uses a GNU-incompatible install utility by
227 default and you want to point to the GNU version)
225 228
226 Advanced options: 229 Advanced options:
227 --enable-mmx build with mmx support [autodetect] 230 --enable-mmx build with mmx support [autodetect]
228 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] 231 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect]
229 --enable-3dnow build with 3dnow! support [autodetect] 232 --enable-3dnow build with 3dnow! support [autodetect]
270 fi 273 fi
271 done # for parm in ... 274 done # for parm in ...
272 275
273 276
274 # 1st pass checking for vital options 277 # 1st pass checking for vital options
278 _install=install
279 _ranlib=ranlib
275 _cc=gcc 280 _cc=gcc
276 test "$CC" && _cc="$CC" 281 test "$CC" && _cc="$CC"
277 _as=auto 282 _as=auto
278 _runtime_cpudetection=no 283 _runtime_cpudetection=no
279 for ac_option do 284 for ac_option do
312 --enable-runtime-cpudetection) 317 --enable-runtime-cpudetection)
313 _runtime_cpudetection=yes 318 _runtime_cpudetection=yes
314 ;; 319 ;;
315 --disable-runtime-cpudetection) 320 --disable-runtime-cpudetection)
316 _runtime_cpudetection=no 321 _runtime_cpudetection=no
322 ;;
323 --install-path=*)
324 _install=`echo $ac_option | cut -d '=' -f 2 | sed 's/\/$//'`"/install"
317 ;; 325 ;;
318 esac 326 esac
319 done 327 done
320 328
321 # Determine our OS name and CPU architecture 329 # Determine our OS name and CPU architecture
1034 --disable-static*) ;; 1042 --disable-static*) ;;
1035 --with-extraincdir=*) ;; 1043 --with-extraincdir=*) ;;
1036 --with-extralibdir=*) ;; 1044 --with-extralibdir=*) ;;
1037 --enable-runtime-cpudetection) ;; 1045 --enable-runtime-cpudetection) ;;
1038 --disable-runtime-cpudetection) ;; 1046 --disable-runtime-cpudetection) ;;
1047 --install-path=*) ;;
1039 1048
1040 # Real 2nd pass 1049 # Real 2nd pass
1041 --enable-mencoder) _mencoder=yes ;; 1050 --enable-mencoder) _mencoder=yes ;;
1042 --disable-mencoder) _mencoder=no ;; 1051 --disable-mencoder) _mencoder=no ;;
1043 --enable-i18n) _i18n=yes ;; 1052 --enable-i18n) _i18n=yes ;;
1472 echo "If you don't need VIDIX, you can use configure --disable-vidix instead." 1481 echo "If you don't need VIDIX, you can use configure --disable-vidix instead."
1473 die "no awk" 1482 die "no awk"
1474 fi 1483 fi
1475 fi 1484 fi
1476 1485
1486 # If IRIX we must use ar instead of ranlib (not present on IRIX systems)
1487 if irix ; then
1488 _ranlib='ar -r'
1489 fi
1477 1490
1478 ###################### 1491 ######################
1479 # MAIN TESTS GO HERE # 1492 # MAIN TESTS GO HERE #
1480 ###################### 1493 ######################
1481 1494
4568 CONFDIR = \$(DESTDIR)$_confdir 4581 CONFDIR = \$(DESTDIR)$_confdir
4569 LIBDIR = \$(DESTDIR)$_libdir 4582 LIBDIR = \$(DESTDIR)$_libdir
4570 #AR = ar 4583 #AR = ar
4571 CC = $_cc 4584 CC = $_cc
4572 AWK = $_awk 4585 AWK = $_awk
4573 RANLIB = ranlib 4586 RANLIB = $_ranlib
4587 INSTALL = $_install
4574 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math 4588 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
4575 OPTFLAGS = $CFLAGS 4589 OPTFLAGS = $CFLAGS
4576 EXTRA_INC = $_inc_extra $_inc_gtk 4590 EXTRA_INC = $_inc_extra $_inc_gtk
4577 WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\" 4591 WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\"
4578 STRIPBINARIES = $_stripbinaries 4592 STRIPBINARIES = $_stripbinaries