Mercurial > mplayer.hg
comparison configure @ 23817:ca84259411d3
Use --static flag for pkg-config if --enable-static was used.
author | reimar |
---|---|
date | Fri, 20 Jul 2007 21:57:59 +0000 |
parents | f1a98937d141 |
children | 5d6dbc80b8b7 |
comparison
equal
deleted
inserted
replaced
23816:f1a98937d141 | 23817:ca84259411d3 |
---|---|
3541 | 3541 |
3542 | 3542 |
3543 echocheck "pkg-config" | 3543 echocheck "pkg-config" |
3544 _pkg_config=pkg-config | 3544 _pkg_config=pkg-config |
3545 if `$_pkg_config --version > /dev/null 2>&1`; then | 3545 if `$_pkg_config --version > /dev/null 2>&1`; then |
3546 if test "$_ld_static"; then | |
3547 _pkg_config="$_pkg_config --static" | |
3548 fi | |
3546 echores "yes" | 3549 echores "yes" |
3547 else | 3550 else |
3548 _pkg_config=false | 3551 _pkg_config=false |
3549 echores "no" | 3552 echores "no" |
3550 fi | 3553 fi |