… | |
… | |
7675 | done |
7675 | done |
7676 | |
7676 | |
7677 | |
7677 | |
7678 | |
7678 | |
7679 | |
7679 | |
|
|
7680 | |
7680 | for ac_header in ext/hash_map clocale |
7681 | for ac_header in tr1/unordered_map ext/hash_map clocale |
7681 | do |
7682 | do |
7682 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7683 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7683 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7684 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7684 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7685 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7685 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7686 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
9552 | |
9553 | |
9553 | |
9554 | |
9554 | |
9555 | |
9555 | |
9556 | |
9556 | |
9557 | |
9557 | for ac_header in sys/epoll.h sys/event.h sys/queue.h |
9558 | |
|
|
9559 | |
|
|
9560 | |
|
|
9561 | |
|
|
9562 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
9558 | do |
9563 | do |
9559 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9564 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9560 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9565 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9561 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9566 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9562 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9567 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
9694 | done |
9699 | done |
9695 | |
9700 | |
9696 | |
9701 | |
9697 | |
9702 | |
9698 | |
9703 | |
9699 | for ac_func in epoll_ctl kqueue |
9704 | |
|
|
9705 | |
|
|
9706 | |
|
|
9707 | |
|
|
9708 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
9700 | do |
9709 | do |
9701 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9710 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9702 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9711 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9703 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9712 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9704 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
9713 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
9873 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
9882 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
9874 | if test $ac_cv_func_clock_gettime = yes; then |
9883 | if test $ac_cv_func_clock_gettime = yes; then |
9875 | : |
9884 | : |
9876 | else |
9885 | else |
9877 | |
9886 | |
|
|
9887 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
9878 | |
9888 | |
9879 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
9889 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
9880 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
9890 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
9881 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
9891 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
9882 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9892 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
9944 | |
9954 | |
9945 | LIBS="-lrt $LIBS" |
9955 | LIBS="-lrt $LIBS" |
9946 | |
9956 | |
9947 | fi |
9957 | fi |
9948 | |
9958 | |
|
|
9959 | unset ac_cv_func_clock_gettime |
9949 | |
9960 | |
9950 | for ac_func in clock_gettime |
9961 | for ac_func in clock_gettime |
9951 | do |
9962 | do |
9952 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9963 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9953 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9964 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
… | |
… | |
10038 | _ACEOF |
10049 | _ACEOF |
10039 | |
10050 | |
10040 | fi |
10051 | fi |
10041 | done |
10052 | done |
10042 | |
10053 | |
|
|
10054 | fi |
|
|
10055 | |
|
|
10056 | fi |
|
|
10057 | |
|
|
10058 | |
|
|
10059 | |
|
|
10060 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
|
|
10061 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
|
|
10062 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
|
|
10063 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10064 | else |
|
|
10065 | ac_check_lib_save_LIBS=$LIBS |
|
|
10066 | LIBS="-lm $LIBS" |
|
|
10067 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10068 | /* confdefs.h. */ |
|
|
10069 | _ACEOF |
|
|
10070 | cat confdefs.h >>conftest.$ac_ext |
|
|
10071 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10072 | /* end confdefs.h. */ |
|
|
10073 | |
|
|
10074 | /* Override any GCC internal prototype to avoid an error. |
|
|
10075 | Use char because int might match the return type of a GCC |
|
|
10076 | builtin and then its argument prototype would still apply. */ |
|
|
10077 | #ifdef __cplusplus |
|
|
10078 | extern "C" |
|
|
10079 | #endif |
|
|
10080 | char ceil (); |
|
|
10081 | int |
|
|
10082 | main () |
|
|
10083 | { |
|
|
10084 | return ceil (); |
|
|
10085 | ; |
|
|
10086 | return 0; |
|
|
10087 | } |
|
|
10088 | _ACEOF |
|
|
10089 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10090 | if { (ac_try="$ac_link" |
|
|
10091 | case "(($ac_try" in |
|
|
10092 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10093 | *) ac_try_echo=$ac_try;; |
|
|
10094 | esac |
|
|
10095 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10096 | (eval "$ac_link") 2>conftest.er1 |
|
|
10097 | ac_status=$? |
|
|
10098 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10099 | rm -f conftest.er1 |
|
|
10100 | cat conftest.err >&5 |
|
|
10101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10102 | (exit $ac_status); } && { |
|
|
10103 | test -z "$ac_c_werror_flag" || |
|
|
10104 | test ! -s conftest.err |
|
|
10105 | } && test -s conftest$ac_exeext && |
|
|
10106 | $as_test_x conftest$ac_exeext; then |
|
|
10107 | ac_cv_lib_m_ceil=yes |
|
|
10108 | else |
|
|
10109 | echo "$as_me: failed program was:" >&5 |
|
|
10110 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10111 | |
|
|
10112 | ac_cv_lib_m_ceil=no |
|
|
10113 | fi |
|
|
10114 | |
|
|
10115 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10116 | conftest$ac_exeext conftest.$ac_ext |
|
|
10117 | LIBS=$ac_check_lib_save_LIBS |
|
|
10118 | fi |
|
|
10119 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
|
|
10120 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
|
|
10121 | if test $ac_cv_lib_m_ceil = yes; then |
|
|
10122 | cat >>confdefs.h <<_ACEOF |
|
|
10123 | #define HAVE_LIBM 1 |
|
|
10124 | _ACEOF |
|
|
10125 | |
|
|
10126 | LIBS="-lm $LIBS" |
10043 | |
10127 | |
10044 | fi |
10128 | fi |
10045 | |
10129 | |
10046 | |
10130 | |
10047 | |
10131 | |
… | |
… | |
11149 | fi |
11233 | fi |
11150 | |
11234 | |
11151 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
11235 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
11152 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
11236 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
11153 | fi |
11237 | fi |
|
|
11238 | |
|
|
11239 | LIBS="$EXTRA_LIBS $LIBS" |
11154 | |
11240 | |
11155 | |
11241 | |
11156 | |
11242 | |
11157 | |
11243 | |
11158 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" |
11244 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile doc/Makefile lib/Makefile m4/Makefile" |