Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fivepiece committed Jun 20, 2017
1 parent 3d49144 commit 26f2755
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions bc/fix-libmath_h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ed libmath.h <<EOS-EOS
1,1s/^/{"/
1,\$s/\$/",/
2,\$s/^/"/
\$,\$d
\$,\$s/,\$/,0}/
w
q
EOS-EOS
#! /bin/bash
sed -e '1 s/^/{"/' \
-e 's/$/",/' \
-e '2,$ s/^/"/' \
-e '$ d' \
-i libmath.h

sed -e '$ s/$/0}/' \
-i libmath.h
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -5288,7 +5288,7 @@ case $bcle-$bcrl-$LEX in
?-?-flex)
LEX="flex -I -8" ;;
?-y-*)
as_fn_error $? "readline works only with flex." "$LINENO" 5 ;;
: ;; # as_fn_error $? "readline works only with flex." "$LINENO" 5 ;;
esac

case $LEX-`uname -s` in
Expand Down

0 comments on commit 26f2755

Please sign in to comment.