Changeset 4157
- Timestamp:
- Jun 6, 2012 9:37:25 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4149 r4157 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 9for pjproject 2.x.3 # Generated by GNU Autoconf 2.67 for pjproject 2.x. 4 4 # 5 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 7 9 # 8 10 # … … 88 90 89 91 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself=91 92 case $0 in #(( 92 93 *[\\/]* ) as_myself=$0 ;; … … 133 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 135 # Use a proper internal environment variable to ensure we don't fall136 # into an infinite loop, continuously re-executing ourselves.137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then138 _as_can_reexec=no; export _as_can_reexec;139 # We cannot yet assume a decent shell, so we have to provide a140 # neutralization value for shells without unset; and this also141 # works around shells that cannot unset nonexistent variables.142 # Preserve -v and -x to the replacement shell.143 BASH_ENV=/dev/null144 ENV=/dev/null145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV146 case $- in # ((((147 *v*x* | *x*v* ) as_opts=-vx ;;148 *v* ) as_opts=-v ;;149 *x* ) as_opts=-x ;;150 * ) as_opts= ;;151 esac152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}153 # Admittedly, this is quite paranoid, since all the known shells bail154 # out after a failed `exec'.155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2156 as_fn_exit 255157 fi158 # We don't want this to propagate to other subprocesses.159 { _as_can_reexec=; unset _as_can_reexec;}160 136 if test "x$CONFIG_SHELL" = x; then 161 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 191 167 exitcode=1; echo positional parameters were not saved. 192 168 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 169 test x\$exitcode = x0 || exit 1" 195 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 237 212 238 213 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241 # neutralization value for shells without unset; and this also 242 # works around shells that cannot unset nonexistent variables. 243 # Preserve -v and -x to the replacement shell. 244 BASH_ENV=/dev/null 245 ENV=/dev/null 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252 esac 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 # Admittedly, this is quite paranoid, since all the known shells bail 255 # out after a failed `exec'. 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 exit 255 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 258 222 fi 259 223 … … 357 321 358 322 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE361 # -----------------------362 # Test if FILE is an executable regular file.363 as_fn_executable_p ()364 {365 test -f "$1" && test -x "$1"366 } # as_fn_executable_p367 323 # as_fn_append VAR VALUE 368 324 # ---------------------- … … 486 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 443 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have489 # already done that, so ensure we don't try to do so again and fall490 # in an infinite loop. This has already happened in practice.491 _as_can_reexec=no; export _as_can_reexec492 444 # Don't try to exec as it changes $[0], causing all sort of problems 493 445 # (the dirname of $[0] is not the place where we might find the … … 524 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -p R'.478 # In both cases, we have to default to `cp -p'. 527 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -p R'480 as_ln_s='cp -p' 529 481 elif ln conf$$.file conf$$ 2>/dev/null; then 530 482 as_ln_s=ln 531 483 else 532 as_ln_s='cp -p R'484 as_ln_s='cp -p' 533 485 fi 534 486 else 535 as_ln_s='cp -p R'487 as_ln_s='cp -p' 536 488 fi 537 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 545 497 fi 546 498 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 549 521 550 522 # Sed expression to map a string onto a valid CPP name. … … 640 612 ac_sdl_ldflags 641 613 ac_sdl_cflags 614 SDL_CONFIG 642 615 ac_resample_dll 643 616 ac_no_ilbc_codec … … 1196 1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1197 1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1199 1172 ;; 1200 1173 … … 1247 1220 if test "x$build_alias" = x; then 1248 1221 cross_compiling=maybe 1222 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1223 If a cross compiler is detected then cross compile mode will be used" >&2 1249 1224 elif test "x$build_alias" != "x$host_alias"; then 1250 1225 cross_compiling=yes … … 1547 1522 cat <<\_ACEOF 1548 1523 pjproject configure 2.x 1549 generated by GNU Autoconf 2.6 91550 1551 Copyright (C) 201 2Free Software Foundation, Inc.1524 generated by GNU Autoconf 2.67 1525 1526 Copyright (C) 2010 Free Software Foundation, Inc. 1552 1527 This configure script is free software; the Free Software Foundation 1553 1528 gives unlimited permission to copy, distribute and modify it. … … 1593 1568 ac_retval=1 1594 1569 fi 1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1596 1571 as_fn_set_status $ac_retval 1597 1572 … … 1631 1606 ac_retval=1 1632 1607 fi 1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1634 1609 as_fn_set_status $ac_retval 1635 1610 … … 1663 1638 } && test -s conftest$ac_exeext && { 1664 1639 test "$cross_compiling" = yes || 1665 test -x conftest$ac_exeext1640 $as_test_x conftest$ac_exeext 1666 1641 }; then : 1667 1642 ac_retval=0 … … 1677 1652 # left behind by Apple's compiler. We do this before executing the actions. 1678 1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1680 1655 as_fn_set_status $ac_retval 1681 1656 … … 1719 1694 fi 1720 1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1722 1697 as_fn_set_status $ac_retval 1723 1698 … … 1756 1731 ac_retval=1 1757 1732 fi 1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1759 1734 as_fn_set_status $ac_retval 1760 1735 … … 1770 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1771 1746 $as_echo_n "checking for $2... " >&6; } 1772 if eval \${$3+:} false; then :1747 if eval "test \"\${$3+set}\"" = set; then : 1773 1748 $as_echo_n "(cached) " >&6 1774 1749 else … … 1788 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1789 1764 $as_echo "$ac_res" >&6; } 1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1791 1766 1792 1767 } # ac_fn_c_check_header_compile … … 1800 1775 { 1801 1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1802 if eval \${$3+:} false; then :1777 if eval "test \"\${$3+set}\"" = set; then : 1803 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1804 1779 $as_echo_n "checking for $2... " >&6; } 1805 if eval \${$3+:} false; then :1780 if eval "test \"\${$3+set}\"" = set; then : 1806 1781 $as_echo_n "(cached) " >&6 1807 1782 fi … … 1866 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1867 1842 $as_echo_n "checking for $2... " >&6; } 1868 if eval \${$3+:} false; then :1843 if eval "test \"\${$3+set}\"" = set; then : 1869 1844 $as_echo_n "(cached) " >&6 1870 1845 else … … 1875 1850 $as_echo "$ac_res" >&6; } 1876 1851 fi 1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1878 1853 1879 1854 } # ac_fn_c_check_header_mongrel … … 1887 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1888 1863 $as_echo_n "checking for $2... " >&6; } 1889 if eval \${$3+:} false; then :1864 if eval "test \"\${$3+set}\"" = set; then : 1890 1865 $as_echo_n "(cached) " >&6 1891 1866 else … … 1942 1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1943 1918 $as_echo "$ac_res" >&6; } 1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1945 1920 1946 1921 } # ac_fn_c_check_func … … 1950 1925 1951 1926 It was created by pjproject $as_me 2.x, which was 1952 generated by GNU Autoconf 2.6 9. Invocation command line was1927 generated by GNU Autoconf 2.67. Invocation command line was 1953 1928 1954 1929 $ $0 $@ … … 2208 2183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2209 2184 as_fn_error $? "failed to load site script $ac_site_file 2210 See \`config.log' for more details" "$LINENO" 5 ; }2185 See \`config.log' for more details" "$LINENO" 5 ; } 2211 2186 fi 2212 2187 done … … 2335 2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2336 2311 $as_echo_n "checking build system type... " >&6; } 2337 if ${ac_cv_build+:} false; then :2312 if test "${ac_cv_build+set}" = set; then : 2338 2313 $as_echo_n "(cached) " >&6 2339 2314 else … … 2351 2326 case $ac_cv_build in 2352 2327 *-*-*) ;; 2353 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;2328 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2354 2329 esac 2355 2330 build=$ac_cv_build … … 2369 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2370 2345 $as_echo_n "checking host system type... " >&6; } 2371 if ${ac_cv_host+:} false; then :2346 if test "${ac_cv_host+set}" = set; then : 2372 2347 $as_echo_n "(cached) " >&6 2373 2348 else … … 2384 2359 case $ac_cv_host in 2385 2360 *-*-*) ;; 2386 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;2361 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2387 2362 esac 2388 2363 host=$ac_cv_host … … 2402 2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2403 2378 $as_echo_n "checking target system type... " >&6; } 2404 if ${ac_cv_target+:} false; then :2379 if test "${ac_cv_target+set}" = set; then : 2405 2380 $as_echo_n "(cached) " >&6 2406 2381 else … … 2417 2392 case $ac_cv_target in 2418 2393 *-*-*) ;; 2419 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;2394 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2420 2395 esac 2421 2396 target=$ac_cv_target … … 2463 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2464 2439 $as_echo_n "checking for $ac_word... " >&6; } 2465 if ${ac_cv_prog_CC+:} false; then :2440 if test "${ac_cv_prog_CC+set}" = set; then : 2466 2441 $as_echo_n "(cached) " >&6 2467 2442 else … … 2475 2450 test -z "$as_dir" && as_dir=. 2476 2451 for ac_exec_ext in '' $ac_executable_extensions; do 2477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2478 2453 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2479 2454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2503 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2504 2479 $as_echo_n "checking for $ac_word... " >&6; } 2505 if ${ac_cv_prog_ac_ct_CC+:} false; then :2480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2506 2481 $as_echo_n "(cached) " >&6 2507 2482 else … … 2515 2490 test -z "$as_dir" && as_dir=. 2516 2491 for ac_exec_ext in '' $ac_executable_extensions; do 2517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2518 2493 ac_cv_prog_ac_ct_CC="gcc" 2519 2494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2556 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2557 2532 $as_echo_n "checking for $ac_word... " >&6; } 2558 if ${ac_cv_prog_CC+:} false; then :2533 if test "${ac_cv_prog_CC+set}" = set; then : 2559 2534 $as_echo_n "(cached) " >&6 2560 2535 else … … 2568 2543 test -z "$as_dir" && as_dir=. 2569 2544 for ac_exec_ext in '' $ac_executable_extensions; do 2570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2571 2546 ac_cv_prog_CC="${ac_tool_prefix}cc" 2572 2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2596 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2597 2572 $as_echo_n "checking for $ac_word... " >&6; } 2598 if ${ac_cv_prog_CC+:} false; then :2573 if test "${ac_cv_prog_CC+set}" = set; then : 2599 2574 $as_echo_n "(cached) " >&6 2600 2575 else … … 2609 2584 test -z "$as_dir" && as_dir=. 2610 2585 for ac_exec_ext in '' $ac_executable_extensions; do 2611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2612 2587 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2613 2588 ac_prog_rejected=yes … … 2655 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2656 2631 $as_echo_n "checking for $ac_word... " >&6; } 2657 if ${ac_cv_prog_CC+:} false; then :2632 if test "${ac_cv_prog_CC+set}" = set; then : 2658 2633 $as_echo_n "(cached) " >&6 2659 2634 else … … 2667 2642 test -z "$as_dir" && as_dir=. 2668 2643 for ac_exec_ext in '' $ac_executable_extensions; do 2669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2670 2645 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2671 2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2699 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2700 2675 $as_echo_n "checking for $ac_word... " >&6; } 2701 if ${ac_cv_prog_ac_ct_CC+:} false; then :2676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2702 2677 $as_echo_n "(cached) " >&6 2703 2678 else … … 2711 2686 test -z "$as_dir" && as_dir=. 2712 2687 for ac_exec_ext in '' $ac_executable_extensions; do 2713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2714 2689 ac_cv_prog_ac_ct_CC="$ac_prog" 2715 2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2754 2729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2755 2730 as_fn_error $? "no acceptable C compiler found in \$PATH 2756 See \`config.log' for more details" "$LINENO" 5 ; }2731 See \`config.log' for more details" "$LINENO" 5 ; } 2757 2732 2758 2733 # Provide some information about the compiler. … … 2869 2844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2870 2845 as_fn_error 77 "C compiler cannot create executables 2871 See \`config.log' for more details" "$LINENO" 5 ; }2846 See \`config.log' for more details" "$LINENO" 5 ; } 2872 2847 else 2873 2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 … … 2912 2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2913 2888 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2914 See \`config.log' for more details" "$LINENO" 5 ; }2889 See \`config.log' for more details" "$LINENO" 5 ; } 2915 2890 fi 2916 2891 rm -f conftest conftest$ac_cv_exeext … … 2971 2946 as_fn_error $? "cannot run C compiled programs. 2972 2947 If you meant to cross compile, use \`--host'. 2973 See \`config.log' for more details" "$LINENO" 5 ; }2948 See \`config.log' for more details" "$LINENO" 5 ; } 2974 2949 fi 2975 2950 fi … … 2982 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2983 2958 $as_echo_n "checking for suffix of object files... " >&6; } 2984 if ${ac_cv_objext+:} false; then :2959 if test "${ac_cv_objext+set}" = set; then : 2985 2960 $as_echo_n "(cached) " >&6 2986 2961 else … … 3023 2998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3024 2999 as_fn_error $? "cannot compute suffix of object files: cannot compile 3025 See \`config.log' for more details" "$LINENO" 5 ; }3000 See \`config.log' for more details" "$LINENO" 5 ; } 3026 3001 fi 3027 3002 rm -f conftest.$ac_cv_objext conftest.$ac_ext … … 3033 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3034 3009 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3035 if ${ac_cv_c_compiler_gnu+:} false; then :3010 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3036 3011 $as_echo_n "(cached) " >&6 3037 3012 else … … 3070 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3071 3046 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3072 if ${ac_cv_prog_cc_g+:} false; then :3047 if test "${ac_cv_prog_cc_g+set}" = set; then : 3073 3048 $as_echo_n "(cached) " >&6 3074 3049 else … … 3148 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3149 3124 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3150 if ${ac_cv_prog_cc_c89+:} false; then :3125 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3151 3126 $as_echo_n "(cached) " >&6 3152 3127 else … … 3157 3132 #include <stdarg.h> 3158 3133 #include <stdio.h> 3159 struct stat; 3134 #include <sys/types.h> 3135 #include <sys/stat.h> 3160 3136 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3161 3137 struct buf { int x; }; … … 3258 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3259 3235 $as_echo_n "checking for $ac_word... " >&6; } 3260 if ${ac_cv_prog_CXX+:} false; then :3236 if test "${ac_cv_prog_CXX+set}" = set; then : 3261 3237 $as_echo_n "(cached) " >&6 3262 3238 else … … 3270 3246 test -z "$as_dir" && as_dir=. 3271 3247 for ac_exec_ext in '' $ac_executable_extensions; do 3272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3273 3249 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3274 3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3302 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3303 3279 $as_echo_n "checking for $ac_word... " >&6; } 3304 if ${ac_cv_prog_ac_ct_CXX+:} false; then :3280 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3305 3281 $as_echo_n "(cached) " >&6 3306 3282 else … … 3314 3290 test -z "$as_dir" && as_dir=. 3315 3291 for ac_exec_ext in '' $ac_executable_extensions; do 3316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3317 3293 ac_cv_prog_ac_ct_CXX="$ac_prog" 3318 3294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3380 3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3381 3357 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3382 if ${ac_cv_cxx_compiler_gnu+:} false; then :3358 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3383 3359 $as_echo_n "(cached) " >&6 3384 3360 else … … 3417 3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3418 3394 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3419 if ${ac_cv_prog_cxx_g+:} false; then :3395 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3420 3396 $as_echo_n "(cached) " >&6 3421 3397 else … … 3577 3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3578 3554 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3579 if ${ac_cv_lib_pthread_pthread_create+:} false; then :3555 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3580 3556 $as_echo_n "(cached) " >&6 3581 3557 else … … 3611 3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3612 3588 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3613 if test "x$ac_cv_lib_pthread_pthread_create" = x yes; then :3589 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3614 3590 cat >>confdefs.h <<_ACEOF 3615 3591 #define HAVE_LIBPTHREAD 1 … … 3622 3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3623 3599 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3624 if ${ac_cv_lib_wsock32_puts+:} false; then :3600 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3625 3601 $as_echo_n "(cached) " >&6 3626 3602 else … … 3656 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3657 3633 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3658 if test "x$ac_cv_lib_wsock32_puts" = x yes; then :3634 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3659 3635 cat >>confdefs.h <<_ACEOF 3660 3636 #define HAVE_LIBWSOCK32 1 … … 3667 3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3668 3644 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3669 if ${ac_cv_lib_ws2_32_puts+:} false; then :3645 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3670 3646 $as_echo_n "(cached) " >&6 3671 3647 else … … 3701 3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3702 3678 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3703 if test "x$ac_cv_lib_ws2_32_puts" = x yes; then :3679 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3704 3680 cat >>confdefs.h <<_ACEOF 3705 3681 #define HAVE_LIBWS2_32 1 … … 3712 3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3713 3689 $as_echo_n "checking for puts in -lole32... " >&6; } 3714 if ${ac_cv_lib_ole32_puts+:} false; then :3690 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3715 3691 $as_echo_n "(cached) " >&6 3716 3692 else … … 3746 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3747 3723 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3748 if test "x$ac_cv_lib_ole32_puts" = x yes; then :3724 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3749 3725 cat >>confdefs.h <<_ACEOF 3750 3726 #define HAVE_LIBOLE32 1 … … 3757 3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3758 3734 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3759 if ${ac_cv_lib_winmm_puts+:} false; then :3735 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3760 3736 $as_echo_n "(cached) " >&6 3761 3737 else … … 3791 3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3792 3768 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3793 if test "x$ac_cv_lib_winmm_puts" = x yes; then :3769 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3794 3770 cat >>confdefs.h <<_ACEOF 3795 3771 #define HAVE_LIBWINMM 1 … … 3802 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3803 3779 $as_echo_n "checking for puts in -lsocket... " >&6; } 3804 if ${ac_cv_lib_socket_puts+:} false; then :3780 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3805 3781 $as_echo_n "(cached) " >&6 3806 3782 else … … 3836 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3837 3813 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3838 if test "x$ac_cv_lib_socket_puts" = x yes; then :3814 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3839 3815 cat >>confdefs.h <<_ACEOF 3840 3816 #define HAVE_LIBSOCKET 1 … … 3847 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3848 3824 $as_echo_n "checking for puts in -lrt... " >&6; } 3849 if ${ac_cv_lib_rt_puts+:} false; then :3825 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3850 3826 $as_echo_n "(cached) " >&6 3851 3827 else … … 3881 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3882 3858 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3883 if test "x$ac_cv_lib_rt_puts" = x yes; then :3859 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3884 3860 cat >>confdefs.h <<_ACEOF 3885 3861 #define HAVE_LIBRT 1 … … 3892 3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3893 3869 $as_echo_n "checking for puts in -lnsl... " >&6; } 3894 if ${ac_cv_lib_nsl_puts+:} false; then :3870 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3895 3871 $as_echo_n "(cached) " >&6 3896 3872 else … … 3926 3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3927 3903 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3928 if test "x$ac_cv_lib_nsl_puts" = x yes; then :3904 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3929 3905 cat >>confdefs.h <<_ACEOF 3930 3906 #define HAVE_LIBNSL 1 … … 3937 3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3938 3914 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3939 if ${ac_cv_lib_uuid_uuid_generate+:} false; then :3915 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3940 3916 $as_echo_n "(cached) " >&6 3941 3917 else … … 3971 3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3972 3948 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3973 if test "x$ac_cv_lib_uuid_uuid_generate" = x yes; then :3949 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3974 3950 cat >>confdefs.h <<_ACEOF 3975 3951 #define HAVE_LIBUUID 1 … … 3982 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3983 3959 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3984 if ${ac_cv_lib_uuid_uuid_generate+:} false; then :3960 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3985 3961 $as_echo_n "(cached) " >&6 3986 3962 else … … 4016 3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 4017 3993 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 4018 if test "x$ac_cv_lib_uuid_uuid_generate" = x yes; then :3994 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4019 3995 ac_has_uuid_lib=1 4020 3996 fi … … 4058 4034 fi 4059 4035 if test -z "$CPP"; then 4060 if ${ac_cv_prog_CPP+:} false; then :4036 if test "${ac_cv_prog_CPP+set}" = set; then : 4061 4037 $as_echo_n "(cached) " >&6 4062 4038 else … … 4174 4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4175 4151 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4176 See \`config.log' for more details" "$LINENO" 5 ; }4152 See \`config.log' for more details" "$LINENO" 5 ; } 4177 4153 fi 4178 4154 … … 4186 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4187 4163 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4188 if ${ac_cv_path_GREP+:} false; then :4164 if test "${ac_cv_path_GREP+set}" = set; then : 4189 4165 $as_echo_n "(cached) " >&6 4190 4166 else … … 4200 4176 for ac_exec_ext in '' $ac_executable_extensions; do 4201 4177 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4202 as_fn_executable_p "$ac_path_GREP"|| continue4178 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4203 4179 # Check for GNU ac_path_GREP and select it if it is found. 4204 4180 # Check for GNU $ac_path_GREP … … 4249 4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4250 4226 $as_echo_n "checking for egrep... " >&6; } 4251 if ${ac_cv_path_EGREP+:} false; then :4227 if test "${ac_cv_path_EGREP+set}" = set; then : 4252 4228 $as_echo_n "(cached) " >&6 4253 4229 else … … 4266 4242 for ac_exec_ext in '' $ac_executable_extensions; do 4267 4243 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4268 as_fn_executable_p "$ac_path_EGREP"|| continue4244 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4269 4245 # Check for GNU ac_path_EGREP and select it if it is found. 4270 4246 # Check for GNU $ac_path_EGREP … … 4316 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4317 4293 $as_echo_n "checking for ANSI C header files... " >&6; } 4318 if ${ac_cv_header_stdc+:} false; then :4294 if test "${ac_cv_header_stdc+set}" = set; then : 4319 4295 $as_echo_n "(cached) " >&6 4320 4296 else … … 4445 4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4446 4422 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4447 if ${ac_cv_c_bigendian+:} false; then :4423 if test "${ac_cv_c_bigendian+set}" = set; then : 4448 4424 $as_echo_n "(cached) " >&6 4449 4425 else … … 4664 4640 *) 4665 4641 as_fn_error $? "unknown endianness 4666 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;4642 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4667 4643 esac 4668 4644 … … 4722 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4723 4699 $as_echo_n "checking for fmod in -lm... " >&6; } 4724 if ${ac_cv_lib_m_fmod+:} false; then :4700 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4725 4701 $as_echo_n "(cached) " >&6 4726 4702 else … … 4756 4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4757 4733 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4758 if test "x$ac_cv_lib_m_fmod" = x yes; then :4734 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 4759 4735 cat >>confdefs.h <<_ACEOF 4760 4736 #define HAVE_LIBM 1 … … 4771 4747 4772 4748 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4773 if test "x$ac_cv_header_arpa_inet_h" = x yes; then :4749 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4774 4750 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4775 4751 … … 4778 4754 4779 4755 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4780 if test "x$ac_cv_header_assert_h" = x yes; then :4756 if test "x$ac_cv_header_assert_h" = x""yes; then : 4781 4757 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4782 4758 … … 4785 4761 4786 4762 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4787 if test "x$ac_cv_header_ctype_h" = x yes; then :4763 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4788 4764 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 4789 4765 … … 4799 4775 *) 4800 4776 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4801 if test "x$ac_cv_header_errno_h" = x yes; then :4777 if test "x$ac_cv_header_errno_h" = x""yes; then : 4802 4778 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 4803 4779 … … 4809 4785 4810 4786 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4811 if test "x$ac_cv_header_fcntl_h" = x yes; then :4787 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4812 4788 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4813 4789 … … 4816 4792 4817 4793 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4818 if test "x$ac_cv_header_linux_socket_h" = x yes; then :4794 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4819 4795 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4820 4796 … … 4823 4799 4824 4800 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 4825 if test "x$ac_cv_header_limits_h" = x yes; then :4801 if test "x$ac_cv_header_limits_h" = x""yes; then : 4826 4802 $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 4827 4803 … … 4830 4806 4831 4807 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4832 if test "x$ac_cv_header_malloc_h" = x yes; then :4808 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4833 4809 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4834 4810 … … 4837 4813 4838 4814 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4839 if test "x$ac_cv_header_netdb_h" = x yes; then :4815 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4840 4816 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4841 4817 … … 4844 4820 4845 4821 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4846 if test "x$ac_cv_header_netinet_in_systm_h" = x yes; then :4822 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4847 4823 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4848 4824 … … 4851 4827 4852 4828 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4853 if test "x$ac_cv_header_netinet_in_h" = x yes; then :4829 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4854 4830 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4855 4831 … … 4868 4844 4869 4845 " 4870 if test "x$ac_cv_header_netinet_ip_h" = x yes; then :4846 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4871 4847 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4872 4848 … … 4875 4851 4876 4852 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4877 if test "x$ac_cv_header_netinet_tcp_h" = x yes; then :4853 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4878 4854 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4879 4855 … … 4882 4858 4883 4859 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4884 if test "x$ac_cv_header_ifaddrs_h" = x yes; then :4860 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4885 4861 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4886 if test "x$ac_cv_func_getifaddrs" = x yes; then :4862 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 4887 4863 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4888 4864 … … 4893 4869 4894 4870 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4895 if test "x$ac_cv_header_semaphore_h" = x yes; then :4871 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4896 4872 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4897 4873 … … 4900 4876 4901 4877 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4902 if test "x$ac_cv_header_setjmp_h" = x yes; then :4878 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4903 4879 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4904 4880 … … 4907 4883 4908 4884 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4909 if test "x$ac_cv_header_stdarg_h" = x yes; then :4885 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4910 4886 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4911 4887 … … 4914 4890 4915 4891 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4916 if test "x$ac_cv_header_stddef_h" = x yes; then :4892 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4917 4893 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4918 4894 … … 4921 4897 4922 4898 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4923 if test "x$ac_cv_header_stdio_h" = x yes; then :4899 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4924 4900 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4925 4901 … … 4928 4904 4929 4905 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4930 if test "x$ac_cv_header_stdint_h" = x yes; then :4906 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4931 4907 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4932 4908 … … 4935 4911 4936 4912 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4937 if test "x$ac_cv_header_stdlib_h" = x yes; then :4913 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4938 4914 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4939 4915 … … 4942 4918 4943 4919 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4944 if test "x$ac_cv_header_string_h" = x yes; then :4920 if test "x$ac_cv_header_string_h" = x""yes; then : 4945 4921 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4946 4922 … … 4949 4925 4950 4926 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4951 if test "x$ac_cv_header_sys_ioctl_h" = x yes; then :4927 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4952 4928 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4953 4929 … … 4956 4932 4957 4933 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4958 if test "x$ac_cv_header_sys_select_h" = x yes; then :4934 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4959 4935 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4960 4936 … … 4963 4939 4964 4940 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4965 if test "x$ac_cv_header_sys_socket_h" = x yes; then :4941 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4966 4942 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4967 4943 … … 4970 4946 4971 4947 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4972 if test "x$ac_cv_header_sys_time_h" = x yes; then :4948 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4973 4949 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4974 4950 … … 4977 4953 4978 4954 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4979 if test "x$ac_cv_header_sys_timeb_h" = x yes; then :4955 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4980 4956 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4981 4957 … … 4984 4960 4985 4961 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4986 if test "x$ac_cv_header_sys_types_h" = x yes; then :4962 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4987 4963 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4988 4964 … … 4991 4967 4992 4968 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4993 if test "x$ac_cv_header_sys_filio_h" = x yes; then :4969 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4994 4970 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4995 4971 … … 4998 4974 4999 4975 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 5000 if test "x$ac_cv_header_sys_sockio_h" = x yes; then :4976 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 5001 4977 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 5002 4978 … … 5005 4981 5006 4982 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 5007 if test "x$ac_cv_header_sys_utsname_h" = x yes; then :4983 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 5008 4984 $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 5009 4985 … … 5012 4988 5013 4989 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 5014 if test "x$ac_cv_header_time_h" = x yes; then :4990 if test "x$ac_cv_header_time_h" = x""yes; then : 5015 4991 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 5016 4992 … … 5019 4995 5020 4996 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5021 if test "x$ac_cv_header_unistd_h" = x yes; then :4997 if test "x$ac_cv_header_unistd_h" = x""yes; then : 5022 4998 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 5023 4999 … … 5026 5002 5027 5003 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 5028 if test "x$ac_cv_header_winsock_h" = x yes; then :5004 if test "x$ac_cv_header_winsock_h" = x""yes; then : 5029 5005 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 5030 5006 … … 5033 5009 5034 5010 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 5035 if test "x$ac_cv_header_winsock2_h" = x yes; then :5011 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 5036 5012 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 5037 5013 … … 5046 5022 5047 5023 " 5048 if test "x$ac_cv_header_mswsock_h" = x yes; then :5024 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 5049 5025 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 5050 5026 … … 5053 5029 5054 5030 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 5055 if test "x$ac_cv_header_ws2tcpip_h" = x yes; then :5031 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 5056 5032 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 5057 5033 … … 5060 5036 5061 5037 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 5062 if test "x$ac_cv_header_uuid_uuid_h" = x yes; then :5038 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 5063 5039 ac_has_uuid_h=1 5064 5040 fi … … 5074 5050 5075 5051 " 5076 if test "x$ac_cv_header_net_if_h" = x yes; then :5052 if test "x$ac_cv_header_net_if_h" = x""yes; then : 5077 5053 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 5078 5054 … … 5625 5601 5626 5602 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5627 if test "x$ac_cv_header_sys_soundcard_h" = x yes; then :5603 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 5628 5604 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 5629 5605 fi … … 5631 5607 5632 5608 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5633 if test "x$ac_cv_header_linux_soundcard_h" = x yes; then :5609 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 5634 5610 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 5635 5611 fi … … 5637 5613 5638 5614 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5639 if test "x$ac_cv_header_machine_soundcard_h" = x yes; then :5615 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 5640 5616 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 5641 5617 fi … … 5685 5661 ac_pjmedia_snd=pa_unix 5686 5662 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5687 if test "x$ac_cv_header_alsa_version_h" = x yes; then :5663 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 5688 5664 ac_pa_use_alsa=1 5689 5665 … … 5988 5964 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5989 5965 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5990 if ${ac_cv_lib_samplerate_src_new+:} false; then :5966 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5991 5967 $as_echo_n "(cached) " >&6 5992 5968 else … … 6022 5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 6023 5999 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 6024 if test "x$ac_cv_lib_samplerate_src_new" = x yes; then :6000 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 6025 6001 cat >>confdefs.h <<_ACEOF 6026 6002 #define HAVE_LIBSAMPLERATE 1 … … 6077 6053 else 6078 6054 6079 SDL_CONFIG="sdl-config"6080 6055 if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 6081 SDL_CONFIG=$with_sdl/bin/sdl-config6082 6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 6083 6057 $as_echo "Using SDL prefix... $with_sdl" >&6; } 6058 for ac_prog in sdl-config sdl2-config 6059 do 6060 # Extract the first word of "$ac_prog", so it can be a program name with args. 6061 set dummy $ac_prog; ac_word=$2 6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6063 $as_echo_n "checking for $ac_word... " >&6; } 6064 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then : 6065 $as_echo_n "(cached) " >&6 6066 else 6067 case $SDL_CONFIG in 6068 [\\/]* | ?:[\\/]*) 6069 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. 6070 ;; 6071 *) 6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6073 for as_dir in $with_sdl/bin 6074 do 6075 IFS=$as_save_IFS 6076 test -z "$as_dir" && as_dir=. 6077 for ac_exec_ext in '' $ac_executable_extensions; do 6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6079 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6081 break 2 6082 fi 6083 done 6084 done 6085 IFS=$as_save_IFS 6086 6087 ;; 6088 esac 6089 fi 6090 SDL_CONFIG=$ac_cv_path_SDL_CONFIG 6091 if test -n "$SDL_CONFIG"; then 6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 6093 $as_echo "$SDL_CONFIG" >&6; } 6094 else 6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6096 $as_echo "no" >&6; } 6097 fi 6098 6099 6100 test -n "$SDL_CONFIG" && break 6101 done 6102 6103 else 6104 for ac_prog in sdl-config sdl2-config 6105 do 6106 # Extract the first word of "$ac_prog", so it can be a program name with args. 6107 set dummy $ac_prog; ac_word=$2 6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6109 $as_echo_n "checking for $ac_word... " >&6; } 6110 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then : 6111 $as_echo_n "(cached) " >&6 6112 else 6113 case $SDL_CONFIG in 6114 [\\/]* | ?:[\\/]*) 6115 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. 6116 ;; 6117 *) 6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6119 for as_dir in $PATH 6120 do 6121 IFS=$as_save_IFS 6122 test -z "$as_dir" && as_dir=. 6123 for ac_exec_ext in '' $ac_executable_extensions; do 6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6125 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6127 break 2 6128 fi 6129 done 6130 done 6131 IFS=$as_save_IFS 6132 6133 ;; 6134 esac 6135 fi 6136 SDL_CONFIG=$ac_cv_path_SDL_CONFIG 6137 if test -n "$SDL_CONFIG"; then 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 6139 $as_echo "$SDL_CONFIG" >&6; } 6140 else 6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6142 $as_echo "no" >&6; } 6143 fi 6144 6145 6146 test -n "$SDL_CONFIG" && break 6147 done 6148 6084 6149 fi 6085 6150 6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 6087 $as_echo_n "checking SDL availability..... " >&6; } 6088 if (sh -c "$SDL_CONFIG --version" | grep 1.3) then 6089 6090 6091 ac_sdl_cflags=`$SDL_CONFIG --cflags` 6092 ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 6093 ac_sdl_ldflags=`$SDL_CONFIG --libs` 6094 LIBS="$LIBS $ac_sdl_ldflags" 6095 else 6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability" >&5 6152 $as_echo_n "checking SDL availability... " >&6; } 6153 if test "x$SDL_CONFIG" = "x"; then 6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 6155 $as_echo "not found" >&6; } 6156 elif (sh -c "$SDL_CONFIG --version" | grep -e '^1\.3' -e '^2\.') then 6157 6158 6159 ac_sdl_cflags=`$SDL_CONFIG --cflags` 6160 ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 6161 ac_sdl_ldflags=`$SDL_CONFIG --libs` 6162 LIBS="$LIBS $ac_sdl_ldflags" 6163 else 6096 6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported SDL version" >&5 6097 6165 $as_echo "Unsupported SDL version" >&6; } 6098 6166 fi 6099 6167 6100 6168 fi … … 6147 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6148 6216 $as_echo_n "checking for $ac_word... " >&6; } 6149 if ${ac_cv_prog_PKG_CONFIG+:} false; then :6217 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then : 6150 6218 $as_echo_n "(cached) " >&6 6151 6219 else … … 6159 6227 test -z "$as_dir" && as_dir=. 6160 6228 for ac_exec_ext in '' $ac_executable_extensions; do 6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6162 6230 ac_cv_prog_PKG_CONFIG="$ac_prog" 6163 6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6236 6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 6237 6305 $as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 6238 if ${ac_cv_lib_avdevice_avdevice_version+:} false; then :6306 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 6239 6307 $as_echo_n "(cached) " >&6 6240 6308 else … … 6270 6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 6271 6339 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 6272 if test "x$ac_cv_lib_avdevice_avdevice_version" = x yes; then :6340 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 6273 6341 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 6274 6342 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" … … 6279 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 6280 6348 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 6281 if ${ac_cv_lib_avutil_av_malloc+:} false; then :6349 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 6282 6350 $as_echo_n "(cached) " >&6 6283 6351 else … … 6313 6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 6314 6382 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 6315 if test "x$ac_cv_lib_avutil_av_malloc" = x yes; then :6383 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 6316 6384 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 6317 6385 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" … … 6322 6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 6323 6391 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 6324 if ${ac_cv_lib_avcodec_avcodec_init+:} false; then :6392 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 6325 6393 $as_echo_n "(cached) " >&6 6326 6394 else … … 6357 6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 6358 6426 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 6359 if test "x$ac_cv_lib_avcodec_avcodec_init" = x yes; then :6427 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 6360 6428 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 6361 6429 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" … … 6365 6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 6366 6434 $as_echo_n "checking for av_register_all in -lavformat... " >&6; } 6367 if ${ac_cv_lib_avformat_av_register_all+:} false; then :6435 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 6368 6436 $as_echo_n "(cached) " >&6 6369 6437 else … … 6400 6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 6401 6469 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 6402 if test "x$ac_cv_lib_avformat_av_register_all" = x yes; then :6470 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 6403 6471 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 6404 6472 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" … … 6408 6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 6409 6477 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 6410 if ${ac_cv_lib_swscale_sws_scale+:} false; then :6478 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 6411 6479 $as_echo_n "(cached) " >&6 6412 6480 else … … 6443 6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 6444 6512 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 6445 if test "x$ac_cv_lib_swscale_sws_scale" = x yes; then :6513 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 6446 6514 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 6447 6515 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" … … 6451 6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 6452 6520 $as_echo_n "checking for avcore_version in -lavcore... " >&6; } 6453 if ${ac_cv_lib_avcore_avcore_version+:} false; then :6521 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 6454 6522 $as_echo_n "(cached) " >&6 6455 6523 else … … 6485 6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 6486 6554 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 6487 if test "x$ac_cv_lib_avcore_avcore_version" = x yes; then :6555 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 6488 6556 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 6489 6557 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" … … 6516 6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 6517 6585 $as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 6518 if ${ac_cv_lib_v4l2_v4l2_open+:} false; then :6586 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 6519 6587 $as_echo_n "(cached) " >&6 6520 6588 else … … 6550 6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 6551 6619 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 6552 if test "x$ac_cv_lib_v4l2_v4l2_open" = x yes; then :6620 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 6553 6621 ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 6554 6622 ac_v4l2_ldflags="-lv4l2" … … 6711 6779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6712 6780 as_fn_error $? "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info 6713 See \`config.log' for more details" "$LINENO" 5 ; }6781 See \`config.log' for more details" "$LINENO" 5 ; } 6714 6782 fi 6715 6783 rm -f core conftest.err conftest.$ac_objext \ … … 6767 6835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6768 6836 as_fn_error $? "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 6769 See \`config.log' for more details" "$LINENO" 5 ; }6837 See \`config.log' for more details" "$LINENO" 5 ; } 6770 6838 fi 6771 6839 else … … 6773 6841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6774 6842 as_fn_error $? "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 6775 See \`config.log' for more details" "$LINENO" 5 ; }6843 See \`config.log' for more details" "$LINENO" 5 ; } 6776 6844 fi 6777 6845 … … 6781 6849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6782 6850 as_fn_error $? "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 6783 See \`config.log' for more details" "$LINENO" 5 ; }6851 See \`config.log' for more details" "$LINENO" 5 ; } 6784 6852 exit 1; 6785 6853 fi … … 6795 6863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6796 6864 as_fn_error $? "bug in this script: unsupported IPP version 6797 See \`config.log' for more details" "$LINENO" 5 ; }6865 See \`config.log' for more details" "$LINENO" 5 ; } 6798 6866 fi 6799 6867 … … 6802 6870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6803 6871 as_fn_error $? "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6804 See \`config.log' for more details" "$LINENO" 5 ; }6872 See \`config.log' for more details" "$LINENO" 5 ; } 6805 6873 fi 6806 6874 … … 6838 6906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6839 6907 as_fn_error $? "failed 6840 See \`config.log' for more details" "$LINENO" 5 ; }6908 See \`config.log' for more details" "$LINENO" 5 ; } 6841 6909 fi 6842 6910 rm -f core conftest.err conftest.$ac_objext \ … … 6905 6973 6906 6974 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6907 if test "x$ac_cv_header_openssl_ssl_h" = x yes; then :6975 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 6908 6976 openssl_h_present=1 6909 6977 fi … … 6912 6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 6913 6981 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 6914 if ${ac_cv_lib_crypto_ERR_load_BIO_strings+:} false; then :6982 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 6915 6983 $as_echo_n "(cached) " >&6 6916 6984 else … … 6946 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 6947 7015 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 6948 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x yes; then :7016 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 6949 7017 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 6950 7018 fi … … 6952 7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 6953 7021 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 6954 if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :7022 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 6955 7023 $as_echo_n "(cached) " >&6 6956 7024 else … … 6986 7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 6987 7055 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 6988 if test "x$ac_cv_lib_ssl_SSL_library_init" = x yes; then :7056 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 6989 7057 libssl_present=1 && LIBS="$LIBS -lssl" 6990 7058 fi … … 7044 7112 7045 7113 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 7046 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x yes; then :7114 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 7047 7115 opencore_amrnb_h_present=1 7048 7116 fi … … 7051 7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 7052 7120 $as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 7053 if ${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+:} false; then :7121 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 7054 7122 $as_echo_n "(cached) " >&6 7055 7123 else … … 7085 7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 7086 7154 $as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 7087 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x yes; then :7155 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 7088 7156 opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 7089 7157 fi … … 7258 7326 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7259 7327 if test -w "$cache_file"; then 7260 if test "x$cache_file" != "x/dev/null"; then7328 test "x$cache_file" != "x/dev/null" && 7261 7329 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7262 7330 $as_echo "$as_me: updating cache $cache_file" >&6;} 7263 if test ! -f "$cache_file" || test -h "$cache_file"; then 7264 cat confcache >"$cache_file" 7265 else 7266 case $cache_file in #( 7267 */* | ?:*) 7268 mv -f confcache "$cache_file"$$ && 7269 mv -f "$cache_file"$$ "$cache_file" ;; #( 7270 *) 7271 mv -f confcache "$cache_file" ;; 7272 esac 7273 fi 7274 fi 7331 cat confcache >$cache_file 7275 7332 else 7276 7333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 … … 7305 7362 7306 7363 7307 : "${CONFIG_STATUS=./config.status}"7364 : ${CONFIG_STATUS=./config.status} 7308 7365 ac_write_fail=0 7309 7366 ac_clean_files_save=$ac_clean_files … … 7406 7463 7407 7464 # Find who we are. Look in the path if we contain no directory separator. 7408 as_myself=7409 7465 case $0 in #(( 7410 7466 *[\\/]* ) as_myself=$0 ;; … … 7602 7658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7603 7659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7604 # In both cases, we have to default to `cp -p R'.7660 # In both cases, we have to default to `cp -p'. 7605 7661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7606 as_ln_s='cp -p R'7662 as_ln_s='cp -p' 7607 7663 elif ln conf$$.file conf$$ 2>/dev/null; then 7608 7664 as_ln_s=ln 7609 7665 else 7610 as_ln_s='cp -p R'7666 as_ln_s='cp -p' 7611 7667 fi 7612 7668 else 7613 as_ln_s='cp -p R'7669 as_ln_s='cp -p' 7614 7670 fi 7615 7671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 7671 7727 fi 7672 7728 7673 7674 # as_fn_executable_p FILE 7675 # ----------------------- 7676 # Test if FILE is an executable regular file. 7677 as_fn_executable_p () 7678 { 7679 test -f "$1" && test -x "$1" 7680 } # as_fn_executable_p 7681 as_test_x='test -x' 7682 as_executable_p=as_fn_executable_p 7729 if test -x / >/dev/null 2>&1; then 7730 as_test_x='test -x' 7731 else 7732 if ls -dL / >/dev/null 2>&1; then 7733 as_ls_L_option=L 7734 else 7735 as_ls_L_option= 7736 fi 7737 as_test_x=' 7738 eval sh -c '\'' 7739 if test -d "$1"; then 7740 test -d "$1/."; 7741 else 7742 case $1 in #( 7743 -*)set "./$1";; 7744 esac; 7745 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7746 ???[sx]*):;;*)false;;esac;fi 7747 '\'' sh 7748 ' 7749 fi 7750 as_executable_p=$as_test_x 7683 7751 7684 7752 # Sed expression to map a string onto a valid CPP name. … … 7702 7770 ac_log=" 7703 7771 This file was extended by pjproject $as_me 2.x, which was 7704 generated by GNU Autoconf 2.6 9. Invocation command line was7772 generated by GNU Autoconf 2.67. Invocation command line was 7705 7773 7706 7774 CONFIG_FILES = $CONFIG_FILES … … 7764 7832 ac_cs_version="\\ 7765 7833 pjproject config.status 2.x 7766 configured by $0, generated by GNU Autoconf 2.6 9,7834 configured by $0, generated by GNU Autoconf 2.67, 7767 7835 with options \\"\$ac_cs_config\\" 7768 7836 7769 Copyright (C) 201 2Free Software Foundation, Inc.7837 Copyright (C) 2010 Free Software Foundation, Inc. 7770 7838 This config.status script is free software; the Free Software Foundation 7771 7839 gives unlimited permission to copy, distribute and modify it." … … 7855 7923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7856 7924 if \$ac_cs_recheck; then 7857 set X $SHELL'$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion7925 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7858 7926 shift 7859 7927 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 7899 7967 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7900 7968 7901 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;7969 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 7902 7970 esac 7903 7971 done … … 7921 7989 $debug || 7922 7990 { 7923 tmp= ac_tmp=7991 tmp= 7924 7992 trap 'exit_status=$? 7925 : "${ac_tmp:=$tmp}" 7926 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7993 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7927 7994 ' 0 7928 7995 trap 'as_fn_exit 1' 1 2 13 15 … … 7932 7999 { 7933 8000 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7934 test - d "$tmp"8001 test -n "$tmp" && test -d "$tmp" 7935 8002 } || 7936 8003 { … … 7938 8005 (umask 077 && mkdir "$tmp") 7939 8006 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7940 ac_tmp=$tmp7941 8007 7942 8008 # Set up the scripts for CONFIG_FILES section. … … 7960 8026 fi 7961 8027 7962 echo 'BEGIN {' >"$ ac_tmp/subs1.awk" &&8028 echo 'BEGIN {' >"$tmp/subs1.awk" && 7963 8029 _ACEOF 7964 8030 … … 7988 8054 7989 8055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7990 cat >>"\$ ac_tmp/subs1.awk" <<\\_ACAWK &&8056 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7991 8057 _ACEOF 7992 8058 sed -n ' … … 8036 8102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8037 8103 _ACAWK 8038 cat >>"\$ ac_tmp/subs1.awk" <<_ACAWK &&8104 cat >>"\$tmp/subs1.awk" <<_ACAWK && 8039 8105 for (key in S) S_is_set[key] = 1 8040 8106 FS = "" … … 8068 8134 else 8069 8135 cat 8070 fi < "$ ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \8136 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8071 8137 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8072 8138 _ACEOF … … 8102 8168 # This happens for instance with `./config.status Makefile'. 8103 8169 if test -n "$CONFIG_HEADERS"; then 8104 cat >"$ ac_tmp/defines.awk" <<\_ACAWK ||8170 cat >"$tmp/defines.awk" <<\_ACAWK || 8105 8171 BEGIN { 8106 8172 _ACEOF … … 8114 8180 ac_delim='%!_!# ' 8115 8181 for ac_last_try in false false :; do 8116 ac_t t=`sed -n "/$ac_delim/p" confdefs.h`8117 if test -z "$ac_t t"; then8182 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 8183 if test -z "$ac_t"; then 8118 8184 break 8119 8185 elif $ac_last_try; then … … 8216 8282 case $ac_mode$ac_tag in 8217 8283 :[FHL]*:*);; 8218 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;8284 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 8219 8285 :[FH]-) ac_tag=-:-;; 8220 8286 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 8235 8301 do 8236 8302 case $ac_f in 8237 -) ac_f="$ ac_tmp/stdin";;8303 -) ac_f="$tmp/stdin";; 8238 8304 *) # Look for the file first in the build tree, then in the source tree 8239 8305 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 8244 8310 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8245 8311 esac || 8246 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;8312 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 8247 8313 esac 8248 8314 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 8270 8336 8271 8337 case $ac_tag in 8272 *:-:* | *:-) cat >"$ ac_tmp/stdin" \8273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;8338 *:-:* | *:-) cat >"$tmp/stdin" \ 8339 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8274 8340 esac 8275 8341 ;; … … 8396 8462 $ac_datarootdir_hack 8397 8463 " 8398 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ ac_tmp/subs.awk"\8399 >$ac_tmp/out|| as_fn_error $? "could not create $ac_file" "$LINENO" 58464 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 8465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8400 8466 8401 8467 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8402 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 8403 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 8404 "$ac_tmp/out"`; test -z "$ac_out"; } && 8468 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8469 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8405 8470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8406 8471 which seems to be undefined. Please make sure it is defined" >&5 … … 8408 8473 which seems to be undefined. Please make sure it is defined" >&2;} 8409 8474 8410 rm -f "$ ac_tmp/stdin"8475 rm -f "$tmp/stdin" 8411 8476 case $ac_file in 8412 -) cat "$ ac_tmp/out" && rm -f "$ac_tmp/out";;8413 *) rm -f "$ac_file" && mv "$ ac_tmp/out" "$ac_file";;8477 -) cat "$tmp/out" && rm -f "$tmp/out";; 8478 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 8414 8479 esac \ 8415 8480 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 … … 8422 8487 { 8423 8488 $as_echo "/* $configure_input */" \ 8424 && eval '$AWK -f "$ ac_tmp/defines.awk"' "$ac_file_inputs"8425 } >"$ ac_tmp/config.h" \8489 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 8490 } >"$tmp/config.h" \ 8426 8491 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8427 if diff "$ac_file" "$ ac_tmp/config.h" >/dev/null 2>&1; then8492 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 8428 8493 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8429 8494 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8430 8495 else 8431 8496 rm -f "$ac_file" 8432 mv "$ ac_tmp/config.h" "$ac_file" \8497 mv "$tmp/config.h" "$ac_file" \ 8433 8498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8434 8499 fi 8435 8500 else 8436 8501 $as_echo "/* $configure_input */" \ 8437 && eval '$AWK -f "$ ac_tmp/defines.awk"' "$ac_file_inputs" \8502 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 8438 8503 || as_fn_error $? "could not create -" "$LINENO" 5 8439 8504 fi -
pjproject/trunk/aconfigure.ac
r4149 r4157 853 853 ], 854 854 [ 855 SDL_CONFIG="sdl-config"856 855 if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 857 SDL_CONFIG=$with_sdl/bin/sdl-config858 856 AC_MSG_RESULT([Using SDL prefix... $with_sdl]) 857 AC_PATH_PROGS(SDL_CONFIG,sdl-config sdl2-config,,$with_sdl/bin) 858 else 859 AC_PATH_PROGS(SDL_CONFIG, sdl-config sdl2-config) 859 860 fi 860 861 AC_MSG_CHECKING([SDL availability..]) 862 if (sh -c "$SDL_CONFIG --version" | grep 1.3) then 863 AC_SUBST(ac_sdl_cflags) 864 AC_SUBST(ac_sdl_ldflags) 865 ac_sdl_cflags=`$SDL_CONFIG --cflags` 866 ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 867 ac_sdl_ldflags=`$SDL_CONFIG --libs` 868 LIBS="$LIBS $ac_sdl_ldflags" 869 else 861 862 AC_MSG_CHECKING([SDL availability]) 863 if test "x$SDL_CONFIG" = "x"; then 864 AC_MSG_RESULT([not found]) 865 elif (sh -c "$SDL_CONFIG --version" | grep -e '^1\.3' -e '^2\.') then 866 AC_SUBST(ac_sdl_cflags) 867 AC_SUBST(ac_sdl_ldflags) 868 ac_sdl_cflags=`$SDL_CONFIG --cflags` 869 ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 870 ac_sdl_ldflags=`$SDL_CONFIG --libs` 871 LIBS="$LIBS $ac_sdl_ldflags" 872 else 870 873 AC_MSG_RESULT([Unsupported SDL version]) 871 874 fi 872 875 ]) 873 876 -
pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
r4078 r4157 77 77 0xFF0000, 0xFF00, 0xFF, 0} , 78 78 79 {PJMEDIA_FORMAT_YUY2, SDL_ YUY2_OVERLAY, 0, 0, 0, 0} ,80 {PJMEDIA_FORMAT_UYVY, SDL_ UYVY_OVERLAY, 0, 0, 0, 0} ,81 {PJMEDIA_FORMAT_YVYU, SDL_ YVYU_OVERLAY, 0, 0, 0, 0} ,82 {PJMEDIA_FORMAT_I420, SDL_ IYUV_OVERLAY, 0, 0, 0, 0} ,83 {PJMEDIA_FORMAT_YV12, SDL_ YV12_OVERLAY, 0, 0, 0, 0} ,84 {PJMEDIA_FORMAT_I420JPEG, SDL_ IYUV_OVERLAY, 0, 0, 0, 0} ,85 {PJMEDIA_FORMAT_I422JPEG, SDL_ YV12_OVERLAY, 0, 0, 0, 0} ,79 {PJMEDIA_FORMAT_YUY2, SDL_PIXELFORMAT_YUY2, 0, 0, 0, 0} , 80 {PJMEDIA_FORMAT_UYVY, SDL_PIXELFORMAT_UYVY, 0, 0, 0, 0} , 81 {PJMEDIA_FORMAT_YVYU, SDL_PIXELFORMAT_YVYU, 0, 0, 0, 0} , 82 {PJMEDIA_FORMAT_I420, SDL_PIXELFORMAT_IYUV, 0, 0, 0, 0} , 83 {PJMEDIA_FORMAT_YV12, SDL_PIXELFORMAT_YV12, 0, 0, 0, 0} , 84 {PJMEDIA_FORMAT_I420JPEG, SDL_PIXELFORMAT_IYUV, 0, 0, 0, 0} , 85 {PJMEDIA_FORMAT_I422JPEG, SDL_PIXELFORMAT_YV12, 0, 0, 0, 0} 86 86 }; 87 87 … … 1419 1419 1420 1420 #ifdef _MSC_VER 1421 # pragma comment( lib, "sdl.lib") 1421 # if SDL_VERSION_ATLEAST(2,0,0) 1422 # pragma comment( lib, "sdl2.lib") 1423 # elif SDL_VERSION_ATLEAST(1,3,0) 1424 # pragma comment( lib, "sdl.lib") 1425 # endif 1422 1426 # if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL 1423 1427 # pragma comment(lib, "OpenGL32.lib")
Note: See TracChangeset
for help on using the changeset viewer.