Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/configure.ac
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Lines | AC_COMPILE_IFELSE([AC_LANG_SOURCE([[char foo;]])], | ||||
[ AC_MSG_RESULT([no]) | [ AC_MSG_RESULT([no]) | ||||
CFLAGS="$saved_CFLAGS" | CFLAGS="$saved_CFLAGS" | ||||
]) | ]) | ||||
AC_MSG_CHECKING([for working native compiler: ${CC_FOR_BUILD}]) | AC_MSG_CHECKING([for working native compiler: ${CC_FOR_BUILD}]) | ||||
AC_RUN_IFELSE( | AC_RUN_IFELSE( | ||||
[AC_LANG_PROGRAM([], [])], | [AC_LANG_PROGRAM([], [])], | ||||
[working_native_cc=yes], | [working_native_cc=yes], | ||||
[working_native_cc=no],[dnl]) | [working_native_cc=no],[:]) | ||||
CFLAGS_FOR_BUILD="$CFLAGS" | CFLAGS_FOR_BUILD="$CFLAGS" | ||||
# Restore the environment | # Restore the environment | ||||
cross_compiling=$save_cross_compiling | cross_compiling=$save_cross_compiling | ||||
CC="$SAVE_CC" | CC="$SAVE_CC" | ||||
CFLAGS="$SAVE_CFLAGS" | CFLAGS="$SAVE_CFLAGS" | ||||
CPPFLAGS="$SAVE_CPPFLAGS" | CPPFLAGS="$SAVE_CPPFLAGS" | ||||
▲ Show 20 Lines • Show All 386 Lines • Show Last 20 Lines |