dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
432 stars 79 forks source link

autoconf: Unknown renderer yes #80

Closed etam closed 11 years ago

etam commented 11 years ago

When I run configure --with-renderers "bbulk,gltex,cairo,pixman" I get configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: bbulk,gltex,cairo,pixman configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: unifont,freetype2,pango [standard autoconf stuff] checking which render backends the user wants... configure: error: Unknown renderer yes

In configure.ac video backends, renderers, fonts and sessions options are handled with AC_ARG_WITH. According to documentation (https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/External-Software.html#External-Software) AC_ARG_WITH creates "--with-package" and "--without-package" options that takes no arguments.

You should use AC_ARG_ENABLE instead (https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Package-Options.html#Package-Options)

etam commented 11 years ago

I am wrong: AC_ARG_WITH accepts arguments just like AC_ARG_ENABLE does. I'm still investigating why I get this strange error.

dvdhrm commented 11 years ago

You need to use an equal sign = as the arguments arre optional.

etam commented 11 years ago

That worked. Thanks! (stupid me not reading README)