source: scripts/untested/blfs-patches/x264-svn-20050731-configure_fixes.patch@ 66f17d5

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 66f17d5 was fd5b1fe, checked in by Jim Gifford <clfs@…>, 19 years ago

r588@server (orig r586): ryan | 2005-08-05 22:47:43 -0700
Add pile of new patches for blfs packages



  • Property mode set to 100644
File size: 1007 bytes
  • configure

    Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2005-07-31
    Initial Package Version: svn-20050731
    Upstream Status: Not Submitted
    Origin: Self Created
    Description: Add some vars to override defaults so we can build bi-arch
    
    old new  
    3232vfw="no"
    3333vis="no"
    3434
    35 CC="gcc"
     35CC="${CC-gcc}"
    3636CFLAGS="-Wall -I. -O4 -ffast-math -D__X264__"
    3737LDFLAGS=""
    3838HAVE_GETOPT_LONG=1
     
    9191esac
    9292
    9393UNAMEM="`uname -m`"
     94# Override UNAMEM if ARCH is passed on the environment
     95UNAMEM="${TGT_ARCH-${UNAMEM}}"
     96
    9497case "$UNAMEM" in
    9598  i386|i486|i586|i686|BePC)
    9699    ARCH="X86"
     
    191194            vfw="yes"
    192195            ;;
    193196        --enable-visualize)
    194             LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
     197            LDFLAGS="$LDFLAGS -L${XLIBS-/usr/X11R6/lib} -lX11"
    195198            CFLAGS="$CFLAGS -DVISUALIZE=1"
    196199            vis="yes"
    197200            ;;
Note: See TracBrowser for help on using the repository browser.