derle.sh 373 B

123456789101112131415161718192021
  1. cat > bc/fix-libmath_h << "EOF"
  2. #! /bin/bash
  3. sed -e '1 s/^/{"/' \
  4. -e 's/$/",/' \
  5. -e '2,$ s/^/"/' \
  6. -e '$ d' \
  7. -i libmath.h
  8. sed -e '$ s/$/0}/' \
  9. -i libmath.h
  10. EOF
  11. sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure
  12. ./configure --prefix=/usr --bindir=/usr/bin \
  13. --with-readline \
  14. --mandir=/usr/share/man \
  15. --infodir=/usr/share/info
  16. make