[MPlayer-dev-eng] [PATCH] Adds CFLAGS warning to ./configure --help

John Brown johnbrown105 at hotmail.com
Sat Aug 11 21:00:57 CEST 2007


This patch adds the instructions for setting CFLAGS (and the
warning not to do it) to the output of configure --help. I
generated it with the following commands:

cp configure configure2
/* edit configure2 */
diff -Naur configure configure2

I hope that that was the correct procedure.

I do not know if you require the patch as an attachment. It is
inline because I am posting via Gmane (I am most certainly not
an MPlayer developer and don't wish to join the list just for
this) and this form does not let me send attachments.
===================================
--- configure   Fri Aug 10 06:36:02 2007
+++ configure2  Sat Aug 11 13:28:00 2007
@@ -458,6 +458,13 @@
 It will try to autodetect all configuration options. If you --enable an option
 it will be forcefully turned on, skipping autodetection. This can break
 compilation, so you need to know what you are doing.
+
+MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS 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
 exit 0
 } #show_help()





More information about the MPlayer-dev-eng mailing list