Changeset 44ed9d3c02dfa173cf3996a9512f4e8b82691e8a
- Timestamp:
- 25/07/02 01:11:55
(6 years ago)
- Author:
- Christophe Massiot <massiot@videolan.org>
- git-committer:
- Christophe Massiot <massiot@videolan.org> 1027552315 +0000
- git-parent:
[30b91066e585c07ea9532162455506410affa41a]
- git-author:
- Christophe Massiot <massiot@videolan.org> 1027552315 +0000
- Message:
* ./configure : better detection of IPv6, fixed solaris handling
* ./src/input/* : fixed a memory leak
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbd0431f |
r44ed9d3 |
|
| 1528 | 1528 | |
|---|
| 1529 | 1529 | /* Ultrix mips cc rejects this. */ |
|---|
| 1530 | | typedef int charset[2]; const charset x; |
|---|
| | 1530 | typedef int charset[2]; const charset x = {0,0}; |
|---|
| 1531 | 1531 | /* SunOS 4.1.1 cc rejects this. */ |
|---|
| 1532 | 1532 | char const *const *ccp; |
|---|
| … | … | |
| 1603 | 1603 | |
|---|
| 1604 | 1604 | int main() { |
|---|
| 1605 | | } $ac_kw foo() { |
|---|
| | 1605 | } int $ac_kw foo() { |
|---|
| 1606 | 1606 | ; return 0; } |
|---|
| 1607 | 1607 | EOF |
|---|
| … | … | |
| 1709 | 1709 | #include <alloca.h> |
|---|
| 1710 | 1710 | int main() { |
|---|
| 1711 | | char *p = alloca(2 * sizeof(int)); |
|---|
| | 1711 | void *p = alloca(2 * sizeof(int)); |
|---|
| 1712 | 1712 | ; return 0; } |
|---|
| 1713 | 1713 | EOF |
|---|
| … | … | |
| 2062 | 2062 | #include <fcntl.h> |
|---|
| 2063 | 2063 | #include <sys/mman.h> |
|---|
| | 2064 | #include <stdlib.h> |
|---|
| | 2065 | #include <sys/stat.h> |
|---|
| | 2066 | |
|---|
| | 2067 | #ifdef HAVE_UNISTD_H |
|---|
| | 2068 | # include <unistd.h> |
|---|
| | 2069 | #endif |
|---|
| 2064 | 2070 | |
|---|
| 2065 | 2071 | /* This mess was copied from the GNU getpagesize.h. */ |
|---|
| 2066 | 2072 | #ifndef HAVE_GETPAGESIZE |
|---|
| 2067 | | # ifdef HAVE_UNISTD_H |
|---|
| 2068 | | # include <unistd.h> |
|---|
| 2069 | | # endif |
|---|
| 2070 | 2073 | |
|---|
| 2071 | 2074 | /* Assume that all systems that can run configure have sys/param.h. */ |
|---|
| … | … | |
| 2122 | 2125 | * First, make a file with some known garbage in it. |
|---|
| 2123 | 2126 | */ |
|---|
| 2124 | | data = malloc(pagesize); |
|---|
| | 2127 | data = (char*)malloc(pagesize); |
|---|
| 2125 | 2128 | if (!data) |
|---|
| 2126 | 2129 | exit(1); |
|---|
| … | … | |
| 2143 | 2146 | if (fd < 0) |
|---|
| 2144 | 2147 | exit(1); |
|---|
| 2145 | | data2 = malloc(2 * pagesize); |
|---|
| | 2148 | data2 = (char*)malloc(2 * pagesize); |
|---|
| 2146 | 2149 | if (!data2) |
|---|
| 2147 | 2150 | exit(1); |
|---|
| … | … | |
| 2161 | 2164 | for (i = 0; i < pagesize; ++i) |
|---|
| 2162 | 2165 | *(data2 + i) = *(data2 + i) + 1; |
|---|
| 2163 | | data3 = malloc(pagesize); |
|---|
| | 2166 | data3 = (char*)malloc(pagesize); |
|---|
| 2164 | 2167 | if (!data3) |
|---|
| 2165 | 2168 | exit(1); |
|---|
| … | … | |
| 2175 | 2178 | |
|---|
| 2176 | 2179 | EOF |
|---|
| 2177 | | if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| | 2180 | if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|---|
| 2178 | 2181 | then |
|---|
| 2179 | 2182 | ac_cv_func_mmap_fixed_mapped=yes |
|---|
| … | … | |
| 2199 | 2202 | |
|---|
| 2200 | 2203 | echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6 |
|---|
| 2201 | | echo "configure:2202: checking whether we are using the GNU C Library 2.1 or newer" >&5 |
|---|
| | 2204 | echo "configure:2205: checking whether we are using the GNU C Library 2.1 or newer" >&5 |
|---|
| 2202 | 2205 | if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then |
|---|
| 2203 | 2206 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2204 | 2207 | else |
|---|
| 2205 | 2208 | cat > conftest.$ac_ext <<EOF |
|---|
| 2206 | | #line 2207 "configure" |
|---|
| | 2209 | #line 2210 "configure" |
|---|
| 2207 | 2210 | #include "confdefs.h" |
|---|
| 2208 | 2211 | |
|---|
| … | … | |
| 2240 | 2243 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|---|
| 2241 | 2244 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|---|
| 2242 | | echo "configure:2243: checking for $ac_hdr" >&5 |
|---|
| | 2245 | echo "configure:2246: checking for $ac_hdr" >&5 |
|---|
| 2243 | 2246 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2244 | 2247 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2245 | 2248 | else |
|---|
| 2246 | 2249 | cat > conftest.$ac_ext <<EOF |
|---|
| 2247 | | #line 2248 "configure" |
|---|
| | 2250 | #line 2251 "configure" |
|---|
| 2248 | 2251 | #include "confdefs.h" |
|---|
| 2249 | 2252 | #include <$ac_hdr> |
|---|
| 2250 | 2253 | EOF |
|---|
| 2251 | 2254 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2252 | | { (eval echo configure:2253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2255 | { (eval echo configure:2256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2253 | 2256 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2254 | 2257 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2281 | 2284 | do |
|---|
| 2282 | 2285 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 2283 | | echo "configure:2284: checking for $ac_func" >&5 |
|---|
| | 2286 | echo "configure:2287: checking for $ac_func" >&5 |
|---|
| 2284 | 2287 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 2285 | 2288 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2286 | 2289 | else |
|---|
| 2287 | 2290 | cat > conftest.$ac_ext <<EOF |
|---|
| 2288 | | #line 2289 "configure" |
|---|
| | 2291 | #line 2292 "configure" |
|---|
| 2289 | 2292 | #include "confdefs.h" |
|---|
| 2290 | 2293 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2309 | 2312 | ; return 0; } |
|---|
| 2310 | 2313 | EOF |
|---|
| 2311 | | if { (eval echo configure:2312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2314 | if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2312 | 2315 | rm -rf conftest* |
|---|
| 2313 | 2316 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 2349 | 2352 | |
|---|
| 2350 | 2353 | echo $ac_n "checking for iconv""... $ac_c" 1>&6 |
|---|
| 2351 | | echo "configure:2352: checking for iconv" >&5 |
|---|
| | 2354 | echo "configure:2355: checking for iconv" >&5 |
|---|
| 2352 | 2355 | if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then |
|---|
| 2353 | 2356 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2357 | 2360 | am_cv_lib_iconv=no |
|---|
| 2358 | 2361 | cat > conftest.$ac_ext <<EOF |
|---|
| 2359 | | #line 2360 "configure" |
|---|
| | 2362 | #line 2363 "configure" |
|---|
| 2360 | 2363 | #include "confdefs.h" |
|---|
| 2361 | 2364 | #include <stdlib.h> |
|---|
| … | … | |
| 2367 | 2370 | ; return 0; } |
|---|
| 2368 | 2371 | EOF |
|---|
| 2369 | | if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2372 | if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2370 | 2373 | rm -rf conftest* |
|---|
| 2371 | 2374 | am_cv_func_iconv=yes |
|---|
| … | … | |
| 2379 | 2382 | LIBS="$LIBS -liconv" |
|---|
| 2380 | 2383 | cat > conftest.$ac_ext <<EOF |
|---|
| 2381 | | #line 2382 "configure" |
|---|
| | 2384 | #line 2385 "configure" |
|---|
| 2382 | 2385 | #include "confdefs.h" |
|---|
| 2383 | 2386 | #include <stdlib.h> |
|---|
| … | … | |
| 2389 | 2392 | ; return 0; } |
|---|
| 2390 | 2393 | EOF |
|---|
| 2391 | | if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2394 | if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2392 | 2395 | rm -rf conftest* |
|---|
| 2393 | 2396 | am_cv_lib_iconv=yes |
|---|
| … | … | |
| 2410 | 2413 | |
|---|
| 2411 | 2414 | echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 |
|---|
| 2412 | | echo "configure:2413: checking for iconv declaration" >&5 |
|---|
| | 2415 | echo "configure:2416: checking for iconv declaration" >&5 |
|---|
| 2413 | 2416 | if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then |
|---|
| 2414 | 2417 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2416 | 2419 | |
|---|
| 2417 | 2420 | cat > conftest.$ac_ext <<EOF |
|---|
| 2418 | | #line 2419 "configure" |
|---|
| | 2421 | #line 2422 "configure" |
|---|
| 2419 | 2422 | #include "confdefs.h" |
|---|
| 2420 | 2423 | |
|---|
| … | … | |
| 2435 | 2438 | ; return 0; } |
|---|
| 2436 | 2439 | EOF |
|---|
| 2437 | | if { (eval echo configure:2438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 2440 | if { (eval echo configure:2441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 2438 | 2441 | rm -rf conftest* |
|---|
| 2439 | 2442 | am_cv_proto_iconv_arg1="" |
|---|
| … | … | |
| 2464 | 2467 | |
|---|
| 2465 | 2468 | echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6 |
|---|
| 2466 | | echo "configure:2467: checking for nl_langinfo and CODESET" >&5 |
|---|
| | 2469 | echo "configure:2470: checking for nl_langinfo and CODESET" >&5 |
|---|
| 2467 | 2470 | if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then |
|---|
| 2468 | 2471 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2469 | 2472 | else |
|---|
| 2470 | 2473 | cat > conftest.$ac_ext <<EOF |
|---|
| 2471 | | #line 2472 "configure" |
|---|
| | 2474 | #line 2475 "configure" |
|---|
| 2472 | 2475 | #include "confdefs.h" |
|---|
| 2473 | 2476 | #include <langinfo.h> |
|---|
| … | … | |
| 2476 | 2479 | ; return 0; } |
|---|
| 2477 | 2480 | EOF |
|---|
| 2478 | | if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2481 | if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2479 | 2482 | rm -rf conftest* |
|---|
| 2480 | 2483 | am_cv_langinfo_codeset=yes |
|---|
| … | … | |
| 2499 | 2502 | if test $ac_cv_header_locale_h = yes; then |
|---|
| 2500 | 2503 | echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 |
|---|
| 2501 | | echo "configure:2502: checking for LC_MESSAGES" >&5 |
|---|
| | 2504 | echo "configure:2505: checking for LC_MESSAGES" >&5 |
|---|
| 2502 | 2505 | if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then |
|---|
| 2503 | 2506 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2504 | 2507 | else |
|---|
| 2505 | 2508 | cat > conftest.$ac_ext <<EOF |
|---|
| 2506 | | #line 2507 "configure" |
|---|
| | 2509 | #line 2510 "configure" |
|---|
| 2507 | 2510 | #include "confdefs.h" |
|---|
| 2508 | 2511 | #include <locale.h> |
|---|
| … | … | |
| 2511 | 2514 | ; return 0; } |
|---|
| 2512 | 2515 | EOF |
|---|
| 2513 | | if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2516 | if { (eval echo configure:2517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2514 | 2517 | rm -rf conftest* |
|---|
| 2515 | 2518 | am_cv_val_LC_MESSAGES=yes |
|---|
| … | … | |
| 2532 | 2535 | fi |
|---|
| 2533 | 2536 | echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 |
|---|
| 2534 | | echo "configure:2535: checking whether NLS is requested" >&5 |
|---|
| | 2537 | echo "configure:2538: checking whether NLS is requested" >&5 |
|---|
| 2535 | 2538 | # Check whether --enable-nls or --disable-nls was given. |
|---|
| 2536 | 2539 | if test "${enable_nls+set}" = set; then |
|---|
| … | … | |
| 2554 | 2557 | |
|---|
| 2555 | 2558 | echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 |
|---|
| 2556 | | echo "configure:2557: checking whether included gettext is requested" >&5 |
|---|
| | 2559 | echo "configure:2560: checking whether included gettext is requested" >&5 |
|---|
| 2557 | 2560 | # Check whether --with-included-gettext or --without-included-gettext was given. |
|---|
| 2558 | 2561 | if test "${with_included_gettext+set}" = set; then |
|---|
| … | … | |
| 2574 | 2577 | ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` |
|---|
| 2575 | 2578 | echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 |
|---|
| 2576 | | echo "configure:2577: checking for libintl.h" >&5 |
|---|
| | 2579 | echo "configure:2580: checking for libintl.h" >&5 |
|---|
| 2577 | 2580 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|---|
| 2578 | 2581 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2579 | 2582 | else |
|---|
| 2580 | 2583 | cat > conftest.$ac_ext <<EOF |
|---|
| 2581 | | #line 2582 "configure" |
|---|
| | 2584 | #line 2585 "configure" |
|---|
| 2582 | 2585 | #include "confdefs.h" |
|---|
| 2583 | 2586 | #include <libintl.h> |
|---|
| 2584 | 2587 | EOF |
|---|
| 2585 | 2588 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|---|
| 2586 | | { (eval echo configure:2587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| | 2589 | { (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|---|
| 2587 | 2590 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|---|
| 2588 | 2591 | if test -z "$ac_err"; then |
|---|
| … | … | |
| 2601 | 2604 | echo "$ac_t""yes" 1>&6 |
|---|
| 2602 | 2605 | echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6 |
|---|
| 2603 | | echo "configure:2604: checking for GNU gettext in libc" >&5 |
|---|
| | 2606 | echo "configure:2607: checking for GNU gettext in libc" >&5 |
|---|
| 2604 | 2607 | if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then |
|---|
| 2605 | 2608 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2606 | 2609 | else |
|---|
| 2607 | 2610 | cat > conftest.$ac_ext <<EOF |
|---|
| 2608 | | #line 2609 "configure" |
|---|
| | 2611 | #line 2612 "configure" |
|---|
| 2609 | 2612 | #include "confdefs.h" |
|---|
| 2610 | 2613 | #include <libintl.h> |
|---|
| … | … | |
| 2615 | 2618 | ; return 0; } |
|---|
| 2616 | 2619 | EOF |
|---|
| 2617 | | if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2620 | if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2618 | 2621 | rm -rf conftest* |
|---|
| 2619 | 2622 | gt_cv_func_gnugettext1_libc=yes |
|---|
| … | … | |
| 2631 | 2634 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
|---|
| 2632 | 2635 | echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6 |
|---|
| 2633 | | echo "configure:2634: checking for GNU gettext in libintl" >&5 |
|---|
| | 2636 | echo "configure:2637: checking for GNU gettext in libintl" >&5 |
|---|
| 2634 | 2637 | if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then |
|---|
| 2635 | 2638 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2638 | 2641 | LIBS="$LIBS -lintl $LIBICONV" |
|---|
| 2639 | 2642 | cat > conftest.$ac_ext <<EOF |
|---|
| 2640 | | #line 2641 "configure" |
|---|
| | 2643 | #line 2644 "configure" |
|---|
| 2641 | 2644 | #include "confdefs.h" |
|---|
| 2642 | 2645 | #include <libintl.h> |
|---|
| … | … | |
| 2647 | 2650 | ; return 0; } |
|---|
| 2648 | 2651 | EOF |
|---|
| 2649 | | if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2652 | if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2650 | 2653 | rm -rf conftest* |
|---|
| 2651 | 2654 | gt_cv_func_gnugettext1_libintl=yes |
|---|
| … | … | |
| 2680 | 2683 | do |
|---|
| 2681 | 2684 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 2682 | | echo "configure:2683: checking for $ac_func" >&5 |
|---|
| | 2685 | echo "configure:2686: checking for $ac_func" >&5 |
|---|
| 2683 | 2686 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 2684 | 2687 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 2685 | 2688 | else |
|---|
| 2686 | 2689 | cat > conftest.$ac_ext <<EOF |
|---|
| 2687 | | #line 2688 "configure" |
|---|
| | 2690 | #line 2691 "configure" |
|---|
| 2688 | 2691 | #include "confdefs.h" |
|---|
| 2689 | 2692 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 2708 | 2711 | ; return 0; } |
|---|
| 2709 | 2712 | EOF |
|---|
| 2710 | | if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 2713 | if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 2711 | 2714 | rm -rf conftest* |
|---|
| 2712 | 2715 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 2737 | 2740 | set dummy msgfmt; ac_word=$2 |
|---|
| 2738 | 2741 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 2739 | | echo "configure:2740: checking for $ac_word" >&5 |
|---|
| | 2742 | echo "configure:2743: checking for $ac_word" >&5 |
|---|
| 2740 | 2743 | if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then |
|---|
| 2741 | 2744 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2771 | 2774 | set dummy gmsgfmt; ac_word=$2 |
|---|
| 2772 | 2775 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 2773 | | echo "configure:2774: checking for $ac_word" >&5 |
|---|
| | 2776 | echo "configure:2777: checking for $ac_word" >&5 |
|---|
| 2774 | 2777 | if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then |
|---|
| 2775 | 2778 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2808 | 2811 | set dummy xgettext; ac_word=$2 |
|---|
| 2809 | 2812 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 2810 | | echo "configure:2811: checking for $ac_word" >&5 |
|---|
| | 2813 | echo "configure:2814: checking for $ac_word" >&5 |
|---|
| 2811 | 2814 | if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then |
|---|
| 2812 | 2815 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2858 | 2861 | set dummy msgfmt; ac_word=$2 |
|---|
| 2859 | 2862 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 2860 | | echo "configure:2861: checking for $ac_word" >&5 |
|---|
| | 2863 | echo "configure:2864: checking for $ac_word" >&5 |
|---|
| 2861 | 2864 | if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then |
|---|
| 2862 | 2865 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2892 | 2895 | set dummy gmsgfmt; ac_word=$2 |
|---|
| 2893 | 2896 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 2894 | | echo "configure:2895: checking for $ac_word" >&5 |
|---|
| | 2897 | echo "configure:2898: checking for $ac_word" >&5 |
|---|
| 2895 | 2898 | if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then |
|---|
| 2896 | 2899 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2928 | 2931 | set dummy xgettext; ac_word=$2 |
|---|
| 2929 | 2932 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 2930 | | echo "configure:2931: checking for $ac_word" >&5 |
|---|
| | 2933 | echo "configure:2934: checking for $ac_word" >&5 |
|---|
| 2931 | 2934 | if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then |
|---|
| 2932 | 2935 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 2999 | 3002 | set dummy $ac_prog; ac_word=$2 |
|---|
| 3000 | 3003 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 3001 | | echo "configure:3002: checking for $ac_word" >&5 |
|---|
| | 3004 | echo "configure:3005: checking for $ac_word" >&5 |
|---|
| 3002 | 3005 | if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then |
|---|
| 3003 | 3006 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 3032 | 3035 | else |
|---|
| 3033 | 3036 | echo $ac_n "checking version of bison""... $ac_c" 1>&6 |
|---|
| 3034 | | echo "configure:3035: checking version of bison" >&5 |
|---|
| | 3037 | echo "configure:3038: checking version of bison" >&5 |
|---|
| 3035 | 3038 | ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` |
|---|
| 3036 | 3039 | case $ac_prog_version in |
|---|
| … | … | |
| 3079 | 3082 | else |
|---|
| 3080 | 3083 | echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 |
|---|
| 3081 | | echo "configure:3082: checking for catalogs to be installed" >&5 |
|---|
| | 3084 | echo "configure:3085: checking for catalogs to be installed" >&5 |
|---|
| 3082 | 3085 | NEW_LINGUAS= |
|---|
| 3083 | 3086 | for presentlang in $ALL_LINGUAS; do |
|---|
| … | … | |
| 3131 | 3134 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 3132 | 3135 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
|---|
| 3133 | | echo "configure:3134: checking for a BSD compatible install" >&5 |
|---|
| | 3136 | echo "configure:3137: checking for a BSD compatible install" >&5 |
|---|
| 3134 | 3137 | if test -z "$INSTALL"; then |
|---|
| 3135 | 3138 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|---|
| … | … | |
| 3213 | 3216 | set dummy ${ac_tool_prefix}windres; ac_word=$2 |
|---|
| 3214 | 3217 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 3215 | | echo "configure:3216: checking for $ac_word" >&5 |
|---|
| | 3218 | echo "configure:3219: checking for $ac_word" >&5 |
|---|
| 3216 | 3219 | if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then |
|---|
| 3217 | 3220 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 3245 | 3248 | set dummy windres; ac_word=$2 |
|---|
| 3246 | 3249 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|---|
| 3247 | | echo "configure:3248: checking for $ac_word" >&5 |
|---|
| | 3250 | echo "configure:3251: checking for $ac_word" >&5 |
|---|
| 3248 | 3251 | if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then |
|---|
| 3249 | 3252 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| … | … | |
| 3316 | 3319 | do |
|---|
| 3317 | 3320 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| 3318 | | echo "configure:3319: checking for $ac_func" >&5 |
|---|
| | 3321 | echo "configure:3322: checking for $ac_func" >&5 |
|---|
| 3319 | 3322 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|---|
| 3320 | 3323 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3321 | 3324 | else |
|---|
| 3322 | 3325 | cat > conftest.$ac_ext <<EOF |
|---|
| 3323 | | #line 3324 "configure" |
|---|
| | 3326 | #line 3327 "configure" |
|---|
| 3324 | 3327 | #include "confdefs.h" |
|---|
| 3325 | 3328 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3344 | 3347 | ; return 0; } |
|---|
| 3345 | 3348 | EOF |
|---|
| 3346 | | if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3349 | if { (eval echo configure:3350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3347 | 3350 | rm -rf conftest* |
|---|
| 3348 | 3351 | eval "ac_cv_func_$ac_func=yes" |
|---|
| … | … | |
| 3370 | 3373 | |
|---|
| 3371 | 3374 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
|---|
| 3372 | | echo "configure:3373: checking for connect" >&5 |
|---|
| | 3375 | echo "configure:3376: checking for connect" >&5 |
|---|
| 3373 | 3376 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
|---|
| 3374 | 3377 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3375 | 3378 | else |
|---|
| 3376 | 3379 | cat > conftest.$ac_ext <<EOF |
|---|
| 3377 | | #line 3378 "configure" |
|---|
| | 3380 | #line 3381 "configure" |
|---|
| 3378 | 3381 | #include "confdefs.h" |
|---|
| 3379 | 3382 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3398 | 3401 | ; return 0; } |
|---|
| 3399 | 3402 | EOF |
|---|
| 3400 | | if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3403 | if { (eval echo configure:3404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3401 | 3404 | rm -rf conftest* |
|---|
| 3402 | 3405 | eval "ac_cv_func_connect=yes" |
|---|
| … | … | |
| 3417 | 3420 | |
|---|
| 3418 | 3421 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
|---|
| 3419 | | echo "configure:3420: checking for connect in -lsocket" >&5 |
|---|
| | 3422 | echo "configure:3423: checking for connect in -lsocket" >&5 |
|---|
| 3420 | 3423 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
|---|
| 3421 | 3424 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3425 | 3428 | LIBS="-lsocket $LIBS" |
|---|
| 3426 | 3429 | cat > conftest.$ac_ext <<EOF |
|---|
| 3427 | | #line 3428 "configure" |
|---|
| | 3430 | #line 3431 "configure" |
|---|
| 3428 | 3431 | #include "confdefs.h" |
|---|
| 3429 | 3432 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3436 | 3439 | ; return 0; } |
|---|
| 3437 | 3440 | EOF |
|---|
| 3438 | | if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3441 | if { (eval echo configure:3442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3439 | 3442 | rm -rf conftest* |
|---|
| 3440 | 3443 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3461 | 3464 | |
|---|
| 3462 | 3465 | echo $ac_n "checking for send""... $ac_c" 1>&6 |
|---|
| 3463 | | echo "configure:3464: checking for send" >&5 |
|---|
| | 3466 | echo "configure:3467: checking for send" >&5 |
|---|
| 3464 | 3467 | if eval "test \"`echo '$''{'ac_cv_func_send'+set}'`\" = set"; then |
|---|
| 3465 | 3468 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3466 | 3469 | else |
|---|
| 3467 | 3470 | cat > conftest.$ac_ext <<EOF |
|---|
| 3468 | | #line 3469 "configure" |
|---|
| | 3471 | #line 3472 "configure" |
|---|
| 3469 | 3472 | #include "confdefs.h" |
|---|
| 3470 | 3473 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3489 | 3492 | ; return 0; } |
|---|
| 3490 | 3493 | EOF |
|---|
| 3491 | | if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3494 | if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3492 | 3495 | rm -rf conftest* |
|---|
| 3493 | 3496 | eval "ac_cv_func_send=yes" |
|---|
| … | … | |
| 3508 | 3511 | |
|---|
| 3509 | 3512 | echo $ac_n "checking for send in -lsocket""... $ac_c" 1>&6 |
|---|
| 3510 | | echo "configure:3511: checking for send in -lsocket" >&5 |
|---|
| | 3513 | echo "configure:3514: checking for send in -lsocket" >&5 |
|---|
| 3511 | 3514 | ac_lib_var=`echo socket'_'send | sed 'y%./+-%__p_%'` |
|---|
| 3512 | 3515 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3516 | 3519 | LIBS="-lsocket $LIBS" |
|---|
| 3517 | 3520 | cat > conftest.$ac_ext <<EOF |
|---|
| 3518 | | #line 3519 "configure" |
|---|
| | 3521 | #line 3522 "configure" |
|---|
| 3519 | 3522 | #include "confdefs.h" |
|---|
| 3520 | 3523 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3527 | 3530 | ; return 0; } |
|---|
| 3528 | 3531 | EOF |
|---|
| 3529 | | if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3532 | if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3530 | 3533 | rm -rf conftest* |
|---|
| 3531 | 3534 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3551 | 3554 | |
|---|
| 3552 | 3555 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|---|
| 3553 | | echo "configure:3554: checking for gethostbyname" >&5 |
|---|
| | 3556 | echo "configure:3557: checking for gethostbyname" >&5 |
|---|
| 3554 | 3557 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|---|
| 3555 | 3558 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3556 | 3559 | else |
|---|
| 3557 | 3560 | cat > conftest.$ac_ext <<EOF |
|---|
| 3558 | | #line 3559 "configure" |
|---|
| | 3561 | #line 3562 "configure" |
|---|
| 3559 | 3562 | #include "confdefs.h" |
|---|
| 3560 | 3563 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3579 | 3582 | ; return 0; } |
|---|
| 3580 | 3583 | EOF |
|---|
| 3581 | | if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3584 | if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3582 | 3585 | rm -rf conftest* |
|---|
| 3583 | 3586 | eval "ac_cv_func_gethostbyname=yes" |
|---|
| … | … | |
| 3598 | 3601 | |
|---|
| 3599 | 3602 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
|---|
| 3600 | | echo "configure:3601: checking for gethostbyname in -lnsl" >&5 |
|---|
| | 3603 | echo "configure:3604: checking for gethostbyname in -lnsl" >&5 |
|---|
| 3601 | 3604 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
|---|
| 3602 | 3605 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3606 | 3609 | LIBS="-lnsl $LIBS" |
|---|
| 3607 | 3610 | cat > conftest.$ac_ext <<EOF |
|---|
| 3608 | | #line 3609 "configure" |
|---|
| | 3611 | #line 3612 "configure" |
|---|
| 3609 | 3612 | #include "confdefs.h" |
|---|
| 3610 | 3613 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3617 | 3620 | ; return 0; } |
|---|
| 3618 | 3621 | EOF |
|---|
| 3619 | | if { (eval echo configure:3620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3622 | if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3620 | 3623 | rm -rf conftest* |
|---|
| 3621 | 3624 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3641 | 3644 | |
|---|
| 3642 | 3645 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
|---|
| 3643 | | echo "configure:3644: checking for gethostbyname" >&5 |
|---|
| | 3646 | echo "configure:3647: checking for gethostbyname" >&5 |
|---|
| 3644 | 3647 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
|---|
| 3645 | 3648 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3646 | 3649 | else |
|---|
| 3647 | 3650 | cat > conftest.$ac_ext <<EOF |
|---|
| 3648 | | #line 3649 "configure" |
|---|
| | 3651 | #line 3652 "configure" |
|---|
| 3649 | 3652 | #include "confdefs.h" |
|---|
| 3650 | 3653 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3669 | 3672 | ; return 0; } |
|---|
| 3670 | 3673 | EOF |
|---|
| 3671 | | if { (eval echo configure:3672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3674 | if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3672 | 3675 | rm -rf conftest* |
|---|
| 3673 | 3676 | eval "ac_cv_func_gethostbyname=yes" |
|---|
| … | … | |
| 3688 | 3691 | |
|---|
| 3689 | 3692 | echo $ac_n "checking for gethostbyname in -lbind""... $ac_c" 1>&6 |
|---|
| 3690 | | echo "configure:3691: checking for gethostbyname in -lbind" >&5 |
|---|
| | 3693 | echo "configure:3694: checking for gethostbyname in -lbind" >&5 |
|---|
| 3691 | 3694 | ac_lib_var=`echo bind'_'gethostbyname | sed 'y%./+-%__p_%'` |
|---|
| 3692 | 3695 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3696 | 3699 | LIBS="-lbind $LIBS" |
|---|
| 3697 | 3700 | cat > conftest.$ac_ext <<EOF |
|---|
| 3698 | | #line 3699 "configure" |
|---|
| | 3701 | #line 3702 "configure" |
|---|
| 3699 | 3702 | #include "confdefs.h" |
|---|
| 3700 | 3703 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3707 | 3710 | ; return 0; } |
|---|
| 3708 | 3711 | EOF |
|---|
| 3709 | | if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3712 | if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3710 | 3713 | rm -rf conftest* |
|---|
| 3711 | 3714 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3732 | 3735 | have_nanosleep=0 |
|---|
| 3733 | 3736 | echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 |
|---|
| 3734 | | echo "configure:3735: checking for nanosleep" >&5 |
|---|
| | 3737 | echo "configure:3738: checking for nanosleep" >&5 |
|---|
| 3735 | 3738 | if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then |
|---|
| 3736 | 3739 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3737 | 3740 | else |
|---|
| 3738 | 3741 | cat > conftest.$ac_ext <<EOF |
|---|
| 3739 | | #line 3740 "configure" |
|---|
| | 3742 | #line 3743 "configure" |
|---|
| 3740 | 3743 | #include "confdefs.h" |
|---|
| 3741 | 3744 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3760 | 3763 | ; return 0; } |
|---|
| 3761 | 3764 | EOF |
|---|
| 3762 | | if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3765 | if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3763 | 3766 | rm -rf conftest* |
|---|
| 3764 | 3767 | eval "ac_cv_func_nanosleep=yes" |
|---|
| … | … | |
| 3779 | 3782 | |
|---|
| 3780 | 3783 | echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 |
|---|
| 3781 | | echo "configure:3782: checking for nanosleep in -lrt" >&5 |
|---|
| | 3784 | echo "configure:3785: checking for nanosleep in -lrt" >&5 |
|---|
| 3782 | 3785 | ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 3783 | 3786 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3787 | 3790 | LIBS="-lrt $LIBS" |
|---|
| 3788 | 3791 | cat > conftest.$ac_ext <<EOF |
|---|
| 3789 | | #line 3790 "configure" |
|---|
| | 3792 | #line 3793 "configure" |
|---|
| 3790 | 3793 | #include "confdefs.h" |
|---|
| 3791 | 3794 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3798 | 3801 | ; return 0; } |
|---|
| 3799 | 3802 | EOF |
|---|
| 3800 | | if { (eval echo configure:3801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3803 | if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3801 | 3804 | rm -rf conftest* |
|---|
| 3802 | 3805 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3817 | 3820 | echo "$ac_t""no" 1>&6 |
|---|
| 3818 | 3821 | echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6 |
|---|
| 3819 | | echo "configure:3820: checking for nanosleep in -lposix4" >&5 |
|---|
| | 3822 | echo "configure:3823: checking for nanosleep in -lposix4" >&5 |
|---|
| 3820 | 3823 | ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'` |
|---|
| 3821 | 3824 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3825 | 3828 | LIBS="-lposix4 $LIBS" |
|---|
| 3826 | 3829 | cat > conftest.$ac_ext <<EOF |
|---|
| 3827 | | #line 3828 "configure" |
|---|
| | 3830 | #line 3831 "configure" |
|---|
| 3828 | 3831 | #include "confdefs.h" |
|---|
| 3829 | 3832 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3836 | 3839 | ; return 0; } |
|---|
| 3837 | 3840 | EOF |
|---|
| 3838 | | if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3841 | if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3839 | 3842 | rm -rf conftest* |
|---|
| 3840 | 3843 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3870 | 3873 | # HP/UX port |
|---|
| 3871 | 3874 | echo $ac_n "checking for sem_init in -lrt""... $ac_c" 1>&6 |
|---|
| 3872 | | echo "configure:3873: checking for sem_init in -lrt" >&5 |
|---|
| | 3875 | echo "configure:3876: checking for sem_init in -lrt" >&5 |
|---|
| 3873 | 3876 | ac_lib_var=`echo rt'_'sem_init | sed 'y%./+-%__p_%'` |
|---|
| 3874 | 3877 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3878 | 3881 | LIBS="-lrt $LIBS" |
|---|
| 3879 | 3882 | cat > conftest.$ac_ext <<EOF |
|---|
| 3880 | | #line 3881 "configure" |
|---|
| | 3883 | #line 3884 "configure" |
|---|
| 3881 | 3884 | #include "confdefs.h" |
|---|
| 3882 | 3885 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3889 | 3892 | ; return 0; } |
|---|
| 3890 | 3893 | EOF |
|---|
| 3891 | | if { (eval echo configure:3892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3894 | if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3892 | 3895 | rm -rf conftest* |
|---|
| 3893 | 3896 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 3911 | 3914 | |
|---|
| 3912 | 3915 | echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 |
|---|
| 3913 | | echo "configure:3914: checking for inet_aton" >&5 |
|---|
| | 3916 | echo "configure:3917: checking for inet_aton" >&5 |
|---|
| 3914 | 3917 | if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then |
|---|
| 3915 | 3918 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 3916 | 3919 | else |
|---|
| 3917 | 3920 | cat > conftest.$ac_ext <<EOF |
|---|
| 3918 | | #line 3919 "configure" |
|---|
| | 3921 | #line 3922 "configure" |
|---|
| 3919 | 3922 | #include "confdefs.h" |
|---|
| 3920 | 3923 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 3939 | 3942 | ; return 0; } |
|---|
| 3940 | 3943 | EOF |
|---|
| 3941 | | if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3944 | if { (eval echo configure:3945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3942 | 3945 | rm -rf conftest* |
|---|
| 3943 | 3946 | eval "ac_cv_func_inet_aton=yes" |
|---|
| … | … | |
| 3958 | 3961 | |
|---|
| 3959 | 3962 | echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 |
|---|
| 3960 | | echo "configure:3961: checking for inet_aton in -lresolv" >&5 |
|---|
| | 3963 | echo "configure:3964: checking for inet_aton in -lresolv" >&5 |
|---|
| 3961 | 3964 | ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` |
|---|
| 3962 | 3965 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 3966 | 3969 | LIBS="-lresolv $LIBS" |
|---|
| 3967 | 3970 | cat > conftest.$ac_ext <<EOF |
|---|
| 3968 | | #line 3969 "configure" |
|---|
| | 3971 | #line 3972 "configure" |
|---|
| 3969 | 3972 | #include "confdefs.h" |
|---|
| 3970 | 3973 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 3977 | 3980 | ; return 0; } |
|---|
| 3978 | 3981 | EOF |
|---|
| 3979 | | if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 3982 | if { (eval echo configure:3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 3980 | 3983 | rm -rf conftest* |
|---|
| 3981 | 3984 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4001 | 4004 | |
|---|
| 4002 | 4005 | echo $ac_n "checking for textdomain""... $ac_c" 1>&6 |
|---|
| 4003 | | echo "configure:4004: checking for textdomain" >&5 |
|---|
| | 4006 | echo "configure:4007: checking for textdomain" >&5 |
|---|
| 4004 | 4007 | if eval "test \"`echo '$''{'ac_cv_func_textdomain'+set}'`\" = set"; then |
|---|
| 4005 | 4008 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 4006 | 4009 | else |
|---|
| 4007 | 4010 | cat > conftest.$ac_ext <<EOF |
|---|
| 4008 | | #line 4009 "configure" |
|---|
| | 4011 | #line 4012 "configure" |
|---|
| 4009 | 4012 | #include "confdefs.h" |
|---|
| 4010 | 4013 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 4029 | 4032 | ; return 0; } |
|---|
| 4030 | 4033 | EOF |
|---|
| 4031 | | if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4034 | if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4032 | 4035 | rm -rf conftest* |
|---|
| 4033 | 4036 | eval "ac_cv_func_textdomain=yes" |
|---|
| … | … | |
| 4048 | 4051 | |
|---|
| 4049 | 4052 | echo $ac_n "checking for textdomain in -lintl""... $ac_c" 1>&6 |
|---|
| 4050 | | echo "configure:4051: checking for textdomain in -lintl" >&5 |
|---|
| | 4053 | echo "configure:4054: checking for textdomain in -lintl" >&5 |
|---|
| 4051 | 4054 | ac_lib_var=`echo intl'_'textdomain | sed 'y%./+-%__p_%'` |
|---|
| 4052 | 4055 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4056 | 4059 | LIBS="-lintl $LIBS" |
|---|
| 4057 | 4060 | cat > conftest.$ac_ext <<EOF |
|---|
| 4058 | | #line 4059 "configure" |
|---|
| | 4061 | #line 4062 "configure" |
|---|
| 4059 | 4062 | #include "confdefs.h" |
|---|
| 4060 | 4063 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 4067 | 4070 | ; return 0; } |
|---|
| 4068 | 4071 | EOF |
|---|
| 4069 | | if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4072 | if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4070 | 4073 | rm -rf conftest* |
|---|
| 4071 | 4074 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4095 | 4098 | NEED_GETOPT=0 |
|---|
| 4096 | 4099 | echo $ac_n "checking for getopt_long""... $ac_c" 1>&6 |
|---|
| 4097 | | echo "configure:4098: checking for getopt_long" >&5 |
|---|
| | 4100 | echo "configure:4101: checking for getopt_long" >&5 |
|---|
| 4098 | 4101 | if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then |
|---|
| 4099 | 4102 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 4100 | 4103 | else |
|---|
| 4101 | 4104 | cat > conftest.$ac_ext <<EOF |
|---|
| 4102 | | #line 4103 "configure" |
|---|
| | 4105 | #line 4106 "configure" |
|---|
| 4103 | 4106 | #include "confdefs.h" |
|---|
| 4104 | 4107 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| … | … | |
| 4123 | 4126 | ; return 0; } |
|---|
| 4124 | 4127 | EOF |
|---|
| 4125 | | if { (eval echo configure:4126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4128 | if { (eval echo configure:4129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4126 | 4129 | rm -rf conftest* |
|---|
| 4127 | 4130 | eval "ac_cv_func_getopt_long=yes" |
|---|
| … | … | |
| 4145 | 4148 | # FreeBSD has a gnugetopt library for this: |
|---|
| 4146 | 4149 | echo $ac_n "checking for getopt_long in -lgnugetopt""... $ac_c" 1>&6 |
|---|
| 4147 | | echo "configure:4148: checking for getopt_long in -lgnugetopt" >&5 |
|---|
| | 4150 | echo "configure:4151: checking for getopt_long in -lgnugetopt" >&5 |
|---|
| 4148 | 4151 | ac_lib_var=`echo gnugetopt'_'getopt_long | sed 'y%./+-%__p_%'` |
|---|
| 4149 | 4152 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4153 | 4156 | LIBS="-lgnugetopt $LIBS" |
|---|
| 4154 | 4157 | cat > conftest.$ac_ext <<EOF |
|---|
| 4155 | | #line 4156 "configure" |
|---|
| | 4158 | #line 4159 "configure" |
|---|
| 4156 | 4159 | #include "confdefs.h" |
|---|
| 4157 | 4160 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 4164 | 4167 | ; return 0; } |
|---|
| 4165 | 4168 | EOF |
|---|
| 4166 | | if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4169 | if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4167 | 4170 | rm -rf conftest* |
|---|
| 4168 | 4171 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4192 | 4195 | |
|---|
| 4193 | 4196 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
|---|
| 4194 | | echo "configure:4195: checking return type of signal handlers" >&5 |
|---|
| | 4197 | echo "configure:4198: checking return type of signal handlers" >&5 |
|---|
| 4195 | 4198 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
|---|
| 4196 | 4199 | echo $ac_n "(cached) $ac_c" 1>&6 |
|---|
| 4197 | 4200 | else |
|---|
| 4198 | 4201 | cat > conftest.$ac_ext <<EOF |
|---|
| 4199 | | #line 4200 "configure" |
|---|
| | 4202 | #line 4203 "configure" |
|---|
| 4200 | 4203 | #include "confdefs.h" |
|---|
| 4201 | 4204 | #include <sys/types.h> |
|---|
| … | … | |
| 4214 | 4217 | ; return 0; } |
|---|
| 4215 | 4218 | EOF |
|---|
| 4216 | | if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| | 4219 | if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|---|
| 4217 | 4220 | rm -rf conftest* |
|---|
| 4218 | 4221 | ac_cv_type_signal=void |
|---|
| … | … | |
| 4233 | 4236 | |
|---|
| 4234 | 4237 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
|---|
| 4235 | | echo "configure:4236: checking for dlopen in -ldl" >&5 |
|---|
| | 4238 | echo "configure:4239: checking for dlopen in -ldl" >&5 |
|---|
| 4236 | 4239 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
|---|
| 4237 | 4240 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4241 | 4244 | LIBS="-ldl $LIBS" |
|---|
| 4242 | 4245 | cat > conftest.$ac_ext <<EOF |
|---|
| 4243 | | #line 4244 "configure" |
|---|
| | 4246 | #line 4247 "configure" |
|---|
| 4244 | 4247 | #include "confdefs.h" |
|---|
| 4245 | 4248 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 4252 | 4255 | ; return 0; } |
|---|
| 4253 | 4256 | EOF |
|---|
| 4254 | | if { (eval echo configure:4255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4257 | if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4255 | 4258 | rm -rf conftest* |
|---|
| 4256 | 4259 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4273 | 4276 | |
|---|
| 4274 | 4277 | echo $ac_n "checking for cos in -lm""... $ac_c" 1>&6 |
|---|
| 4275 | | echo "configure:4276: checking for cos in -lm" >&5 |
|---|
| | 4278 | echo "configure:4279: checking for cos in -lm" >&5 |
|---|
| 4276 | 4279 | ac_lib_var=`echo m'_'cos | sed 'y%./+-%__p_%'` |
|---|
| 4277 | 4280 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4281 | 4284 | LIBS="-lm $LIBS" |
|---|
| 4282 | 4285 | cat > conftest.$ac_ext <<EOF |
|---|
| 4283 | | #line 4284 "configure" |
|---|
| | 4286 | #line 4287 "configure" |
|---|
| 4284 | 4287 | #include "confdefs.h" |
|---|
| 4285 | 4288 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 4292 | 4295 | ; return 0; } |
|---|
| 4293 | 4296 | EOF |
|---|
| 4294 | | if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4297 | if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4295 | 4298 | rm -rf conftest* |
|---|
| 4296 | 4299 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4314 | 4317 | |
|---|
| 4315 | 4318 | echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6 |
|---|
| 4316 | | echo "configure:4317: checking for pow in -lm" >&5 |
|---|
| | 4319 | echo "configure:4320: checking for pow in -lm" >&5 |
|---|
| 4317 | 4320 | ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'` |
|---|
| 4318 | 4321 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4322 | 4325 | LIBS="-lm $LIBS" |
|---|
| 4323 | 4326 | cat > conftest.$ac_ext <<EOF |
|---|
| 4324 | | #line 4325 "configure" |
|---|
| | 4327 | #line 4328 "configure" |
|---|
| 4325 | 4328 | #include "confdefs.h" |
|---|
| 4326 | 4329 | /* Override any gcc2 internal prototype to avoid an error. */ |
|---|
| … | … | |
| 4333 | 4336 | ; return 0; } |
|---|
| 4334 | 4337 | EOF |
|---|
| 4335 | | if { (eval echo configure:4336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4338 | if { (eval echo configure:4339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4336 | 4339 | rm -rf conftest* |
|---|
| 4337 | 4340 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4362 | 4365 | if test "x${THREAD_LIB}" = "xerror"; then |
|---|
| 4363 | 4366 | echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6 |
|---|
| 4364 | | echo "configure:4365: checking for main in -lpthread" >&5 |
|---|
| | 4367 | echo "configure:4368: checking for main in -lpthread" >&5 |
|---|
| 4365 | 4368 | ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'` |
|---|
| 4366 | 4369 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4370 | 4373 | LIBS="-lpthread $LIBS" |
|---|
| 4371 | 4374 | cat > conftest.$ac_ext <<EOF |
|---|
| 4372 | | #line 4373 "configure" |
|---|
| | 4375 | #line 4376 "configure" |
|---|
| 4373 | 4376 | #include "confdefs.h" |
|---|
| 4374 | 4377 | |
|---|
| … | … | |
| 4377 | 4380 | ; return 0; } |
|---|
| 4378 | 4381 | EOF |
|---|
| 4379 | | if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4382 | if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4380 | 4383 | rm -rf conftest* |
|---|
| 4381 | 4384 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4400 | 4403 | if test "x${THREAD_LIB}" = "xerror"; then |
|---|
| 4401 | 4404 | echo $ac_n "checking for main in -lpthreads""... $ac_c" 1>&6 |
|---|
| 4402 | | echo "configure:4403: checking for main in -lpthreads" >&5 |
|---|
| | 4405 | echo "configure:4406: checking for main in -lpthreads" >&5 |
|---|
| 4403 | 4406 | ac_lib_var=`echo pthreads'_'main | sed 'y%./+-%__p_%'` |
|---|
| 4404 | 4407 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4408 | 4411 | LIBS="-lpthreads $LIBS" |
|---|
| 4409 | 4412 | cat > conftest.$ac_ext <<EOF |
|---|
| 4410 | | #line 4411 "configure" |
|---|
| | 4413 | #line 4414 "configure" |
|---|
| 4411 | 4414 | #include "confdefs.h" |
|---|
| 4412 | 4415 | |
|---|
| … | … | |
| 4415 | 4418 | ; return 0; } |
|---|
| 4416 | 4419 | EOF |
|---|
| 4417 | | if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4420 | if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4418 | 4421 | rm -rf conftest* |
|---|
| 4419 | 4422 | eval "ac_cv_lib_$ac_lib_var=yes" |
|---|
| … | … | |
| 4438 | 4441 | if test "x${THREAD_LIB}" = "xerror"; then |
|---|
| 4439 | 4442 | echo $ac_n "checking for main in -lc_r""... $ac_c" 1>&6 |
|---|
| 4440 | | echo "configure:4441: checking for main in -lc_r" >&5 |
|---|
| | 4443 | echo "configure:4444: checking for main in -lc_r" >&5 |
|---|
| 4441 | 4444 | ac_lib_var=`echo c_r'_'main | sed 'y%./+-%__p_%'` |
|---|
| 4442 | 4445 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|---|
| … | … | |
| 4446 | 4449 | LIBS="-lc_r $LIBS" |
|---|
| 4447 | 4450 | cat > conftest.$ac_ext <<EOF |
|---|
| 4448 | | #line 4449 "configure" |
|---|
| | 4451 | #line 4452 "configure" |
|---|
| 4449 | 4452 | #include "confdefs.h" |
|---|
| 4450 | 4453 | |
|---|
| … | … | |
| 4453 | 4456 | ; return 0; } |
|---|
| 4454 | 4457 | EOF |
|---|
| 4455 | | if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| | 4458 | if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|---|
| 4456 | 4459 | rm -rf conftest*< |
|---|