summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-10 17:01:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-10 17:01:49 +0000
commitc89f7cd736bfcde36d5397385ed4d0460e008815 (patch)
tree5949314f42795761a3b2a739857f16dc14417308 /configure
parent90889fb90d9b13f691eb8faca0b0a90a43293b75 (diff)
downloadmpv-c89f7cd736bfcde36d5397385ed4d0460e008815.tar.bz2
mpv-c89f7cd736bfcde36d5397385ed4d0460e008815.tar.xz
Print CFLAGS warning last so nobody can miss it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15957 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 14 insertions, 10 deletions
diff --git a/configure b/configure
index 6cb7dce12b..1a08854f4c 100755
--- a/configure
+++ b/configure
@@ -6655,16 +6655,7 @@ elif test -z "$CFLAGS" ; then
_stripbinaries=no
fi
else
- cat <<EOF
-
-MPlayer compilation will use the CFLAGS set by you, but:
-
- *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** ***
-
-It is strongly recommended to let MPlayer choose the correct CFLAGS!
-To do so, execute 'CFLAGS= ./configure <options>'
-
-EOF
+ _warn_CFLAGS=yes
fi
echocheck "automatic gdb attach"
@@ -7837,5 +7828,18 @@ Have a look at the documentation for supported cards!
EOF
fi
+if test "$_warn_CFLAGS" = yes; then
+ cat <<EOF
+
+MPlayer compilation will use the CFLAGS set by you, but:
+
+ *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** ***
+
+It is strongly recommended to let MPlayer choose the correct CFLAGS!
+To do so, execute 'CFLAGS= ./configure <options>'
+
+EOF
+fi
+
# Last move:
rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP"