Mercurial > mplayer.hg
comparison configure @ 9668:0dd456513950
use CFLAGS when doing tests in configure, patch by Sylvain Petreolle <spetreolle@yahoo.fr>
author | alex |
---|---|
date | Sun, 23 Mar 2003 17:14:28 +0000 |
parents | d82ee11f70f5 |
children | ed72c158215d |
comparison
equal
deleted
inserted
replaced
9667:913f7a86a782 | 9668:0dd456513950 |
---|---|
27 # These macros only return an error code - NO display is done | 27 # These macros only return an error code - NO display is done |
28 cc_check() { | 28 cc_check() { |
29 echo >> "$TMPLOG" | 29 echo >> "$TMPLOG" |
30 cat "$TMPC" >> "$TMPLOG" | 30 cat "$TMPC" >> "$TMPLOG" |
31 echo >> "$TMPLOG" | 31 echo >> "$TMPLOG" |
32 echo "$_cc $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG" | 32 echo "$_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG" |
33 rm -f "$TMPO" | 33 rm -f "$TMPO" |
34 ( $_cc $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 | 34 ( $_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 |
35 TMP="$?" | 35 TMP="$?" |
36 echo >> "$TMPLOG" | 36 echo >> "$TMPLOG" |
37 echo "ldd $TMPO" >> "$TMPLOG" | 37 echo "ldd $TMPO" >> "$TMPLOG" |
38 ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1 | 38 ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1 |
39 echo >> "$TMPLOG" | 39 echo >> "$TMPLOG" |