… | |
… | |
1341 | combinations are: "tincd/bsd" "tincd/solaris" |
1341 | combinations are: "tincd/bsd" "tincd/solaris" |
1342 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1342 | "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; |
1343 | Broken combinations are: "tincd/cygwin"; The default |
1343 | Broken combinations are: "tincd/cygwin"; The default |
1344 | is to autodetect. |
1344 | is to autodetect. |
1345 | --enable-static-daemon enable statically linked daemon. |
1345 | --enable-static-daemon enable statically linked daemon. |
1346 | --enable-rohc enable robust header compression (rfc3095). |
|
|
1347 | --enable-icmp enable icmp protocol support (default disabled). |
1346 | --disable-icmp enable icmp protocol support (default enabled). |
1348 | --enable-tcp enable tcp protocol support (default disabled). |
1347 | --disable-tcp enable tcp protocol support (default enabled). |
1349 | --enable-dns enable dns tunnel protocol support (DOES NOT WORK). |
|
|
1350 | --enable-http-proxy enable http proxy connect support (default |
1348 | --disable-http-proxy enable http proxy connect support (default enabled). |
|
|
1349 | --enable-dns enable dns tunnel protocol support (default |
1351 | disabled). |
1350 | disabled). |
1352 | --enable-hmac-length=BYTES |
1351 | --enable-hmac-length=BYTES |
1353 | use a hmac of length BYTES bytes (default 12). |
1352 | use a hmac of length BYTES bytes (default 12). |
1354 | Allowed values are 4, 8, 12, 16. |
1353 | Allowed values are 4, 8, 12, 16. |
1355 | --enable-rand-length=BYTES |
1354 | --enable-rand-length=BYTES |
1356 | use BYTES bytes of extra randomness (default 8). |
1355 | use BYTES bytes of extra randomness (default 8). |
1357 | Allowed values are 0, 4, 8. |
1356 | Allowed values are 0, 4, 8. |
1358 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1357 | --enable-max-mtu=BYTES enable mtu sizes upto BYTES bytes (default 1500). |
1359 | Use 9100 for jumbogram support. |
1358 | Use 9100 for jumbogram support. |
1360 | --disable-compression Disable compression support. |
1359 | --disable-compression Disable compression support. |
1361 | --enable-cipher Select the symmetric cipher (default "aes-128"). |
1360 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1362 | Must be one of "bf" (blowfish), "aes-128" |
1361 | Must be one of "bf" (blowfish), "aes-128" |
1363 | (rijndael), "aes-192" or "aes-256". |
1362 | (rijndael), "aes-192" or "aes-256". |
1364 | --enable-digest Select the digest algorithm to use (default |
1363 | --enable-digest=CIPHER Select the digest algorithm to use (default |
1365 | "ripemd160"). Must be one of "sha512", "sha256", |
1364 | "ripemd160"). Must be one of "sha512", "sha256", |
1366 | "sha1", "ripemd160", "md5" or "md4" (insecure). |
1365 | "sha1", "ripemd160", "md5" or "md4" (insecure). |
1367 | |
1366 | |
1368 | Optional Packages: |
1367 | Optional Packages: |
1369 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1368 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
… | |
… | |
2223 | fi |
2222 | fi |
2224 | |
2223 | |
2225 | |
2224 | |
2226 | # Define the identity of the package. |
2225 | # Define the identity of the package. |
2227 | PACKAGE=gvpe |
2226 | PACKAGE=gvpe |
2228 | VERSION=2.01 |
2227 | VERSION=2.21 |
2229 | |
2228 | |
2230 | |
2229 | |
2231 | cat >>confdefs.h <<_ACEOF |
2230 | cat >>confdefs.h <<_ACEOF |
2232 | #define PACKAGE "$PACKAGE" |
2231 | #define PACKAGE "$PACKAGE" |
2233 | _ACEOF |
2232 | _ACEOF |
… | |
… | |
5077 | ac_ext=c |
5076 | ac_ext=c |
5078 | ac_cpp='$CPP $CPPFLAGS' |
5077 | ac_cpp='$CPP $CPPFLAGS' |
5079 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5078 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5080 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5079 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5081 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5080 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5082 | if test -n "$ac_tool_prefix"; then |
|
|
5083 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
5084 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
5085 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5086 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5087 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5088 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5089 | else |
|
|
5090 | if test -n "$CC"; then |
|
|
5091 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5092 | else |
|
|
5093 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5094 | for as_dir in $PATH |
|
|
5095 | do |
|
|
5096 | IFS=$as_save_IFS |
|
|
5097 | test -z "$as_dir" && as_dir=. |
|
|
5098 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5099 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5100 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
5101 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5102 | break 2 |
|
|
5103 | fi |
|
|
5104 | done |
|
|
5105 | done |
|
|
5106 | IFS=$as_save_IFS |
|
|
5107 | |
|
|
5108 | fi |
|
|
5109 | fi |
|
|
5110 | CC=$ac_cv_prog_CC |
|
|
5111 | if test -n "$CC"; then |
|
|
5112 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5113 | echo "${ECHO_T}$CC" >&6; } |
|
|
5114 | else |
|
|
5115 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5116 | echo "${ECHO_T}no" >&6; } |
|
|
5117 | fi |
|
|
5118 | |
|
|
5119 | |
|
|
5120 | fi |
|
|
5121 | if test -z "$ac_cv_prog_CC"; then |
|
|
5122 | ac_ct_CC=$CC |
|
|
5123 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
5124 | set dummy gcc; ac_word=$2 |
|
|
5125 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5126 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5127 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
5128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5129 | else |
|
|
5130 | if test -n "$ac_ct_CC"; then |
|
|
5131 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
5132 | else |
|
|
5133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5134 | for as_dir in $PATH |
|
|
5135 | do |
|
|
5136 | IFS=$as_save_IFS |
|
|
5137 | test -z "$as_dir" && as_dir=. |
|
|
5138 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5139 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5140 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
5141 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5142 | break 2 |
|
|
5143 | fi |
|
|
5144 | done |
|
|
5145 | done |
|
|
5146 | IFS=$as_save_IFS |
|
|
5147 | |
|
|
5148 | fi |
|
|
5149 | fi |
|
|
5150 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
5151 | if test -n "$ac_ct_CC"; then |
|
|
5152 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
5153 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|
|
5154 | else |
|
|
5155 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5156 | echo "${ECHO_T}no" >&6; } |
|
|
5157 | fi |
|
|
5158 | |
|
|
5159 | if test "x$ac_ct_CC" = x; then |
|
|
5160 | CC="" |
|
|
5161 | else |
|
|
5162 | case $cross_compiling:$ac_tool_warned in |
|
|
5163 | yes:) |
|
|
5164 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5165 | whose name does not start with the host triplet. If you think this |
|
|
5166 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5167 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5168 | whose name does not start with the host triplet. If you think this |
|
|
5169 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5170 | ac_tool_warned=yes ;; |
|
|
5171 | esac |
|
|
5172 | CC=$ac_ct_CC |
|
|
5173 | fi |
|
|
5174 | else |
|
|
5175 | CC="$ac_cv_prog_CC" |
|
|
5176 | fi |
|
|
5177 | |
|
|
5178 | if test -z "$CC"; then |
|
|
5179 | if test -n "$ac_tool_prefix"; then |
|
|
5180 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
5181 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
5182 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5183 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5184 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5186 | else |
|
|
5187 | if test -n "$CC"; then |
|
|
5188 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5189 | else |
|
|
5190 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5191 | for as_dir in $PATH |
|
|
5192 | do |
|
|
5193 | IFS=$as_save_IFS |
|
|
5194 | test -z "$as_dir" && as_dir=. |
|
|
5195 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5196 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5197 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
5198 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5199 | break 2 |
|
|
5200 | fi |
|
|
5201 | done |
|
|
5202 | done |
|
|
5203 | IFS=$as_save_IFS |
|
|
5204 | |
|
|
5205 | fi |
|
|
5206 | fi |
|
|
5207 | CC=$ac_cv_prog_CC |
|
|
5208 | if test -n "$CC"; then |
|
|
5209 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5210 | echo "${ECHO_T}$CC" >&6; } |
|
|
5211 | else |
|
|
5212 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5213 | echo "${ECHO_T}no" >&6; } |
|
|
5214 | fi |
|
|
5215 | |
|
|
5216 | |
|
|
5217 | fi |
|
|
5218 | fi |
|
|
5219 | if test -z "$CC"; then |
|
|
5220 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
5221 | set dummy cc; ac_word=$2 |
|
|
5222 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5223 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5224 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5225 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5226 | else |
|
|
5227 | if test -n "$CC"; then |
|
|
5228 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5229 | else |
|
|
5230 | ac_prog_rejected=no |
|
|
5231 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5232 | for as_dir in $PATH |
|
|
5233 | do |
|
|
5234 | IFS=$as_save_IFS |
|
|
5235 | test -z "$as_dir" && as_dir=. |
|
|
5236 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5237 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5238 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
5239 | ac_prog_rejected=yes |
|
|
5240 | continue |
|
|
5241 | fi |
|
|
5242 | ac_cv_prog_CC="cc" |
|
|
5243 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5244 | break 2 |
|
|
5245 | fi |
|
|
5246 | done |
|
|
5247 | done |
|
|
5248 | IFS=$as_save_IFS |
|
|
5249 | |
|
|
5250 | if test $ac_prog_rejected = yes; then |
|
|
5251 | # We found a bogon in the path, so make sure we never use it. |
|
|
5252 | set dummy $ac_cv_prog_CC |
|
|
5253 | shift |
|
|
5254 | if test $# != 0; then |
|
|
5255 | # We chose a different compiler from the bogus one. |
|
|
5256 | # However, it has the same basename, so the bogon will be chosen |
|
|
5257 | # first if we set CC to just the basename; use the full file name. |
|
|
5258 | shift |
|
|
5259 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
5260 | fi |
|
|
5261 | fi |
|
|
5262 | fi |
|
|
5263 | fi |
|
|
5264 | CC=$ac_cv_prog_CC |
|
|
5265 | if test -n "$CC"; then |
|
|
5266 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5267 | echo "${ECHO_T}$CC" >&6; } |
|
|
5268 | else |
|
|
5269 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5270 | echo "${ECHO_T}no" >&6; } |
|
|
5271 | fi |
|
|
5272 | |
|
|
5273 | |
|
|
5274 | fi |
|
|
5275 | if test -z "$CC"; then |
|
|
5276 | if test -n "$ac_tool_prefix"; then |
|
|
5277 | for ac_prog in cl.exe |
|
|
5278 | do |
|
|
5279 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
5280 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
5281 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5282 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5283 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5284 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5285 | else |
|
|
5286 | if test -n "$CC"; then |
|
|
5287 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5288 | else |
|
|
5289 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5290 | for as_dir in $PATH |
|
|
5291 | do |
|
|
5292 | IFS=$as_save_IFS |
|
|
5293 | test -z "$as_dir" && as_dir=. |
|
|
5294 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5295 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5296 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
5297 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5298 | break 2 |
|
|
5299 | fi |
|
|
5300 | done |
|
|
5301 | done |
|
|
5302 | IFS=$as_save_IFS |
|
|
5303 | |
|
|
5304 | fi |
|
|
5305 | fi |
|
|
5306 | CC=$ac_cv_prog_CC |
|
|
5307 | if test -n "$CC"; then |
|
|
5308 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5309 | echo "${ECHO_T}$CC" >&6; } |
|
|
5310 | else |
|
|
5311 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5312 | echo "${ECHO_T}no" >&6; } |
|
|
5313 | fi |
|
|
5314 | |
|
|
5315 | |
|
|
5316 | test -n "$CC" && break |
|
|
5317 | done |
|
|
5318 | fi |
|
|
5319 | if test -z "$CC"; then |
|
|
5320 | ac_ct_CC=$CC |
|
|
5321 | for ac_prog in cl.exe |
|
|
5322 | do |
|
|
5323 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
5324 | set dummy $ac_prog; ac_word=$2 |
|
|
5325 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5326 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5327 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
5328 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5329 | else |
|
|
5330 | if test -n "$ac_ct_CC"; then |
|
|
5331 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
5332 | else |
|
|
5333 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5334 | for as_dir in $PATH |
|
|
5335 | do |
|
|
5336 | IFS=$as_save_IFS |
|
|
5337 | test -z "$as_dir" && as_dir=. |
|
|
5338 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5339 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5340 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
5341 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5342 | break 2 |
|
|
5343 | fi |
|
|
5344 | done |
|
|
5345 | done |
|
|
5346 | IFS=$as_save_IFS |
|
|
5347 | |
|
|
5348 | fi |
|
|
5349 | fi |
|
|
5350 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
5351 | if test -n "$ac_ct_CC"; then |
|
|
5352 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
5353 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|
|
5354 | else |
|
|
5355 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5356 | echo "${ECHO_T}no" >&6; } |
|
|
5357 | fi |
|
|
5358 | |
|
|
5359 | |
|
|
5360 | test -n "$ac_ct_CC" && break |
|
|
5361 | done |
|
|
5362 | |
|
|
5363 | if test "x$ac_ct_CC" = x; then |
|
|
5364 | CC="" |
|
|
5365 | else |
|
|
5366 | case $cross_compiling:$ac_tool_warned in |
|
|
5367 | yes:) |
|
|
5368 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5369 | whose name does not start with the host triplet. If you think this |
|
|
5370 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5371 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5372 | whose name does not start with the host triplet. If you think this |
|
|
5373 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5374 | ac_tool_warned=yes ;; |
|
|
5375 | esac |
|
|
5376 | CC=$ac_ct_CC |
|
|
5377 | fi |
|
|
5378 | fi |
|
|
5379 | |
|
|
5380 | fi |
|
|
5381 | |
|
|
5382 | |
|
|
5383 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
|
5384 | See \`config.log' for more details." >&5 |
|
|
5385 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
|
5386 | See \`config.log' for more details." >&2;} |
|
|
5387 | { (exit 1); exit 1; }; } |
|
|
5388 | |
|
|
5389 | # Provide some information about the compiler. |
|
|
5390 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
|
|
5391 | ac_compiler=`set X $ac_compile; echo $2` |
|
|
5392 | { (ac_try="$ac_compiler --version >&5" |
|
|
5393 | case "(($ac_try" in |
|
|
5394 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5395 | *) ac_try_echo=$ac_try;; |
|
|
5396 | esac |
|
|
5397 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5398 | (eval "$ac_compiler --version >&5") 2>&5 |
|
|
5399 | ac_status=$? |
|
|
5400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5401 | (exit $ac_status); } |
|
|
5402 | { (ac_try="$ac_compiler -v >&5" |
|
|
5403 | case "(($ac_try" in |
|
|
5404 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5405 | *) ac_try_echo=$ac_try;; |
|
|
5406 | esac |
|
|
5407 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5408 | (eval "$ac_compiler -v >&5") 2>&5 |
|
|
5409 | ac_status=$? |
|
|
5410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5411 | (exit $ac_status); } |
|
|
5412 | { (ac_try="$ac_compiler -V >&5" |
|
|
5413 | case "(($ac_try" in |
|
|
5414 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5415 | *) ac_try_echo=$ac_try;; |
|
|
5416 | esac |
|
|
5417 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5418 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
5419 | ac_status=$? |
|
|
5420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5421 | (exit $ac_status); } |
|
|
5422 | |
|
|
5423 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|
|
5424 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
|
|
5425 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
|
5426 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5427 | else |
|
|
5428 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5429 | /* confdefs.h. */ |
|
|
5430 | _ACEOF |
|
|
5431 | cat confdefs.h >>conftest.$ac_ext |
|
|
5432 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5433 | /* end confdefs.h. */ |
|
|
5434 | |
|
|
5435 | int |
|
|
5436 | main () |
|
|
5437 | { |
|
|
5438 | #ifndef __GNUC__ |
|
|
5439 | choke me |
|
|
5440 | #endif |
|
|
5441 | |
|
|
5442 | ; |
|
|
5443 | return 0; |
|
|
5444 | } |
|
|
5445 | _ACEOF |
|
|
5446 | rm -f conftest.$ac_objext |
|
|
5447 | if { (ac_try="$ac_compile" |
|
|
5448 | case "(($ac_try" in |
|
|
5449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5450 | *) ac_try_echo=$ac_try;; |
|
|
5451 | esac |
|
|
5452 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5453 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5454 | ac_status=$? |
|
|
5455 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5456 | rm -f conftest.er1 |
|
|
5457 | cat conftest.err >&5 |
|
|
5458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5459 | (exit $ac_status); } && { |
|
|
5460 | test -z "$ac_c_werror_flag" || |
|
|
5461 | test ! -s conftest.err |
|
|
5462 | } && test -s conftest.$ac_objext; then |
|
|
5463 | ac_compiler_gnu=yes |
|
|
5464 | else |
|
|
5465 | echo "$as_me: failed program was:" >&5 |
|
|
5466 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5467 | |
|
|
5468 | ac_compiler_gnu=no |
|
|
5469 | fi |
|
|
5470 | |
|
|
5471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5472 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
5473 | |
|
|
5474 | fi |
|
|
5475 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
5476 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
|
|
5477 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
|
|
5478 | ac_test_CFLAGS=${CFLAGS+set} |
|
|
5479 | ac_save_CFLAGS=$CFLAGS |
|
|
5480 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|
|
5481 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
|
|
5482 | if test "${ac_cv_prog_cc_g+set}" = set; then |
|
|
5483 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5484 | else |
|
|
5485 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
5486 | ac_c_werror_flag=yes |
|
|
5487 | ac_cv_prog_cc_g=no |
|
|
5488 | CFLAGS="-g" |
|
|
5489 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5490 | /* confdefs.h. */ |
|
|
5491 | _ACEOF |
|
|
5492 | cat confdefs.h >>conftest.$ac_ext |
|
|
5493 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5494 | /* end confdefs.h. */ |
|
|
5495 | |
|
|
5496 | int |
|
|
5497 | main () |
|
|
5498 | { |
|
|
5499 | |
|
|
5500 | ; |
|
|
5501 | return 0; |
|
|
5502 | } |
|
|
5503 | _ACEOF |
|
|
5504 | rm -f conftest.$ac_objext |
|
|
5505 | if { (ac_try="$ac_compile" |
|
|
5506 | case "(($ac_try" in |
|
|
5507 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5508 | *) ac_try_echo=$ac_try;; |
|
|
5509 | esac |
|
|
5510 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5511 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5512 | ac_status=$? |
|
|
5513 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5514 | rm -f conftest.er1 |
|
|
5515 | cat conftest.err >&5 |
|
|
5516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5517 | (exit $ac_status); } && { |
|
|
5518 | test -z "$ac_c_werror_flag" || |
|
|
5519 | test ! -s conftest.err |
|
|
5520 | } && test -s conftest.$ac_objext; then |
|
|
5521 | ac_cv_prog_cc_g=yes |
|
|
5522 | else |
|
|
5523 | echo "$as_me: failed program was:" >&5 |
|
|
5524 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5525 | |
|
|
5526 | CFLAGS="" |
|
|
5527 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5528 | /* confdefs.h. */ |
|
|
5529 | _ACEOF |
|
|
5530 | cat confdefs.h >>conftest.$ac_ext |
|
|
5531 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5532 | /* end confdefs.h. */ |
|
|
5533 | |
|
|
5534 | int |
|
|
5535 | main () |
|
|
5536 | { |
|
|
5537 | |
|
|
5538 | ; |
|
|
5539 | return 0; |
|
|
5540 | } |
|
|
5541 | _ACEOF |
|
|
5542 | rm -f conftest.$ac_objext |
|
|
5543 | if { (ac_try="$ac_compile" |
|
|
5544 | case "(($ac_try" in |
|
|
5545 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5546 | *) ac_try_echo=$ac_try;; |
|
|
5547 | esac |
|
|
5548 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5549 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5550 | ac_status=$? |
|
|
5551 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5552 | rm -f conftest.er1 |
|
|
5553 | cat conftest.err >&5 |
|
|
5554 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5555 | (exit $ac_status); } && { |
|
|
5556 | test -z "$ac_c_werror_flag" || |
|
|
5557 | test ! -s conftest.err |
|
|
5558 | } && test -s conftest.$ac_objext; then |
|
|
5559 | : |
|
|
5560 | else |
|
|
5561 | echo "$as_me: failed program was:" >&5 |
|
|
5562 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5563 | |
|
|
5564 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
5565 | CFLAGS="-g" |
|
|
5566 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5567 | /* confdefs.h. */ |
|
|
5568 | _ACEOF |
|
|
5569 | cat confdefs.h >>conftest.$ac_ext |
|
|
5570 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5571 | /* end confdefs.h. */ |
|
|
5572 | |
|
|
5573 | int |
|
|
5574 | main () |
|
|
5575 | { |
|
|
5576 | |
|
|
5577 | ; |
|
|
5578 | return 0; |
|
|
5579 | } |
|
|
5580 | _ACEOF |
|
|
5581 | rm -f conftest.$ac_objext |
|
|
5582 | if { (ac_try="$ac_compile" |
|
|
5583 | case "(($ac_try" in |
|
|
5584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5585 | *) ac_try_echo=$ac_try;; |
|
|
5586 | esac |
|
|
5587 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5588 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5589 | ac_status=$? |
|
|
5590 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5591 | rm -f conftest.er1 |
|
|
5592 | cat conftest.err >&5 |
|
|
5593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5594 | (exit $ac_status); } && { |
|
|
5595 | test -z "$ac_c_werror_flag" || |
|
|
5596 | test ! -s conftest.err |
|
|
5597 | } && test -s conftest.$ac_objext; then |
|
|
5598 | ac_cv_prog_cc_g=yes |
|
|
5599 | else |
|
|
5600 | echo "$as_me: failed program was:" >&5 |
|
|
5601 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5602 | |
|
|
5603 | |
|
|
5604 | fi |
|
|
5605 | |
|
|
5606 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5607 | fi |
|
|
5608 | |
|
|
5609 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5610 | fi |
|
|
5611 | |
|
|
5612 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5613 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
5614 | fi |
|
|
5615 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
|
5616 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
|
|
5617 | if test "$ac_test_CFLAGS" = set; then |
|
|
5618 | CFLAGS=$ac_save_CFLAGS |
|
|
5619 | elif test $ac_cv_prog_cc_g = yes; then |
|
|
5620 | if test "$GCC" = yes; then |
|
|
5621 | CFLAGS="-g -O2" |
|
|
5622 | else |
|
|
5623 | CFLAGS="-g" |
|
|
5624 | fi |
|
|
5625 | else |
|
|
5626 | if test "$GCC" = yes; then |
|
|
5627 | CFLAGS="-O2" |
|
|
5628 | else |
|
|
5629 | CFLAGS= |
|
|
5630 | fi |
|
|
5631 | fi |
|
|
5632 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
|
|
5633 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
|
|
5634 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
|
|
5635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5636 | else |
|
|
5637 | ac_cv_prog_cc_c89=no |
|
|
5638 | ac_save_CC=$CC |
|
|
5639 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5640 | /* confdefs.h. */ |
|
|
5641 | _ACEOF |
|
|
5642 | cat confdefs.h >>conftest.$ac_ext |
|
|
5643 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5644 | /* end confdefs.h. */ |
|
|
5645 | #include <stdarg.h> |
|
|
5646 | #include <stdio.h> |
|
|
5647 | #include <sys/types.h> |
|
|
5648 | #include <sys/stat.h> |
|
|
5649 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
5650 | struct buf { int x; }; |
|
|
5651 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
5652 | static char *e (p, i) |
|
|
5653 | char **p; |
|
|
5654 | int i; |
|
|
5655 | { |
|
|
5656 | return p[i]; |
|
|
5657 | } |
|
|
5658 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
5659 | { |
|
|
5660 | char *s; |
|
|
5661 | va_list v; |
|
|
5662 | va_start (v,p); |
|
|
5663 | s = g (p, va_arg (v,int)); |
|
|
5664 | va_end (v); |
|
|
5665 | return s; |
|
|
5666 | } |
|
|
5667 | |
|
|
5668 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
5669 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
5670 | These don't provoke an error unfortunately, instead are silently treated |
|
|
5671 | as 'x'. The following induces an error, until -std is added to get |
|
|
5672 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
5673 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
5674 | that's true only with -std. */ |
|
|
5675 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
5676 | |
|
|
5677 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
5678 | inside strings and character constants. */ |
|
|
5679 | #define FOO(x) 'x' |
|
|
5680 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
5681 | |
|
|
5682 | int test (int i, double x); |
|
|
5683 | struct s1 {int (*f) (int a);}; |
|
|
5684 | struct s2 {int (*f) (double a);}; |
|
|
5685 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
5686 | int argc; |
|
|
5687 | char **argv; |
|
|
5688 | int |
|
|
5689 | main () |
|
|
5690 | { |
|
|
5691 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
5692 | ; |
|
|
5693 | return 0; |
|
|
5694 | } |
|
|
5695 | _ACEOF |
|
|
5696 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
5697 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
5698 | do |
|
|
5699 | CC="$ac_save_CC $ac_arg" |
|
|
5700 | rm -f conftest.$ac_objext |
|
|
5701 | if { (ac_try="$ac_compile" |
|
|
5702 | case "(($ac_try" in |
|
|
5703 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5704 | *) ac_try_echo=$ac_try;; |
|
|
5705 | esac |
|
|
5706 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5707 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5708 | ac_status=$? |
|
|
5709 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5710 | rm -f conftest.er1 |
|
|
5711 | cat conftest.err >&5 |
|
|
5712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5713 | (exit $ac_status); } && { |
|
|
5714 | test -z "$ac_c_werror_flag" || |
|
|
5715 | test ! -s conftest.err |
|
|
5716 | } && test -s conftest.$ac_objext; then |
|
|
5717 | ac_cv_prog_cc_c89=$ac_arg |
|
|
5718 | else |
|
|
5719 | echo "$as_me: failed program was:" >&5 |
|
|
5720 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5721 | |
|
|
5722 | |
|
|
5723 | fi |
|
|
5724 | |
|
|
5725 | rm -f core conftest.err conftest.$ac_objext |
|
|
5726 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
5727 | done |
|
|
5728 | rm -f conftest.$ac_ext |
|
|
5729 | CC=$ac_save_CC |
|
|
5730 | |
|
|
5731 | fi |
|
|
5732 | # AC_CACHE_VAL |
|
|
5733 | case "x$ac_cv_prog_cc_c89" in |
|
|
5734 | x) |
|
|
5735 | { echo "$as_me:$LINENO: result: none needed" >&5 |
|
|
5736 | echo "${ECHO_T}none needed" >&6; } ;; |
|
|
5737 | xno) |
|
|
5738 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
|
|
5739 | echo "${ECHO_T}unsupported" >&6; } ;; |
|
|
5740 | *) |
|
|
5741 | CC="$CC $ac_cv_prog_cc_c89" |
|
|
5742 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
|
|
5743 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
5744 | esac |
|
|
5745 | |
|
|
5746 | |
|
|
5747 | ac_ext=c |
|
|
5748 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5749 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5750 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5751 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5752 | |
|
|
5753 | depcc="$CC" am_compiler_list= |
|
|
5754 | |
|
|
5755 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
|
5756 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
|
|
5757 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
|
5758 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5759 | else |
|
|
5760 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
|
5761 | # We make a subdir and do the tests there. Otherwise we can end up |
|
|
5762 | # making bogus files that we don't know about and never remove. For |
|
|
5763 | # instance it was reported that on HP-UX the gcc test will end up |
|
|
5764 | # making a dummy file named `D' -- because `-MD' means `put the output |
|
|
5765 | # in D'. |
|
|
5766 | mkdir conftest.dir |
|
|
5767 | # Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
5768 | # using a relative directory. |
|
|
5769 | cp "$am_depcomp" conftest.dir |
|
|
5770 | cd conftest.dir |
|
|
5771 | # We will build objects and dependencies in a subdirectory because |
|
|
5772 | # it helps to detect inapplicable dependency modes. For instance |
|
|
5773 | # both Tru64's cc and ICC support -MD to output dependencies as a |
|
|
5774 | # side effect of compilation, but ICC will put the dependencies in |
|
|
5775 | # the current directory while Tru64 will put them in the object |
|
|
5776 | # directory. |
|
|
5777 | mkdir sub |
|
|
5778 | |
|
|
5779 | am_cv_CC_dependencies_compiler_type=none |
|
|
5780 | if test "$am_compiler_list" = ""; then |
|
|
5781 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
|
5782 | fi |
|
|
5783 | for depmode in $am_compiler_list; do |
|
|
5784 | # Setup a source with many dependencies, because some compilers |
|
|
5785 | # like to wrap large dependency lists on column 80 (with \), and |
|
|
5786 | # we should not choose a depcomp mode which is confused by this. |
|
|
5787 | # |
|
|
5788 | # We need to recreate these files for each test, as the compiler may |
|
|
5789 | # overwrite some of them when testing with obscure command lines. |
|
|
5790 | # This happens at least with the AIX C compiler. |
|
|
5791 | : > sub/conftest.c |
|
|
5792 | for i in 1 2 3 4 5 6; do |
|
|
5793 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
|
5794 | : > sub/conftst$i.h |
|
|
5795 | done |
|
|
5796 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
5797 | |
|
|
5798 | case $depmode in |
|
|
5799 | nosideeffect) |
|
|
5800 | # after this tag, mechanisms are not by side-effect, so they'll |
|
|
5801 | # only be used when explicitly requested |
|
|
5802 | if test "x$enable_dependency_tracking" = xyes; then |
|
|
5803 | continue |
|
|
5804 | else |
|
|
5805 | break |
|
|
5806 | fi |
|
|
5807 | ;; |
|
|
5808 | none) break ;; |
|
|
5809 | esac |
|
|
5810 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
5811 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
5812 | # handle `-M -o', and we need to detect this. |
|
|
5813 | if depmode=$depmode \ |
|
|
5814 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
|
5815 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
|
5816 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
|
5817 | >/dev/null 2>conftest.err && |
|
|
5818 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
5819 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
|
5820 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
|
5821 | # icc doesn't choke on unknown options, it will just issue warnings |
|
|
5822 | # (even with -Werror). So we grep stderr for any message |
|
|
5823 | # that says an option was ignored. |
|
|
5824 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
|
|
5825 | am_cv_CC_dependencies_compiler_type=$depmode |
|
|
5826 | break |
|
|
5827 | fi |
|
|
5828 | fi |
|
|
5829 | done |
|
|
5830 | |
|
|
5831 | cd .. |
|
|
5832 | rm -rf conftest.dir |
|
|
5833 | else |
|
|
5834 | am_cv_CC_dependencies_compiler_type=none |
|
|
5835 | fi |
|
|
5836 | |
|
|
5837 | fi |
|
|
5838 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
|
5839 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
|
|
5840 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
|
5841 | |
|
|
5842 | |
|
|
5843 | |
|
|
5844 | if |
|
|
5845 | test "x$enable_dependency_tracking" != xno \ |
|
|
5846 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
|
5847 | am__fastdepCC_TRUE= |
|
|
5848 | am__fastdepCC_FALSE='#' |
|
|
5849 | else |
|
|
5850 | am__fastdepCC_TRUE='#' |
|
|
5851 | am__fastdepCC_FALSE= |
|
|
5852 | fi |
|
|
5853 | |
|
|
5854 | |
|
|
5855 | ac_ext=c |
|
|
5856 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5857 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5858 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5859 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5860 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5081 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5861 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
5082 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
5862 | # On Suns, sometimes $CPP names a directory. |
5083 | # On Suns, sometimes $CPP names a directory. |
5863 | if test -n "$CPP" && test -d "$CPP"; then |
5084 | if test -n "$CPP" && test -d "$CPP"; then |
5864 | CPP= |
5085 | CPP= |
… | |
… | |
7675 | done |
6896 | done |
7676 | |
6897 | |
7677 | |
6898 | |
7678 | |
6899 | |
7679 | |
6900 | |
|
|
6901 | |
7680 | for ac_header in ext/hash_map clocale |
6902 | for ac_header in tr1/unordered_map ext/hash_map clocale |
7681 | do |
6903 | do |
7682 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6904 | 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 |
6905 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7684 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6906 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7685 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6907 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
9556 | |
8778 | |
9557 | |
8779 | |
9558 | |
8780 | |
9559 | |
8781 | |
9560 | |
8782 | |
|
|
8783 | |
9561 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
8784 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h |
9562 | do |
8785 | do |
9563 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8786 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9564 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8787 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9565 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8788 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9566 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8789 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
9702 | |
8925 | |
9703 | |
8926 | |
9704 | |
8927 | |
9705 | |
8928 | |
9706 | |
8929 | |
|
|
8930 | |
9707 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
8931 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd |
9708 | do |
8932 | do |
9709 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8933 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9710 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8934 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9711 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8935 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9712 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
8936 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
9881 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
9105 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
9882 | if test $ac_cv_func_clock_gettime = yes; then |
9106 | if test $ac_cv_func_clock_gettime = yes; then |
9883 | : |
9107 | : |
9884 | else |
9108 | else |
9885 | |
9109 | |
9886 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
9110 | if test $(uname) = Linux; then |
|
|
9111 | { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5 |
|
|
9112 | echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; } |
|
|
9113 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9114 | /* confdefs.h. */ |
|
|
9115 | _ACEOF |
|
|
9116 | cat confdefs.h >>conftest.$ac_ext |
|
|
9117 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9118 | /* end confdefs.h. */ |
|
|
9119 | #include <syscall.h> |
|
|
9120 | #include <time.h> |
|
|
9121 | int |
|
|
9122 | main () |
|
|
9123 | { |
|
|
9124 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
|
|
9125 | ; |
|
|
9126 | return 0; |
|
|
9127 | } |
|
|
9128 | _ACEOF |
|
|
9129 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9130 | if { (ac_try="$ac_link" |
|
|
9131 | case "(($ac_try" in |
|
|
9132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9133 | *) ac_try_echo=$ac_try;; |
|
|
9134 | esac |
|
|
9135 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9136 | (eval "$ac_link") 2>conftest.er1 |
|
|
9137 | ac_status=$? |
|
|
9138 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9139 | rm -f conftest.er1 |
|
|
9140 | cat conftest.err >&5 |
|
|
9141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9142 | (exit $ac_status); } && { |
|
|
9143 | test -z "$ac_c_werror_flag" || |
|
|
9144 | test ! -s conftest.err |
|
|
9145 | } && test -s conftest$ac_exeext && |
|
|
9146 | $as_test_x conftest$ac_exeext; then |
|
|
9147 | ac_have_clock_syscall=1 |
|
|
9148 | |
|
|
9149 | cat >>confdefs.h <<\_ACEOF |
|
|
9150 | #define HAVE_CLOCK_SYSCALL 1 |
|
|
9151 | _ACEOF |
|
|
9152 | |
|
|
9153 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
9154 | echo "${ECHO_T}yes" >&6; } |
|
|
9155 | else |
|
|
9156 | echo "$as_me: failed program was:" >&5 |
|
|
9157 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9158 | |
|
|
9159 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
9160 | echo "${ECHO_T}no" >&6; } |
|
|
9161 | fi |
|
|
9162 | |
|
|
9163 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
9164 | conftest$ac_exeext conftest.$ac_ext |
|
|
9165 | fi |
|
|
9166 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
9887 | |
9167 | |
9888 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
9168 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
9889 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
9169 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
9890 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
9170 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
9891 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
9953 | |
9233 | |
9954 | LIBS="-lrt $LIBS" |
9234 | LIBS="-lrt $LIBS" |
9955 | |
9235 | |
9956 | fi |
9236 | fi |
9957 | |
9237 | |
|
|
9238 | unset ac_cv_func_clock_gettime |
9958 | |
9239 | |
9959 | for ac_func in clock_gettime |
9240 | for ac_func in clock_gettime |
|
|
9241 | do |
|
|
9242 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9243 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9244 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
9245 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
9246 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9247 | else |
|
|
9248 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9249 | /* confdefs.h. */ |
|
|
9250 | _ACEOF |
|
|
9251 | cat confdefs.h >>conftest.$ac_ext |
|
|
9252 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9253 | /* end confdefs.h. */ |
|
|
9254 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9255 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9256 | #define $ac_func innocuous_$ac_func |
|
|
9257 | |
|
|
9258 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9259 | which can conflict with char $ac_func (); below. |
|
|
9260 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9261 | <limits.h> exists even on freestanding compilers. */ |
|
|
9262 | |
|
|
9263 | #ifdef __STDC__ |
|
|
9264 | # include <limits.h> |
|
|
9265 | #else |
|
|
9266 | # include <assert.h> |
|
|
9267 | #endif |
|
|
9268 | |
|
|
9269 | #undef $ac_func |
|
|
9270 | |
|
|
9271 | /* Override any GCC internal prototype to avoid an error. |
|
|
9272 | Use char because int might match the return type of a GCC |
|
|
9273 | builtin and then its argument prototype would still apply. */ |
|
|
9274 | #ifdef __cplusplus |
|
|
9275 | extern "C" |
|
|
9276 | #endif |
|
|
9277 | char $ac_func (); |
|
|
9278 | /* The GNU C library defines this for functions which it implements |
|
|
9279 | to always fail with ENOSYS. Some functions are actually named |
|
|
9280 | something starting with __ and the normal name is an alias. */ |
|
|
9281 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
9282 | choke me |
|
|
9283 | #endif |
|
|
9284 | |
|
|
9285 | int |
|
|
9286 | main () |
|
|
9287 | { |
|
|
9288 | return $ac_func (); |
|
|
9289 | ; |
|
|
9290 | return 0; |
|
|
9291 | } |
|
|
9292 | _ACEOF |
|
|
9293 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9294 | if { (ac_try="$ac_link" |
|
|
9295 | case "(($ac_try" in |
|
|
9296 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9297 | *) ac_try_echo=$ac_try;; |
|
|
9298 | esac |
|
|
9299 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9300 | (eval "$ac_link") 2>conftest.er1 |
|
|
9301 | ac_status=$? |
|
|
9302 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9303 | rm -f conftest.er1 |
|
|
9304 | cat conftest.err >&5 |
|
|
9305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9306 | (exit $ac_status); } && { |
|
|
9307 | test -z "$ac_c_werror_flag" || |
|
|
9308 | test ! -s conftest.err |
|
|
9309 | } && test -s conftest$ac_exeext && |
|
|
9310 | $as_test_x conftest$ac_exeext; then |
|
|
9311 | eval "$as_ac_var=yes" |
|
|
9312 | else |
|
|
9313 | echo "$as_me: failed program was:" >&5 |
|
|
9314 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9315 | |
|
|
9316 | eval "$as_ac_var=no" |
|
|
9317 | fi |
|
|
9318 | |
|
|
9319 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
9320 | conftest$ac_exeext conftest.$ac_ext |
|
|
9321 | fi |
|
|
9322 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
9323 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
9324 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
9325 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
9326 | cat >>confdefs.h <<_ACEOF |
|
|
9327 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
9328 | _ACEOF |
|
|
9329 | |
|
|
9330 | fi |
|
|
9331 | done |
|
|
9332 | |
|
|
9333 | fi |
|
|
9334 | |
|
|
9335 | fi |
|
|
9336 | |
|
|
9337 | |
|
|
9338 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
9339 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
9340 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
9341 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9342 | else |
|
|
9343 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9344 | /* confdefs.h. */ |
|
|
9345 | _ACEOF |
|
|
9346 | cat confdefs.h >>conftest.$ac_ext |
|
|
9347 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9348 | /* end confdefs.h. */ |
|
|
9349 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
9350 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9351 | #define nanosleep innocuous_nanosleep |
|
|
9352 | |
|
|
9353 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9354 | which can conflict with char nanosleep (); below. |
|
|
9355 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9356 | <limits.h> exists even on freestanding compilers. */ |
|
|
9357 | |
|
|
9358 | #ifdef __STDC__ |
|
|
9359 | # include <limits.h> |
|
|
9360 | #else |
|
|
9361 | # include <assert.h> |
|
|
9362 | #endif |
|
|
9363 | |
|
|
9364 | #undef nanosleep |
|
|
9365 | |
|
|
9366 | /* Override any GCC internal prototype to avoid an error. |
|
|
9367 | Use char because int might match the return type of a GCC |
|
|
9368 | builtin and then its argument prototype would still apply. */ |
|
|
9369 | #ifdef __cplusplus |
|
|
9370 | extern "C" |
|
|
9371 | #endif |
|
|
9372 | char nanosleep (); |
|
|
9373 | /* The GNU C library defines this for functions which it implements |
|
|
9374 | to always fail with ENOSYS. Some functions are actually named |
|
|
9375 | something starting with __ and the normal name is an alias. */ |
|
|
9376 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
9377 | choke me |
|
|
9378 | #endif |
|
|
9379 | |
|
|
9380 | int |
|
|
9381 | main () |
|
|
9382 | { |
|
|
9383 | return nanosleep (); |
|
|
9384 | ; |
|
|
9385 | return 0; |
|
|
9386 | } |
|
|
9387 | _ACEOF |
|
|
9388 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9389 | if { (ac_try="$ac_link" |
|
|
9390 | case "(($ac_try" in |
|
|
9391 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9392 | *) ac_try_echo=$ac_try;; |
|
|
9393 | esac |
|
|
9394 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9395 | (eval "$ac_link") 2>conftest.er1 |
|
|
9396 | ac_status=$? |
|
|
9397 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9398 | rm -f conftest.er1 |
|
|
9399 | cat conftest.err >&5 |
|
|
9400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9401 | (exit $ac_status); } && { |
|
|
9402 | test -z "$ac_c_werror_flag" || |
|
|
9403 | test ! -s conftest.err |
|
|
9404 | } && test -s conftest$ac_exeext && |
|
|
9405 | $as_test_x conftest$ac_exeext; then |
|
|
9406 | ac_cv_func_nanosleep=yes |
|
|
9407 | else |
|
|
9408 | echo "$as_me: failed program was:" >&5 |
|
|
9409 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9410 | |
|
|
9411 | ac_cv_func_nanosleep=no |
|
|
9412 | fi |
|
|
9413 | |
|
|
9414 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
9415 | conftest$ac_exeext conftest.$ac_ext |
|
|
9416 | fi |
|
|
9417 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
9418 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
9419 | if test $ac_cv_func_nanosleep = yes; then |
|
|
9420 | : |
|
|
9421 | else |
|
|
9422 | |
|
|
9423 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
9424 | |
|
|
9425 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
9426 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
9427 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
9428 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9429 | else |
|
|
9430 | ac_check_lib_save_LIBS=$LIBS |
|
|
9431 | LIBS="-lrt $LIBS" |
|
|
9432 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9433 | /* confdefs.h. */ |
|
|
9434 | _ACEOF |
|
|
9435 | cat confdefs.h >>conftest.$ac_ext |
|
|
9436 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9437 | /* end confdefs.h. */ |
|
|
9438 | |
|
|
9439 | /* Override any GCC internal prototype to avoid an error. |
|
|
9440 | Use char because int might match the return type of a GCC |
|
|
9441 | builtin and then its argument prototype would still apply. */ |
|
|
9442 | #ifdef __cplusplus |
|
|
9443 | extern "C" |
|
|
9444 | #endif |
|
|
9445 | char nanosleep (); |
|
|
9446 | int |
|
|
9447 | main () |
|
|
9448 | { |
|
|
9449 | return nanosleep (); |
|
|
9450 | ; |
|
|
9451 | return 0; |
|
|
9452 | } |
|
|
9453 | _ACEOF |
|
|
9454 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9455 | if { (ac_try="$ac_link" |
|
|
9456 | case "(($ac_try" in |
|
|
9457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9458 | *) ac_try_echo=$ac_try;; |
|
|
9459 | esac |
|
|
9460 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9461 | (eval "$ac_link") 2>conftest.er1 |
|
|
9462 | ac_status=$? |
|
|
9463 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9464 | rm -f conftest.er1 |
|
|
9465 | cat conftest.err >&5 |
|
|
9466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9467 | (exit $ac_status); } && { |
|
|
9468 | test -z "$ac_c_werror_flag" || |
|
|
9469 | test ! -s conftest.err |
|
|
9470 | } && test -s conftest$ac_exeext && |
|
|
9471 | $as_test_x conftest$ac_exeext; then |
|
|
9472 | ac_cv_lib_rt_nanosleep=yes |
|
|
9473 | else |
|
|
9474 | echo "$as_me: failed program was:" >&5 |
|
|
9475 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9476 | |
|
|
9477 | ac_cv_lib_rt_nanosleep=no |
|
|
9478 | fi |
|
|
9479 | |
|
|
9480 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
9481 | conftest$ac_exeext conftest.$ac_ext |
|
|
9482 | LIBS=$ac_check_lib_save_LIBS |
|
|
9483 | fi |
|
|
9484 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
9485 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
9486 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
9487 | cat >>confdefs.h <<_ACEOF |
|
|
9488 | #define HAVE_LIBRT 1 |
|
|
9489 | _ACEOF |
|
|
9490 | |
|
|
9491 | LIBS="-lrt $LIBS" |
|
|
9492 | |
|
|
9493 | fi |
|
|
9494 | |
|
|
9495 | unset ac_cv_func_nanosleep |
|
|
9496 | |
|
|
9497 | for ac_func in nanosleep |
9960 | do |
9498 | do |
9961 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9499 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9962 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9500 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9963 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9501 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9964 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
9502 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
10853 | |
10391 | |
10854 | fi |
10392 | fi |
10855 | |
10393 | |
10856 | |
10394 | |
10857 | |
10395 | |
10858 | # Check whether --enable-rohc was given. |
|
|
10859 | if test "${enable_rohc+set}" = set; then |
|
|
10860 | enableval=$enable_rohc; |
|
|
10861 | echo |
|
|
10862 | echo "**********************************************************************" |
|
|
10863 | echo "**********************************************************************" |
|
|
10864 | echo "**** --enable-rohc is highly experimental, do not use ****************" |
|
|
10865 | echo "**********************************************************************" |
|
|
10866 | echo "**********************************************************************" |
|
|
10867 | echo |
|
|
10868 | rohc=true |
|
|
10869 | |
|
|
10870 | cat >>confdefs.h <<_ACEOF |
|
|
10871 | #define ENABLE_ROHC 1 |
|
|
10872 | _ACEOF |
|
|
10873 | |
|
|
10874 | |
|
|
10875 | |
|
|
10876 | fi |
|
|
10877 | |
|
|
10878 | |
10396 | |
10879 | |
10397 | |
10880 | |
10398 | |
10881 | if test x$rohc = xtrue; then |
10399 | if test x$rohc = xtrue; then |
10882 | ROHC_TRUE= |
10400 | ROHC_TRUE= |
… | |
… | |
10886 | ROHC_FALSE= |
10404 | ROHC_FALSE= |
10887 | fi |
10405 | fi |
10888 | |
10406 | |
10889 | |
10407 | |
10890 | |
10408 | |
|
|
10409 | ICMP=1 |
10891 | # Check whether --enable-icmp was given. |
10410 | # Check whether --enable-icmp was given. |
10892 | if test "${enable_icmp+set}" = set; then |
10411 | if test "${enable_icmp+set}" = set; then |
10893 | enableval=$enable_icmp; |
10412 | enableval=$enable_icmp; if test "x$enableval" = xno; then |
|
|
10413 | ICMP=0 |
|
|
10414 | fi |
|
|
10415 | |
|
|
10416 | fi |
|
|
10417 | |
|
|
10418 | if test "x$ICMP" = x1; then |
|
|
10419 | |
10894 | cat >>confdefs.h <<_ACEOF |
10420 | cat >>confdefs.h <<_ACEOF |
10895 | #define ENABLE_ICMP 1 |
10421 | #define ENABLE_ICMP 1 |
10896 | _ACEOF |
10422 | _ACEOF |
10897 | |
10423 | |
10898 | |
|
|
10899 | fi |
10424 | fi |
10900 | |
10425 | |
10901 | |
10426 | TCP=1 |
10902 | # Check whether --enable-tcp was given. |
10427 | # Check whether --enable-tcp was given. |
10903 | if test "${enable_tcp+set}" = set; then |
10428 | if test "${enable_tcp+set}" = set; then |
10904 | enableval=$enable_tcp; |
10429 | enableval=$enable_tcp; if test "x$enableval" = xno; then |
|
|
10430 | TCP=0 |
|
|
10431 | fi |
|
|
10432 | |
|
|
10433 | fi |
|
|
10434 | |
|
|
10435 | if test "x$TCP" = x1; then |
|
|
10436 | |
10905 | cat >>confdefs.h <<_ACEOF |
10437 | cat >>confdefs.h <<_ACEOF |
10906 | #define ENABLE_TCP 1 |
10438 | #define ENABLE_TCP 1 |
10907 | _ACEOF |
10439 | _ACEOF |
10908 | |
10440 | |
10909 | |
|
|
10910 | fi |
10441 | fi |
10911 | |
10442 | |
|
|
10443 | HTTP=1 |
|
|
10444 | # Check whether --enable-http-proxy was given. |
|
|
10445 | if test "${enable_http_proxy+set}" = set; then |
|
|
10446 | enableval=$enable_http_proxy; if test "x$enableval" = xno; then |
|
|
10447 | HTTP=0 |
|
|
10448 | fi |
|
|
10449 | |
|
|
10450 | fi |
|
|
10451 | |
|
|
10452 | if test "x$HTTP" = x1; then |
|
|
10453 | |
|
|
10454 | cat >>confdefs.h <<_ACEOF |
|
|
10455 | #define ENABLE_HTTP_PROXY 1 |
|
|
10456 | _ACEOF |
|
|
10457 | |
|
|
10458 | fi |
10912 | |
10459 | |
10913 | # Check whether --enable-dns was given. |
10460 | # Check whether --enable-dns was given. |
10914 | if test "${enable_dns+set}" = set; then |
10461 | if test "${enable_dns+set}" = set; then |
10915 | enableval=$enable_dns; |
10462 | enableval=$enable_dns; |
10916 | if test "${ac_cv_header_gmp_h+set}" = set; then |
10463 | if test "${ac_cv_header_gmp_h+set}" = set; then |
… | |
… | |
11125 | |
10672 | |
11126 | |
10673 | |
11127 | fi |
10674 | fi |
11128 | |
10675 | |
11129 | |
10676 | |
11130 | # Check whether --enable-http-proxy was given. |
|
|
11131 | if test "${enable_http_proxy+set}" = set; then |
|
|
11132 | enableval=$enable_http_proxy; |
|
|
11133 | cat >>confdefs.h <<_ACEOF |
|
|
11134 | #define ENABLE_HTTP_PROXY 1 |
|
|
11135 | _ACEOF |
|
|
11136 | |
|
|
11137 | |
|
|
11138 | fi |
|
|
11139 | |
|
|
11140 | |
|
|
11141 | HMAC=12 |
10677 | HMAC=12 |
11142 | # Check whether --enable-hmac-length was given. |
10678 | # Check whether --enable-hmac-length was given. |
11143 | if test "${enable_hmac_length+set}" = set; then |
10679 | if test "${enable_hmac_length+set}" = set; then |
11144 | enableval=$enable_hmac_length; HMAC=$enableval |
10680 | enableval=$enable_hmac_length; HMAC=$enableval |
11145 | |
10681 | |
… | |
… | |
11228 | |
10764 | |
11229 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
10765 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
11230 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
10766 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
11231 | fi |
10767 | fi |
11232 | |
10768 | |
11233 | if $CXX -v --help 2>&1 | grep -q fexceptions; then |
10769 | #if $CXX -v --help 2>&1 | grep -q fexceptions; then |
11234 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
10770 | # CXXFLAGS="$CXXFLAGS -fno-exceptions" |
11235 | fi |
10771 | #fi |
11236 | |
10772 | |
11237 | LIBS="$EXTRA_LIBS $LIBS" |
10773 | LIBS="$EXTRA_LIBS $LIBS" |
11238 | |
10774 | |
11239 | |
10775 | |
11240 | |
10776 | |
… | |
… | |
11346 | fi |
10882 | fi |
11347 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
10883 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
11348 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
10884 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
11349 | Usually this means the macro was only invoked conditionally." >&5 |
10885 | Usually this means the macro was only invoked conditionally." >&5 |
11350 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
10886 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
11351 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
11352 | { (exit 1); exit 1; }; } |
|
|
11353 | fi |
|
|
11354 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
|
11355 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
|
11356 | Usually this means the macro was only invoked conditionally." >&5 |
|
|
11357 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
|
11358 | Usually this means the macro was only invoked conditionally." >&2;} |
10887 | Usually this means the macro was only invoked conditionally." >&2;} |
11359 | { (exit 1); exit 1; }; } |
10888 | { (exit 1); exit 1; }; } |
11360 | fi |
10889 | fi |
11361 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
10890 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
11362 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
10891 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |