Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/configure.ac
Show All 17 Lines | |||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||||
PKG_PROG_PKG_CONFIG | PKG_PROG_PKG_CONFIG | ||||
AC_PATH_TOOL(AR, ar) | AC_PATH_TOOL(AR, ar) | ||||
AC_PATH_TOOL(RANLIB, ranlib) | AC_PATH_TOOL(RANLIB, ranlib) | ||||
AC_PATH_TOOL(STRIP, strip) | AC_PATH_TOOL(STRIP, strip) | ||||
# Save definition of AC_PROG_CC because AM_PROG_CC_C_O in automake<=1.13 will | |||||
# redefine AC_PROG_CC to exit with an error, which avoids the user calling it | |||||
# accidently and screwing up the effect of AM_PROG_CC_C_O. However, we'll need | |||||
# AC_PROG_CC later on in AX_PROG_CC_FOR_BUILD, where its usage is fine, and | |||||
# we'll carefully make sure not to call AC_PROG_CC anywhere else. | |||||
m4_copy([AC_PROG_CC], [saved_AC_PROG_CC]) | |||||
AM_PROG_CC_C_O | AM_PROG_CC_C_O | ||||
# Restore AC_PROG_CC | |||||
m4_rename_force([saved_AC_PROG_CC], [AC_PROG_CC]) | |||||
AC_PROG_CC_C89 | AC_PROG_CC_C89 | ||||
if test x"$ac_cv_prog_cc_c89" = x"no"; then | if test x"$ac_cv_prog_cc_c89" = x"no"; then | ||||
AC_MSG_ERROR([c89 compiler support required]) | AC_MSG_ERROR([c89 compiler support required]) | ||||
fi | fi | ||||
AM_PROG_AS | AM_PROG_AS | ||||
case $host_os in | case $host_os in | ||||
▲ Show 20 Lines • Show All 607 Lines • Show Last 20 Lines |