Merge pull request #146

c88e2b8 Compile with -O3 by default (Pieter Wuille)
This commit is contained in:
Pieter Wuille 2014-12-09 11:19:49 +01:00
commit 74ad63a9e5
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ AC_PATH_TOOL(AR, ar)
AC_PATH_TOOL(RANLIB, ranlib)
AC_PATH_TOOL(STRIP, strip)
if test -z $CFLAGS; then
CFLAGS="-O3 -g"
fi
AC_PROG_CC_C99
if test x"$ac_cv_prog_cc_c99" == x"no"; then
AC_MSG_ERROR([c99 compiler support required])