changeset 15956:6e35f80386e8

Print CFLAGS warning last so nobody can miss it.
author reimar
date Sun, 10 Jul 2005 17:01:49 +0000
parents 2d2f60c3f2bc
children bb6729801e1c
files configure
diffstat 1 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jul 10 16:31:38 2005 +0000
+++ b/configure	Sun Jul 10 17:01:49 2005 +0000
@@ -6655,16 +6655,7 @@
     _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 @@
 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"