home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / configure next >
Text File  |  2000-11-29  |  1KB  |  41 lines

  1. #!/bin/sh
  2. GLOBAL_CONFIG=global_config
  3.  
  4. echo "Configuring xmovie"
  5. echo "********************************************************************************"
  6. echo "The following libraries, kernel patches, and compilers are now required to"
  7. echo "build XMovie from scratch:"
  8. echo "  DVD (http://www.kernel.dk/)"
  9. echo "  nasm (nasm.sourceforge.net)"
  10. echo "  XFree86 4.0.1 (www.xfree86.org)"
  11. echo "********************************************************************************"
  12.  
  13. cat > global_config << EOF
  14. # DO NOT EDIT.  EDIT ./configure INSTEAD AND RERUN IT.
  15. EOF
  16.  
  17. if test -z "$CFLAGS"; then
  18.     echo >> $GLOBAL_CONFIG "CFLAGS = -O2 -funroll-loops -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -march=i486 -I/usr/local/include"
  19. fi
  20.  
  21. cat >> $GLOBAL_CONFIG << EOF
  22. INSTDIR = xmovie
  23. TARBALL = xmovie-1.4.tar.gz
  24. CC = g++
  25. CFLAGS += -I../guicast -I../quicktime -I../libmpeg3
  26. LFLAGS = -L/usr/X11R6/lib
  27. LIBS = ../libmpeg3/libmpeg3.a ../quicktime/libquicktime.a ../guicast/libguicast.a \\
  28.      -lX11 -lXext -lXv -lpthread -lglib -lm -lpng -lz -ldl
  29. LDLINKER = g++ -shared 
  30. EOF
  31.  
  32.  
  33. cd libmpeg3
  34. ./configure
  35. cd ..
  36.  
  37.  
  38. cd quicktime
  39. ./configure
  40. cd ..
  41.