error: config.h not included in source file !

Ryan Schmidt <[email protected]> Wed, 15 Dec 2021 22:30:42 -0600
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
http://xine.sourceforge.net says the place to report bugs is http://bugs.xine-project.org but it is offline so I cannot report this problem there.


xine-lib 1.2.11 does not build for me on macOS 10.15.7. The error is:


In file included from XineOpenGLView.m:33:
In file included from ../../../include/xine/xineutils.h:38:
../../../include/xine/attributes.h:31:4: error: config.h not included in source file !
#  error config.h not included in source file !
   ^
XineOpenGLView.m:35:40: error: expected ';' after top level declarator
NSString *XineViewDidResizeNotification EXPORTED = @"XineViewDidResizeNotification";
                                       ^
                                       ;


Why was the code changed from including the configuration file to issuing an error if the configuration file has not been included?

https://sourceforge.net/p/xine/xine-lib-1.2/ci/10606a9eead360fc11276a27a32d5658acb1ada8/

If I revert this, it builds fine.