[vlc-devel] Configure.ac and optimisations

Jean-Baptiste Kempf jb at videolan.org
Tue Sep 2 07:28:12 CEST 2008


  So far, it is impossible to make this configure detect by himself the
  -O3 flags that it should...

  Well, this is because, if you have 03, you test for enable_debug:

  if test "${ac_cv_c_o3}" != "no" -a "x${enable_debug}" = "xno"; then

  Unfortunately, --enable-debug is tested way AFTER in the configure.ac,
  so of course, the second part of the test is wrong since
  ${enable_debug} is not affected.

  Putting, the testing of enable-debug before, fixes the problem.

Best Regards,

Jean-Baptiste Kempf

More information about the vlc-devel mailing list