Changeset 4149
- Timestamp:
- Jun 1, 2012 4:27:01 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4131 r4149 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 5for pjproject 2.x.3 # Generated by GNU Autoconf 2.69 for pjproject 2.x. 4 4 # 5 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 7 # 10 8 # … … 90 88 91 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 92 91 case $0 in #(( 93 92 *[\\/]* ) as_myself=$0 ;; … … 134 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 136 160 if test "x$CONFIG_SHELL" = x; then 137 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 167 191 exitcode=1; echo positional parameters were not saved. 168 192 fi 169 test x\$exitcode = x0 || exit 1" 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 170 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 212 237 213 238 if test "x$CONFIG_SHELL" != x; then : 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+"$@"} 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 222 258 fi 223 259 … … 317 353 done 318 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320 356 321 357 322 358 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE 361 # ----------------------- 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_p 323 367 # as_fn_append VAR VALUE 324 368 # ---------------------- … … 357 401 358 402 359 # as_fn_error ERROR [LINENO LOG_FD]360 # --------------------------------- 403 # as_fn_error STATUS ERROR [LINENO LOG_FD] 404 # ---------------------------------------- 361 405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0.407 # script with STATUS, using 1 if that was 0. 364 408 as_fn_error () 365 409 { 366 as_status=$ ?; test $as_status -eq 0 && as_status=1367 if test "$ 3"; then368 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$3410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370 414 fi 371 $as_echo "$as_me: error: $ 1" >&2415 $as_echo "$as_me: error: $2" >&2 372 416 as_fn_exit $as_status 373 417 } # as_fn_error … … 442 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 443 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 444 492 # Don't try to exec as it changes $[0], causing all sort of problems 445 493 # (the dirname of $[0] is not the place where we might find the … … 476 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p '.526 # In both cases, we have to default to `cp -pR'. 479 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p '528 as_ln_s='cp -pR' 481 529 elif ln conf$$.file conf$$ 2>/dev/null; then 482 530 as_ln_s=ln 483 531 else 484 as_ln_s='cp -p '532 as_ln_s='cp -pR' 485 533 fi 486 534 else 487 as_ln_s='cp -p '535 as_ln_s='cp -pR' 488 536 fi 489 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 497 545 fi 498 546 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 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 521 549 522 550 # Sed expression to map a string onto a valid CPP name. … … 531 559 532 560 # Name of the host. 533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 534 562 # so uname gets run too. 535 563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 596 624 ac_host 597 625 ac_linux_poll 598 ac_cross_compile599 626 opencore_amrnb_present 600 627 opencore_amrnb_h_present … … 640 667 GREP 641 668 CPP 669 ac_cross_compile 642 670 ac_shlib_suffix 643 671 ac_build_mak_vars … … 740 768 with_sdl 741 769 enable_sdl 770 with_ffmpeg 742 771 enable_ffmpeg 743 with_ffmpeg744 772 enable_v4l2 745 773 enable_ipp … … 747 775 with_ipp_samples 748 776 with_ipp_arch 777 with_ssl 749 778 enable_ssl 779 with_opencore_amrnb 750 780 enable_opencore_amrnb 751 781 ' … … 824 854 825 855 case $ac_option in 826 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 827 *) ac_optarg=yes ;; 856 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 857 *=) ac_optarg= ;; 858 *) ac_optarg=yes ;; 828 859 esac 829 860 … … 870 901 # Reject names that are not valid shell variable names. 871 902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 872 as_fn_error "invalid feature name: $ac_useropt"903 as_fn_error $? "invalid feature name: $ac_useropt" 873 904 ac_useropt_orig=$ac_useropt 874 905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 896 927 # Reject names that are not valid shell variable names. 897 928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 898 as_fn_error "invalid feature name: $ac_useropt"929 as_fn_error $? "invalid feature name: $ac_useropt" 899 930 ac_useropt_orig=$ac_useropt 900 931 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1100 1131 # Reject names that are not valid shell variable names. 1101 1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1102 as_fn_error "invalid package name: $ac_useropt"1133 as_fn_error $? "invalid package name: $ac_useropt" 1103 1134 ac_useropt_orig=$ac_useropt 1104 1135 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1116 1147 # Reject names that are not valid shell variable names. 1117 1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 as_fn_error "invalid package name: $ac_useropt"1149 as_fn_error $? "invalid package name: $ac_useropt" 1119 1150 ac_useropt_orig=$ac_useropt 1120 1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1146 1177 x_libraries=$ac_optarg ;; 1147 1178 1148 -*) as_fn_error "unrecognized option: \`$ac_option'1149 Try \`$0 --help' for more information ."1179 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1180 Try \`$0 --help' for more information" 1150 1181 ;; 1151 1182 … … 1155 1186 case $ac_envvar in #( 1156 1187 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1157 as_fn_error "invalid variable name: \`$ac_envvar'" ;;1188 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1158 1189 esac 1159 1190 eval $ac_envvar=\$ac_optarg … … 1165 1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1166 1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1168 1199 ;; 1169 1200 … … 1173 1204 if test -n "$ac_prev"; then 1174 1205 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1175 as_fn_error "missing argument to $ac_option"1206 as_fn_error $? "missing argument to $ac_option" 1176 1207 fi 1177 1208 … … 1179 1210 case $enable_option_checking in 1180 1211 no) ;; 1181 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;1212 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1182 1213 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1183 1214 esac … … 1202 1233 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1203 1234 esac 1204 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"1235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1205 1236 done 1206 1237 … … 1216 1247 if test "x$build_alias" = x; then 1217 1248 cross_compiling=maybe 1218 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1219 If a cross compiler is detected then cross compile mode will be used." >&21220 1249 elif test "x$build_alias" != "x$host_alias"; then 1221 1250 cross_compiling=yes … … 1232 1261 ac_ls_di=`ls -di .` && 1233 1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1234 as_fn_error "working directory cannot be determined"1263 as_fn_error $? "working directory cannot be determined" 1235 1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1236 as_fn_error "pwd does not report name of working directory"1265 as_fn_error $? "pwd does not report name of working directory" 1237 1266 1238 1267 … … 1273 1302 if test ! -r "$srcdir/$ac_unique_file"; then 1274 1303 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1275 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"1304 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1276 1305 fi 1277 1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1278 1307 ac_abs_confdir=`( 1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"1308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1280 1309 pwd)` 1281 1310 # When building in place, set srcdir=. … … 1317 1346 --help=recursive display the short help of all the included packages 1318 1347 -V, --version display version information and exit 1319 -q, --quiet, --silent do not print \`checking ...' messages1348 -q, --quiet, --silent do not print \`checking ...' messages 1320 1349 --cache-file=FILE cache test results in FILE [disabled] 1321 1350 -C, --config-cache alias for \`--cache-file=config.cache' … … 1435 1464 --with-ipp-arch=ARCH Specify the Intel IPP ARCH suffix, e.g. "64" or 1436 1465 "em64t. Default is blank for IA32" 1466 --with-ssl=DIR Specify alternate libssl prefix 1467 --with-opencore-amrnb=DIR 1468 Specify alternate libopencore-amrnb prefix 1437 1469 1438 1470 Some influential environment variables: … … 1515 1547 cat <<\_ACEOF 1516 1548 pjproject configure 2.x 1517 generated by GNU Autoconf 2.6 51518 1519 Copyright (C) 20 09Free Software Foundation, Inc.1549 generated by GNU Autoconf 2.69 1550 1551 Copyright (C) 2012 Free Software Foundation, Inc. 1520 1552 This configure script is free software; the Free Software Foundation 1521 1553 gives unlimited permission to copy, distribute and modify it. … … 1561 1593 ac_retval=1 1562 1594 fi 1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1564 1596 as_fn_set_status $ac_retval 1565 1597 … … 1599 1631 ac_retval=1 1600 1632 fi 1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1602 1634 as_fn_set_status $ac_retval 1603 1635 … … 1631 1663 } && test -s conftest$ac_exeext && { 1632 1664 test "$cross_compiling" = yes || 1633 $as_test_x conftest$ac_exeext1665 test -x conftest$ac_exeext 1634 1666 }; then : 1635 1667 ac_retval=0 … … 1645 1677 # left behind by Apple's compiler. We do this before executing the actions. 1646 1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1648 1680 as_fn_set_status $ac_retval 1649 1681 … … 1687 1719 fi 1688 1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1690 1722 as_fn_set_status $ac_retval 1691 1723 … … 1713 1745 fi 1714 1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1715 test $ac_status = 0; } > /dev/null&& {1747 test $ac_status = 0; } > conftest.i && { 1716 1748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1717 1749 test ! -s conftest.err … … 1724 1756 ac_retval=1 1725 1757 fi 1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1727 1759 as_fn_set_status $ac_retval 1728 1760 … … 1738 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1739 1771 $as_echo_n "checking for $2... " >&6; } 1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1772 if eval \${$3+:} false; then : 1741 1773 $as_echo_n "(cached) " >&6 1742 1774 else … … 1756 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1757 1789 $as_echo "$ac_res" >&6; } 1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1759 1791 1760 1792 } # ac_fn_c_check_header_compile … … 1768 1800 { 1769 1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1770 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1802 if eval \${$3+:} false; then : 1771 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1772 1804 $as_echo_n "checking for $2... " >&6; } 1773 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1805 if eval \${$3+:} false; then : 1774 1806 $as_echo_n "(cached) " >&6 1775 1807 fi … … 1807 1839 ac_header_preproc=no 1808 1840 fi 1809 rm -f conftest.err conftest. $ac_ext1841 rm -f conftest.err conftest.i conftest.$ac_ext 1810 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1811 1843 $as_echo "$ac_header_preproc" >&6; } … … 1834 1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1835 1867 $as_echo_n "checking for $2... " >&6; } 1836 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1868 if eval \${$3+:} false; then : 1837 1869 $as_echo_n "(cached) " >&6 1838 1870 else … … 1843 1875 $as_echo "$ac_res" >&6; } 1844 1876 fi 1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1846 1878 1847 1879 } # ac_fn_c_check_header_mongrel … … 1855 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1856 1888 $as_echo_n "checking for $2... " >&6; } 1857 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1889 if eval \${$3+:} false; then : 1858 1890 $as_echo_n "(cached) " >&6 1859 1891 else … … 1910 1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1911 1943 $as_echo "$ac_res" >&6; } 1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1913 1945 1914 1946 } # ac_fn_c_check_func … … 1918 1950 1919 1951 It was created by pjproject $as_me 2.x, which was 1920 generated by GNU Autoconf 2.6 5. Invocation command line was1952 generated by GNU Autoconf 2.69. Invocation command line was 1921 1953 1922 1954 $ $0 $@ … … 2028 2060 echo 2029 2061 2030 cat <<\_ASBOX 2031 ## ---------------- ## 2062 $as_echo "## ---------------- ## 2032 2063 ## Cache variables. ## 2033 ## ---------------- ## 2034 _ASBOX 2064 ## ---------------- ##" 2035 2065 echo 2036 2066 # The following way of writing the cache mishandles newlines in values, … … 2066 2096 echo 2067 2097 2068 cat <<\_ASBOX 2069 ## ----------------- ## 2098 $as_echo "## ----------------- ## 2070 2099 ## Output variables. ## 2071 ## ----------------- ## 2072 _ASBOX 2100 ## ----------------- ##" 2073 2101 echo 2074 2102 for ac_var in $ac_subst_vars … … 2083 2111 2084 2112 if test -n "$ac_subst_files"; then 2085 cat <<\_ASBOX 2086 ## ------------------- ## 2113 $as_echo "## ------------------- ## 2087 2114 ## File substitutions. ## 2088 ## ------------------- ## 2089 _ASBOX 2115 ## ------------------- ##" 2090 2116 echo 2091 2117 for ac_var in $ac_subst_files … … 2101 2127 2102 2128 if test -s confdefs.h; then 2103 cat <<\_ASBOX 2104 ## ----------- ## 2129 $as_echo "## ----------- ## 2105 2130 ## confdefs.h. ## 2106 ## ----------- ## 2107 _ASBOX 2131 ## ----------- ##" 2108 2132 echo 2109 2133 cat confdefs.h … … 2160 2184 ac_site_file2=NONE 2161 2185 if test -n "$CONFIG_SITE"; then 2162 ac_site_file1=$CONFIG_SITE 2186 # We do not want a PATH search for config.site. 2187 case $CONFIG_SITE in #(( 2188 -*) ac_site_file1=./$CONFIG_SITE;; 2189 */*) ac_site_file1=$CONFIG_SITE;; 2190 *) ac_site_file1=./$CONFIG_SITE;; 2191 esac 2163 2192 elif test "x$prefix" != xNONE; then 2164 2193 ac_site_file1=$prefix/share/config.site … … 2175 2204 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2176 2205 sed 's/^/| /' "$ac_site_file" >&5 2177 . "$ac_site_file" 2206 . "$ac_site_file" \ 2207 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2209 as_fn_error $? "failed to load site script $ac_site_file 2210 See \`config.log' for more details" "$LINENO" 5; } 2178 2211 fi 2179 2212 done … … 2251 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2252 2285 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2253 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 52286 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2254 2287 fi 2255 2288 ## -------------------- ## … … 2269 2302 ac_aux_dir= 2270 2303 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2271 for ac_t in install-sh install.sh shtool; do 2272 if test -f "$ac_dir/$ac_t"; then 2273 ac_aux_dir=$ac_dir 2274 ac_install_sh="$ac_aux_dir/$ac_t -c" 2275 break 2 2276 fi 2277 done 2304 if test -f "$ac_dir/install-sh"; then 2305 ac_aux_dir=$ac_dir 2306 ac_install_sh="$ac_aux_dir/install-sh -c" 2307 break 2308 elif test -f "$ac_dir/install.sh"; then 2309 ac_aux_dir=$ac_dir 2310 ac_install_sh="$ac_aux_dir/install.sh -c" 2311 break 2312 elif test -f "$ac_dir/shtool"; then 2313 ac_aux_dir=$ac_dir 2314 ac_install_sh="$ac_aux_dir/shtool install -c" 2315 break 2316 fi 2278 2317 done 2279 2318 if test -z "$ac_aux_dir"; then 2280 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 52319 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2281 2320 fi 2282 2321 … … 2292 2331 # Make sure we can run config.sub. 2293 2332 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2294 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 52333 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2295 2334 2296 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2297 2336 $as_echo_n "checking build system type... " >&6; } 2298 if test "${ac_cv_build+set}" = set; then :2337 if ${ac_cv_build+:} false; then : 2299 2338 $as_echo_n "(cached) " >&6 2300 2339 else … … 2303 2342 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2304 2343 test "x$ac_build_alias" = x && 2305 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 52344 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2306 2345 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2307 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 52346 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2308 2347 2309 2348 fi … … 2312 2351 case $ac_cv_build in 2313 2352 *-*-*) ;; 2314 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;2353 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2315 2354 esac 2316 2355 build=$ac_cv_build … … 2330 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2331 2370 $as_echo_n "checking host system type... " >&6; } 2332 if test "${ac_cv_host+set}" = set; then :2371 if ${ac_cv_host+:} false; then : 2333 2372 $as_echo_n "(cached) " >&6 2334 2373 else … … 2337 2376 else 2338 2377 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2339 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 52378 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2340 2379 fi 2341 2380 … … 2345 2384 case $ac_cv_host in 2346 2385 *-*-*) ;; 2347 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;2386 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2348 2387 esac 2349 2388 host=$ac_cv_host … … 2363 2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2364 2403 $as_echo_n "checking target system type... " >&6; } 2365 if test "${ac_cv_target+set}" = set; then :2404 if ${ac_cv_target+:} false; then : 2366 2405 $as_echo_n "(cached) " >&6 2367 2406 else … … 2370 2409 else 2371 2410 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2372 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 52411 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2373 2412 fi 2374 2413 … … 2378 2417 case $ac_cv_target in 2379 2418 *-*-*) ;; 2380 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;2419 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2381 2420 esac 2382 2421 target=$ac_cv_target … … 2424 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2425 2464 $as_echo_n "checking for $ac_word... " >&6; } 2426 if test "${ac_cv_prog_CC+set}" = set; then :2465 if ${ac_cv_prog_CC+:} false; then : 2427 2466 $as_echo_n "(cached) " >&6 2428 2467 else … … 2436 2475 test -z "$as_dir" && as_dir=. 2437 2476 for ac_exec_ext in '' $ac_executable_extensions; do 2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2439 2478 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2440 2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2464 2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2465 2504 $as_echo_n "checking for $ac_word... " >&6; } 2466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2505 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2467 2506 $as_echo_n "(cached) " >&6 2468 2507 else … … 2476 2515 test -z "$as_dir" && as_dir=. 2477 2516 for ac_exec_ext in '' $ac_executable_extensions; do 2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2479 2518 ac_cv_prog_ac_ct_CC="gcc" 2480 2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2517 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2518 2557 $as_echo_n "checking for $ac_word... " >&6; } 2519 if test "${ac_cv_prog_CC+set}" = set; then :2558 if ${ac_cv_prog_CC+:} false; then : 2520 2559 $as_echo_n "(cached) " >&6 2521 2560 else … … 2529 2568 test -z "$as_dir" && as_dir=. 2530 2569 for ac_exec_ext in '' $ac_executable_extensions; do 2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2532 2571 ac_cv_prog_CC="${ac_tool_prefix}cc" 2533 2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2557 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2558 2597 $as_echo_n "checking for $ac_word... " >&6; } 2559 if test "${ac_cv_prog_CC+set}" = set; then :2598 if ${ac_cv_prog_CC+:} false; then : 2560 2599 $as_echo_n "(cached) " >&6 2561 2600 else … … 2570 2609 test -z "$as_dir" && as_dir=. 2571 2610 for ac_exec_ext in '' $ac_executable_extensions; do 2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2573 2612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2574 2613 ac_prog_rejected=yes … … 2616 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2617 2656 $as_echo_n "checking for $ac_word... " >&6; } 2618 if test "${ac_cv_prog_CC+set}" = set; then :2657 if ${ac_cv_prog_CC+:} false; then : 2619 2658 $as_echo_n "(cached) " >&6 2620 2659 else … … 2628 2667 test -z "$as_dir" && as_dir=. 2629 2668 for ac_exec_ext in '' $ac_executable_extensions; do 2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2631 2670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2632 2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2660 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2661 2700 $as_echo_n "checking for $ac_word... " >&6; } 2662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2701 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2663 2702 $as_echo_n "(cached) " >&6 2664 2703 else … … 2672 2711 test -z "$as_dir" && as_dir=. 2673 2712 for ac_exec_ext in '' $ac_executable_extensions; do 2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2675 2714 ac_cv_prog_ac_ct_CC="$ac_prog" 2676 2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2714 2753 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2715 2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2716 as_fn_error "no acceptable C compiler found in \$PATH2717 See \`config.log' for more details ." "$LINENO" 5; }2755 as_fn_error $? "no acceptable C compiler found in \$PATH 2756 See \`config.log' for more details" "$LINENO" 5; } 2718 2757 2719 2758 # Provide some information about the compiler. … … 2829 2868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2830 2869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2831 { as_fn_set_status 77 2832 as_fn_error "C compiler cannot create executables 2833 See \`config.log' for more details." "$LINENO" 5; }; } 2870 as_fn_error 77 "C compiler cannot create executables 2871 See \`config.log' for more details" "$LINENO" 5; } 2834 2872 else 2835 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 … … 2873 2911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2874 2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2875 as_fn_error "cannot compute suffix of executables: cannot compile and link2876 See \`config.log' for more details ." "$LINENO" 5; }2913 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2914 See \`config.log' for more details" "$LINENO" 5; } 2877 2915 fi 2878 2916 rm -f conftest conftest$ac_cv_exeext … … 2931 2969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2932 2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2933 as_fn_error "cannot run C compiled programs.2971 as_fn_error $? "cannot run C compiled programs. 2934 2972 If you meant to cross compile, use \`--host'. 2935 See \`config.log' for more details ." "$LINENO" 5; }2973 See \`config.log' for more details" "$LINENO" 5; } 2936 2974 fi 2937 2975 fi … … 2944 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2945 2983 $as_echo_n "checking for suffix of object files... " >&6; } 2946 if test "${ac_cv_objext+set}" = set; then :2984 if ${ac_cv_objext+:} false; then : 2947 2985 $as_echo_n "(cached) " >&6 2948 2986 else … … 2984 3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2985 3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2986 as_fn_error "cannot compute suffix of object files: cannot compile2987 See \`config.log' for more details ." "$LINENO" 5; }3024 as_fn_error $? "cannot compute suffix of object files: cannot compile 3025 See \`config.log' for more details" "$LINENO" 5; } 2988 3026 fi 2989 3027 rm -f conftest.$ac_cv_objext conftest.$ac_ext … … 2995 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2996 3034 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2997 if test "${ac_cv_c_compiler_gnu+set}" = set; then :3035 if ${ac_cv_c_compiler_gnu+:} false; then : 2998 3036 $as_echo_n "(cached) " >&6 2999 3037 else … … 3032 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3033 3071 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3034 if test "${ac_cv_prog_cc_g+set}" = set; then :3072 if ${ac_cv_prog_cc_g+:} false; then : 3035 3073 $as_echo_n "(cached) " >&6 3036 3074 else … … 3110 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3111 3149 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3112 if test "${ac_cv_prog_cc_c89+set}" = set; then :3150 if ${ac_cv_prog_cc_c89+:} false; then : 3113 3151 $as_echo_n "(cached) " >&6 3114 3152 else … … 3119 3157 #include <stdarg.h> 3120 3158 #include <stdio.h> 3121 #include <sys/types.h> 3122 #include <sys/stat.h> 3159 struct stat; 3123 3160 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3124 3161 struct buf { int x; }; … … 3221 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3222 3259 $as_echo_n "checking for $ac_word... " >&6; } 3223 if test "${ac_cv_prog_CXX+set}" = set; then :3260 if ${ac_cv_prog_CXX+:} false; then : 3224 3261 $as_echo_n "(cached) " >&6 3225 3262 else … … 3233 3270 test -z "$as_dir" && as_dir=. 3234 3271 for ac_exec_ext in '' $ac_executable_extensions; do 3235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3236 3273 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3237 3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3265 3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3266 3303 $as_echo_n "checking for $ac_word... " >&6; } 3267 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3304 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3268 3305 $as_echo_n "(cached) " >&6 3269 3306 else … … 3277 3314 test -z "$as_dir" && as_dir=. 3278 3315 for ac_exec_ext in '' $ac_executable_extensions; do 3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3280 3317 ac_cv_prog_ac_ct_CXX="$ac_prog" 3281 3318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3343 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3344 3381 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3345 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :3382 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3346 3383 $as_echo_n "(cached) " >&6 3347 3384 else … … 3380 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3381 3418 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3382 if test "${ac_cv_prog_cxx_g+set}" = set; then :3419 if ${ac_cv_prog_cxx_g+:} false; then : 3383 3420 $as_echo_n "(cached) " >&6 3384 3421 else … … 3531 3568 3532 3569 3570 if test "$build" = "$host"; then 3571 ac_cross_compile= 3572 else 3573 ac_cross_compile=${host_orig}- 3574 fi 3575 3576 3533 3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3534 3578 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3535 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :3579 if ${ac_cv_lib_pthread_pthread_create+:} false; then : 3536 3580 $as_echo_n "(cached) " >&6 3537 3581 else … … 3567 3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3568 3612 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3569 if test "x$ac_cv_lib_pthread_pthread_create" = x ""yes; then :3613 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 3570 3614 cat >>confdefs.h <<_ACEOF 3571 3615 #define HAVE_LIBPTHREAD 1 … … 3578 3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3579 3623 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3580 if test "${ac_cv_lib_wsock32_puts+set}" = set; then :3624 if ${ac_cv_lib_wsock32_puts+:} false; then : 3581 3625 $as_echo_n "(cached) " >&6 3582 3626 else … … 3612 3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3613 3657 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3614 if test "x$ac_cv_lib_wsock32_puts" = x ""yes; then :3658 if test "x$ac_cv_lib_wsock32_puts" = xyes; then : 3615 3659 cat >>confdefs.h <<_ACEOF 3616 3660 #define HAVE_LIBWSOCK32 1 … … 3623 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3624 3668 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3625 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then :3669 if ${ac_cv_lib_ws2_32_puts+:} false; then : 3626 3670 $as_echo_n "(cached) " >&6 3627 3671 else … … 3657 3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3658 3702 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3659 if test "x$ac_cv_lib_ws2_32_puts" = x ""yes; then :3703 if test "x$ac_cv_lib_ws2_32_puts" = xyes; then : 3660 3704 cat >>confdefs.h <<_ACEOF 3661 3705 #define HAVE_LIBWS2_32 1 … … 3668 3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3669 3713 $as_echo_n "checking for puts in -lole32... " >&6; } 3670 if test "${ac_cv_lib_ole32_puts+set}" = set; then :3714 if ${ac_cv_lib_ole32_puts+:} false; then : 3671 3715 $as_echo_n "(cached) " >&6 3672 3716 else … … 3702 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3703 3747 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3704 if test "x$ac_cv_lib_ole32_puts" = x ""yes; then :3748 if test "x$ac_cv_lib_ole32_puts" = xyes; then : 3705 3749 cat >>confdefs.h <<_ACEOF 3706 3750 #define HAVE_LIBOLE32 1 … … 3713 3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3714 3758 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3715 if test "${ac_cv_lib_winmm_puts+set}" = set; then :3759 if ${ac_cv_lib_winmm_puts+:} false; then : 3716 3760 $as_echo_n "(cached) " >&6 3717 3761 else … … 3747 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3748 3792 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3749 if test "x$ac_cv_lib_winmm_puts" = x ""yes; then :3793 if test "x$ac_cv_lib_winmm_puts" = xyes; then : 3750 3794 cat >>confdefs.h <<_ACEOF 3751 3795 #define HAVE_LIBWINMM 1 … … 3758 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3759 3803 $as_echo_n "checking for puts in -lsocket... " >&6; } 3760 if test "${ac_cv_lib_socket_puts+set}" = set; then :3804 if ${ac_cv_lib_socket_puts+:} false; then : 3761 3805 $as_echo_n "(cached) " >&6 3762 3806 else … … 3792 3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3793 3837 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3794 if test "x$ac_cv_lib_socket_puts" = x ""yes; then :3838 if test "x$ac_cv_lib_socket_puts" = xyes; then : 3795 3839 cat >>confdefs.h <<_ACEOF 3796 3840 #define HAVE_LIBSOCKET 1 … … 3803 3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3804 3848 $as_echo_n "checking for puts in -lrt... " >&6; } 3805 if test "${ac_cv_lib_rt_puts+set}" = set; then :3849 if ${ac_cv_lib_rt_puts+:} false; then : 3806 3850 $as_echo_n "(cached) " >&6 3807 3851 else … … 3837 3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3838 3882 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3839 if test "x$ac_cv_lib_rt_puts" = x ""yes; then :3883 if test "x$ac_cv_lib_rt_puts" = xyes; then : 3840 3884 cat >>confdefs.h <<_ACEOF 3841 3885 #define HAVE_LIBRT 1 … … 3848 3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3849 3893 $as_echo_n "checking for puts in -lnsl... " >&6; } 3850 if test "${ac_cv_lib_nsl_puts+set}" = set; then :3894 if ${ac_cv_lib_nsl_puts+:} false; then : 3851 3895 $as_echo_n "(cached) " >&6 3852 3896 else … … 3882 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3883 3927 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3884 if test "x$ac_cv_lib_nsl_puts" = x ""yes; then :3928 if test "x$ac_cv_lib_nsl_puts" = xyes; then : 3885 3929 cat >>confdefs.h <<_ACEOF 3886 3930 #define HAVE_LIBNSL 1 … … 3893 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3894 3938 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3895 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3939 if ${ac_cv_lib_uuid_uuid_generate+:} false; then : 3896 3940 $as_echo_n "(cached) " >&6 3897 3941 else … … 3927 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3928 3972 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3929 if test "x$ac_cv_lib_uuid_uuid_generate" = x ""yes; then :3973 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 3930 3974 cat >>confdefs.h <<_ACEOF 3931 3975 #define HAVE_LIBUUID 1 … … 3938 3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3939 3983 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3940 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3984 if ${ac_cv_lib_uuid_uuid_generate+:} false; then : 3941 3985 $as_echo_n "(cached) " >&6 3942 3986 else … … 3972 4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3973 4017 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3974 if test "x$ac_cv_lib_uuid_uuid_generate" = x ""yes; then :4018 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 3975 4019 ac_has_uuid_lib=1 3976 4020 fi … … 4014 4058 fi 4015 4059 if test -z "$CPP"; then 4016 if test "${ac_cv_prog_CPP+set}" = set; then :4060 if ${ac_cv_prog_CPP+:} false; then : 4017 4061 $as_echo_n "(cached) " >&6 4018 4062 else … … 4044 4088 continue 4045 4089 fi 4046 rm -f conftest.err conftest. $ac_ext4090 rm -f conftest.err conftest.i conftest.$ac_ext 4047 4091 4048 4092 # OK, works on sane cases. Now check whether nonexistent headers … … 4060 4104 break 4061 4105 fi 4062 rm -f conftest.err conftest. $ac_ext4106 rm -f conftest.err conftest.i conftest.$ac_ext 4063 4107 4064 4108 done 4065 4109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4066 rm -f conftest. err conftest.$ac_ext4110 rm -f conftest.i conftest.err conftest.$ac_ext 4067 4111 if $ac_preproc_ok; then : 4068 4112 break … … 4103 4147 continue 4104 4148 fi 4105 rm -f conftest.err conftest. $ac_ext4149 rm -f conftest.err conftest.i conftest.$ac_ext 4106 4150 4107 4151 # OK, works on sane cases. Now check whether nonexistent headers … … 4119 4163 break 4120 4164 fi 4121 rm -f conftest.err conftest. $ac_ext4165 rm -f conftest.err conftest.i conftest.$ac_ext 4122 4166 4123 4167 done 4124 4168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4125 rm -f conftest. err conftest.$ac_ext4169 rm -f conftest.i conftest.err conftest.$ac_ext 4126 4170 if $ac_preproc_ok; then : 4127 4171 … … 4129 4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4130 4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4131 as_fn_error "C preprocessor \"$CPP\" fails sanity check4132 See \`config.log' for more details ." "$LINENO" 5; }4175 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4176 See \`config.log' for more details" "$LINENO" 5; } 4133 4177 fi 4134 4178 … … 4142 4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4143 4187 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4144 if test "${ac_cv_path_GREP+set}" = set; then :4188 if ${ac_cv_path_GREP+:} false; then : 4145 4189 $as_echo_n "(cached) " >&6 4146 4190 else … … 4156 4200 for ac_exec_ext in '' $ac_executable_extensions; do 4157 4201 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4202 as_fn_executable_p "$ac_path_GREP" || continue 4159 4203 # Check for GNU ac_path_GREP and select it if it is found. 4160 4204 # Check for GNU $ac_path_GREP … … 4191 4235 IFS=$as_save_IFS 4192 4236 if test -z "$ac_cv_path_GREP"; then 4193 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54237 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4194 4238 fi 4195 4239 else … … 4205 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4206 4250 $as_echo_n "checking for egrep... " >&6; } 4207 if test "${ac_cv_path_EGREP+set}" = set; then :4251 if ${ac_cv_path_EGREP+:} false; then : 4208 4252 $as_echo_n "(cached) " >&6 4209 4253 else … … 4222 4266 for ac_exec_ext in '' $ac_executable_extensions; do 4223 4267 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4268 as_fn_executable_p "$ac_path_EGREP" || continue 4225 4269 # Check for GNU ac_path_EGREP and select it if it is found. 4226 4270 # Check for GNU $ac_path_EGREP … … 4257 4301 IFS=$as_save_IFS 4258 4302 if test -z "$ac_cv_path_EGREP"; then 4259 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54303 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4260 4304 fi 4261 4305 else … … 4272 4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4273 4317 $as_echo_n "checking for ANSI C header files... " >&6; } 4274 if test "${ac_cv_header_stdc+set}" = set; then :4318 if ${ac_cv_header_stdc+:} false; then : 4275 4319 $as_echo_n "(cached) " >&6 4276 4320 else … … 4389 4433 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4390 4434 " 4391 eval as_val=\$$as_ac_Header 4392 if test "x$as_val" = x""yes; then : 4435 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4393 4436 cat >>confdefs.h <<_ACEOF 4394 4437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 4402 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4403 4446 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4404 if test "${ac_cv_c_bigendian+set}" = set; then :4447 if ${ac_cv_c_bigendian+:} false; then : 4405 4448 $as_echo_n "(cached) " >&6 4406 4449 else … … 4620 4663 ;; #( 4621 4664 *) 4622 as_fn_error "unknown endianness4665 as_fn_error $? "unknown endianness 4623 4666 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4624 4667 esac … … 4679 4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4680 4723 $as_echo_n "checking for fmod in -lm... " >&6; } 4681 if test "${ac_cv_lib_m_fmod+set}" = set; then :4724 if ${ac_cv_lib_m_fmod+:} false; then : 4682 4725 $as_echo_n "(cached) " >&6 4683 4726 else … … 4713 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4714 4757 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4715 if test "x$ac_cv_lib_m_fmod" = x ""yes; then :4758 if test "x$ac_cv_lib_m_fmod" = xyes; then : 4716 4759 cat >>confdefs.h <<_ACEOF 4717 4760 #define HAVE_LIBM 1 … … 4728 4771 4729 4772 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4730 if test "x$ac_cv_header_arpa_inet_h" = x ""yes; then :4773 if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 4731 4774 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4732 4775 … … 4735 4778 4736 4779 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4737 if test "x$ac_cv_header_assert_h" = x ""yes; then :4780 if test "x$ac_cv_header_assert_h" = xyes; then : 4738 4781 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4739 4782 … … 4742 4785 4743 4786 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4744 if test "x$ac_cv_header_ctype_h" = x ""yes; then :4787 if test "x$ac_cv_header_ctype_h" = xyes; then : 4745 4788 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 4746 4789 … … 4756 4799 *) 4757 4800 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4758 if test "x$ac_cv_header_errno_h" = x ""yes; then :4801 if test "x$ac_cv_header_errno_h" = xyes; then : 4759 4802 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 4760 4803 … … 4766 4809 4767 4810 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4768 if test "x$ac_cv_header_fcntl_h" = x ""yes; then :4811 if test "x$ac_cv_header_fcntl_h" = xyes; then : 4769 4812 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4770 4813 … … 4773 4816 4774 4817 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4775 if test "x$ac_cv_header_linux_socket_h" = x ""yes; then :4818 if test "x$ac_cv_header_linux_socket_h" = xyes; then : 4776 4819 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4777 4820 … … 4780 4823 4781 4824 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 4782 if test "x$ac_cv_header_limits_h" = x ""yes; then :4825 if test "x$ac_cv_header_limits_h" = xyes; then : 4783 4826 $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 4784 4827 … … 4787 4830 4788 4831 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4789 if test "x$ac_cv_header_malloc_h" = x ""yes; then :4832 if test "x$ac_cv_header_malloc_h" = xyes; then : 4790 4833 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4791 4834 … … 4794 4837 4795 4838 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4796 if test "x$ac_cv_header_netdb_h" = x ""yes; then :4839 if test "x$ac_cv_header_netdb_h" = xyes; then : 4797 4840 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4798 4841 … … 4801 4844 4802 4845 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4803 if test "x$ac_cv_header_netinet_in_systm_h" = x ""yes; then :4846 if test "x$ac_cv_header_netinet_in_systm_h" = xyes; then : 4804 4847 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4805 4848 … … 4808 4851 4809 4852 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4810 if test "x$ac_cv_header_netinet_in_h" = x ""yes; then :4853 if test "x$ac_cv_header_netinet_in_h" = xyes; then : 4811 4854 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4812 4855 … … 4825 4868 4826 4869 " 4827 if test "x$ac_cv_header_netinet_ip_h" = x ""yes; then :4870 if test "x$ac_cv_header_netinet_ip_h" = xyes; then : 4828 4871 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4829 4872 … … 4832 4875 4833 4876 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4834 if test "x$ac_cv_header_netinet_tcp_h" = x ""yes; then :4877 if test "x$ac_cv_header_netinet_tcp_h" = xyes; then : 4835 4878 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4836 4879 … … 4839 4882 4840 4883 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4841 if test "x$ac_cv_header_ifaddrs_h" = x ""yes; then :4884 if test "x$ac_cv_header_ifaddrs_h" = xyes; then : 4842 4885 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4843 if test "x$ac_cv_func_getifaddrs" = x ""yes; then :4886 if test "x$ac_cv_func_getifaddrs" = xyes; then : 4844 4887 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4845 4888 … … 4850 4893 4851 4894 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4852 if test "x$ac_cv_header_semaphore_h" = x ""yes; then :4895 if test "x$ac_cv_header_semaphore_h" = xyes; then : 4853 4896 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4854 4897 … … 4857 4900 4858 4901 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4859 if test "x$ac_cv_header_setjmp_h" = x ""yes; then :4902 if test "x$ac_cv_header_setjmp_h" = xyes; then : 4860 4903 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4861 4904 … … 4864 4907 4865 4908 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4866 if test "x$ac_cv_header_stdarg_h" = x ""yes; then :4909 if test "x$ac_cv_header_stdarg_h" = xyes; then : 4867 4910 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4868 4911 … … 4871 4914 4872 4915 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4873 if test "x$ac_cv_header_stddef_h" = x ""yes; then :4916 if test "x$ac_cv_header_stddef_h" = xyes; then : 4874 4917 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4875 4918 … … 4878 4921 4879 4922 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4880 if test "x$ac_cv_header_stdio_h" = x ""yes; then :4923 if test "x$ac_cv_header_stdio_h" = xyes; then : 4881 4924 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4882 4925 … … 4885 4928 4886 4929 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4887 if test "x$ac_cv_header_stdint_h" = x ""yes; then :4930 if test "x$ac_cv_header_stdint_h" = xyes; then : 4888 4931 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4889 4932 … … 4892 4935 4893 4936 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4894 if test "x$ac_cv_header_stdlib_h" = x ""yes; then :4937 if test "x$ac_cv_header_stdlib_h" = xyes; then : 4895 4938 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4896 4939 … … 4899 4942 4900 4943 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4901 if test "x$ac_cv_header_string_h" = x ""yes; then :4944 if test "x$ac_cv_header_string_h" = xyes; then : 4902 4945 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4903 4946 … … 4906 4949 4907 4950 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4908 if test "x$ac_cv_header_sys_ioctl_h" = x ""yes; then :4951 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : 4909 4952 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4910 4953 … … 4913 4956 4914 4957 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4915 if test "x$ac_cv_header_sys_select_h" = x ""yes; then :4958 if test "x$ac_cv_header_sys_select_h" = xyes; then : 4916 4959 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4917 4960 … … 4920 4963 4921 4964 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4922 if test "x$ac_cv_header_sys_socket_h" = x ""yes; then :4965 if test "x$ac_cv_header_sys_socket_h" = xyes; then : 4923 4966 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4924 4967 … … 4927 4970 4928 4971 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4929 if test "x$ac_cv_header_sys_time_h" = x ""yes; then :4972 if test "x$ac_cv_header_sys_time_h" = xyes; then : 4930 4973 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4931 4974 … … 4934 4977 4935 4978 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4936 if test "x$ac_cv_header_sys_timeb_h" = x ""yes; then :4979 if test "x$ac_cv_header_sys_timeb_h" = xyes; then : 4937 4980 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4938 4981 … … 4941 4984 4942 4985 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4943 if test "x$ac_cv_header_sys_types_h" = x ""yes; then :4986 if test "x$ac_cv_header_sys_types_h" = xyes; then : 4944 4987 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4945 4988 … … 4948 4991 4949 4992 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4950 if test "x$ac_cv_header_sys_filio_h" = x ""yes; then :4993 if test "x$ac_cv_header_sys_filio_h" = xyes; then : 4951 4994 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4952 4995 … … 4955 4998 4956 4999 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4957 if test "x$ac_cv_header_sys_sockio_h" = x ""yes; then :5000 if test "x$ac_cv_header_sys_sockio_h" = xyes; then : 4958 5001 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4959 5002 … … 4962 5005 4963 5006 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 4964 if test "x$ac_cv_header_sys_utsname_h" = x ""yes; then :5007 if test "x$ac_cv_header_sys_utsname_h" = xyes; then : 4965 5008 $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 4966 5009 … … 4969 5012 4970 5013 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4971 if test "x$ac_cv_header_time_h" = x ""yes; then :5014 if test "x$ac_cv_header_time_h" = xyes; then : 4972 5015 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4973 5016 … … 4976 5019 4977 5020 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4978 if test "x$ac_cv_header_unistd_h" = x ""yes; then :5021 if test "x$ac_cv_header_unistd_h" = xyes; then : 4979 5022 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4980 5023 … … 4983 5026 4984 5027 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4985 if test "x$ac_cv_header_winsock_h" = x ""yes; then :5028 if test "x$ac_cv_header_winsock_h" = xyes; then : 4986 5029 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4987 5030 … … 4990 5033 4991 5034 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4992 if test "x$ac_cv_header_winsock2_h" = x ""yes; then :5035 if test "x$ac_cv_header_winsock2_h" = xyes; then : 4993 5036 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4994 5037 … … 5003 5046 5004 5047 " 5005 if test "x$ac_cv_header_mswsock_h" = x ""yes; then :5048 if test "x$ac_cv_header_mswsock_h" = xyes; then : 5006 5049 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 5007 5050 … … 5010 5053 5011 5054 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 5012 if test "x$ac_cv_header_ws2tcpip_h" = x ""yes; then :5055 if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : 5013 5056 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 5014 5057 … … 5017 5060 5018 5061 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 5019 if test "x$ac_cv_header_uuid_uuid_h" = x ""yes; then :5062 if test "x$ac_cv_header_uuid_uuid_h" = xyes; then : 5020 5063 ac_has_uuid_h=1 5021 5064 fi … … 5031 5074 5032 5075 " 5033 if test "x$ac_cv_header_net_if_h" = x ""yes; then :5076 if test "x$ac_cv_header_net_if_h" = xyes; then : 5034 5077 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 5035 5078 … … 5448 5491 5449 5492 else 5450 as_fn_error "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 55493 as_fn_error $? "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 5451 5494 fi 5452 5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 5514 5557 5515 5558 else 5516 as_fn_error "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 55559 as_fn_error $? "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 5517 5560 5518 5561 … … 5571 5614 5572 5615 else 5573 as_fn_error "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 55616 as_fn_error $? "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 5574 5617 fi 5575 5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 5582 5625 5583 5626 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5584 if test "x$ac_cv_header_sys_soundcard_h" = x ""yes; then :5627 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : 5585 5628 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 5586 5629 fi … … 5588 5631 5589 5632 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5590 if test "x$ac_cv_header_linux_soundcard_h" = x ""yes; then :5633 if test "x$ac_cv_header_linux_soundcard_h" = xyes; then : 5591 5634 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 5592 5635 fi … … 5594 5637 5595 5638 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5596 if test "x$ac_cv_header_machine_soundcard_h" = x ""yes; then :5639 if test "x$ac_cv_header_machine_soundcard_h" = xyes; then : 5597 5640 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 5598 5641 fi … … 5642 5685 ac_pjmedia_snd=pa_unix 5643 5686 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5644 if test "x$ac_cv_header_alsa_version_h" = x ""yes; then :5687 if test "x$ac_cv_header_alsa_version_h" = xyes; then : 5645 5688 ac_pa_use_alsa=1 5646 5689 … … 5945 5988 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5946 5989 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5947 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then :5990 if ${ac_cv_lib_samplerate_src_new+:} false; then : 5948 5991 $as_echo_n "(cached) " >&6 5949 5992 else … … 5979 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 5980 6023 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 5981 if test "x$ac_cv_lib_samplerate_src_new" = x ""yes; then :6024 if test "x$ac_cv_lib_samplerate_src_new" = xyes; then : 5982 6025 cat >>confdefs.h <<_ACEOF 5983 6026 #define HAVE_LIBSAMPLERATE 1 … … 6019 6062 fi 6020 6063 6064 6065 if test "x$ac_cross_compile" != "x" -a "x$with_sdl" = "xno"; then 6066 enable_sdl=no 6067 fi 6021 6068 6022 6069 # Check whether --enable-sdl was given. … … 6055 6102 6056 6103 6104 6105 # Check whether --with-ffmpeg was given. 6106 if test "${with_ffmpeg+set}" = set; then : 6107 withval=$with_ffmpeg; 6108 else 6109 with_ffmpeg=no 6110 6111 fi 6112 6113 6114 if test "x$ac_cross_compile" != "x" -a "x$with_ffmpeg" = "xno"; then 6115 enable_ffmpeg=no 6116 fi 6117 6057 6118 # Check whether --enable-ffmpeg was given. 6058 6119 if test "${enable_ffmpeg+set}" = set; then : … … 6086 6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6087 6148 $as_echo_n "checking for $ac_word... " >&6; } 6088 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :6149 if ${ac_cv_prog_PKG_CONFIG+:} false; then : 6089 6150 $as_echo_n "(cached) " >&6 6090 6151 else … … 6098 6159 test -z "$as_dir" && as_dir=. 6099 6160 for ac_exec_ext in '' $ac_executable_extensions; do 6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6101 6162 ac_cv_prog_PKG_CONFIG="$ac_prog" 6102 6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6175 6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 6176 6237 $as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 6177 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then :6238 if ${ac_cv_lib_avdevice_avdevice_version+:} false; then : 6178 6239 $as_echo_n "(cached) " >&6 6179 6240 else … … 6209 6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 6210 6271 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 6211 if test "x$ac_cv_lib_avdevice_avdevice_version" = x ""yes; then :6272 if test "x$ac_cv_lib_avdevice_avdevice_version" = xyes; then : 6212 6273 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 6213 6274 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" … … 6218 6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 6219 6280 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 6220 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then :6281 if ${ac_cv_lib_avutil_av_malloc+:} false; then : 6221 6282 $as_echo_n "(cached) " >&6 6222 6283 else … … 6252 6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 6253 6314 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 6254 if test "x$ac_cv_lib_avutil_av_malloc" = x ""yes; then :6315 if test "x$ac_cv_lib_avutil_av_malloc" = xyes; then : 6255 6316 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 6256 6317 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" … … 6261 6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 6262 6323 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 6263 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then :6324 if ${ac_cv_lib_avcodec_avcodec_init+:} false; then : 6264 6325 $as_echo_n "(cached) " >&6 6265 6326 else … … 6296 6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 6297 6358 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 6298 if test "x$ac_cv_lib_avcodec_avcodec_init" = x ""yes; then :6359 if test "x$ac_cv_lib_avcodec_avcodec_init" = xyes; then : 6299 6360 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 6300 6361 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" … … 6304 6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 6305 6366 $as_echo_n "checking for av_register_all in -lavformat... " >&6; } 6306 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then :6367 if ${ac_cv_lib_avformat_av_register_all+:} false; then : 6307 6368 $as_echo_n "(cached) " >&6 6308 6369 else … … 6339 6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 6340 6401 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 6341 if test "x$ac_cv_lib_avformat_av_register_all" = x ""yes; then :6402 if test "x$ac_cv_lib_avformat_av_register_all" = xyes; then : 6342 6403 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 6343 6404 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" … … 6347 6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 6348 6409 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 6349 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then :6410 if ${ac_cv_lib_swscale_sws_scale+:} false; then : 6350 6411 $as_echo_n "(cached) " >&6 6351 6412 else … … 6382 6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 6383 6444 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 6384 if test "x$ac_cv_lib_swscale_sws_scale" = x ""yes; then :6445 if test "x$ac_cv_lib_swscale_sws_scale" = xyes; then : 6385 6446 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 6386 6447 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" … … 6390 6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 6391 6452 $as_echo_n "checking for avcore_version in -lavcore... " >&6; } 6392 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then :6453 if ${ac_cv_lib_avcore_avcore_version+:} false; then : 6393 6454 $as_echo_n "(cached) " >&6 6394 6455 else … … 6424 6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 6425 6486 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 6426 if test "x$ac_cv_lib_avcore_avcore_version" = x ""yes; then :6487 if test "x$ac_cv_lib_avcore_avcore_version" = xyes; then : 6427 6488 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 6428 6489 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" … … 6439 6500 6440 6501 fi 6441 6442 6443 6444 # Check whether --with-ffmpeg was given.6445 if test "${with_ffmpeg+set}" = set; then :6446 withval=$with_ffmpeg;6447 else6448 with_ffmpeg=no6449 6450 fi6451 6452 6502 6453 6503 … … 6466 6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 6467 6517 $as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 6468 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then :6518 if ${ac_cv_lib_v4l2_v4l2_open+:} false; then : 6469 6519 $as_echo_n "(cached) " >&6 6470 6520 else … … 6500 6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 6501 6551 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 6502 if test "x$ac_cv_lib_v4l2_v4l2_open" = x ""yes; then :6552 if test "x$ac_cv_lib_v4l2_v4l2_open" = xyes; then : 6503 6553 ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 6504 6554 ac_v4l2_ldflags="-lv4l2" … … 6581 6631 6582 6632 if test x$IPPROOT = x; then 6583 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 56633 as_fn_error $? "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 6584 6634 elif test ! -d $IPPROOT; then 6585 as_fn_error "not found" "$LINENO" 56635 as_fn_error $? "not found" "$LINENO" 5 6586 6636 elif test ! -d $IPPROOT/include; then 6587 as_fn_error "directory doesn't seem to be valid" "$LINENO" 56637 as_fn_error $? "directory doesn't seem to be valid" "$LINENO" 5 6588 6638 else 6589 6639 # IPP directory looks okay. … … 6622 6672 # IPP7 6623 6673 if ! test -d $IPPROOT/../compiler; then 6624 as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 56674 as_fn_error $? "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 6625 6675 fi 6626 6676 IPP_CFLAGS="$IPP_CFLAGS" … … 6660 6710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6661 6711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6662 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 info6663 See \`config.log' for more details ." "$LINENO" 5; }6712 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; } 6664 6714 fi 6665 6715 rm -f core conftest.err conftest.$ac_objext \ … … 6690 6740 6691 6741 if test x$IPPSAMPLES = x; then 6692 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 56742 as_fn_error $? "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 6693 6743 elif test ! -d $IPPSAMPLES; then 6694 as_fn_error "not found" "$LINENO" 56744 as_fn_error $? "not found" "$LINENO" 5 6695 6745 elif test ! -d $IPPSAMPLES/speech-codecs; then 6696 as_fn_error "directory doesn't seem to be valid" "$LINENO" 56746 as_fn_error $? "directory doesn't seem to be valid" "$LINENO" 5 6697 6747 else 6698 6748 # Remove trailing backslash … … 6716 6766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6717 6767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6718 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples?6719 See \`config.log' for more details ." "$LINENO" 5; }6768 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; } 6720 6770 fi 6721 6771 else 6722 6772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6723 6773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6724 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?6725 See \`config.log' for more details ." "$LINENO" 5; }6774 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; } 6726 6776 fi 6727 6777 … … 6730 6780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6731 6781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6732 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist6733 See \`config.log' for more details ." "$LINENO" 5; }6782 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; } 6734 6784 exit 1; 6735 6785 fi … … 6744 6794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6745 6795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6746 as_fn_error "bug in this script: unsupported IPP version6747 See \`config.log' for more details ." "$LINENO" 5; }6796 as_fn_error $? "bug in this script: unsupported IPP version 6797 See \`config.log' for more details" "$LINENO" 5; } 6748 6798 fi 6749 6799 … … 6751 6801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6752 6802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6753 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR6754 See \`config.log' for more details ." "$LINENO" 5; }6803 as_fn_error $? "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6804 See \`config.log' for more details" "$LINENO" 5; } 6755 6805 fi 6756 6806 … … 6787 6837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6788 6838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6789 as_fn_error "failed6790 See \`config.log' for more details ." "$LINENO" 5; }6839 as_fn_error $? "failed 6840 See \`config.log' for more details" "$LINENO" 5; } 6791 6841 fi 6792 6842 rm -f core conftest.err conftest.$ac_objext \ … … 6816 6866 6817 6867 6868 6869 6870 # Check whether --with-ssl was given. 6871 if test "${with_ssl+set}" = set; then : 6872 withval=$with_ssl; 6873 else 6874 with_ssl=no 6875 6876 fi 6877 6878 6879 if test "x$ac_cross_compile" != "x" -a "x$with_ssl" = "xno"; then 6880 enable_ssl=no 6881 fi 6818 6882 6819 6883 … … 6831 6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 6832 6896 $as_echo "checking for OpenSSL installations.." >&6; } 6897 if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 6898 CFLAGS="$CFLAGS -I$with_ssl/include" 6899 LDFLAGS="$LDFLAGS -L$with_ssl/lib" 6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SSL prefix... $with_ssl" >&5 6901 $as_echo "Using SSL prefix... $with_ssl" >&6; } 6902 fi 6833 6903 6834 6904 6835 6905 6836 6906 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6837 if test "x$ac_cv_header_openssl_ssl_h" = x ""yes; then :6907 if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : 6838 6908 openssl_h_present=1 6839 6909 fi … … 6842 6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 6843 6913 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 6844 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then :6914 if ${ac_cv_lib_crypto_ERR_load_BIO_strings+:} false; then : 6845 6915 $as_echo_n "(cached) " >&6 6846 6916 else … … 6876 6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 6877 6947 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 6878 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x ""yes; then :6948 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = xyes; then : 6879 6949 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 6880 6950 fi … … 6882 6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 6883 6953 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 6884 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :6954 if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : 6885 6955 $as_echo_n "(cached) " >&6 6886 6956 else … … 6916 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 6917 6987 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 6918 if test "x$ac_cv_lib_ssl_SSL_library_init" = x ""yes; then :6988 if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : 6919 6989 libssl_present=1 && LIBS="$LIBS -lssl" 6920 6990 fi … … 6936 7006 6937 7007 7008 # Check whether --with-opencore-amrnb was given. 7009 if test "${with_opencore_amrnb+set}" = set; then : 7010 withval=$with_opencore_amrnb; 7011 else 7012 with_opencore_amrnb=no 7013 7014 fi 7015 7016 7017 if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrnb" = "xno"; then 7018 enable_opencore_amrnb=no 7019 fi 7020 7021 6938 7022 # Check whether --enable-opencore_amrnb was given. 6939 7023 if test "${enable_opencore_amrnb+set}" = set; then : … … 6951 7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 6952 7036 $as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 7037 if test "x$with_opencore_amrnb" != "xno" -a "x$with_opencore_amrnb" != "x"; then 7038 CFLAGS="$CFLAGS -I$with_opencore_amrnb/include" 7039 LDFLAGS="$LDFLAGS -L$with_opencore_amrnb/lib" 7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMR-NB prefix... $with_opencore_amrnb" >&5 7041 $as_echo "Using OpenCORE AMR-NB prefix... $with_opencore_amrnb" >&6; } 7042 fi 6953 7043 6954 7044 6955 7045 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 6956 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x ""yes; then :7046 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = xyes; then : 6957 7047 opencore_amrnb_h_present=1 6958 7048 fi … … 6961 7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 6962 7052 $as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 6963 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then :7053 if ${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+:} false; then : 6964 7054 $as_echo_n "(cached) " >&6 6965 7055 else … … 6995 7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 6996 7086 $as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 6997 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x ""yes; then :7087 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = xyes; then : 6998 7088 opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 6999 7089 fi … … 7088 7178 7089 7179 7090 7091 if test "$build" = "$host"; then7092 ac_cross_compile=7093 else7094 ac_cross_compile=${host_orig}-7095 fi7096 7180 ac_linux_poll=select 7097 7181 … … 7174 7258 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7175 7259 if test -w "$cache_file"; then 7176 test "x$cache_file" != "x/dev/null" &&7260 if test "x$cache_file" != "x/dev/null"; then 7177 7261 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7178 7262 $as_echo "$as_me: updating cache $cache_file" >&6;} 7179 cat confcache >$cache_file 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 7180 7275 else 7181 7276 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 … … 7193 7288 ac_libobjs= 7194 7289 ac_ltlibobjs= 7290 U= 7195 7291 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7196 7292 # 1. Remove the extension, and $U if already installed. … … 7209 7305 7210 7306 7211 : ${CONFIG_STATUS=./config.status}7307 : "${CONFIG_STATUS=./config.status}" 7212 7308 ac_write_fail=0 7213 7309 ac_clean_files_save=$ac_clean_files … … 7310 7406 7311 7407 # Find who we are. Look in the path if we contain no directory separator. 7408 as_myself= 7312 7409 case $0 in #(( 7313 7410 *[\\/]* ) as_myself=$0 ;; … … 7355 7452 7356 7453 7357 # as_fn_error ERROR [LINENO LOG_FD]7358 # --------------------------------- 7454 # as_fn_error STATUS ERROR [LINENO LOG_FD] 7455 # ---------------------------------------- 7359 7456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7360 7457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7361 # script with status $?, using 1 if that was 0.7458 # script with STATUS, using 1 if that was 0. 7362 7459 as_fn_error () 7363 7460 { 7364 as_status=$ ?; test $as_status -eq 0 && as_status=17365 if test "$ 3"; then7366 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack7367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$37461 as_status=$1; test $as_status -eq 0 && as_status=1 7462 if test "$4"; then 7463 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7464 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7368 7465 fi 7369 $as_echo "$as_me: error: $ 1" >&27466 $as_echo "$as_me: error: $2" >&2 7370 7467 as_fn_exit $as_status 7371 7468 } # as_fn_error … … 7505 7602 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7506 7603 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7507 # In both cases, we have to default to `cp -p '.7604 # In both cases, we have to default to `cp -pR'. 7508 7605 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7509 as_ln_s='cp -p '7606 as_ln_s='cp -pR' 7510 7607 elif ln conf$$.file conf$$ 2>/dev/null; then 7511 7608 as_ln_s=ln 7512 7609 else 7513 as_ln_s='cp -p '7610 as_ln_s='cp -pR' 7514 7611 fi 7515 7612 else 7516 as_ln_s='cp -p '7613 as_ln_s='cp -pR' 7517 7614 fi 7518 7615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 7563 7660 done 7564 7661 test -z "$as_dirs" || eval "mkdir $as_dirs" 7565 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"7662 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7566 7663 7567 7664 … … 7574 7671 fi 7575 7672 7576 if test -x / >/dev/null 2>&1; then 7577 as_test_x='test -x' 7578 else 7579 if ls -dL / >/dev/null 2>&1; then 7580 as_ls_L_option=L 7581 else 7582 as_ls_L_option= 7583 fi 7584 as_test_x=' 7585 eval sh -c '\'' 7586 if test -d "$1"; then 7587 test -d "$1/."; 7588 else 7589 case $1 in #( 7590 -*)set "./$1";; 7591 esac; 7592 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7593 ???[sx]*):;;*)false;;esac;fi 7594 '\'' sh 7595 ' 7596 fi 7597 as_executable_p=$as_test_x 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 7598 7683 7599 7684 # Sed expression to map a string onto a valid CPP name. … … 7617 7702 ac_log=" 7618 7703 This file was extended by pjproject $as_me 2.x, which was 7619 generated by GNU Autoconf 2.6 5. Invocation command line was7704 generated by GNU Autoconf 2.69. Invocation command line was 7620 7705 7621 7706 CONFIG_FILES = $CONFIG_FILES … … 7679 7764 ac_cs_version="\\ 7680 7765 pjproject config.status 2.x 7681 configured by $0, generated by GNU Autoconf 2.6 5,7766 configured by $0, generated by GNU Autoconf 2.69, 7682 7767 with options \\"\$ac_cs_config\\" 7683 7768 7684 Copyright (C) 20 09Free Software Foundation, Inc.7769 Copyright (C) 2012 Free Software Foundation, Inc. 7685 7770 This config.status script is free software; the Free Software Foundation 7686 7771 gives unlimited permission to copy, distribute and modify it." … … 7697 7782 do 7698 7783 case $1 in 7699 --*= *)7784 --*=?*) 7700 7785 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7701 7786 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7787 ac_shift=: 7788 ;; 7789 --*=) 7790 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7791 ac_optarg= 7702 7792 ac_shift=: 7703 7793 ;; … … 7723 7813 case $ac_optarg in 7724 7814 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7815 '') as_fn_error $? "missing file argument" ;; 7725 7816 esac 7726 7817 as_fn_append CONFIG_FILES " '$ac_optarg'" … … 7735 7826 --he | --h) 7736 7827 # Conflict between --help and --header 7737 as_fn_error "ambiguous option: \`$1'7828 as_fn_error $? "ambiguous option: \`$1' 7738 7829 Try \`$0 --help' for more information.";; 7739 7830 --help | --hel | -h ) … … 7744 7835 7745 7836 # This is an error. 7746 -*) as_fn_error "unrecognized option: \`$1'7837 -*) as_fn_error $? "unrecognized option: \`$1' 7747 7838 Try \`$0 --help' for more information." ;; 7748 7839 … … 7764 7855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7765 7856 if \$ac_cs_recheck; then 7766 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion7857 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7767 7858 shift 7768 7859 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 7808 7899 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7809 7900 7810 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;7901 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7811 7902 esac 7812 7903 done … … 7830 7921 $debug || 7831 7922 { 7832 tmp= 7923 tmp= ac_tmp= 7833 7924 trap 'exit_status=$? 7834 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7925 : "${ac_tmp:=$tmp}" 7926 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7835 7927 ' 0 7836 7928 trap 'as_fn_exit 1' 1 2 13 15 … … 7840 7932 { 7841 7933 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7842 test - n "$tmp" && test -d "$tmp"7934 test -d "$tmp" 7843 7935 } || 7844 7936 { 7845 7937 tmp=./conf$$-$RANDOM 7846 7938 (umask 077 && mkdir "$tmp") 7847 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7939 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7940 ac_tmp=$tmp 7848 7941 7849 7942 # Set up the scripts for CONFIG_FILES section. … … 7862 7955 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7863 7956 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7864 ac_cs_awk_cr='\ r'7957 ac_cs_awk_cr='\\r' 7865 7958 else 7866 7959 ac_cs_awk_cr=$ac_cr 7867 7960 fi 7868 7961 7869 echo 'BEGIN {' >"$ tmp/subs1.awk" &&7962 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7870 7963 _ACEOF 7871 7964 … … 7876 7969 echo "_ACEOF" 7877 7970 } >conf$$subs.sh || 7878 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 57879 ac_delim_num=`echo "$ac_subst_vars" | grep -c ' $'`7971 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7972 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7880 7973 ac_delim='%!_!# ' 7881 7974 for ac_last_try in false false false false false :; do 7882 7975 . ./conf$$subs.sh || 7883 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 57976 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7884 7977 7885 7978 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 7887 7980 break 7888 7981 elif $ac_last_try; then 7889 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 57982 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7890 7983 else 7891 7984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 7895 7988 7896 7989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7897 cat >>"\$ tmp/subs1.awk" <<\\_ACAWK &&7990 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7898 7991 _ACEOF 7899 7992 sed -n ' … … 7943 8036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7944 8037 _ACAWK 7945 cat >>"\$ tmp/subs1.awk" <<_ACAWK &&8038 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7946 8039 for (key in S) S_is_set[key] = 1 7947 8040 FS = "" … … 7975 8068 else 7976 8069 cat 7977 fi < "$ tmp/subs1.awk" > "$tmp/subs.awk" \7978 || as_fn_error "could not setup config files machinery" "$LINENO" 57979 _ACEOF 7980 7981 # VPATH may cause trouble with some makes, so we remove $(srcdir),7982 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and8070 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8071 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8072 _ACEOF 8073 8074 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8075 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7983 8076 # trailing colons and then remove the whole line if VPATH becomes empty 7984 8077 # (actually we leave an empty line to preserve line numbers). 7985 8078 if test "x$srcdir" = x.; then 7986 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7987 s/:*\$(srcdir):*/:/ 7988 s/:*\${srcdir}:*/:/ 7989 s/:*@srcdir@:*/:/ 7990 s/^\([^=]*=[ ]*\):*/\1/ 8079 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 8080 h 8081 s/// 8082 s/^/:/ 8083 s/[ ]*$/:/ 8084 s/:\$(srcdir):/:/g 8085 s/:\${srcdir}:/:/g 8086 s/:@srcdir@:/:/g 8087 s/^:*// 7991 8088 s/:*$// 8089 x 8090 s/\(=[ ]*\).*/\1/ 8091 G 8092 s/\n// 7992 8093 s/^[^=]*=[ ]*$// 7993 8094 }' … … 8001 8102 # This happens for instance with `./config.status Makefile'. 8002 8103 if test -n "$CONFIG_HEADERS"; then 8003 cat >"$ tmp/defines.awk" <<\_ACAWK ||8104 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8004 8105 BEGIN { 8005 8106 _ACEOF … … 8013 8114 ac_delim='%!_!# ' 8014 8115 for ac_last_try in false false :; do 8015 ac_t =`sed -n "/$ac_delim/p" confdefs.h`8016 if test -z "$ac_t "; then8116 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 8117 if test -z "$ac_tt"; then 8017 8118 break 8018 8119 elif $ac_last_try; then 8019 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 58120 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8020 8121 else 8021 8122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 8102 8203 _ACEOF 8103 8204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8104 as_fn_error "could not setup config headers machinery" "$LINENO" 58205 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 8105 8206 fi # test -n "$CONFIG_HEADERS" 8106 8207 … … 8115 8216 case $ac_mode$ac_tag in 8116 8217 :[FHL]*:*);; 8117 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;8218 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 8118 8219 :[FH]-) ac_tag=-:-;; 8119 8220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 8134 8235 do 8135 8236 case $ac_f in 8136 -) ac_f="$ tmp/stdin";;8237 -) ac_f="$ac_tmp/stdin";; 8137 8238 *) # Look for the file first in the build tree, then in the source tree 8138 8239 # (if the path is not absolute). The absolute path cannot be DOS-style, … … 8143 8244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8144 8245 esac || 8145 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;8246 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8146 8247 esac 8147 8248 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 8169 8270 8170 8271 case $ac_tag in 8171 *:-:* | *:-) cat >"$ tmp/stdin" \8172 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;8272 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8173 8274 esac 8174 8275 ;; … … 8295 8396 $ac_datarootdir_hack 8296 8397 " 8297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ tmp/subs.awk" >$tmp/out\8298 || as_fn_error"could not create $ac_file" "$LINENO" 58398 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" 5 8299 8400 8300 8401 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8301 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8302 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 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"; } && 8303 8405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8304 which seems to be undefined. Please make sure it is defined ." >&58406 which seems to be undefined. Please make sure it is defined" >&5 8305 8407 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8306 which seems to be undefined. Please make sure it is defined ." >&2;}8307 8308 rm -f "$ tmp/stdin"8408 which seems to be undefined. Please make sure it is defined" >&2;} 8409 8410 rm -f "$ac_tmp/stdin" 8309 8411 case $ac_file in 8310 -) cat "$ tmp/out" && rm -f "$tmp/out";;8311 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;8412 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 8413 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 8312 8414 esac \ 8313 || as_fn_error "could not create $ac_file" "$LINENO" 58415 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8314 8416 ;; 8315 8417 :H) … … 8320 8422 { 8321 8423 $as_echo "/* $configure_input */" \ 8322 && eval '$AWK -f "$ tmp/defines.awk"' "$ac_file_inputs"8323 } >"$ tmp/config.h" \8324 || as_fn_error "could not create $ac_file" "$LINENO" 58325 if diff "$ac_file" "$ tmp/config.h" >/dev/null 2>&1; then8424 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 8425 } >"$ac_tmp/config.h" \ 8426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8427 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 8326 8428 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8327 8429 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8328 8430 else 8329 8431 rm -f "$ac_file" 8330 mv "$ tmp/config.h" "$ac_file" \8331 || as_fn_error "could not create $ac_file" "$LINENO" 58432 mv "$ac_tmp/config.h" "$ac_file" \ 8433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8332 8434 fi 8333 8435 else 8334 8436 $as_echo "/* $configure_input */" \ 8335 && eval '$AWK -f "$ tmp/defines.awk"' "$ac_file_inputs" \8336 || as_fn_error "could not create -" "$LINENO" 58437 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 8438 || as_fn_error $? "could not create -" "$LINENO" 5 8337 8439 fi 8338 8440 ;; … … 8349 8451 8350 8452 test $ac_write_fail = 0 || 8351 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 58453 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8352 8454 8353 8455 … … 8370 8472 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8371 8473 # would make configure fail if this is the last instruction. 8372 $ac_cs_success || as_fn_exit $?8474 $ac_cs_success || as_fn_exit 1 8373 8475 fi 8374 8476 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -
pjproject/trunk/aconfigure.ac
r4131 r4149 105 105 ;; 106 106 esac 107 108 AC_SUBST(ac_cross_compile) 109 if test "$build" = "$host"; then 110 ac_cross_compile= 111 else 112 ac_cross_compile=${host_orig}- 113 fi 107 114 108 115 AC_CHECK_LIB(pthread,pthread_create) … … 831 838 ) 832 839 840 dnl # Do not use default SDL installation if we are cross-compiling 841 if test "x$ac_cross_compile" != "x" -a "x$with_sdl" = "xno"; then 842 enable_sdl=no 843 fi 844 833 845 dnl # SDL 834 846 AC_ARG_ENABLE(sdl, … … 860 872 ]) 861 873 874 875 AC_ARG_WITH(ffmpeg, 876 AC_HELP_STRING([--with-ffmpeg=DIR], 877 [Specify alternate FFMPEG prefix]), 878 [], 879 [with_ffmpeg=no] 880 ) 881 882 dnl # Do not use default ffmpeg installation if we are cross-compiling 883 if test "x$ac_cross_compile" != "x" -a "x$with_ffmpeg" = "xno"; then 884 enable_ffmpeg=no 885 fi 862 886 863 887 dnl # FFMPEG stuffs … … 984 1008 ) 985 1009 986 AC_ARG_WITH(ffmpeg,987 AC_HELP_STRING([--with-ffmpeg=DIR],988 [Specify alternate FFMPEG prefix]),989 [],990 [with_ffmpeg=no]991 )992 993 994 1010 dnl # Video for Linux 2 995 1011 AC_ARG_ENABLE(v4l2, … … 1254 1270 dnl # 1255 1271 1272 dnl # SSL alt prefix 1273 AC_ARG_WITH(ssl, 1274 AC_HELP_STRING([--with-ssl=DIR], 1275 [Specify alternate libssl prefix]), 1276 [], 1277 [with_ssl=no] 1278 ) 1279 1280 dnl # Do not use default SSL installation if we are cross-compiling 1281 if test "x$ac_cross_compile" != "x" -a "x$with_ssl" = "xno"; then 1282 enable_ssl=no 1283 fi 1284 1256 1285 dnl # Include SSL support 1257 1286 AC_SUBST(ac_no_ssl) … … 1268 1297 [ 1269 1298 AC_MSG_RESULT([checking for OpenSSL installations..]) 1299 if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 1300 CFLAGS="$CFLAGS -I$with_ssl/include" 1301 LDFLAGS="$LDFLAGS -L$with_ssl/lib" 1302 AC_MSG_RESULT([Using SSL prefix... $with_ssl]) 1303 fi 1270 1304 AC_SUBST(openssl_h_present) 1271 1305 AC_SUBST(libssl_present) … … 1284 1318 ]) 1285 1319 1320 dnl # opencore-amrnb alt prefix 1321 AC_ARG_WITH(opencore-amrnb, 1322 AC_HELP_STRING([--with-opencore-amrnb=DIR], 1323 [Specify alternate libopencore-amrnb prefix]), 1324 [], 1325 [with_opencore_amrnb=no] 1326 ) 1327 1328 dnl # Do not use default opencore-amrnb installation if we are cross-compiling 1329 if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrnb" = "xno"; then 1330 enable_opencore_amrnb=no 1331 fi 1332 1286 1333 dnl # Include opencore-amrnb support 1287 1334 AC_SUBST(ac_no_opencore_amrnb) … … 1299 1346 [ 1300 1347 AC_MSG_RESULT([checking for OpenCORE AMR-NB installations..]) 1348 if test "x$with_opencore_amrnb" != "xno" -a "x$with_opencore_amrnb" != "x"; then 1349 CFLAGS="$CFLAGS -I$with_opencore_amrnb/include" 1350 LDFLAGS="$LDFLAGS -L$with_opencore_amrnb/lib" 1351 AC_MSG_RESULT([Using OpenCORE AMR-NB prefix... $with_opencore_amrnb]) 1352 fi 1301 1353 AC_SUBST(opencore_amrnb_h_present) 1302 1354 AC_SUBST(opencore_amrnb_present) … … 1381 1433 1382 1434 AC_SUBST(target) 1383 AC_SUBST(ac_cross_compile)1384 if test "$build" = "$host"; then1385 ac_cross_compile=1386 else1387 ac_cross_compile=${host_orig}-1388 fi1389 1435 AC_SUBST(ac_linux_poll,select) 1390 1436 AC_SUBST(ac_host,unix)
Note: See TracChangeset
for help on using the changeset viewer.