Changeset 689 for pjproject/trunk/aconfigure
- Timestamp:
- Aug 20, 2006 8:47:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r625 r689 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for pjproject 0.5. 7.3 # Generated by GNU Autoconf 2.59 for pjproject 0.5.8. 4 4 # 5 5 # Copyright (C) 2003 Free Software Foundation, Inc. … … 268 268 PACKAGE_NAME='pjproject' 269 269 PACKAGE_TARNAME='pjproject' 270 PACKAGE_VERSION='0.5. 7'271 PACKAGE_STRING='pjproject 0.5. 7'270 PACKAGE_VERSION='0.5.8' 271 PACKAGE_STRING='pjproject 0.5.8' 272 272 PACKAGE_BUGREPORT='' 273 273 … … 309 309 #endif" 310 310 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT C PP EGREPLIBOBJS LTLIBOBJS'311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_bigendian CPP EGREP ac_pjmedia_snd ac_pa_use_alsa ac_no_small_filter ac_no_large_filter ac_no_g711_plc ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_speex_codec ac_no_ilbc_codec ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 312 312 ac_subst_files='' 313 313 … … 766 766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 767 767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 768 ac_env_CXX_set=${CXX+set} 769 ac_env_CXX_value=$CXX 770 ac_cv_env_CXX_set=${CXX+set} 771 ac_cv_env_CXX_value=$CXX 772 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 773 ac_env_CXXFLAGS_value=$CXXFLAGS 774 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 775 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 768 776 ac_env_CPP_set=${CPP+set} 769 777 ac_env_CPP_value=$CPP … … 778 786 # This message is too long to be a string in the A/UX 3.1 sh. 779 787 cat <<_ACEOF 780 \`configure' configures pjproject 0.5. 7to adapt to many kinds of systems.788 \`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 781 789 782 790 Usage: $0 [OPTION]... [VAR=VALUE]... … … 840 848 if test -n "$ac_init_help"; then 841 849 case $ac_init_help in 842 short | recursive ) echo "Configuration of pjproject 0.5. 7:";;850 short | recursive ) echo "Configuration of pjproject 0.5.8:";; 843 851 esac 844 852 cat <<\_ACEOF 853 854 Optional Features: 855 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 856 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 857 --disable-floating-point 858 Disable floating point where possible 859 --disable-small-filter Exclude small filter in resampling 860 --disable-large-filter Exclude large filter in resampling 861 --disable-g711-plc Exclude G.711 Annex A PLC 862 --disable-speex-aec Exclude Speex Acoustic Echo Canceller/AEC 863 --disable-g711-codec Exclude G.711 codecs from the build 864 --disable-l16-codec Exclude Linear/L16 codec family from the build 865 --disable-gsm-codec Exclude GSM codec in the build 866 --disable-speex-codec Exclude Speex codecs in the build 867 --disable-ilbc-codec Exclude iLBC codec in the build 845 868 846 869 Some influential environment variables: … … 851 874 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 852 875 headers in a nonstandard directory <include dir> 876 CXX C++ compiler command 877 CXXFLAGS C++ compiler flags 853 878 CPP C preprocessor 854 879 … … 951 976 if $ac_init_version; then 952 977 cat <<\_ACEOF 953 pjproject configure 0.5. 7978 pjproject configure 0.5.8 954 979 generated by GNU Autoconf 2.59 955 980 … … 965 990 running configure, to aid debugging if configure makes a mistake. 966 991 967 It was created by pjproject $as_me 0.5. 7, which was992 It was created by pjproject $as_me 0.5.8, which was 968 993 generated by GNU Autoconf 2.59. Invocation command line was 969 994 … … 1408 1433 NONENONEs,x,x, && 1409 1434 program_prefix=${target_alias}- 1410 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h" 1435 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 1436 1437 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak" 1411 1438 1412 1439 ac_ext=c … … 2340 2367 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2341 2368 2369 ac_ext=cc 2370 ac_cpp='$CXXCPP $CPPFLAGS' 2371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2374 if test -n "$ac_tool_prefix"; then 2375 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2376 do 2377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2379 echo "$as_me:$LINENO: checking for $ac_word" >&5 2380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2381 if test "${ac_cv_prog_CXX+set}" = set; then 2382 echo $ECHO_N "(cached) $ECHO_C" >&6 2383 else 2384 if test -n "$CXX"; then 2385 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2386 else 2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2388 for as_dir in $PATH 2389 do 2390 IFS=$as_save_IFS 2391 test -z "$as_dir" && as_dir=. 2392 for ac_exec_ext in '' $ac_executable_extensions; do 2393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2396 break 2 2397 fi 2398 done 2399 done 2400 2401 fi 2402 fi 2403 CXX=$ac_cv_prog_CXX 2404 if test -n "$CXX"; then 2405 echo "$as_me:$LINENO: result: $CXX" >&5 2406 echo "${ECHO_T}$CXX" >&6 2407 else 2408 echo "$as_me:$LINENO: result: no" >&5 2409 echo "${ECHO_T}no" >&6 2410 fi 2411 2412 test -n "$CXX" && break 2413 done 2414 fi 2415 if test -z "$CXX"; then 2416 ac_ct_CXX=$CXX 2417 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2418 do 2419 # Extract the first word of "$ac_prog", so it can be a program name with args. 2420 set dummy $ac_prog; ac_word=$2 2421 echo "$as_me:$LINENO: checking for $ac_word" >&5 2422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2423 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2424 echo $ECHO_N "(cached) $ECHO_C" >&6 2425 else 2426 if test -n "$ac_ct_CXX"; then 2427 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2428 else 2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2430 for as_dir in $PATH 2431 do 2432 IFS=$as_save_IFS 2433 test -z "$as_dir" && as_dir=. 2434 for ac_exec_ext in '' $ac_executable_extensions; do 2435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2436 ac_cv_prog_ac_ct_CXX="$ac_prog" 2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2438 break 2 2439 fi 2440 done 2441 done 2442 2443 fi 2444 fi 2445 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2446 if test -n "$ac_ct_CXX"; then 2447 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2448 echo "${ECHO_T}$ac_ct_CXX" >&6 2449 else 2450 echo "$as_me:$LINENO: result: no" >&5 2451 echo "${ECHO_T}no" >&6 2452 fi 2453 2454 test -n "$ac_ct_CXX" && break 2455 done 2456 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2457 2458 CXX=$ac_ct_CXX 2459 fi 2460 2461 2462 # Provide some information about the compiler. 2463 echo "$as_me:$LINENO:" \ 2464 "checking for C++ compiler version" >&5 2465 ac_compiler=`set X $ac_compile; echo $2` 2466 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2467 (eval $ac_compiler --version </dev/null >&5) 2>&5 2468 ac_status=$? 2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2470 (exit $ac_status); } 2471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2472 (eval $ac_compiler -v </dev/null >&5) 2>&5 2473 ac_status=$? 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); } 2476 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2477 (eval $ac_compiler -V </dev/null >&5) 2>&5 2478 ac_status=$? 2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2480 (exit $ac_status); } 2481 2482 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2483 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2484 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2485 echo $ECHO_N "(cached) $ECHO_C" >&6 2486 else 2487 cat >conftest.$ac_ext <<_ACEOF 2488 /* confdefs.h. */ 2489 _ACEOF 2490 cat confdefs.h >>conftest.$ac_ext 2491 cat >>conftest.$ac_ext <<_ACEOF 2492 /* end confdefs.h. */ 2493 2494 int 2495 main () 2496 { 2497 #ifndef __GNUC__ 2498 choke me 2499 #endif 2500 2501 ; 2502 return 0; 2503 } 2504 _ACEOF 2505 rm -f conftest.$ac_objext 2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2507 (eval $ac_compile) 2>conftest.er1 2508 ac_status=$? 2509 grep -v '^ *+' conftest.er1 >conftest.err 2510 rm -f conftest.er1 2511 cat conftest.err >&5 2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2513 (exit $ac_status); } && 2514 { ac_try='test -z "$ac_cxx_werror_flag" 2515 || test ! -s conftest.err' 2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2517 (eval $ac_try) 2>&5 2518 ac_status=$? 2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); }; } && 2521 { ac_try='test -s conftest.$ac_objext' 2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2523 (eval $ac_try) 2>&5 2524 ac_status=$? 2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2526 (exit $ac_status); }; }; then 2527 ac_compiler_gnu=yes 2528 else 2529 echo "$as_me: failed program was:" >&5 2530 sed 's/^/| /' conftest.$ac_ext >&5 2531 2532 ac_compiler_gnu=no 2533 fi 2534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2535 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2536 2537 fi 2538 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2539 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2540 GXX=`test $ac_compiler_gnu = yes && echo yes` 2541 ac_test_CXXFLAGS=${CXXFLAGS+set} 2542 ac_save_CXXFLAGS=$CXXFLAGS 2543 CXXFLAGS="-g" 2544 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2545 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2546 if test "${ac_cv_prog_cxx_g+set}" = set; then 2547 echo $ECHO_N "(cached) $ECHO_C" >&6 2548 else 2549 cat >conftest.$ac_ext <<_ACEOF 2550 /* confdefs.h. */ 2551 _ACEOF 2552 cat confdefs.h >>conftest.$ac_ext 2553 cat >>conftest.$ac_ext <<_ACEOF 2554 /* end confdefs.h. */ 2555 2556 int 2557 main () 2558 { 2559 2560 ; 2561 return 0; 2562 } 2563 _ACEOF 2564 rm -f conftest.$ac_objext 2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2566 (eval $ac_compile) 2>conftest.er1 2567 ac_status=$? 2568 grep -v '^ *+' conftest.er1 >conftest.err 2569 rm -f conftest.er1 2570 cat conftest.err >&5 2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2572 (exit $ac_status); } && 2573 { ac_try='test -z "$ac_cxx_werror_flag" 2574 || test ! -s conftest.err' 2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2576 (eval $ac_try) 2>&5 2577 ac_status=$? 2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 (exit $ac_status); }; } && 2580 { ac_try='test -s conftest.$ac_objext' 2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2582 (eval $ac_try) 2>&5 2583 ac_status=$? 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2585 (exit $ac_status); }; }; then 2586 ac_cv_prog_cxx_g=yes 2587 else 2588 echo "$as_me: failed program was:" >&5 2589 sed 's/^/| /' conftest.$ac_ext >&5 2590 2591 ac_cv_prog_cxx_g=no 2592 fi 2593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2594 fi 2595 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2596 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2597 if test "$ac_test_CXXFLAGS" = set; then 2598 CXXFLAGS=$ac_save_CXXFLAGS 2599 elif test $ac_cv_prog_cxx_g = yes; then 2600 if test "$GXX" = yes; then 2601 CXXFLAGS="-g -O2" 2602 else 2603 CXXFLAGS="-g" 2604 fi 2605 else 2606 if test "$GXX" = yes; then 2607 CXXFLAGS="-O2" 2608 else 2609 CXXFLAGS= 2610 fi 2611 fi 2612 for ac_declaration in \ 2613 '' \ 2614 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2615 'extern "C" void std::exit (int); using std::exit;' \ 2616 'extern "C" void exit (int) throw ();' \ 2617 'extern "C" void exit (int);' \ 2618 'void exit (int);' 2619 do 2620 cat >conftest.$ac_ext <<_ACEOF 2621 /* confdefs.h. */ 2622 _ACEOF 2623 cat confdefs.h >>conftest.$ac_ext 2624 cat >>conftest.$ac_ext <<_ACEOF 2625 /* end confdefs.h. */ 2626 $ac_declaration 2627 #include <stdlib.h> 2628 int 2629 main () 2630 { 2631 exit (42); 2632 ; 2633 return 0; 2634 } 2635 _ACEOF 2636 rm -f conftest.$ac_objext 2637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2638 (eval $ac_compile) 2>conftest.er1 2639 ac_status=$? 2640 grep -v '^ *+' conftest.er1 >conftest.err 2641 rm -f conftest.er1 2642 cat conftest.err >&5 2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2644 (exit $ac_status); } && 2645 { ac_try='test -z "$ac_cxx_werror_flag" 2646 || test ! -s conftest.err' 2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2648 (eval $ac_try) 2>&5 2649 ac_status=$? 2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2651 (exit $ac_status); }; } && 2652 { ac_try='test -s conftest.$ac_objext' 2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2654 (eval $ac_try) 2>&5 2655 ac_status=$? 2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2657 (exit $ac_status); }; }; then 2658 : 2659 else 2660 echo "$as_me: failed program was:" >&5 2661 sed 's/^/| /' conftest.$ac_ext >&5 2662 2663 continue 2664 fi 2665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2666 cat >conftest.$ac_ext <<_ACEOF 2667 /* confdefs.h. */ 2668 _ACEOF 2669 cat confdefs.h >>conftest.$ac_ext 2670 cat >>conftest.$ac_ext <<_ACEOF 2671 /* end confdefs.h. */ 2672 $ac_declaration 2673 int 2674 main () 2675 { 2676 exit (42); 2677 ; 2678 return 0; 2679 } 2680 _ACEOF 2681 rm -f conftest.$ac_objext 2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2683 (eval $ac_compile) 2>conftest.er1 2684 ac_status=$? 2685 grep -v '^ *+' conftest.er1 >conftest.err 2686 rm -f conftest.er1 2687 cat conftest.err >&5 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); } && 2690 { ac_try='test -z "$ac_cxx_werror_flag" 2691 || test ! -s conftest.err' 2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2693 (eval $ac_try) 2>&5 2694 ac_status=$? 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2696 (exit $ac_status); }; } && 2697 { ac_try='test -s conftest.$ac_objext' 2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2699 (eval $ac_try) 2>&5 2700 ac_status=$? 2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 (exit $ac_status); }; }; then 2703 break 2704 else 2705 echo "$as_me: failed program was:" >&5 2706 sed 's/^/| /' conftest.$ac_ext >&5 2707 2708 fi 2709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2710 done 2711 rm -f conftest* 2712 if test -n "$ac_declaration"; then 2713 echo '#ifdef __cplusplus' >>confdefs.h 2714 echo $ac_declaration >>confdefs.h 2715 echo '#endif' >>confdefs.h 2716 fi 2717 2342 2718 ac_ext=c 2343 2719 ac_cpp='$CPP $CPPFLAGS' … … 2346 2722 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2347 2723 2724 ac_ext=c 2725 ac_cpp='$CPP $CPPFLAGS' 2726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2728 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2729 2730 2731 2732 2733 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2734 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 2735 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 2736 echo $ECHO_N "(cached) $ECHO_C" >&6 2737 else 2738 ac_check_lib_save_LIBS=$LIBS 2739 LIBS="-lpthread $LIBS" 2740 cat >conftest.$ac_ext <<_ACEOF 2741 /* confdefs.h. */ 2742 _ACEOF 2743 cat confdefs.h >>conftest.$ac_ext 2744 cat >>conftest.$ac_ext <<_ACEOF 2745 /* end confdefs.h. */ 2746 2747 /* Override any gcc2 internal prototype to avoid an error. */ 2748 #ifdef __cplusplus 2749 extern "C" 2750 #endif 2751 /* We use char because int might match the return type of a gcc2 2752 builtin and then its argument prototype would still apply. */ 2753 char pthread_create (); 2754 int 2755 main () 2756 { 2757 pthread_create (); 2758 ; 2759 return 0; 2760 } 2761 _ACEOF 2762 rm -f conftest.$ac_objext conftest$ac_exeext 2763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2764 (eval $ac_link) 2>conftest.er1 2765 ac_status=$? 2766 grep -v '^ *+' conftest.er1 >conftest.err 2767 rm -f conftest.er1 2768 cat conftest.err >&5 2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2770 (exit $ac_status); } && 2771 { ac_try='test -z "$ac_c_werror_flag" 2772 || test ! -s conftest.err' 2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2774 (eval $ac_try) 2>&5 2775 ac_status=$? 2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2777 (exit $ac_status); }; } && 2778 { ac_try='test -s conftest$ac_exeext' 2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2780 (eval $ac_try) 2>&5 2781 ac_status=$? 2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2783 (exit $ac_status); }; }; then 2784 ac_cv_lib_pthread_pthread_create=yes 2785 else 2786 echo "$as_me: failed program was:" >&5 2787 sed 's/^/| /' conftest.$ac_ext >&5 2788 2789 ac_cv_lib_pthread_pthread_create=no 2790 fi 2791 rm -f conftest.err conftest.$ac_objext \ 2792 conftest$ac_exeext conftest.$ac_ext 2793 LIBS=$ac_check_lib_save_LIBS 2794 fi 2795 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 2796 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 2797 if test $ac_cv_lib_pthread_pthread_create = yes; then 2798 cat >>confdefs.h <<_ACEOF 2799 #define HAVE_LIBPTHREAD 1 2800 _ACEOF 2801 2802 LIBS="-lpthread $LIBS" 2803 2804 fi 2805 2806 2807 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 2808 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 2809 cat >>confdefs.h <<_ACEOF 2810 #define PJ_M_NAME "$target_cpu" 2811 _ACEOF 2812 2813 2814 # Endianness detection 2815 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 2816 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2817 if test "${ac_cv_c_bigendian+set}" = set; then 2818 echo $ECHO_N "(cached) $ECHO_C" >&6 2819 else 2820 # See if sys/param.h defines the BYTE_ORDER macro. 2821 cat >conftest.$ac_ext <<_ACEOF 2822 /* confdefs.h. */ 2823 _ACEOF 2824 cat confdefs.h >>conftest.$ac_ext 2825 cat >>conftest.$ac_ext <<_ACEOF 2826 /* end confdefs.h. */ 2827 #include <sys/types.h> 2828 #include <sys/param.h> 2829 2830 int 2831 main () 2832 { 2833 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 2834 bogus endian macros 2835 #endif 2836 2837 ; 2838 return 0; 2839 } 2840 _ACEOF 2841 rm -f conftest.$ac_objext 2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2843 (eval $ac_compile) 2>conftest.er1 2844 ac_status=$? 2845 grep -v '^ *+' conftest.er1 >conftest.err 2846 rm -f conftest.er1 2847 cat conftest.err >&5 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); } && 2850 { ac_try='test -z "$ac_c_werror_flag" 2851 || test ! -s conftest.err' 2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2853 (eval $ac_try) 2>&5 2854 ac_status=$? 2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 (exit $ac_status); }; } && 2857 { ac_try='test -s conftest.$ac_objext' 2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2859 (eval $ac_try) 2>&5 2860 ac_status=$? 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 (exit $ac_status); }; }; then 2863 # It does; now see whether it defined to BIG_ENDIAN or not. 2864 cat >conftest.$ac_ext <<_ACEOF 2865 /* confdefs.h. */ 2866 _ACEOF 2867 cat confdefs.h >>conftest.$ac_ext 2868 cat >>conftest.$ac_ext <<_ACEOF 2869 /* end confdefs.h. */ 2870 #include <sys/types.h> 2871 #include <sys/param.h> 2872 2873 int 2874 main () 2875 { 2876 #if BYTE_ORDER != BIG_ENDIAN 2877 not big endian 2878 #endif 2879 2880 ; 2881 return 0; 2882 } 2883 _ACEOF 2884 rm -f conftest.$ac_objext 2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2886 (eval $ac_compile) 2>conftest.er1 2887 ac_status=$? 2888 grep -v '^ *+' conftest.er1 >conftest.err 2889 rm -f conftest.er1 2890 cat conftest.err >&5 2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2892 (exit $ac_status); } && 2893 { ac_try='test -z "$ac_c_werror_flag" 2894 || test ! -s conftest.err' 2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2896 (eval $ac_try) 2>&5 2897 ac_status=$? 2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2899 (exit $ac_status); }; } && 2900 { ac_try='test -s conftest.$ac_objext' 2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2902 (eval $ac_try) 2>&5 2903 ac_status=$? 2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 (exit $ac_status); }; }; then 2906 ac_cv_c_bigendian=yes 2907 else 2908 echo "$as_me: failed program was:" >&5 2909 sed 's/^/| /' conftest.$ac_ext >&5 2910 2911 ac_cv_c_bigendian=no 2912 fi 2913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2914 else 2915 echo "$as_me: failed program was:" >&5 2916 sed 's/^/| /' conftest.$ac_ext >&5 2917 2918 # It does not; compile a test program. 2919 if test "$cross_compiling" = yes; then 2920 # try to guess the endianness by grepping values into an object file 2921 ac_cv_c_bigendian=unknown 2922 cat >conftest.$ac_ext <<_ACEOF 2923 /* confdefs.h. */ 2924 _ACEOF 2925 cat confdefs.h >>conftest.$ac_ext 2926 cat >>conftest.$ac_ext <<_ACEOF 2927 /* end confdefs.h. */ 2928 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 2929 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 2930 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 2931 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 2932 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 2933 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 2934 int 2935 main () 2936 { 2937 _ascii (); _ebcdic (); 2938 ; 2939 return 0; 2940 } 2941 _ACEOF 2942 rm -f conftest.$ac_objext 2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2944 (eval $ac_compile) 2>conftest.er1 2945 ac_status=$? 2946 grep -v '^ *+' conftest.er1 >conftest.err 2947 rm -f conftest.er1 2948 cat conftest.err >&5 2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2950 (exit $ac_status); } && 2951 { ac_try='test -z "$ac_c_werror_flag" 2952 || test ! -s conftest.err' 2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2954 (eval $ac_try) 2>&5 2955 ac_status=$? 2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2957 (exit $ac_status); }; } && 2958 { ac_try='test -s conftest.$ac_objext' 2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2960 (eval $ac_try) 2>&5 2961 ac_status=$? 2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963 (exit $ac_status); }; }; then 2964 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 2965 ac_cv_c_bigendian=yes 2966 fi 2967 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 2968 if test "$ac_cv_c_bigendian" = unknown; then 2969 ac_cv_c_bigendian=no 2970 else 2971 # finding both strings is unlikely to happen, but who knows? 2972 ac_cv_c_bigendian=unknown 2973 fi 2974 fi 2975 else 2976 echo "$as_me: failed program was:" >&5 2977 sed 's/^/| /' conftest.$ac_ext >&5 2978 2979 fi 2980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2981 else 2982 cat >conftest.$ac_ext <<_ACEOF 2983 /* confdefs.h. */ 2984 _ACEOF 2985 cat confdefs.h >>conftest.$ac_ext 2986 cat >>conftest.$ac_ext <<_ACEOF 2987 /* end confdefs.h. */ 2988 int 2989 main () 2990 { 2991 /* Are we little or big endian? From Harbison&Steele. */ 2992 union 2993 { 2994 long l; 2995 char c[sizeof (long)]; 2996 } u; 2997 u.l = 1; 2998 exit (u.c[sizeof (long) - 1] == 1); 2999 } 3000 _ACEOF 3001 rm -f conftest$ac_exeext 3002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3003 (eval $ac_link) 2>&5 3004 ac_status=$? 3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3008 (eval $ac_try) 2>&5 3009 ac_status=$? 3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3011 (exit $ac_status); }; }; then 3012 ac_cv_c_bigendian=no 3013 else 3014 echo "$as_me: program exited with status $ac_status" >&5 3015 echo "$as_me: failed program was:" >&5 3016 sed 's/^/| /' conftest.$ac_ext >&5 3017 3018 ( exit $ac_status ) 3019 ac_cv_c_bigendian=yes 3020 fi 3021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3022 fi 3023 fi 3024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3025 fi 3026 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 3027 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3028 case $ac_cv_c_bigendian in 3029 yes) 3030 ac_bigendian=1 3031 3032 cat >>confdefs.h <<\_ACEOF 3033 #define PJ_IS_LITTLE_ENDIAN 0 3034 _ACEOF 3035 3036 cat >>confdefs.h <<\_ACEOF 3037 #define PJ_IS_BIG_ENDIAN 1 3038 _ACEOF 3039 3040 ;; 3041 no) 3042 ac_bigendian=0 3043 3044 cat >>confdefs.h <<\_ACEOF 3045 #define PJ_IS_LITTLE_ENDIAN 1 3046 _ACEOF 3047 3048 cat >>confdefs.h <<\_ACEOF 3049 #define PJ_IS_BIG_ENDIAN 0 3050 _ACEOF 3051 3052 ;; 3053 *) 3054 { { echo "$as_me:$LINENO: error: unknown endianness 3055 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3056 echo "$as_me: error: unknown endianness 3057 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3058 { (exit 1); exit 1; }; } ;; 3059 esac 3060 3061 3062 # --disable-floating-point option 3063 # Check whether --enable-floating-point or --disable-floating-point was given. 3064 if test "${enable_floating_point+set}" = set; then 3065 enableval="$enable_floating_point" 3066 if test "$enable_floating_point" = "no"; then 3067 cat >>confdefs.h <<\_ACEOF 3068 #define PJ_HAS_FLOATING_POINT 0 3069 _ACEOF 3070 3071 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 3072 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 3073 fi 3074 else 3075 3076 cat >>confdefs.h <<\_ACEOF 3077 #define PJ_HAS_FLOATING_POINT 1 3078 _ACEOF 3079 3080 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 3081 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 3082 3083 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 3084 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 3085 if test "${ac_cv_lib_m_fmod+set}" = set; then 3086 echo $ECHO_N "(cached) $ECHO_C" >&6 3087 else 3088 ac_check_lib_save_LIBS=$LIBS 3089 LIBS="-lm $LIBS" 3090 cat >conftest.$ac_ext <<_ACEOF 3091 /* confdefs.h. */ 3092 _ACEOF 3093 cat confdefs.h >>conftest.$ac_ext 3094 cat >>conftest.$ac_ext <<_ACEOF 3095 /* end confdefs.h. */ 3096 3097 /* Override any gcc2 internal prototype to avoid an error. */ 3098 #ifdef __cplusplus 3099 extern "C" 3100 #endif 3101 /* We use char because int might match the return type of a gcc2 3102 builtin and then its argument prototype would still apply. */ 3103 char fmod (); 3104 int 3105 main () 3106 { 3107 fmod (); 3108 ; 3109 return 0; 3110 } 3111 _ACEOF 3112 rm -f conftest.$ac_objext conftest$ac_exeext 3113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3114 (eval $ac_link) 2>conftest.er1 3115 ac_status=$? 3116 grep -v '^ *+' conftest.er1 >conftest.err 3117 rm -f conftest.er1 3118 cat conftest.err >&5 3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3120 (exit $ac_status); } && 3121 { ac_try='test -z "$ac_c_werror_flag" 3122 || test ! -s conftest.err' 3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3124 (eval $ac_try) 2>&5 3125 ac_status=$? 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); }; } && 3128 { ac_try='test -s conftest$ac_exeext' 3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3130 (eval $ac_try) 2>&5 3131 ac_status=$? 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); }; }; then 3134 ac_cv_lib_m_fmod=yes 3135 else 3136 echo "$as_me: failed program was:" >&5 3137 sed 's/^/| /' conftest.$ac_ext >&5 3138 3139 ac_cv_lib_m_fmod=no 3140 fi 3141 rm -f conftest.err conftest.$ac_objext \ 3142 conftest$ac_exeext conftest.$ac_ext 3143 LIBS=$ac_check_lib_save_LIBS 3144 fi 3145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 3146 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 3147 if test $ac_cv_lib_m_fmod = yes; then 3148 cat >>confdefs.h <<_ACEOF 3149 #define HAVE_LIBM 1 3150 _ACEOF 3151 3152 LIBS="-lm $LIBS" 3153 3154 fi 3155 3156 3157 fi; 2348 3158 2349 3159 … … 6462 7272 6463 7273 6464 if test "${ac_cv_header_alsa_version_h+set}" = set; then 7274 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 7275 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 7276 cat >>confdefs.h <<_ACEOF 7277 #define PJ_OS_NAME "$target" 7278 _ACEOF 7279 7280 7281 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 7282 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 7283 cat >>confdefs.h <<\_ACEOF 7284 #define PJ_HAS_ERRNO_VAR 1 7285 _ACEOF 7286 7287 7288 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 7289 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 7290 cat >>confdefs.h <<\_ACEOF 7291 #define PJ_HAS_HIGH_RES_TIMER 1 7292 _ACEOF 7293 7294 7295 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 7296 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 7297 cat >>confdefs.h <<\_ACEOF 7298 #define PJ_HAS_MALLOC 1 7299 _ACEOF 7300 7301 7302 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 7303 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 7304 cat >>confdefs.h <<\_ACEOF 7305 #define PJ_NATIVE_STRING_IS_UNICODE 0 7306 _ACEOF 7307 7308 7309 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 7310 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 7311 cat >>confdefs.h <<\_ACEOF 7312 #define PJ_ATOMIC_VALUE_TYPE long 7313 _ACEOF 7314 7315 7316 # Determine if inet_aton() is available 7317 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 7318 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 7319 cat >conftest.$ac_ext <<_ACEOF 7320 /* confdefs.h. */ 7321 _ACEOF 7322 cat confdefs.h >>conftest.$ac_ext 7323 cat >>conftest.$ac_ext <<_ACEOF 7324 /* end confdefs.h. */ 7325 #include <sys/socket.h> 7326 #include <netinet/in.h> 7327 #include <arpa/inet.h> 7328 int 7329 main () 7330 { 7331 inet_aton(0, 0); 7332 ; 7333 return 0; 7334 } 7335 _ACEOF 7336 rm -f conftest.$ac_objext 7337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7338 (eval $ac_compile) 2>conftest.er1 7339 ac_status=$? 7340 grep -v '^ *+' conftest.er1 >conftest.err 7341 rm -f conftest.er1 7342 cat conftest.err >&5 7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7344 (exit $ac_status); } && 7345 { ac_try='test -z "$ac_c_werror_flag" 7346 || test ! -s conftest.err' 7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7348 (eval $ac_try) 2>&5 7349 ac_status=$? 7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7351 (exit $ac_status); }; } && 7352 { ac_try='test -s conftest.$ac_objext' 7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7354 (eval $ac_try) 2>&5 7355 ac_status=$? 7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7357 (exit $ac_status); }; }; then 7358 cat >>confdefs.h <<\_ACEOF 7359 #define PJ_SOCK_HAS_INET_ATON 1 7360 _ACEOF 7361 7362 echo "$as_me:$LINENO: result: yes" >&5 7363 echo "${ECHO_T}yes" >&6 7364 else 7365 echo "$as_me: failed program was:" >&5 7366 sed 's/^/| /' conftest.$ac_ext >&5 7367 7368 echo "$as_me:$LINENO: result: no" >&5 7369 echo "${ECHO_T}no" >&6 7370 fi 7371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7372 7373 # Determine if sockaddr_in has sin_len member 7374 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 7375 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 7376 cat >conftest.$ac_ext <<_ACEOF 7377 /* confdefs.h. */ 7378 _ACEOF 7379 cat confdefs.h >>conftest.$ac_ext 7380 cat >>conftest.$ac_ext <<_ACEOF 7381 /* end confdefs.h. */ 7382 #include <sys/socket.h> 7383 #include <netinet/in.h> 7384 #include <arpa/inet.h> 7385 int 7386 main () 7387 { 7388 struct sockaddr_in a; a.sin_len=0; 7389 ; 7390 return 0; 7391 } 7392 _ACEOF 7393 rm -f conftest.$ac_objext 7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7395 (eval $ac_compile) 2>conftest.er1 7396 ac_status=$? 7397 grep -v '^ *+' conftest.er1 >conftest.err 7398 rm -f conftest.er1 7399 cat conftest.err >&5 7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7401 (exit $ac_status); } && 7402 { ac_try='test -z "$ac_c_werror_flag" 7403 || test ! -s conftest.err' 7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7405 (eval $ac_try) 2>&5 7406 ac_status=$? 7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7408 (exit $ac_status); }; } && 7409 { ac_try='test -s conftest.$ac_objext' 7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7411 (eval $ac_try) 2>&5 7412 ac_status=$? 7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7414 (exit $ac_status); }; }; then 7415 cat >>confdefs.h <<\_ACEOF 7416 #define PJ_SOCKADDR_HAS_LEN 1 7417 _ACEOF 7418 7419 echo "$as_me:$LINENO: result: yes" >&5 7420 echo "${ECHO_T}yes" >&6 7421 else 7422 echo "$as_me: failed program was:" >&5 7423 sed 's/^/| /' conftest.$ac_ext >&5 7424 7425 echo "$as_me:$LINENO: result: no" >&5 7426 echo "${ECHO_T}no" >&6 7427 fi 7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7429 7430 # Determine if SO_ERROR is available 7431 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 7432 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 7433 cat >conftest.$ac_ext <<_ACEOF 7434 /* confdefs.h. */ 7435 _ACEOF 7436 cat confdefs.h >>conftest.$ac_ext 7437 cat >>conftest.$ac_ext <<_ACEOF 7438 /* end confdefs.h. */ 7439 #include <sys/socket.h> 7440 #include <netinet/in.h> 7441 #include <arpa/inet.h> 7442 int 7443 main () 7444 { 7445 int i=SO_ERROR; 7446 ; 7447 return 0; 7448 } 7449 _ACEOF 7450 rm -f conftest.$ac_objext 7451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7452 (eval $ac_compile) 2>conftest.er1 7453 ac_status=$? 7454 grep -v '^ *+' conftest.er1 >conftest.err 7455 rm -f conftest.er1 7456 cat conftest.err >&5 7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 (exit $ac_status); } && 7459 { ac_try='test -z "$ac_c_werror_flag" 7460 || test ! -s conftest.err' 7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7462 (eval $ac_try) 2>&5 7463 ac_status=$? 7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7465 (exit $ac_status); }; } && 7466 { ac_try='test -s conftest.$ac_objext' 7467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7468 (eval $ac_try) 2>&5 7469 ac_status=$? 7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7471 (exit $ac_status); }; }; then 7472 cat >>confdefs.h <<\_ACEOF 7473 #define PJ_HAS_SO_ERROR 1 7474 _ACEOF 7475 7476 echo "$as_me:$LINENO: result: yes" >&5 7477 echo "${ECHO_T}yes" >&6 7478 else 7479 echo "$as_me: failed program was:" >&5 7480 sed 's/^/| /' conftest.$ac_ext >&5 7481 7482 echo "$as_me:$LINENO: result: no" >&5 7483 echo "${ECHO_T}no" >&6 7484 fi 7485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7486 7487 # Determine if RW-mutex is available 7488 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 7489 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 7490 cat >conftest.$ac_ext <<_ACEOF 7491 /* confdefs.h. */ 7492 _ACEOF 7493 cat confdefs.h >>conftest.$ac_ext 7494 cat >>conftest.$ac_ext <<_ACEOF 7495 /* end confdefs.h. */ 7496 #include <pthread.h> 7497 int 7498 main () 7499 { 7500 pthread_rwlock_t *x; 7501 ; 7502 return 0; 7503 } 7504 _ACEOF 7505 rm -f conftest.$ac_objext 7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7507 (eval $ac_compile) 2>conftest.er1 7508 ac_status=$? 7509 grep -v '^ *+' conftest.er1 >conftest.err 7510 rm -f conftest.er1 7511 cat conftest.err >&5 7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7513 (exit $ac_status); } && 7514 { ac_try='test -z "$ac_c_werror_flag" 7515 || test ! -s conftest.err' 7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7517 (eval $ac_try) 2>&5 7518 ac_status=$? 7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7520 (exit $ac_status); }; } && 7521 { ac_try='test -s conftest.$ac_objext' 7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7523 (eval $ac_try) 2>&5 7524 ac_status=$? 7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7526 (exit $ac_status); }; }; then 7527 cat >>confdefs.h <<\_ACEOF 7528 #define PJ_EMULATE_RWMUTEX 0 7529 _ACEOF 7530 7531 echo "$as_me:$LINENO: result: yes" >&5 7532 echo "${ECHO_T}yes" >&6 7533 else 7534 echo "$as_me: failed program was:" >&5 7535 sed 's/^/| /' conftest.$ac_ext >&5 7536 7537 cat >>confdefs.h <<\_ACEOF 7538 #define PJ_EMULATE_RWMUTEX 1 7539 _ACEOF 7540 7541 echo "$as_me:$LINENO: result: no" >&5 7542 echo "${ECHO_T}no" >&6 7543 fi 7544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7545 7546 7547 ########################################## 7548 # 7549 # PJMEDIA 7550 # 7551 7552 # Sound device backend selection 7553 7554 case $target in 7555 *cygwin* | *win* | *mingw*) 7556 ac_pjmedia_snd=pa_win32 7557 echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 7558 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 7559 ;; 7560 *rtems*) 7561 ac_pjmedia_snd=null 7562 echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 7563 echo "${ECHO_T}Checking sound device backend... null sound" >&6 7564 ;; 7565 *darwin*) 7566 ac_pjmedia_snd=pa_darwin_os 7567 echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 7568 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 7569 ;; 7570 *) 7571 ac_pjmedia_snd=pa_unix 7572 if test "${ac_cv_header_alsa_version_h+set}" = set; then 6465 7573 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 6466 7574 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 … … 6599 7707 6600 7708 fi 6601 6602 6603 6604 # Determine if inet_aton() is available 6605 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 6606 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 6607 cat >conftest.$ac_ext <<_ACEOF 6608 /* confdefs.h. */ 6609 _ACEOF 6610 cat confdefs.h >>conftest.$ac_ext 6611 cat >>conftest.$ac_ext <<_ACEOF 6612 /* end confdefs.h. */ 6613 #include <sys/socket.h> 6614 #include <netinet/in.h> 6615 #include <arpa/inet.h> 6616 int 6617 main () 6618 { 6619 inet_aton(0, 0); 6620 ; 6621 return 0; 6622 } 6623 _ACEOF 6624 rm -f conftest.$ac_objext 6625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6626 (eval $ac_compile) 2>conftest.er1 6627 ac_status=$? 6628 grep -v '^ *+' conftest.er1 >conftest.err 6629 rm -f conftest.er1 6630 cat conftest.err >&5 6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6632 (exit $ac_status); } && 6633 { ac_try='test -z "$ac_c_werror_flag" 6634 || test ! -s conftest.err' 6635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6636 (eval $ac_try) 2>&5 6637 ac_status=$? 6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6639 (exit $ac_status); }; } && 6640 { ac_try='test -s conftest.$ac_objext' 6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6642 (eval $ac_try) 2>&5 6643 ac_status=$? 6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6645 (exit $ac_status); }; }; then 6646 cat >>confdefs.h <<\_ACEOF 6647 #define PJ_SOCK_HAS_INET_ATON 1 6648 _ACEOF 6649 6650 echo "$as_me:$LINENO: result: yes" >&5 6651 echo "${ECHO_T}yes" >&6 6652 else 6653 echo "$as_me: failed program was:" >&5 6654 sed 's/^/| /' conftest.$ac_ext >&5 6655 6656 echo "$as_me:$LINENO: result: no" >&5 6657 echo "${ECHO_T}no" >&6 6658 fi 6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6660 6661 # Determine if sockaddr_in has sin_len member 6662 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 6663 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 6664 cat >conftest.$ac_ext <<_ACEOF 6665 /* confdefs.h. */ 6666 _ACEOF 6667 cat confdefs.h >>conftest.$ac_ext 6668 cat >>conftest.$ac_ext <<_ACEOF 6669 /* end confdefs.h. */ 6670 #include <sys/socket.h> 6671 #include <netinet/in.h> 6672 #include <arpa/inet.h> 6673 int 6674 main () 6675 { 6676 struct sockaddr_in a; a.sin_len=0; 6677 ; 6678 return 0; 6679 } 6680 _ACEOF 6681 rm -f conftest.$ac_objext 6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6683 (eval $ac_compile) 2>conftest.er1 6684 ac_status=$? 6685 grep -v '^ *+' conftest.er1 >conftest.err 6686 rm -f conftest.er1 6687 cat conftest.err >&5 6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6689 (exit $ac_status); } && 6690 { ac_try='test -z "$ac_c_werror_flag" 6691 || test ! -s conftest.err' 6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6693 (eval $ac_try) 2>&5 6694 ac_status=$? 6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 (exit $ac_status); }; } && 6697 { ac_try='test -s conftest.$ac_objext' 6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6699 (eval $ac_try) 2>&5 6700 ac_status=$? 6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6702 (exit $ac_status); }; }; then 6703 cat >>confdefs.h <<\_ACEOF 6704 #define PJ_SOCKADDR_HAS_LEN 1 6705 _ACEOF 6706 6707 echo "$as_me:$LINENO: result: yes" >&5 6708 echo "${ECHO_T}yes" >&6 6709 else 6710 echo "$as_me: failed program was:" >&5 6711 sed 's/^/| /' conftest.$ac_ext >&5 6712 6713 echo "$as_me:$LINENO: result: no" >&5 6714 echo "${ECHO_T}no" >&6 6715 fi 6716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6717 6718 # Determine if SO_ERROR is available 6719 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 6720 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 6721 cat >conftest.$ac_ext <<_ACEOF 6722 /* confdefs.h. */ 6723 _ACEOF 6724 cat confdefs.h >>conftest.$ac_ext 6725 cat >>conftest.$ac_ext <<_ACEOF 6726 /* end confdefs.h. */ 6727 #include <sys/socket.h> 6728 #include <netinet/in.h> 6729 #include <arpa/inet.h> 6730 int 6731 main () 6732 { 6733 int i=SO_ERROR; 6734 ; 6735 return 0; 6736 } 6737 _ACEOF 6738 rm -f conftest.$ac_objext 6739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6740 (eval $ac_compile) 2>conftest.er1 6741 ac_status=$? 6742 grep -v '^ *+' conftest.er1 >conftest.err 6743 rm -f conftest.er1 6744 cat conftest.err >&5 6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6746 (exit $ac_status); } && 6747 { ac_try='test -z "$ac_c_werror_flag" 6748 || test ! -s conftest.err' 6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6750 (eval $ac_try) 2>&5 6751 ac_status=$? 6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6753 (exit $ac_status); }; } && 6754 { ac_try='test -s conftest.$ac_objext' 6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6756 (eval $ac_try) 2>&5 6757 ac_status=$? 6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6759 (exit $ac_status); }; }; then 6760 cat >>confdefs.h <<\_ACEOF 6761 #define PJ_HAS_SO_ERROR 1 6762 _ACEOF 6763 6764 echo "$as_me:$LINENO: result: yes" >&5 6765 echo "${ECHO_T}yes" >&6 6766 else 6767 echo "$as_me: failed program was:" >&5 6768 sed 's/^/| /' conftest.$ac_ext >&5 6769 6770 echo "$as_me:$LINENO: result: no" >&5 6771 echo "${ECHO_T}no" >&6 6772 fi 6773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6774 6775 # Determine if RW-mutex is available 6776 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 6777 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 6778 cat >conftest.$ac_ext <<_ACEOF 6779 /* confdefs.h. */ 6780 _ACEOF 6781 cat confdefs.h >>conftest.$ac_ext 6782 cat >>conftest.$ac_ext <<_ACEOF 6783 /* end confdefs.h. */ 6784 #include <pthread.h> 6785 int 6786 main () 6787 { 6788 pthread_rwlock_t *x; 6789 ; 6790 return 0; 6791 } 6792 _ACEOF 6793 rm -f conftest.$ac_objext 6794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6795 (eval $ac_compile) 2>conftest.er1 6796 ac_status=$? 6797 grep -v '^ *+' conftest.er1 >conftest.err 6798 rm -f conftest.er1 6799 cat conftest.err >&5 6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6801 (exit $ac_status); } && 6802 { ac_try='test -z "$ac_c_werror_flag" 6803 || test ! -s conftest.err' 6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6805 (eval $ac_try) 2>&5 6806 ac_status=$? 6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 (exit $ac_status); }; } && 6809 { ac_try='test -s conftest.$ac_objext' 6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6811 (eval $ac_try) 2>&5 6812 ac_status=$? 6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6814 (exit $ac_status); }; }; then 6815 cat >>confdefs.h <<\_ACEOF 6816 #define PJ_EMULATE_RWMUTEX 0 6817 _ACEOF 6818 6819 echo "$as_me:$LINENO: result: yes" >&5 6820 echo "${ECHO_T}yes" >&6 6821 else 6822 echo "$as_me: failed program was:" >&5 6823 sed 's/^/| /' conftest.$ac_ext >&5 6824 6825 echo "$as_me:$LINENO: result: no" >&5 6826 echo "${ECHO_T}no" >&6 6827 fi 6828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7709 if test $ac_cv_header_alsa_version_h = yes; then 7710 ac_pa_use_alsa=1 7711 7712 LIBS="$LIBS -lasound" 7713 7714 else 7715 ac_pa_use_alsa=0 7716 7717 fi 7718 7719 7720 echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 7721 echo "${ECHO_T}Checking sound device backend... unix" >&6 7722 ;; 7723 esac 7724 7725 # Include resampling small filter 7726 7727 # Check whether --enable-small-filter or --disable-small-filter was given. 7728 if test "${enable_small_filter+set}" = set; then 7729 enableval="$enable_small_filter" 7730 if test "$enable_small_filter" = "no"; then 7731 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 7732 echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 7733 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 7734 fi 7735 else 7736 echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 7737 echo "${ECHO_T}Checking if small filter is disabled... no" >&6 7738 fi; 7739 7740 # Include resampling large filter 7741 7742 # Check whether --enable-large-filter or --disable-large-filter was given. 7743 if test "${enable_large_filter+set}" = set; then 7744 enableval="$enable_large_filter" 7745 if test "$enable_large_filter" = "no"; then 7746 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 7747 echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 7748 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 7749 fi 7750 else 7751 echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 7752 echo "${ECHO_T}Checking if large filter is disabled... no" >&6 7753 fi; 7754 7755 # Include G.711 Annex A PLC 7756 7757 # Check whether --enable-g711-plc or --disable-g711-plc was given. 7758 if test "${enable_g711_plc+set}" = set; then 7759 enableval="$enable_g711_plc" 7760 if test "$enable_g711_plc" = "no"; then 7761 ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 7762 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 7763 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 7764 fi 7765 else 7766 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 7767 echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 7768 fi; 7769 7770 # Include Speex AEC 7771 7772 # Check whether --enable-speex-aec or --disable-speex-aec was given. 7773 if test "${enable_speex_aec+set}" = set; then 7774 enableval="$enable_speex_aec" 7775 if test "$enable_speex_aec" = "no"; then 7776 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 7777 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 7778 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 7779 fi 7780 else 7781 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 7782 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 7783 fi; 7784 7785 # Include G711 codec 7786 7787 # Check whether --enable-g711-codec or --disable-g711-codec was given. 7788 if test "${enable_g711_codec+set}" = set; then 7789 enableval="$enable_g711_codec" 7790 if test "$enable_g711_codec" = "no"; then 7791 ac_no_g711_codec=1 7792 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 7793 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 7794 fi 7795 else 7796 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 7797 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 7798 fi; 7799 7800 7801 # Include L16 codec 7802 7803 # Check whether --enable-l16-codec or --disable-l16-codec was given. 7804 if test "${enable_l16_codec+set}" = set; then 7805 enableval="$enable_l16_codec" 7806 if test "$enable_l16_codec" = "no"; then 7807 ac_no_l16_codec=1 7808 echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 7809 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 7810 fi 7811 else 7812 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 7813 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 7814 fi; 7815 7816 7817 # Include GSM codec 7818 7819 # Check whether --enable-gsm-codec or --disable-gsm-codec was given. 7820 if test "${enable_gsm_codec+set}" = set; then 7821 enableval="$enable_gsm_codec" 7822 if test "$enable_gsm_codec" = "no"; then 7823 ac_no_gsm_codec=1 7824 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 7825 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 7826 fi 7827 else 7828 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 7829 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 7830 fi; 7831 7832 # Include Speex codec 7833 7834 # Check whether --enable-speex-codec or --disable-speex-codec was given. 7835 if test "${enable_speex_codec+set}" = set; then 7836 enableval="$enable_speex_codec" 7837 if test "$enable_speex_codec" = "no"; then 7838 ac_no_speex_codec=1 7839 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 7840 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 7841 fi 7842 else 7843 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 7844 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 7845 fi; 7846 7847 # Include iLBC codec 7848 7849 # Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. 7850 if test "${enable_ilbc_codec+set}" = set; then 7851 enableval="$enable_ilbc_codec" 7852 if test "$enable_ilbc_codec" = "no"; then 7853 ac_no_ilbc_codec=1 7854 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 7855 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 7856 fi 7857 else 7858 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 7859 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 7860 fi; 7861 7862 7863 7864 ########################################## 7865 # 7866 # MANUAL CONFIG 7867 # 7868 6829 7869 6830 7870 # Determine if select() requires nfds to be filled up with 6831 7871 # correct value (max_fd+1). If zero, nfds will be filled up with 6832 7872 # PJ_FD_SETSIZE 7873 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 7874 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 6833 7875 case $target in 6834 7876 *rtems*) cat >>confdefs.h <<\_ACEOF … … 6836 7878 _ACEOF 6837 7879 6838 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&56839 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&66840 7880 echo "$as_me:$LINENO: result: yes" >&5 6841 7881 echo "${ECHO_T}yes" >&6 … … 6919 7959 esac 6920 7960 6921 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 6922 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 6923 cat >>confdefs.h <<_ACEOF 6924 #define PJ_OS_NAME "$target" 6925 _ACEOF 6926 6927 6928 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 6929 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 6930 cat >>confdefs.h <<\_ACEOF 6931 #define PJ_HAS_ERRNO_VAR 1 6932 _ACEOF 6933 6934 6935 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 6936 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 6937 cat >>confdefs.h <<\_ACEOF 6938 #define PJ_HAS_HIGH_RES_TIMER 1 6939 _ACEOF 6940 6941 6942 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 6943 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 6944 cat >>confdefs.h <<\_ACEOF 6945 #define PJ_HAS_MALLOC 1 6946 _ACEOF 6947 6948 6949 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 6950 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 6951 cat >>confdefs.h <<\_ACEOF 6952 #define PJ_NATIVE_STRING_IS_UNICODE 0 6953 _ACEOF 6954 6955 6956 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 6957 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 6958 cat >>confdefs.h <<\_ACEOF 6959 #define PJ_ATOMIC_VALUE_TYPE long 6960 _ACEOF 6961 6962 7961 7962 7963 7964 if test "$build" = "$host"; then 7965 ac_cross_compile= 7966 else 7967 ac_cross_compile=${host}- 7968 fi 7969 ac_linux_poll=select 7970 7971 ac_host=unix 7972 7973 7974 case $target in 7975 *rtems*) 7976 ac_main_obj=main_rtems.o 7977 ;; 7978 *) 7979 ac_main_obj=main.o 7980 ;; 7981 esac 6963 7982 6964 7983 cat >confcache <<\_ACEOF … … 7324 8343 cat >&5 <<_CSEOF 7325 8344 7326 This file was extended by pjproject $as_me 0.5. 7, which was8345 This file was extended by pjproject $as_me 0.5.8, which was 7327 8346 generated by GNU Autoconf 2.59. Invocation command line was 7328 8347 … … 7368 8387 -d, --debug don't remove temporary files 7369 8388 --recheck update $as_me by reconfiguring in the same conditions 8389 --file=FILE[:TEMPLATE] 8390 instantiate the configuration file FILE 7370 8391 --header=FILE[:TEMPLATE] 7371 8392 instantiate the configuration header FILE 7372 8393 8394 Configuration files: 8395 $config_files 8396 7373 8397 Configuration headers: 7374 8398 $config_headers … … 7379 8403 cat >>$CONFIG_STATUS <<_ACEOF 7380 8404 ac_cs_version="\\ 7381 pjproject config.status 0.5. 78405 pjproject config.status 0.5.8 7382 8406 configured by $0, generated by GNU Autoconf 2.59, 7383 8407 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 7481 8505 case "$ac_config_target" in 7482 8506 # Handling of arguments. 8507 "build.mak" ) CONFIG_FILES="$CONFIG_FILES build.mak" ;; 8508 "build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 8509 "pjlib/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 8510 "pjlib-util/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 8511 "pjmedia/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 8512 "pjsip/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 7483 8513 "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 8514 "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 7484 8515 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7485 8516 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 7493 8524 # bizarre bug on SunOS 4.1.3. 7494 8525 if $ac_need_defaults; then 8526 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7495 8527 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7496 8528 fi … … 7523 8555 _ACEOF 7524 8556 8557 cat >>$CONFIG_STATUS <<_ACEOF 8558 8559 # 8560 # CONFIG_FILES section. 8561 # 8562 8563 # No need to generate the scripts if there are no CONFIG_FILES. 8564 # This happens for instance when ./config.status config.h 8565 if test -n "\$CONFIG_FILES"; then 8566 # Protect against being on the right side of a sed subst in config.status. 8567 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8568 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8569 s,@SHELL@,$SHELL,;t t 8570 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8571 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8572 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8573 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8574 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8575 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8576 s,@exec_prefix@,$exec_prefix,;t t 8577 s,@prefix@,$prefix,;t t 8578 s,@program_transform_name@,$program_transform_name,;t t 8579 s,@bindir@,$bindir,;t t 8580 s,@sbindir@,$sbindir,;t t 8581 s,@libexecdir@,$libexecdir,;t t 8582 s,@datadir@,$datadir,;t t 8583 s,@sysconfdir@,$sysconfdir,;t t 8584 s,@sharedstatedir@,$sharedstatedir,;t t 8585 s,@localstatedir@,$localstatedir,;t t 8586 s,@libdir@,$libdir,;t t 8587 s,@includedir@,$includedir,;t t 8588 s,@oldincludedir@,$oldincludedir,;t t 8589 s,@infodir@,$infodir,;t t 8590 s,@mandir@,$mandir,;t t 8591 s,@build_alias@,$build_alias,;t t 8592 s,@host_alias@,$host_alias,;t t 8593 s,@target_alias@,$target_alias,;t t 8594 s,@DEFS@,$DEFS,;t t 8595 s,@ECHO_C@,$ECHO_C,;t t 8596 s,@ECHO_N@,$ECHO_N,;t t 8597 s,@ECHO_T@,$ECHO_T,;t t 8598 s,@LIBS@,$LIBS,;t t 8599 s,@build@,$build,;t t 8600 s,@build_cpu@,$build_cpu,;t t 8601 s,@build_vendor@,$build_vendor,;t t 8602 s,@build_os@,$build_os,;t t 8603 s,@host@,$host,;t t 8604 s,@host_cpu@,$host_cpu,;t t 8605 s,@host_vendor@,$host_vendor,;t t 8606 s,@host_os@,$host_os,;t t 8607 s,@target@,$target,;t t 8608 s,@target_cpu@,$target_cpu,;t t 8609 s,@target_vendor@,$target_vendor,;t t 8610 s,@target_os@,$target_os,;t t 8611 s,@CC@,$CC,;t t 8612 s,@CFLAGS@,$CFLAGS,;t t 8613 s,@LDFLAGS@,$LDFLAGS,;t t 8614 s,@CPPFLAGS@,$CPPFLAGS,;t t 8615 s,@ac_ct_CC@,$ac_ct_CC,;t t 8616 s,@EXEEXT@,$EXEEXT,;t t 8617 s,@OBJEXT@,$OBJEXT,;t t 8618 s,@CXX@,$CXX,;t t 8619 s,@CXXFLAGS@,$CXXFLAGS,;t t 8620 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8621 s,@ac_bigendian@,$ac_bigendian,;t t 8622 s,@CPP@,$CPP,;t t 8623 s,@EGREP@,$EGREP,;t t 8624 s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 8625 s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t 8626 s,@ac_no_small_filter@,$ac_no_small_filter,;t t 8627 s,@ac_no_large_filter@,$ac_no_large_filter,;t t 8628 s,@ac_no_g711_plc@,$ac_no_g711_plc,;t t 8629 s,@ac_no_speex_aec@,$ac_no_speex_aec,;t t 8630 s,@ac_no_g711_codec@,$ac_no_g711_codec,;t t 8631 s,@ac_no_l16_codec@,$ac_no_l16_codec,;t t 8632 s,@ac_no_gsm_codec@,$ac_no_gsm_codec,;t t 8633 s,@ac_no_speex_codec@,$ac_no_speex_codec,;t t 8634 s,@ac_no_ilbc_codec@,$ac_no_ilbc_codec,;t t 8635 s,@ac_cross_compile@,$ac_cross_compile,;t t 8636 s,@ac_linux_poll@,$ac_linux_poll,;t t 8637 s,@ac_host@,$ac_host,;t t 8638 s,@ac_main_obj@,$ac_main_obj,;t t 8639 s,@LIBOBJS@,$LIBOBJS,;t t 8640 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8641 CEOF 8642 8643 _ACEOF 8644 8645 cat >>$CONFIG_STATUS <<\_ACEOF 8646 # Split the substitutions into bite-sized pieces for seds with 8647 # small command number limits, like on Digital OSF/1 and HP-UX. 8648 ac_max_sed_lines=48 8649 ac_sed_frag=1 # Number of current file. 8650 ac_beg=1 # First line for current file. 8651 ac_end=$ac_max_sed_lines # Line after last line for current file. 8652 ac_more_lines=: 8653 ac_sed_cmds= 8654 while $ac_more_lines; do 8655 if test $ac_beg -gt 1; then 8656 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8657 else 8658 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8659 fi 8660 if test ! -s $tmp/subs.frag; then 8661 ac_more_lines=false 8662 else 8663 # The purpose of the label and of the branching condition is to 8664 # speed up the sed processing (if there are no `@' at all, there 8665 # is no need to browse any of the substitutions). 8666 # These are the two extra sed commands mentioned above. 8667 (echo ':t 8668 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8669 if test -z "$ac_sed_cmds"; then 8670 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8671 else 8672 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8673 fi 8674 ac_sed_frag=`expr $ac_sed_frag + 1` 8675 ac_beg=$ac_end 8676 ac_end=`expr $ac_end + $ac_max_sed_lines` 8677 fi 8678 done 8679 if test -z "$ac_sed_cmds"; then 8680 ac_sed_cmds=cat 8681 fi 8682 fi # test -n "$CONFIG_FILES" 8683 8684 _ACEOF 8685 cat >>$CONFIG_STATUS <<\_ACEOF 8686 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8687 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8688 case $ac_file in 8689 - | *:- | *:-:* ) # input from stdin 8690 cat >$tmp/stdin 8691 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8692 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8693 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8694 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8695 * ) ac_file_in=$ac_file.in ;; 8696 esac 8697 8698 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8699 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8701 X"$ac_file" : 'X\(//\)[^/]' \| \ 8702 X"$ac_file" : 'X\(//\)$' \| \ 8703 X"$ac_file" : 'X\(/\)' \| \ 8704 . : '\(.\)' 2>/dev/null || 8705 echo X"$ac_file" | 8706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8707 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8708 /^X\(\/\/\)$/{ s//\1/; q; } 8709 /^X\(\/\).*/{ s//\1/; q; } 8710 s/.*/./; q'` 8711 { if $as_mkdir_p; then 8712 mkdir -p "$ac_dir" 8713 else 8714 as_dir="$ac_dir" 8715 as_dirs= 8716 while test ! -d "$as_dir"; do 8717 as_dirs="$as_dir $as_dirs" 8718 as_dir=`(dirname "$as_dir") 2>/dev/null || 8719 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8720 X"$as_dir" : 'X\(//\)[^/]' \| \ 8721 X"$as_dir" : 'X\(//\)$' \| \ 8722 X"$as_dir" : 'X\(/\)' \| \ 8723 . : '\(.\)' 2>/dev/null || 8724 echo X"$as_dir" | 8725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8726 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8727 /^X\(\/\/\)$/{ s//\1/; q; } 8728 /^X\(\/\).*/{ s//\1/; q; } 8729 s/.*/./; q'` 8730 done 8731 test ! -n "$as_dirs" || mkdir $as_dirs 8732 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8733 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8734 { (exit 1); exit 1; }; }; } 8735 8736 ac_builddir=. 8737 8738 if test "$ac_dir" != .; then 8739 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8740 # A "../" for each directory in $ac_dir_suffix. 8741 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8742 else 8743 ac_dir_suffix= ac_top_builddir= 8744 fi 8745 8746 case $srcdir in 8747 .) # No --srcdir option. We are building in place. 8748 ac_srcdir=. 8749 if test -z "$ac_top_builddir"; then 8750 ac_top_srcdir=. 8751 else 8752 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8753 fi ;; 8754 [\\/]* | ?:[\\/]* ) # Absolute path. 8755 ac_srcdir=$srcdir$ac_dir_suffix; 8756 ac_top_srcdir=$srcdir ;; 8757 *) # Relative path. 8758 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8759 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8760 esac 8761 8762 # Do not use `cd foo && pwd` to compute absolute paths, because 8763 # the directories may not exist. 8764 case `pwd` in 8765 .) ac_abs_builddir="$ac_dir";; 8766 *) 8767 case "$ac_dir" in 8768 .) ac_abs_builddir=`pwd`;; 8769 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8770 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8771 esac;; 8772 esac 8773 case $ac_abs_builddir in 8774 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8775 *) 8776 case ${ac_top_builddir}. in 8777 .) ac_abs_top_builddir=$ac_abs_builddir;; 8778 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8779 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8780 esac;; 8781 esac 8782 case $ac_abs_builddir in 8783 .) ac_abs_srcdir=$ac_srcdir;; 8784 *) 8785 case $ac_srcdir in 8786 .) ac_abs_srcdir=$ac_abs_builddir;; 8787 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8788 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8789 esac;; 8790 esac 8791 case $ac_abs_builddir in 8792 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8793 *) 8794 case $ac_top_srcdir in 8795 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8796 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8797 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8798 esac;; 8799 esac 8800 8801 8802 8803 if test x"$ac_file" != x-; then 8804 { echo "$as_me:$LINENO: creating $ac_file" >&5 8805 echo "$as_me: creating $ac_file" >&6;} 8806 rm -f "$ac_file" 8807 fi 8808 # Let's still pretend it is `configure' which instantiates (i.e., don't 8809 # use $as_me), people would be surprised to read: 8810 # /* config.h. Generated by config.status. */ 8811 if test x"$ac_file" = x-; then 8812 configure_input= 8813 else 8814 configure_input="$ac_file. " 8815 fi 8816 configure_input=$configure_input"Generated from `echo $ac_file_in | 8817 sed 's,.*/,,'` by configure." 8818 8819 # First look for the input files in the build tree, otherwise in the 8820 # src tree. 8821 ac_file_inputs=`IFS=: 8822 for f in $ac_file_in; do 8823 case $f in 8824 -) echo $tmp/stdin ;; 8825 [\\/$]*) 8826 # Absolute (can't be DOS-style, as IFS=:) 8827 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8828 echo "$as_me: error: cannot find input file: $f" >&2;} 8829 { (exit 1); exit 1; }; } 8830 echo "$f";; 8831 *) # Relative 8832 if test -f "$f"; then 8833 # Build tree 8834 echo "$f" 8835 elif test -f "$srcdir/$f"; then 8836 # Source tree 8837 echo "$srcdir/$f" 8838 else 8839 # /dev/null tree 8840 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8841 echo "$as_me: error: cannot find input file: $f" >&2;} 8842 { (exit 1); exit 1; }; } 8843 fi;; 8844 esac 8845 done` || { (exit 1); exit 1; } 8846 _ACEOF 8847 cat >>$CONFIG_STATUS <<_ACEOF 8848 sed "$ac_vpsub 8849 $extrasub 8850 _ACEOF 8851 cat >>$CONFIG_STATUS <<\_ACEOF 8852 :t 8853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8854 s,@configure_input@,$configure_input,;t t 8855 s,@srcdir@,$ac_srcdir,;t t 8856 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8857 s,@top_srcdir@,$ac_top_srcdir,;t t 8858 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8859 s,@builddir@,$ac_builddir,;t t 8860 s,@abs_builddir@,$ac_abs_builddir,;t t 8861 s,@top_builddir@,$ac_top_builddir,;t t 8862 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8863 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8864 rm -f $tmp/stdin 8865 if test x"$ac_file" != x-; then 8866 mv $tmp/out $ac_file 8867 else 8868 cat $tmp/out 8869 rm -f $tmp/out 8870 fi 8871 8872 done 8873 _ACEOF 7525 8874 cat >>$CONFIG_STATUS <<\_ACEOF 7526 8875
Note: See TracChangeset
for help on using the changeset viewer.