… | |
… | |
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-icmp enable icmp protocol support (default disabled). |
1346 | --disable-icmp enable icmp protocol support (default enabled). |
1347 | --enable-tcp enable tcp protocol support (default disabled). |
1347 | --disable-tcp enable tcp protocol support (default enabled). |
1348 | --enable-dns enable dns tunnel protocol support (DOES NOT WORK). |
|
|
1349 | --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 |
1350 | disabled). |
1350 | disabled). |
1351 | --enable-hmac-length=BYTES |
1351 | --enable-hmac-length=BYTES |
1352 | use a hmac of length BYTES bytes (default 12). |
1352 | use a hmac of length BYTES bytes (default 12). |
1353 | Allowed values are 4, 8, 12, 16. |
1353 | Allowed values are 4, 8, 12, 16. |
1354 | --enable-rand-length=BYTES |
1354 | --enable-rand-length=BYTES |
1355 | use BYTES bytes of extra randomness (default 8). |
1355 | use BYTES bytes of extra randomness (default 8). |
1356 | Allowed values are 0, 4, 8. |
1356 | Allowed values are 0, 4, 8. |
1357 | --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). |
1358 | Use 9100 for jumbogram support. |
1358 | Use 9100 for jumbogram support. |
1359 | --disable-compression Disable compression support. |
1359 | --disable-compression Disable compression support. |
1360 | --enable-cipher Select the symmetric cipher (default "aes-128"). |
1360 | --enable-cipher=CIPHER Select the symmetric cipher (default "aes-128"). |
1361 | Must be one of "bf" (blowfish), "aes-128" |
1361 | Must be one of "bf" (blowfish), "aes-128" |
1362 | (rijndael), "aes-192" or "aes-256". |
1362 | (rijndael), "aes-192" or "aes-256". |
1363 | --enable-digest Select the digest algorithm to use (default |
1363 | --enable-digest=CIPHER Select the digest algorithm to use (default |
1364 | "ripemd160"). Must be one of "sha512", "sha256", |
1364 | "ripemd160"). Must be one of "sha512", "sha256", |
|
|
1365 | "sha1" (somewhat insecure), "ripemd160", "md5" |
1365 | "sha1", "ripemd160", "md5" or "md4" (insecure). |
1366 | (insecure) or "md4" (insecure). |
1366 | |
1367 | |
1367 | Optional Packages: |
1368 | Optional Packages: |
1368 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1369 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1369 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1370 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1370 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1371 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
… | |
… | |
2222 | fi |
2223 | fi |
2223 | |
2224 | |
2224 | |
2225 | |
2225 | # Define the identity of the package. |
2226 | # Define the identity of the package. |
2226 | PACKAGE=gvpe |
2227 | PACKAGE=gvpe |
2227 | VERSION=2.21 |
2228 | VERSION=2.22 |
2228 | |
2229 | |
2229 | |
2230 | |
2230 | cat >>confdefs.h <<_ACEOF |
2231 | cat >>confdefs.h <<_ACEOF |
2231 | #define PACKAGE "$PACKAGE" |
2232 | #define PACKAGE "$PACKAGE" |
2232 | _ACEOF |
2233 | _ACEOF |
… | |
… | |
5076 | ac_ext=c |
5077 | ac_ext=c |
5077 | ac_cpp='$CPP $CPPFLAGS' |
5078 | ac_cpp='$CPP $CPPFLAGS' |
5078 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5079 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5079 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5080 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5080 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5081 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5081 | if test -n "$ac_tool_prefix"; then |
|
|
5082 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
5083 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
5084 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5085 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5086 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5088 | else |
|
|
5089 | if test -n "$CC"; then |
|
|
5090 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5091 | else |
|
|
5092 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5093 | for as_dir in $PATH |
|
|
5094 | do |
|
|
5095 | IFS=$as_save_IFS |
|
|
5096 | test -z "$as_dir" && as_dir=. |
|
|
5097 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5098 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5099 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
5100 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5101 | break 2 |
|
|
5102 | fi |
|
|
5103 | done |
|
|
5104 | done |
|
|
5105 | IFS=$as_save_IFS |
|
|
5106 | |
|
|
5107 | fi |
|
|
5108 | fi |
|
|
5109 | CC=$ac_cv_prog_CC |
|
|
5110 | if test -n "$CC"; then |
|
|
5111 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5112 | echo "${ECHO_T}$CC" >&6; } |
|
|
5113 | else |
|
|
5114 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5115 | echo "${ECHO_T}no" >&6; } |
|
|
5116 | fi |
|
|
5117 | |
|
|
5118 | |
|
|
5119 | fi |
|
|
5120 | if test -z "$ac_cv_prog_CC"; then |
|
|
5121 | ac_ct_CC=$CC |
|
|
5122 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
5123 | set dummy gcc; ac_word=$2 |
|
|
5124 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5125 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5126 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
5127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5128 | else |
|
|
5129 | if test -n "$ac_ct_CC"; then |
|
|
5130 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
5131 | else |
|
|
5132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5133 | for as_dir in $PATH |
|
|
5134 | do |
|
|
5135 | IFS=$as_save_IFS |
|
|
5136 | test -z "$as_dir" && as_dir=. |
|
|
5137 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5138 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5139 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
5140 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5141 | break 2 |
|
|
5142 | fi |
|
|
5143 | done |
|
|
5144 | done |
|
|
5145 | IFS=$as_save_IFS |
|
|
5146 | |
|
|
5147 | fi |
|
|
5148 | fi |
|
|
5149 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
5150 | if test -n "$ac_ct_CC"; then |
|
|
5151 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
5152 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|
|
5153 | else |
|
|
5154 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5155 | echo "${ECHO_T}no" >&6; } |
|
|
5156 | fi |
|
|
5157 | |
|
|
5158 | if test "x$ac_ct_CC" = x; then |
|
|
5159 | CC="" |
|
|
5160 | else |
|
|
5161 | case $cross_compiling:$ac_tool_warned in |
|
|
5162 | yes:) |
|
|
5163 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5164 | whose name does not start with the host triplet. If you think this |
|
|
5165 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5166 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5167 | whose name does not start with the host triplet. If you think this |
|
|
5168 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5169 | ac_tool_warned=yes ;; |
|
|
5170 | esac |
|
|
5171 | CC=$ac_ct_CC |
|
|
5172 | fi |
|
|
5173 | else |
|
|
5174 | CC="$ac_cv_prog_CC" |
|
|
5175 | fi |
|
|
5176 | |
|
|
5177 | if test -z "$CC"; then |
|
|
5178 | if test -n "$ac_tool_prefix"; then |
|
|
5179 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
5180 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
5181 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5182 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5183 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5185 | else |
|
|
5186 | if test -n "$CC"; then |
|
|
5187 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5188 | else |
|
|
5189 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5190 | for as_dir in $PATH |
|
|
5191 | do |
|
|
5192 | IFS=$as_save_IFS |
|
|
5193 | test -z "$as_dir" && as_dir=. |
|
|
5194 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5195 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5196 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
5197 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5198 | break 2 |
|
|
5199 | fi |
|
|
5200 | done |
|
|
5201 | done |
|
|
5202 | IFS=$as_save_IFS |
|
|
5203 | |
|
|
5204 | fi |
|
|
5205 | fi |
|
|
5206 | CC=$ac_cv_prog_CC |
|
|
5207 | if test -n "$CC"; then |
|
|
5208 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5209 | echo "${ECHO_T}$CC" >&6; } |
|
|
5210 | else |
|
|
5211 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5212 | echo "${ECHO_T}no" >&6; } |
|
|
5213 | fi |
|
|
5214 | |
|
|
5215 | |
|
|
5216 | fi |
|
|
5217 | fi |
|
|
5218 | if test -z "$CC"; then |
|
|
5219 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
5220 | set dummy cc; ac_word=$2 |
|
|
5221 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5222 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5223 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5225 | else |
|
|
5226 | if test -n "$CC"; then |
|
|
5227 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5228 | else |
|
|
5229 | ac_prog_rejected=no |
|
|
5230 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5231 | for as_dir in $PATH |
|
|
5232 | do |
|
|
5233 | IFS=$as_save_IFS |
|
|
5234 | test -z "$as_dir" && as_dir=. |
|
|
5235 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5236 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5237 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
5238 | ac_prog_rejected=yes |
|
|
5239 | continue |
|
|
5240 | fi |
|
|
5241 | ac_cv_prog_CC="cc" |
|
|
5242 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5243 | break 2 |
|
|
5244 | fi |
|
|
5245 | done |
|
|
5246 | done |
|
|
5247 | IFS=$as_save_IFS |
|
|
5248 | |
|
|
5249 | if test $ac_prog_rejected = yes; then |
|
|
5250 | # We found a bogon in the path, so make sure we never use it. |
|
|
5251 | set dummy $ac_cv_prog_CC |
|
|
5252 | shift |
|
|
5253 | if test $# != 0; then |
|
|
5254 | # We chose a different compiler from the bogus one. |
|
|
5255 | # However, it has the same basename, so the bogon will be chosen |
|
|
5256 | # first if we set CC to just the basename; use the full file name. |
|
|
5257 | shift |
|
|
5258 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
5259 | fi |
|
|
5260 | fi |
|
|
5261 | fi |
|
|
5262 | fi |
|
|
5263 | CC=$ac_cv_prog_CC |
|
|
5264 | if test -n "$CC"; then |
|
|
5265 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5266 | echo "${ECHO_T}$CC" >&6; } |
|
|
5267 | else |
|
|
5268 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5269 | echo "${ECHO_T}no" >&6; } |
|
|
5270 | fi |
|
|
5271 | |
|
|
5272 | |
|
|
5273 | fi |
|
|
5274 | if test -z "$CC"; then |
|
|
5275 | if test -n "$ac_tool_prefix"; then |
|
|
5276 | for ac_prog in cl.exe |
|
|
5277 | do |
|
|
5278 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
5279 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
5280 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5281 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5282 | if test "${ac_cv_prog_CC+set}" = set; then |
|
|
5283 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5284 | else |
|
|
5285 | if test -n "$CC"; then |
|
|
5286 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
5287 | else |
|
|
5288 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5289 | for as_dir in $PATH |
|
|
5290 | do |
|
|
5291 | IFS=$as_save_IFS |
|
|
5292 | test -z "$as_dir" && as_dir=. |
|
|
5293 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5294 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5295 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
5296 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5297 | break 2 |
|
|
5298 | fi |
|
|
5299 | done |
|
|
5300 | done |
|
|
5301 | IFS=$as_save_IFS |
|
|
5302 | |
|
|
5303 | fi |
|
|
5304 | fi |
|
|
5305 | CC=$ac_cv_prog_CC |
|
|
5306 | if test -n "$CC"; then |
|
|
5307 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
5308 | echo "${ECHO_T}$CC" >&6; } |
|
|
5309 | else |
|
|
5310 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5311 | echo "${ECHO_T}no" >&6; } |
|
|
5312 | fi |
|
|
5313 | |
|
|
5314 | |
|
|
5315 | test -n "$CC" && break |
|
|
5316 | done |
|
|
5317 | fi |
|
|
5318 | if test -z "$CC"; then |
|
|
5319 | ac_ct_CC=$CC |
|
|
5320 | for ac_prog in cl.exe |
|
|
5321 | do |
|
|
5322 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
5323 | set dummy $ac_prog; ac_word=$2 |
|
|
5324 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5325 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5326 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
5327 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5328 | else |
|
|
5329 | if test -n "$ac_ct_CC"; then |
|
|
5330 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
5331 | else |
|
|
5332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5333 | for as_dir in $PATH |
|
|
5334 | do |
|
|
5335 | IFS=$as_save_IFS |
|
|
5336 | test -z "$as_dir" && as_dir=. |
|
|
5337 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5338 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5339 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
5340 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5341 | break 2 |
|
|
5342 | fi |
|
|
5343 | done |
|
|
5344 | done |
|
|
5345 | IFS=$as_save_IFS |
|
|
5346 | |
|
|
5347 | fi |
|
|
5348 | fi |
|
|
5349 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
5350 | if test -n "$ac_ct_CC"; then |
|
|
5351 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
5352 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|
|
5353 | else |
|
|
5354 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5355 | echo "${ECHO_T}no" >&6; } |
|
|
5356 | fi |
|
|
5357 | |
|
|
5358 | |
|
|
5359 | test -n "$ac_ct_CC" && break |
|
|
5360 | done |
|
|
5361 | |
|
|
5362 | if test "x$ac_ct_CC" = x; then |
|
|
5363 | CC="" |
|
|
5364 | else |
|
|
5365 | case $cross_compiling:$ac_tool_warned in |
|
|
5366 | yes:) |
|
|
5367 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5368 | whose name does not start with the host triplet. If you think this |
|
|
5369 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5370 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5371 | whose name does not start with the host triplet. If you think this |
|
|
5372 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5373 | ac_tool_warned=yes ;; |
|
|
5374 | esac |
|
|
5375 | CC=$ac_ct_CC |
|
|
5376 | fi |
|
|
5377 | fi |
|
|
5378 | |
|
|
5379 | fi |
|
|
5380 | |
|
|
5381 | |
|
|
5382 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
|
5383 | See \`config.log' for more details." >&5 |
|
|
5384 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
|
5385 | See \`config.log' for more details." >&2;} |
|
|
5386 | { (exit 1); exit 1; }; } |
|
|
5387 | |
|
|
5388 | # Provide some information about the compiler. |
|
|
5389 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
|
|
5390 | ac_compiler=`set X $ac_compile; echo $2` |
|
|
5391 | { (ac_try="$ac_compiler --version >&5" |
|
|
5392 | case "(($ac_try" in |
|
|
5393 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5394 | *) ac_try_echo=$ac_try;; |
|
|
5395 | esac |
|
|
5396 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5397 | (eval "$ac_compiler --version >&5") 2>&5 |
|
|
5398 | ac_status=$? |
|
|
5399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5400 | (exit $ac_status); } |
|
|
5401 | { (ac_try="$ac_compiler -v >&5" |
|
|
5402 | case "(($ac_try" in |
|
|
5403 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5404 | *) ac_try_echo=$ac_try;; |
|
|
5405 | esac |
|
|
5406 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5407 | (eval "$ac_compiler -v >&5") 2>&5 |
|
|
5408 | ac_status=$? |
|
|
5409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5410 | (exit $ac_status); } |
|
|
5411 | { (ac_try="$ac_compiler -V >&5" |
|
|
5412 | case "(($ac_try" in |
|
|
5413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5414 | *) ac_try_echo=$ac_try;; |
|
|
5415 | esac |
|
|
5416 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5417 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
5418 | ac_status=$? |
|
|
5419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5420 | (exit $ac_status); } |
|
|
5421 | |
|
|
5422 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|
|
5423 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
|
|
5424 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
|
5425 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5426 | else |
|
|
5427 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5428 | /* confdefs.h. */ |
|
|
5429 | _ACEOF |
|
|
5430 | cat confdefs.h >>conftest.$ac_ext |
|
|
5431 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5432 | /* end confdefs.h. */ |
|
|
5433 | |
|
|
5434 | int |
|
|
5435 | main () |
|
|
5436 | { |
|
|
5437 | #ifndef __GNUC__ |
|
|
5438 | choke me |
|
|
5439 | #endif |
|
|
5440 | |
|
|
5441 | ; |
|
|
5442 | return 0; |
|
|
5443 | } |
|
|
5444 | _ACEOF |
|
|
5445 | rm -f conftest.$ac_objext |
|
|
5446 | if { (ac_try="$ac_compile" |
|
|
5447 | case "(($ac_try" in |
|
|
5448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5449 | *) ac_try_echo=$ac_try;; |
|
|
5450 | esac |
|
|
5451 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5452 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5453 | ac_status=$? |
|
|
5454 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5455 | rm -f conftest.er1 |
|
|
5456 | cat conftest.err >&5 |
|
|
5457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5458 | (exit $ac_status); } && { |
|
|
5459 | test -z "$ac_c_werror_flag" || |
|
|
5460 | test ! -s conftest.err |
|
|
5461 | } && test -s conftest.$ac_objext; then |
|
|
5462 | ac_compiler_gnu=yes |
|
|
5463 | else |
|
|
5464 | echo "$as_me: failed program was:" >&5 |
|
|
5465 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5466 | |
|
|
5467 | ac_compiler_gnu=no |
|
|
5468 | fi |
|
|
5469 | |
|
|
5470 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5471 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
5472 | |
|
|
5473 | fi |
|
|
5474 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
5475 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
|
|
5476 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
|
|
5477 | ac_test_CFLAGS=${CFLAGS+set} |
|
|
5478 | ac_save_CFLAGS=$CFLAGS |
|
|
5479 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|
|
5480 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
|
|
5481 | if test "${ac_cv_prog_cc_g+set}" = set; then |
|
|
5482 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5483 | else |
|
|
5484 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
5485 | ac_c_werror_flag=yes |
|
|
5486 | ac_cv_prog_cc_g=no |
|
|
5487 | CFLAGS="-g" |
|
|
5488 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5489 | /* confdefs.h. */ |
|
|
5490 | _ACEOF |
|
|
5491 | cat confdefs.h >>conftest.$ac_ext |
|
|
5492 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5493 | /* end confdefs.h. */ |
|
|
5494 | |
|
|
5495 | int |
|
|
5496 | main () |
|
|
5497 | { |
|
|
5498 | |
|
|
5499 | ; |
|
|
5500 | return 0; |
|
|
5501 | } |
|
|
5502 | _ACEOF |
|
|
5503 | rm -f conftest.$ac_objext |
|
|
5504 | if { (ac_try="$ac_compile" |
|
|
5505 | case "(($ac_try" in |
|
|
5506 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5507 | *) ac_try_echo=$ac_try;; |
|
|
5508 | esac |
|
|
5509 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5510 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5511 | ac_status=$? |
|
|
5512 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5513 | rm -f conftest.er1 |
|
|
5514 | cat conftest.err >&5 |
|
|
5515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5516 | (exit $ac_status); } && { |
|
|
5517 | test -z "$ac_c_werror_flag" || |
|
|
5518 | test ! -s conftest.err |
|
|
5519 | } && test -s conftest.$ac_objext; then |
|
|
5520 | ac_cv_prog_cc_g=yes |
|
|
5521 | else |
|
|
5522 | echo "$as_me: failed program was:" >&5 |
|
|
5523 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5524 | |
|
|
5525 | CFLAGS="" |
|
|
5526 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5527 | /* confdefs.h. */ |
|
|
5528 | _ACEOF |
|
|
5529 | cat confdefs.h >>conftest.$ac_ext |
|
|
5530 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5531 | /* end confdefs.h. */ |
|
|
5532 | |
|
|
5533 | int |
|
|
5534 | main () |
|
|
5535 | { |
|
|
5536 | |
|
|
5537 | ; |
|
|
5538 | return 0; |
|
|
5539 | } |
|
|
5540 | _ACEOF |
|
|
5541 | rm -f conftest.$ac_objext |
|
|
5542 | if { (ac_try="$ac_compile" |
|
|
5543 | case "(($ac_try" in |
|
|
5544 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5545 | *) ac_try_echo=$ac_try;; |
|
|
5546 | esac |
|
|
5547 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5548 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5549 | ac_status=$? |
|
|
5550 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5551 | rm -f conftest.er1 |
|
|
5552 | cat conftest.err >&5 |
|
|
5553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5554 | (exit $ac_status); } && { |
|
|
5555 | test -z "$ac_c_werror_flag" || |
|
|
5556 | test ! -s conftest.err |
|
|
5557 | } && test -s conftest.$ac_objext; then |
|
|
5558 | : |
|
|
5559 | else |
|
|
5560 | echo "$as_me: failed program was:" >&5 |
|
|
5561 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5562 | |
|
|
5563 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
5564 | CFLAGS="-g" |
|
|
5565 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5566 | /* confdefs.h. */ |
|
|
5567 | _ACEOF |
|
|
5568 | cat confdefs.h >>conftest.$ac_ext |
|
|
5569 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5570 | /* end confdefs.h. */ |
|
|
5571 | |
|
|
5572 | int |
|
|
5573 | main () |
|
|
5574 | { |
|
|
5575 | |
|
|
5576 | ; |
|
|
5577 | return 0; |
|
|
5578 | } |
|
|
5579 | _ACEOF |
|
|
5580 | rm -f conftest.$ac_objext |
|
|
5581 | if { (ac_try="$ac_compile" |
|
|
5582 | case "(($ac_try" in |
|
|
5583 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5584 | *) ac_try_echo=$ac_try;; |
|
|
5585 | esac |
|
|
5586 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5587 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5588 | ac_status=$? |
|
|
5589 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5590 | rm -f conftest.er1 |
|
|
5591 | cat conftest.err >&5 |
|
|
5592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5593 | (exit $ac_status); } && { |
|
|
5594 | test -z "$ac_c_werror_flag" || |
|
|
5595 | test ! -s conftest.err |
|
|
5596 | } && test -s conftest.$ac_objext; then |
|
|
5597 | ac_cv_prog_cc_g=yes |
|
|
5598 | else |
|
|
5599 | echo "$as_me: failed program was:" >&5 |
|
|
5600 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5601 | |
|
|
5602 | |
|
|
5603 | fi |
|
|
5604 | |
|
|
5605 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5606 | fi |
|
|
5607 | |
|
|
5608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5609 | fi |
|
|
5610 | |
|
|
5611 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5612 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
5613 | fi |
|
|
5614 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
|
5615 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
|
|
5616 | if test "$ac_test_CFLAGS" = set; then |
|
|
5617 | CFLAGS=$ac_save_CFLAGS |
|
|
5618 | elif test $ac_cv_prog_cc_g = yes; then |
|
|
5619 | if test "$GCC" = yes; then |
|
|
5620 | CFLAGS="-g -O2" |
|
|
5621 | else |
|
|
5622 | CFLAGS="-g" |
|
|
5623 | fi |
|
|
5624 | else |
|
|
5625 | if test "$GCC" = yes; then |
|
|
5626 | CFLAGS="-O2" |
|
|
5627 | else |
|
|
5628 | CFLAGS= |
|
|
5629 | fi |
|
|
5630 | fi |
|
|
5631 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
|
|
5632 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
|
|
5633 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
|
|
5634 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5635 | else |
|
|
5636 | ac_cv_prog_cc_c89=no |
|
|
5637 | ac_save_CC=$CC |
|
|
5638 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5639 | /* confdefs.h. */ |
|
|
5640 | _ACEOF |
|
|
5641 | cat confdefs.h >>conftest.$ac_ext |
|
|
5642 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5643 | /* end confdefs.h. */ |
|
|
5644 | #include <stdarg.h> |
|
|
5645 | #include <stdio.h> |
|
|
5646 | #include <sys/types.h> |
|
|
5647 | #include <sys/stat.h> |
|
|
5648 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
5649 | struct buf { int x; }; |
|
|
5650 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
5651 | static char *e (p, i) |
|
|
5652 | char **p; |
|
|
5653 | int i; |
|
|
5654 | { |
|
|
5655 | return p[i]; |
|
|
5656 | } |
|
|
5657 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
5658 | { |
|
|
5659 | char *s; |
|
|
5660 | va_list v; |
|
|
5661 | va_start (v,p); |
|
|
5662 | s = g (p, va_arg (v,int)); |
|
|
5663 | va_end (v); |
|
|
5664 | return s; |
|
|
5665 | } |
|
|
5666 | |
|
|
5667 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
5668 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
5669 | These don't provoke an error unfortunately, instead are silently treated |
|
|
5670 | as 'x'. The following induces an error, until -std is added to get |
|
|
5671 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
5672 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
5673 | that's true only with -std. */ |
|
|
5674 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
5675 | |
|
|
5676 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
5677 | inside strings and character constants. */ |
|
|
5678 | #define FOO(x) 'x' |
|
|
5679 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
5680 | |
|
|
5681 | int test (int i, double x); |
|
|
5682 | struct s1 {int (*f) (int a);}; |
|
|
5683 | struct s2 {int (*f) (double a);}; |
|
|
5684 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
5685 | int argc; |
|
|
5686 | char **argv; |
|
|
5687 | int |
|
|
5688 | main () |
|
|
5689 | { |
|
|
5690 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
5691 | ; |
|
|
5692 | return 0; |
|
|
5693 | } |
|
|
5694 | _ACEOF |
|
|
5695 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
5696 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
5697 | do |
|
|
5698 | CC="$ac_save_CC $ac_arg" |
|
|
5699 | rm -f conftest.$ac_objext |
|
|
5700 | if { (ac_try="$ac_compile" |
|
|
5701 | case "(($ac_try" in |
|
|
5702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5703 | *) ac_try_echo=$ac_try;; |
|
|
5704 | esac |
|
|
5705 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5706 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5707 | ac_status=$? |
|
|
5708 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5709 | rm -f conftest.er1 |
|
|
5710 | cat conftest.err >&5 |
|
|
5711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5712 | (exit $ac_status); } && { |
|
|
5713 | test -z "$ac_c_werror_flag" || |
|
|
5714 | test ! -s conftest.err |
|
|
5715 | } && test -s conftest.$ac_objext; then |
|
|
5716 | ac_cv_prog_cc_c89=$ac_arg |
|
|
5717 | else |
|
|
5718 | echo "$as_me: failed program was:" >&5 |
|
|
5719 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5720 | |
|
|
5721 | |
|
|
5722 | fi |
|
|
5723 | |
|
|
5724 | rm -f core conftest.err conftest.$ac_objext |
|
|
5725 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
5726 | done |
|
|
5727 | rm -f conftest.$ac_ext |
|
|
5728 | CC=$ac_save_CC |
|
|
5729 | |
|
|
5730 | fi |
|
|
5731 | # AC_CACHE_VAL |
|
|
5732 | case "x$ac_cv_prog_cc_c89" in |
|
|
5733 | x) |
|
|
5734 | { echo "$as_me:$LINENO: result: none needed" >&5 |
|
|
5735 | echo "${ECHO_T}none needed" >&6; } ;; |
|
|
5736 | xno) |
|
|
5737 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
|
|
5738 | echo "${ECHO_T}unsupported" >&6; } ;; |
|
|
5739 | *) |
|
|
5740 | CC="$CC $ac_cv_prog_cc_c89" |
|
|
5741 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
|
|
5742 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
5743 | esac |
|
|
5744 | |
|
|
5745 | |
|
|
5746 | ac_ext=c |
|
|
5747 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5748 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5749 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5750 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5751 | |
|
|
5752 | depcc="$CC" am_compiler_list= |
|
|
5753 | |
|
|
5754 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
|
5755 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
|
|
5756 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
|
5757 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5758 | else |
|
|
5759 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
|
5760 | # We make a subdir and do the tests there. Otherwise we can end up |
|
|
5761 | # making bogus files that we don't know about and never remove. For |
|
|
5762 | # instance it was reported that on HP-UX the gcc test will end up |
|
|
5763 | # making a dummy file named `D' -- because `-MD' means `put the output |
|
|
5764 | # in D'. |
|
|
5765 | mkdir conftest.dir |
|
|
5766 | # Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
5767 | # using a relative directory. |
|
|
5768 | cp "$am_depcomp" conftest.dir |
|
|
5769 | cd conftest.dir |
|
|
5770 | # We will build objects and dependencies in a subdirectory because |
|
|
5771 | # it helps to detect inapplicable dependency modes. For instance |
|
|
5772 | # both Tru64's cc and ICC support -MD to output dependencies as a |
|
|
5773 | # side effect of compilation, but ICC will put the dependencies in |
|
|
5774 | # the current directory while Tru64 will put them in the object |
|
|
5775 | # directory. |
|
|
5776 | mkdir sub |
|
|
5777 | |
|
|
5778 | am_cv_CC_dependencies_compiler_type=none |
|
|
5779 | if test "$am_compiler_list" = ""; then |
|
|
5780 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
|
5781 | fi |
|
|
5782 | for depmode in $am_compiler_list; do |
|
|
5783 | # Setup a source with many dependencies, because some compilers |
|
|
5784 | # like to wrap large dependency lists on column 80 (with \), and |
|
|
5785 | # we should not choose a depcomp mode which is confused by this. |
|
|
5786 | # |
|
|
5787 | # We need to recreate these files for each test, as the compiler may |
|
|
5788 | # overwrite some of them when testing with obscure command lines. |
|
|
5789 | # This happens at least with the AIX C compiler. |
|
|
5790 | : > sub/conftest.c |
|
|
5791 | for i in 1 2 3 4 5 6; do |
|
|
5792 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
|
5793 | : > sub/conftst$i.h |
|
|
5794 | done |
|
|
5795 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
5796 | |
|
|
5797 | case $depmode in |
|
|
5798 | nosideeffect) |
|
|
5799 | # after this tag, mechanisms are not by side-effect, so they'll |
|
|
5800 | # only be used when explicitly requested |
|
|
5801 | if test "x$enable_dependency_tracking" = xyes; then |
|
|
5802 | continue |
|
|
5803 | else |
|
|
5804 | break |
|
|
5805 | fi |
|
|
5806 | ;; |
|
|
5807 | none) break ;; |
|
|
5808 | esac |
|
|
5809 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
5810 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
5811 | # handle `-M -o', and we need to detect this. |
|
|
5812 | if depmode=$depmode \ |
|
|
5813 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
|
5814 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
|
5815 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
|
5816 | >/dev/null 2>conftest.err && |
|
|
5817 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
5818 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
|
5819 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
|
5820 | # icc doesn't choke on unknown options, it will just issue warnings |
|
|
5821 | # (even with -Werror). So we grep stderr for any message |
|
|
5822 | # that says an option was ignored. |
|
|
5823 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
|
|
5824 | am_cv_CC_dependencies_compiler_type=$depmode |
|
|
5825 | break |
|
|
5826 | fi |
|
|
5827 | fi |
|
|
5828 | done |
|
|
5829 | |
|
|
5830 | cd .. |
|
|
5831 | rm -rf conftest.dir |
|
|
5832 | else |
|
|
5833 | am_cv_CC_dependencies_compiler_type=none |
|
|
5834 | fi |
|
|
5835 | |
|
|
5836 | fi |
|
|
5837 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
|
5838 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
|
|
5839 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
|
5840 | |
|
|
5841 | |
|
|
5842 | |
|
|
5843 | if |
|
|
5844 | test "x$enable_dependency_tracking" != xno \ |
|
|
5845 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
|
5846 | am__fastdepCC_TRUE= |
|
|
5847 | am__fastdepCC_FALSE='#' |
|
|
5848 | else |
|
|
5849 | am__fastdepCC_TRUE='#' |
|
|
5850 | am__fastdepCC_FALSE= |
|
|
5851 | fi |
|
|
5852 | |
|
|
5853 | |
|
|
5854 | ac_ext=c |
|
|
5855 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5856 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5857 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5858 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5859 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5082 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5860 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
5083 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
5861 | # On Suns, sometimes $CPP names a directory. |
5084 | # On Suns, sometimes $CPP names a directory. |
5862 | if test -n "$CPP" && test -d "$CPP"; then |
5085 | if test -n "$CPP" && test -d "$CPP"; then |
5863 | CPP= |
5086 | CPP= |
… | |
… | |
9557 | |
8780 | |
9558 | |
8781 | |
9559 | |
8782 | |
9560 | |
8783 | |
9561 | |
8784 | |
|
|
8785 | |
9562 | 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 |
8786 | 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 sys/signalfd.h |
9563 | do |
8787 | do |
9564 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8788 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9565 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8789 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9566 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8790 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9567 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8791 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
9704 | |
8928 | |
9705 | |
8929 | |
9706 | |
8930 | |
9707 | |
8931 | |
9708 | |
8932 | |
|
|
8933 | |
9709 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd |
8934 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd |
9710 | do |
8935 | do |
9711 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8936 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9712 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8937 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9713 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8938 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9714 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
8939 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
9883 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
9108 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
9884 | if test $ac_cv_func_clock_gettime = yes; then |
9109 | if test $ac_cv_func_clock_gettime = yes; then |
9885 | : |
9110 | : |
9886 | else |
9111 | else |
9887 | |
9112 | |
9888 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
9113 | if test $(uname) = Linux; then |
|
|
9114 | { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5 |
|
|
9115 | echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; } |
|
|
9116 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9117 | /* confdefs.h. */ |
|
|
9118 | _ACEOF |
|
|
9119 | cat confdefs.h >>conftest.$ac_ext |
|
|
9120 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9121 | /* end confdefs.h. */ |
|
|
9122 | #include <syscall.h> |
|
|
9123 | #include <time.h> |
|
|
9124 | int |
|
|
9125 | main () |
|
|
9126 | { |
|
|
9127 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
|
|
9128 | ; |
|
|
9129 | return 0; |
|
|
9130 | } |
|
|
9131 | _ACEOF |
|
|
9132 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9133 | if { (ac_try="$ac_link" |
|
|
9134 | case "(($ac_try" in |
|
|
9135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9136 | *) ac_try_echo=$ac_try;; |
|
|
9137 | esac |
|
|
9138 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9139 | (eval "$ac_link") 2>conftest.er1 |
|
|
9140 | ac_status=$? |
|
|
9141 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9142 | rm -f conftest.er1 |
|
|
9143 | cat conftest.err >&5 |
|
|
9144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9145 | (exit $ac_status); } && { |
|
|
9146 | test -z "$ac_c_werror_flag" || |
|
|
9147 | test ! -s conftest.err |
|
|
9148 | } && test -s conftest$ac_exeext && |
|
|
9149 | $as_test_x conftest$ac_exeext; then |
|
|
9150 | ac_have_clock_syscall=1 |
|
|
9151 | |
|
|
9152 | cat >>confdefs.h <<\_ACEOF |
|
|
9153 | #define HAVE_CLOCK_SYSCALL 1 |
|
|
9154 | _ACEOF |
|
|
9155 | |
|
|
9156 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
9157 | echo "${ECHO_T}yes" >&6; } |
|
|
9158 | else |
|
|
9159 | echo "$as_me: failed program was:" >&5 |
|
|
9160 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9161 | |
|
|
9162 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
9163 | echo "${ECHO_T}no" >&6; } |
|
|
9164 | fi |
|
|
9165 | |
|
|
9166 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
9167 | conftest$ac_exeext conftest.$ac_ext |
|
|
9168 | fi |
|
|
9169 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
9889 | |
9170 | |
9890 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
9171 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
9891 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
9172 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
9892 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
9173 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
9893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9174 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10382 | _ACEOF |
9663 | _ACEOF |
10383 | |
9664 | |
10384 | LIBS="-lm $LIBS" |
9665 | LIBS="-lm $LIBS" |
10385 | |
9666 | |
10386 | fi |
9667 | fi |
10387 | |
|
|
10388 | |
|
|
10389 | |
9668 | |
10390 | |
9669 | |
10391 | |
9670 | |
10392 | |
9671 | |
10393 | ac_ext=cpp |
9672 | ac_ext=cpp |
… | |
… | |
11126 | ROHC_FALSE= |
10405 | ROHC_FALSE= |
11127 | fi |
10406 | fi |
11128 | |
10407 | |
11129 | |
10408 | |
11130 | |
10409 | |
|
|
10410 | ICMP=1 |
11131 | # Check whether --enable-icmp was given. |
10411 | # Check whether --enable-icmp was given. |
11132 | if test "${enable_icmp+set}" = set; then |
10412 | if test "${enable_icmp+set}" = set; then |
11133 | enableval=$enable_icmp; |
10413 | enableval=$enable_icmp; if test "x$enableval" = xno; then |
|
|
10414 | ICMP=0 |
|
|
10415 | fi |
|
|
10416 | |
|
|
10417 | fi |
|
|
10418 | |
|
|
10419 | if test "x$ICMP" = x1; then |
|
|
10420 | |
11134 | cat >>confdefs.h <<_ACEOF |
10421 | cat >>confdefs.h <<_ACEOF |
11135 | #define ENABLE_ICMP 1 |
10422 | #define ENABLE_ICMP 1 |
11136 | _ACEOF |
10423 | _ACEOF |
11137 | |
10424 | |
11138 | |
|
|
11139 | fi |
10425 | fi |
11140 | |
10426 | |
11141 | |
10427 | TCP=1 |
11142 | # Check whether --enable-tcp was given. |
10428 | # Check whether --enable-tcp was given. |
11143 | if test "${enable_tcp+set}" = set; then |
10429 | if test "${enable_tcp+set}" = set; then |
11144 | enableval=$enable_tcp; |
10430 | enableval=$enable_tcp; if test "x$enableval" = xno; then |
|
|
10431 | TCP=0 |
|
|
10432 | fi |
|
|
10433 | |
|
|
10434 | fi |
|
|
10435 | |
|
|
10436 | if test "x$TCP" = x1; then |
|
|
10437 | |
11145 | cat >>confdefs.h <<_ACEOF |
10438 | cat >>confdefs.h <<_ACEOF |
11146 | #define ENABLE_TCP 1 |
10439 | #define ENABLE_TCP 1 |
11147 | _ACEOF |
10440 | _ACEOF |
11148 | |
10441 | |
11149 | |
|
|
11150 | fi |
10442 | fi |
11151 | |
10443 | |
|
|
10444 | HTTP=1 |
|
|
10445 | # Check whether --enable-http-proxy was given. |
|
|
10446 | if test "${enable_http_proxy+set}" = set; then |
|
|
10447 | enableval=$enable_http_proxy; if test "x$enableval" = xno; then |
|
|
10448 | HTTP=0 |
|
|
10449 | fi |
|
|
10450 | |
|
|
10451 | fi |
|
|
10452 | |
|
|
10453 | if test "x$HTTP" = x1; then |
|
|
10454 | |
|
|
10455 | cat >>confdefs.h <<_ACEOF |
|
|
10456 | #define ENABLE_HTTP_PROXY 1 |
|
|
10457 | _ACEOF |
|
|
10458 | |
|
|
10459 | fi |
11152 | |
10460 | |
11153 | # Check whether --enable-dns was given. |
10461 | # Check whether --enable-dns was given. |
11154 | if test "${enable_dns+set}" = set; then |
10462 | if test "${enable_dns+set}" = set; then |
11155 | enableval=$enable_dns; |
10463 | enableval=$enable_dns; |
11156 | if test "${ac_cv_header_gmp_h+set}" = set; then |
10464 | if test "${ac_cv_header_gmp_h+set}" = set; then |
… | |
… | |
11365 | |
10673 | |
11366 | |
10674 | |
11367 | fi |
10675 | fi |
11368 | |
10676 | |
11369 | |
10677 | |
11370 | # Check whether --enable-http-proxy was given. |
|
|
11371 | if test "${enable_http_proxy+set}" = set; then |
|
|
11372 | enableval=$enable_http_proxy; |
|
|
11373 | cat >>confdefs.h <<_ACEOF |
|
|
11374 | #define ENABLE_HTTP_PROXY 1 |
|
|
11375 | _ACEOF |
|
|
11376 | |
|
|
11377 | |
|
|
11378 | fi |
|
|
11379 | |
|
|
11380 | |
|
|
11381 | HMAC=12 |
10678 | HMAC=12 |
11382 | # Check whether --enable-hmac-length was given. |
10679 | # Check whether --enable-hmac-length was given. |
11383 | if test "${enable_hmac_length+set}" = set; then |
10680 | if test "${enable_hmac_length+set}" = set; then |
11384 | enableval=$enable_hmac_length; HMAC=$enableval |
10681 | enableval=$enable_hmac_length; HMAC=$enableval |
11385 | |
10682 | |
… | |
… | |
11403 | #define RAND_SIZE $RAND |
10700 | #define RAND_SIZE $RAND |
11404 | _ACEOF |
10701 | _ACEOF |
11405 | |
10702 | |
11406 | |
10703 | |
11407 | MTU=1500 |
10704 | MTU=1500 |
11408 | # Check whether --enable-mtu was given. |
10705 | # Check whether --enable-max-mtu was given. |
11409 | if test "${enable_mtu+set}" = set; then |
10706 | if test "${enable_max_mtu+set}" = set; then |
11410 | enableval=$enable_mtu; MTU=$enableval |
10707 | enableval=$enable_max_mtu; MTU=$enableval |
11411 | |
10708 | |
11412 | fi |
10709 | fi |
11413 | |
10710 | |
11414 | |
10711 | |
11415 | cat >>confdefs.h <<_ACEOF |
10712 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
11586 | fi |
10883 | fi |
11587 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
10884 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
11588 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
10885 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
11589 | Usually this means the macro was only invoked conditionally." >&5 |
10886 | Usually this means the macro was only invoked conditionally." >&5 |
11590 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
10887 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
11591 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
11592 | { (exit 1); exit 1; }; } |
|
|
11593 | fi |
|
|
11594 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
|
11595 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
|
11596 | Usually this means the macro was only invoked conditionally." >&5 |
|
|
11597 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
|
11598 | Usually this means the macro was only invoked conditionally." >&2;} |
10888 | Usually this means the macro was only invoked conditionally." >&2;} |
11599 | { (exit 1); exit 1; }; } |
10889 | { (exit 1); exit 1; }; } |
11600 | fi |
10890 | fi |
11601 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
10891 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
11602 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
10892 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |