-
-# Now recalculate libsrc_libs based on the new decisions made above,
-# and substitute it into lib-src/Makefile.
-# This is necessary in case the m/ or s/ file contains conditionals
-# that test macros defined by config.h.
-
-[
-echo '
-#include "'${srcdir}'/src/'${opsysfile}'"
-#include "'${srcdir}'/src/'${machfile}'"
-#ifndef LIBS_MACHINE
-#define LIBS_MACHINE
-#endif
-#ifndef LIBS_SYSTEM
-#define LIBS_SYSTEM
-#endif
-configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
-' > ${tempcname}
-${CPP} -Isrc ${tempcname} \
- | grep 'configure___' \
- | sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/' > foofoo1
-eval `cat foofoo1`
-rm ${tempcname}
-
-cat lib-src/Makefile | sed -e "s/@libsrc_libs@/$libsrc_libs/" > lib-src/Makefoo
-mv lib-src/Makefoo lib-src/Makefile
-]