Mercurial > mplayer.hg
comparison configure @ 22346:26c1cc2a22ff
Simplify strip parameter for install handling.
author | diego |
---|---|
date | Tue, 27 Feb 2007 17:10:11 +0000 |
parents | e65d1a3e4e15 |
children | 9879c4598744 |
comparison
equal
deleted
inserted
replaced
22345:a50a835635c7 | 22346:26c1cc2a22ff |
---|---|
2191 fi | 2191 fi |
2192 echores $_named_asm_args | 2192 echores $_named_asm_args |
2193 | 2193 |
2194 | 2194 |
2195 # Checking for CFLAGS | 2195 # Checking for CFLAGS |
2196 _stripbinaries=yes | 2196 _install_strip="-s" |
2197 if test "$_profile" != "" || test "$_debug" != "" ; then | 2197 if test "$_profile" != "" || test "$_debug" != "" ; then |
2198 CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" | 2198 CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" |
2199 if test "$_cc_major" -ge "3" ; then | 2199 if test "$_cc_major" -ge "3" ; then |
2200 CFLAGS=`echo "$CFLAGS" | sed -e 's/\(-Wall\)/\1 -Wno-unused-parameter/'` | 2200 CFLAGS=`echo "$CFLAGS" | sed -e 's/\(-Wall\)/\1 -Wno-unused-parameter/'` |
2201 fi | 2201 fi |
2202 _stripbinaries=no | 2202 _install_strip= |
2203 elif test -z "$CFLAGS" ; then | 2203 elif test -z "$CFLAGS" ; then |
2204 if test "$cc_vendor" = "intel" ; then | 2204 if test "$cc_vendor" = "intel" ; then |
2205 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" | 2205 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" |
2206 elif test "$cc_vendor" != "gnu" ; then | 2206 elif test "$cc_vendor" != "gnu" ; then |
2207 CFLAGS="-O2 $_march $_mcpu $_pipe" | 2207 CFLAGS="-O2 $_march $_mcpu $_pipe" |
7446 RANLIB = $_ranlib | 7446 RANLIB = $_ranlib |
7447 LDCONFIG = $_ldconfig | 7447 LDCONFIG = $_ldconfig |
7448 INSTALL = $_install | 7448 INSTALL = $_install |
7449 EXTRA_INC = $_inc_extra | 7449 EXTRA_INC = $_inc_extra |
7450 OPTFLAGS = $CFLAGS \$(EXTRA_INC) | 7450 OPTFLAGS = $CFLAGS \$(EXTRA_INC) |
7451 STRIPBINARIES = $_stripbinaries | 7451 INSTALLSTRIP = $_install_strip |
7452 CHARSET = $_charset | 7452 CHARSET = $_charset |
7453 HELP_FILE = $_mp_help | 7453 HELP_FILE = $_mp_help |
7454 | 7454 |
7455 EXESUF = $_exesuf | 7455 EXESUF = $_exesuf |
7456 | 7456 |