Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
dnl By default, libtool for mingw refuses to link static libs into a dll for | dnl By default, libtool for mingw refuses to link static libs into a dll for | ||||
dnl fear of mixing pic/non-pic objects, and import/export complications. Since | dnl fear of mixing pic/non-pic objects, and import/export complications. Since | ||||
dnl we have those under control, re-enable that functionality. | dnl we have those under control, re-enable that functionality. | ||||
case $host in | case $host in | ||||
*mingw*) | *mingw*) | ||||
lt_cv_deplibs_check_method="pass_all" | lt_cv_deplibs_check_method="pass_all" | ||||
;; | ;; | ||||
esac | esac | ||||
dnl Require C++11 compiler (no GNU extensions) | dnl Require C++14 compiler (no GNU extensions) | ||||
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory], [nodefault]) | AX_CXX_COMPILE_STDCXX([14], [noext], [mandatory], [nodefault]) | ||||
dnl Check if -latomic is required for <std::atomic> | dnl Check if -latomic is required for <std::atomic> | ||||
CHECK_ATOMIC | CHECK_ATOMIC | ||||
dnl Unless the user specified OBJCXX, force it to be the same as CXX. This ensures | dnl Unless the user specified OBJCXX, force it to be the same as CXX. This ensures | ||||
dnl that we get the same -std flags for both. | dnl that we get the same -std flags for both. | ||||
m4_ifdef([AC_PROG_OBJCXX],[ | m4_ifdef([AC_PROG_OBJCXX],[ | ||||
if test "x${OBJCXX+set}" = "x"; then | if test "x${OBJCXX+set}" = "x"; then | ||||
OBJCXX="${CXX}" | OBJCXX="${CXX}" | ||||
▲ Show 20 Lines • Show All 1,216 Lines • Show Last 20 Lines |