577 |
# Break up conftest.defines because some shells have a limit on the size |
# Break up conftest.defines because some shells have a limit on the size |
578 |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
579 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
580 |
echo ' if egrep ["^[ ]*#[ ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep ["^[ ]*#[ ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
581 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
582 |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
583 |
rm -f conftest.tail |
rm -f conftest.tail |
601 |
mv conftest.tail conftest.defines |
mv conftest.tail conftest.defines |
602 |
done |
done |
603 |
rm -f conftest.defines |
rm -f conftest.defines |
604 |
echo ' fi # egrep' >>$CONFIG_STATUS |
echo ' fi # grep' >>$CONFIG_STATUS |
605 |
echo >>$CONFIG_STATUS |
echo >>$CONFIG_STATUS |
606 |
|
|
607 |
# Break up conftest.undefs because some shells have a limit on the size |
# Break up conftest.undefs because some shells have a limit on the size |