- libqt4.rc: add detection of the 'moc' command in $MOC. - libssl.rc: add detection script for openssl. - default.do.sh: provide a die() function to all .od files. It's just too useful to not have it (I haven't converted everything to it yet). - When building out/x/y.z, match against $S/default.z.od and $S/default.od if they exist. - *.list files (lists of source/object files to include in a binary) can now contain *.o files in addition to *.c, *.cc, etc. - rename compile() to _compile() to avoid polluting the namespace for scripts called from default.do.sh. - When building a .so file in the top level directory, no need to make a symlink of it into the top level directory. - link.od and link-shlib.od forgot to make use of the $xLIBS variable.
18 lines
261 B
Text
18 lines
261 B
Text
. ./redoconf.rc
|
|
rc_include rc/CXX.rc rc/pkg-config.rc
|
|
|
|
prog='
|
|
#include <QVector>
|
|
'
|
|
|
|
rc_pkg_detect LIBQT4 QtGui \
|
|
rc_compile cxx link "$prog"
|
|
|
|
for d in "$MOC" moc-qt4 moc; do
|
|
if type "$d" >/dev/null 2>&1; then
|
|
rc_replaceln MOC "$d"
|
|
break
|
|
fi
|
|
done
|
|
|
|
rc_save
|