… | |
… | |
2223 | fi |
2223 | fi |
2224 | |
2224 | |
2225 | |
2225 | |
2226 | # Define the identity of the package. |
2226 | # Define the identity of the package. |
2227 | PACKAGE=gvpe |
2227 | PACKAGE=gvpe |
2228 | VERSION=2.01 |
2228 | VERSION=2.2 |
2229 | |
2229 | |
2230 | |
2230 | |
2231 | cat >>confdefs.h <<_ACEOF |
2231 | cat >>confdefs.h <<_ACEOF |
2232 | #define PACKAGE "$PACKAGE" |
2232 | #define PACKAGE "$PACKAGE" |
2233 | _ACEOF |
2233 | _ACEOF |
… | |
… | |
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; } |
… | |
… | |
9953 | |
9954 | |
9954 | LIBS="-lrt $LIBS" |
9955 | LIBS="-lrt $LIBS" |
9955 | |
9956 | |
9956 | fi |
9957 | fi |
9957 | |
9958 | |
|
|
9959 | unset ac_cv_func_clock_gettime |
9958 | |
9960 | |
9959 | for ac_func in clock_gettime |
9961 | for ac_func in clock_gettime |
|
|
9962 | do |
|
|
9963 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9964 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9965 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
9966 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
9967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9968 | else |
|
|
9969 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9970 | /* confdefs.h. */ |
|
|
9971 | _ACEOF |
|
|
9972 | cat confdefs.h >>conftest.$ac_ext |
|
|
9973 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9974 | /* end confdefs.h. */ |
|
|
9975 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9976 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9977 | #define $ac_func innocuous_$ac_func |
|
|
9978 | |
|
|
9979 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9980 | which can conflict with char $ac_func (); below. |
|
|
9981 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9982 | <limits.h> exists even on freestanding compilers. */ |
|
|
9983 | |
|
|
9984 | #ifdef __STDC__ |
|
|
9985 | # include <limits.h> |
|
|
9986 | #else |
|
|
9987 | # include <assert.h> |
|
|
9988 | #endif |
|
|
9989 | |
|
|
9990 | #undef $ac_func |
|
|
9991 | |
|
|
9992 | /* Override any GCC internal prototype to avoid an error. |
|
|
9993 | Use char because int might match the return type of a GCC |
|
|
9994 | builtin and then its argument prototype would still apply. */ |
|
|
9995 | #ifdef __cplusplus |
|
|
9996 | extern "C" |
|
|
9997 | #endif |
|
|
9998 | char $ac_func (); |
|
|
9999 | /* The GNU C library defines this for functions which it implements |
|
|
10000 | to always fail with ENOSYS. Some functions are actually named |
|
|
10001 | something starting with __ and the normal name is an alias. */ |
|
|
10002 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
10003 | choke me |
|
|
10004 | #endif |
|
|
10005 | |
|
|
10006 | int |
|
|
10007 | main () |
|
|
10008 | { |
|
|
10009 | return $ac_func (); |
|
|
10010 | ; |
|
|
10011 | return 0; |
|
|
10012 | } |
|
|
10013 | _ACEOF |
|
|
10014 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10015 | if { (ac_try="$ac_link" |
|
|
10016 | case "(($ac_try" in |
|
|
10017 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10018 | *) ac_try_echo=$ac_try;; |
|
|
10019 | esac |
|
|
10020 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10021 | (eval "$ac_link") 2>conftest.er1 |
|
|
10022 | ac_status=$? |
|
|
10023 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10024 | rm -f conftest.er1 |
|
|
10025 | cat conftest.err >&5 |
|
|
10026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10027 | (exit $ac_status); } && { |
|
|
10028 | test -z "$ac_c_werror_flag" || |
|
|
10029 | test ! -s conftest.err |
|
|
10030 | } && test -s conftest$ac_exeext && |
|
|
10031 | $as_test_x conftest$ac_exeext; then |
|
|
10032 | eval "$as_ac_var=yes" |
|
|
10033 | else |
|
|
10034 | echo "$as_me: failed program was:" >&5 |
|
|
10035 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10036 | |
|
|
10037 | eval "$as_ac_var=no" |
|
|
10038 | fi |
|
|
10039 | |
|
|
10040 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10041 | conftest$ac_exeext conftest.$ac_ext |
|
|
10042 | fi |
|
|
10043 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
10044 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
10045 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
10046 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
10047 | cat >>confdefs.h <<_ACEOF |
|
|
10048 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
10049 | _ACEOF |
|
|
10050 | |
|
|
10051 | fi |
|
|
10052 | done |
|
|
10053 | |
|
|
10054 | fi |
|
|
10055 | |
|
|
10056 | fi |
|
|
10057 | |
|
|
10058 | |
|
|
10059 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
10060 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
10061 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
10062 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10063 | else |
|
|
10064 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10065 | /* confdefs.h. */ |
|
|
10066 | _ACEOF |
|
|
10067 | cat confdefs.h >>conftest.$ac_ext |
|
|
10068 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10069 | /* end confdefs.h. */ |
|
|
10070 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
10071 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
10072 | #define nanosleep innocuous_nanosleep |
|
|
10073 | |
|
|
10074 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
10075 | which can conflict with char nanosleep (); below. |
|
|
10076 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
10077 | <limits.h> exists even on freestanding compilers. */ |
|
|
10078 | |
|
|
10079 | #ifdef __STDC__ |
|
|
10080 | # include <limits.h> |
|
|
10081 | #else |
|
|
10082 | # include <assert.h> |
|
|
10083 | #endif |
|
|
10084 | |
|
|
10085 | #undef nanosleep |
|
|
10086 | |
|
|
10087 | /* Override any GCC internal prototype to avoid an error. |
|
|
10088 | Use char because int might match the return type of a GCC |
|
|
10089 | builtin and then its argument prototype would still apply. */ |
|
|
10090 | #ifdef __cplusplus |
|
|
10091 | extern "C" |
|
|
10092 | #endif |
|
|
10093 | char nanosleep (); |
|
|
10094 | /* The GNU C library defines this for functions which it implements |
|
|
10095 | to always fail with ENOSYS. Some functions are actually named |
|
|
10096 | something starting with __ and the normal name is an alias. */ |
|
|
10097 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
10098 | choke me |
|
|
10099 | #endif |
|
|
10100 | |
|
|
10101 | int |
|
|
10102 | main () |
|
|
10103 | { |
|
|
10104 | return nanosleep (); |
|
|
10105 | ; |
|
|
10106 | return 0; |
|
|
10107 | } |
|
|
10108 | _ACEOF |
|
|
10109 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10110 | if { (ac_try="$ac_link" |
|
|
10111 | case "(($ac_try" in |
|
|
10112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10113 | *) ac_try_echo=$ac_try;; |
|
|
10114 | esac |
|
|
10115 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10116 | (eval "$ac_link") 2>conftest.er1 |
|
|
10117 | ac_status=$? |
|
|
10118 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10119 | rm -f conftest.er1 |
|
|
10120 | cat conftest.err >&5 |
|
|
10121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10122 | (exit $ac_status); } && { |
|
|
10123 | test -z "$ac_c_werror_flag" || |
|
|
10124 | test ! -s conftest.err |
|
|
10125 | } && test -s conftest$ac_exeext && |
|
|
10126 | $as_test_x conftest$ac_exeext; then |
|
|
10127 | ac_cv_func_nanosleep=yes |
|
|
10128 | else |
|
|
10129 | echo "$as_me: failed program was:" >&5 |
|
|
10130 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10131 | |
|
|
10132 | ac_cv_func_nanosleep=no |
|
|
10133 | fi |
|
|
10134 | |
|
|
10135 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10136 | conftest$ac_exeext conftest.$ac_ext |
|
|
10137 | fi |
|
|
10138 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
10139 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
10140 | if test $ac_cv_func_nanosleep = yes; then |
|
|
10141 | : |
|
|
10142 | else |
|
|
10143 | |
|
|
10144 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
10145 | |
|
|
10146 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
10147 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
10148 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
10149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10150 | else |
|
|
10151 | ac_check_lib_save_LIBS=$LIBS |
|
|
10152 | LIBS="-lrt $LIBS" |
|
|
10153 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10154 | /* confdefs.h. */ |
|
|
10155 | _ACEOF |
|
|
10156 | cat confdefs.h >>conftest.$ac_ext |
|
|
10157 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10158 | /* end confdefs.h. */ |
|
|
10159 | |
|
|
10160 | /* Override any GCC internal prototype to avoid an error. |
|
|
10161 | Use char because int might match the return type of a GCC |
|
|
10162 | builtin and then its argument prototype would still apply. */ |
|
|
10163 | #ifdef __cplusplus |
|
|
10164 | extern "C" |
|
|
10165 | #endif |
|
|
10166 | char nanosleep (); |
|
|
10167 | int |
|
|
10168 | main () |
|
|
10169 | { |
|
|
10170 | return nanosleep (); |
|
|
10171 | ; |
|
|
10172 | return 0; |
|
|
10173 | } |
|
|
10174 | _ACEOF |
|
|
10175 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10176 | if { (ac_try="$ac_link" |
|
|
10177 | case "(($ac_try" in |
|
|
10178 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10179 | *) ac_try_echo=$ac_try;; |
|
|
10180 | esac |
|
|
10181 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10182 | (eval "$ac_link") 2>conftest.er1 |
|
|
10183 | ac_status=$? |
|
|
10184 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10185 | rm -f conftest.er1 |
|
|
10186 | cat conftest.err >&5 |
|
|
10187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10188 | (exit $ac_status); } && { |
|
|
10189 | test -z "$ac_c_werror_flag" || |
|
|
10190 | test ! -s conftest.err |
|
|
10191 | } && test -s conftest$ac_exeext && |
|
|
10192 | $as_test_x conftest$ac_exeext; then |
|
|
10193 | ac_cv_lib_rt_nanosleep=yes |
|
|
10194 | else |
|
|
10195 | echo "$as_me: failed program was:" >&5 |
|
|
10196 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10197 | |
|
|
10198 | ac_cv_lib_rt_nanosleep=no |
|
|
10199 | fi |
|
|
10200 | |
|
|
10201 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10202 | conftest$ac_exeext conftest.$ac_ext |
|
|
10203 | LIBS=$ac_check_lib_save_LIBS |
|
|
10204 | fi |
|
|
10205 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
10206 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
10207 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
10208 | cat >>confdefs.h <<_ACEOF |
|
|
10209 | #define HAVE_LIBRT 1 |
|
|
10210 | _ACEOF |
|
|
10211 | |
|
|
10212 | LIBS="-lrt $LIBS" |
|
|
10213 | |
|
|
10214 | fi |
|
|
10215 | |
|
|
10216 | unset ac_cv_func_nanosleep |
|
|
10217 | |
|
|
10218 | for ac_func in nanosleep |
9960 | do |
10219 | do |
9961 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10220 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9962 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10221 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9963 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10222 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9964 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10223 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
11228 | |
11487 | |
11229 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
11488 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
11230 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
11489 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
11231 | fi |
11490 | fi |
11232 | |
11491 | |
11233 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
11492 | #if $CXX -v --help 2>&1 | grep -q fexceptions; then |
11234 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
11493 | # CXXFLAGS="$CXXFLAGS -fno-exceptions" |
11235 | fi |
11494 | #fi |
11236 | |
11495 | |
11237 | LIBS="$EXTRA_LIBS $LIBS" |
11496 | LIBS="$EXTRA_LIBS $LIBS" |
11238 | |
11497 | |
11239 | |
11498 | |
11240 | |
11499 | |