[mythtv] configure: changeset 7324 breaks gentoo ebuilds

Glen Dragon gad at jetcom.org
Mon Oct 10 23:12:05 UTC 2005


Due to this diff from configure changeset 7324
+  *)
+  echo "Unknown option \"$opt\"."
+  echo "See $0 --help for available options."
+  exit 1
+  ;;

gentoo ebuilds are broken.  The problem is that the econf function in 
the ebuild will pass unknown options to configure, and it will bomb out.

While it is possible to manually write an custom configure line in the 
ebuild, I'm not convinced this is the correct solution. While I'm not 
completely familiar with sytle guidelines regarding configure scripts, 
most of the options that econf is tring to pass to configure are 
reasonable things that could[should] be utilized on other configure 
scripts.  At the very least here they can be ignored. There are also a 
couple of settings that have a disable option, but apparently don't like 
the corresponding enable option.

I'd be happy to open a ticket and/or submit a patch if it is desired.  
Please let me know what is the right thing to do.

My output of the econf / configure line follows, along with the options 
that it does not like.

./configure --prefix=/usr --host=x86_64-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 
--build=x86_64-pc-linux-gnu --enable-mmx --compile-type=release 
--disable-distcc --disable-distcc --disable-altivec --enable-audio-oss 
--enable-audio-alsa --disable-audio-arts --disable-audio-jack 
--enable-lirc --enable-joystick-menu --disable-xvmc-vld --enable-dvb 
--enable-dvb-eit --dvb-path=/usr/include --enable-opengl-vsync 
--enable-xvmc --enable-xv --disable-directfb  --enable-x11 --enable-proc-opt
Unknown option "--host=x86_64-pc-linux-gnu".
Unknown option "--infodir=/usr/share/info".
Unknown option "--datadir=/usr/share".
Unknown option "--sysconfdir=/etc".
Unknown option "--localstatedir=/var/lib".
Unknown option "--build=x86_64-pc-linux-gnu".
Unknown option "--enable-audio-oss".
Unknown option "--enable-audio-alsa".









More information about the mythtv-dev mailing list