Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/configure.ac
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | if test x$cross_compiling != xyes; then | ||||
fi | fi | ||||
fi | fi | ||||
fi | fi | ||||
;; | ;; | ||||
esac | esac | ||||
CFLAGS="-W $CFLAGS" | CFLAGS="-W $CFLAGS" | ||||
warn_CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings" | warn_CFLAGS="-std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings" | ||||
saved_CFLAGS="$CFLAGS" | saved_CFLAGS="$CFLAGS" | ||||
CFLAGS="$warn_CFLAGS $CFLAGS" | CFLAGS="$warn_CFLAGS $CFLAGS" | ||||
AC_MSG_CHECKING([if ${CC} supports ${warn_CFLAGS}]) | AC_MSG_CHECKING([if ${CC} supports ${warn_CFLAGS}]) | ||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char foo;]])], | AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char foo;]])], | ||||
[ AC_MSG_RESULT([yes]) ], | [ AC_MSG_RESULT([yes]) ], | ||||
[ AC_MSG_RESULT([no]) | [ AC_MSG_RESULT([no]) | ||||
CFLAGS="$saved_CFLAGS" | CFLAGS="$saved_CFLAGS" | ||||
]) | ]) | ||||
▲ Show 20 Lines • Show All 519 Lines • Show Last 20 Lines |