This lets us remove the awkward ". ./redoconf.rc" line from zillions of .od scripts, without paying the price of *always* including that whole file every time default.do.sh is used.
11 lines
182 B
Text
11 lines
182 B
Text
rc_include rc/CC.rc rc/pkg-config.rc
|
|
|
|
prog='
|
|
#include <GL/gl.h>
|
|
int x = GL_VERSION_1_1;
|
|
void f() { glPopMatrix(); }
|
|
'
|
|
|
|
rc_pkg_detect LIBGL "gl" \
|
|
rc_compile cc link "$prog"
|
|
rc_save
|