Changeset 4635 for pjproject/trunk/aconfigure
- Timestamp:
- Oct 24, 2013 6:27:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4628 r4635 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 9for pjproject 2.x.3 # Generated by GNU Autoconf 2.68 for pjproject 2.x. 4 4 # 5 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 7 9 # 8 10 # … … 133 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 136 135 # Use a proper internal environment variable to ensure we don't fall136 # into an infinite loop, continuously re-executing ourselves.137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then138 _as_can_reexec=no; export _as_can_reexec;139 # We cannot yet assume a decent shell, so we have to provide a140 # neutralization value for shells without unset; and this also141 # works around shells that cannot unset nonexistent variables.142 # Preserve -v and -x to the replacement shell.143 BASH_ENV=/dev/null144 ENV=/dev/null145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV146 case $- in # ((((147 *v*x* | *x*v* ) as_opts=-vx ;;148 *v* ) as_opts=-v ;;149 *x* ) as_opts=-x ;;150 * ) as_opts= ;;151 esac152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}153 # Admittedly, this is quite paranoid, since all the known shells bail154 # out after a failed `exec'.155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2156 as_fn_exit 255157 fi158 # We don't want this to propagate to other subprocesses.159 { _as_can_reexec=; unset _as_can_reexec;}160 137 if test "x$CONFIG_SHELL" = x; then 161 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 191 168 exitcode=1; echo positional parameters were not saved. 192 169 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 170 test x\$exitcode = x0 || exit 1" 195 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 237 213 238 214 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241 # neutralization value for shells without unset; and this also 242 # works around shells that cannot unset nonexistent variables. 243 # Preserve -v and -x to the replacement shell. 244 BASH_ENV=/dev/null 245 ENV=/dev/null 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252 esac 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 # Admittedly, this is quite paranoid, since all the known shells bail 255 # out after a failed `exec'. 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 exit 255 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 258 230 fi 259 231 … … 357 329 358 330 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE361 # -----------------------362 # Test if FILE is an executable regular file.363 as_fn_executable_p ()364 {365 test -f "$1" && test -x "$1"366 } # as_fn_executable_p367 331 # as_fn_append VAR VALUE 368 332 # ---------------------- … … 486 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 451 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have489 # already done that, so ensure we don't try to do so again and fall490 # in an infinite loop. This has already happened in practice.491 _as_can_reexec=no; export _as_can_reexec492 452 # Don't try to exec as it changes $[0], causing all sort of problems 493 453 # (the dirname of $[0] is not the place where we might find the … … 524 484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -p R'.486 # In both cases, we have to default to `cp -p'. 527 487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -p R'488 as_ln_s='cp -p' 529 489 elif ln conf$$.file conf$$ 2>/dev/null; then 530 490 as_ln_s=ln 531 491 else 532 as_ln_s='cp -p R'492 as_ln_s='cp -p' 533 493 fi 534 494 else 535 as_ln_s='cp -p R'495 as_ln_s='cp -p' 536 496 fi 537 497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 545 505 fi 546 506 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 507 if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509 else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527 fi 528 as_executable_p=$as_test_x 549 529 550 530 # Sed expression to map a string onto a valid CPP name. … … 667 647 ac_pa_use_oss 668 648 ac_pa_use_alsa 649 ac_pjmedia_audiodev_objs 669 650 ac_pa_cflags 670 651 ac_external_pa … … 1262 1243 if test "x$build_alias" = x; then 1263 1244 cross_compiling=maybe 1245 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1246 If a cross compiler is detected then cross compile mode will be used" >&2 1264 1247 elif test "x$build_alias" != "x$host_alias"; then 1265 1248 cross_compiling=yes … … 1569 1552 cat <<\_ACEOF 1570 1553 pjproject configure 2.x 1571 generated by GNU Autoconf 2.6 91572 1573 Copyright (C) 201 2Free Software Foundation, Inc.1554 generated by GNU Autoconf 2.68 1555 1556 Copyright (C) 2010 Free Software Foundation, Inc. 1574 1557 This configure script is free software; the Free Software Foundation 1575 1558 gives unlimited permission to copy, distribute and modify it. … … 1685 1668 } && test -s conftest$ac_exeext && { 1686 1669 test "$cross_compiling" = yes || 1687 test -x conftest$ac_exeext1670 $as_test_x conftest$ac_exeext 1688 1671 }; then : 1689 1672 ac_retval=0 … … 1972 1955 1973 1956 It was created by pjproject $as_me 2.x, which was 1974 generated by GNU Autoconf 2.6 9. Invocation command line was1957 generated by GNU Autoconf 2.68. Invocation command line was 1975 1958 1976 1959 $ $0 $@ … … 2497 2480 test -z "$as_dir" && as_dir=. 2498 2481 for ac_exec_ext in '' $ac_executable_extensions; do 2499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2500 2483 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2501 2484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2537 2520 test -z "$as_dir" && as_dir=. 2538 2521 for ac_exec_ext in '' $ac_executable_extensions; do 2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2540 2523 ac_cv_prog_ac_ct_CC="gcc" 2541 2524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2590 2573 test -z "$as_dir" && as_dir=. 2591 2574 for ac_exec_ext in '' $ac_executable_extensions; do 2592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2593 2576 ac_cv_prog_CC="${ac_tool_prefix}cc" 2594 2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2631 2614 test -z "$as_dir" && as_dir=. 2632 2615 for ac_exec_ext in '' $ac_executable_extensions; do 2633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2634 2617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2635 2618 ac_prog_rejected=yes … … 2689 2672 test -z "$as_dir" && as_dir=. 2690 2673 for ac_exec_ext in '' $ac_executable_extensions; do 2691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2692 2675 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2693 2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2733 2716 test -z "$as_dir" && as_dir=. 2734 2717 for ac_exec_ext in '' $ac_executable_extensions; do 2735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2736 2719 ac_cv_prog_ac_ct_CC="$ac_prog" 2737 2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3179 3162 #include <stdarg.h> 3180 3163 #include <stdio.h> 3181 struct stat; 3164 #include <sys/types.h> 3165 #include <sys/stat.h> 3182 3166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3183 3167 struct buf { int x; }; … … 3292 3276 test -z "$as_dir" && as_dir=. 3293 3277 for ac_exec_ext in '' $ac_executable_extensions; do 3294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3295 3279 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3296 3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3336 3320 test -z "$as_dir" && as_dir=. 3337 3321 for ac_exec_ext in '' $ac_executable_extensions; do 3338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3339 3323 ac_cv_prog_ac_ct_CXX="$ac_prog" 3340 3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3545 3529 test -z "$as_dir" && as_dir=. 3546 3530 for ac_exec_ext in '' $ac_executable_extensions; do 3547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3548 3532 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3549 3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3585 3569 test -z "$as_dir" && as_dir=. 3586 3570 for ac_exec_ext in '' $ac_executable_extensions; do 3587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3588 3572 ac_cv_prog_ac_ct_RANLIB="ranlib" 3589 3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3639 3623 test -z "$as_dir" && as_dir=. 3640 3624 for ac_exec_ext in '' $ac_executable_extensions; do 3641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3642 3626 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3643 3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3683 3667 test -z "$as_dir" && as_dir=. 3684 3668 for ac_exec_ext in '' $ac_executable_extensions; do 3685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3686 3670 ac_cv_prog_ac_ct_AR="$ac_prog" 3687 3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4454 4438 for ac_exec_ext in '' $ac_executable_extensions; do 4455 4439 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4456 as_fn_executable_p "$ac_path_GREP"|| continue4440 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4457 4441 # Check for GNU ac_path_GREP and select it if it is found. 4458 4442 # Check for GNU $ac_path_GREP … … 4520 4504 for ac_exec_ext in '' $ac_executable_extensions; do 4521 4505 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4522 as_fn_executable_p "$ac_path_EGREP"|| continue4506 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4523 4507 # Check for GNU ac_path_EGREP and select it if it is found. 4524 4508 # Check for GNU $ac_path_EGREP … … 5865 5849 true; 5866 5850 else 5851 5867 5852 case $target in 5868 5853 *android*) … … 5873 5858 arm-apple-darwin*) 5874 5859 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 5860 ac_pjmedia_audiodev_objs = "coreaudio_dev.o" 5875 5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 5876 5862 $as_echo "Checking sound device backend... AudioUnit" >&6; } … … 5878 5864 *darwin*) 5879 5865 LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" 5866 ac_pjmedia_audiodev_objs = "coreaudio_dev.o" 5880 5867 if test "`uname -r`" = "6.8"; then 5881 5868 #ac_pa_cflags="$ac_pa_cflags -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" … … 6321 6308 test -z "$as_dir" && as_dir=. 6322 6309 for ac_exec_ext in '' $ac_executable_extensions; do 6323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6324 6311 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6325 6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6367 6354 test -z "$as_dir" && as_dir=. 6368 6355 for ac_exec_ext in '' $ac_executable_extensions; do 6369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6370 6357 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6371 6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6472 6459 test -z "$as_dir" && as_dir=. 6473 6460 for ac_exec_ext in '' $ac_executable_extensions; do 6474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6475 6462 ac_cv_prog_PKG_CONFIG="$ac_prog" 6476 6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 8154 8141 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8155 8142 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8156 # In both cases, we have to default to `cp -p R'.8143 # In both cases, we have to default to `cp -p'. 8157 8144 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8158 as_ln_s='cp -p R'8145 as_ln_s='cp -p' 8159 8146 elif ln conf$$.file conf$$ 2>/dev/null; then 8160 8147 as_ln_s=ln 8161 8148 else 8162 as_ln_s='cp -p R'8149 as_ln_s='cp -p' 8163 8150 fi 8164 8151 else 8165 as_ln_s='cp -p R'8152 as_ln_s='cp -p' 8166 8153 fi 8167 8154 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 8223 8210 fi 8224 8211 8225 8226 # as_fn_executable_p FILE 8227 # ----------------------- 8228 # Test if FILE is an executable regular file. 8229 as_fn_executable_p () 8230 { 8231 test -f "$1" && test -x "$1" 8232 } # as_fn_executable_p 8233 as_test_x='test -x' 8234 as_executable_p=as_fn_executable_p 8212 if test -x / >/dev/null 2>&1; then 8213 as_test_x='test -x' 8214 else 8215 if ls -dL / >/dev/null 2>&1; then 8216 as_ls_L_option=L 8217 else 8218 as_ls_L_option= 8219 fi 8220 as_test_x=' 8221 eval sh -c '\'' 8222 if test -d "$1"; then 8223 test -d "$1/."; 8224 else 8225 case $1 in #( 8226 -*)set "./$1";; 8227 esac; 8228 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8229 ???[sx]*):;;*)false;;esac;fi 8230 '\'' sh 8231 ' 8232 fi 8233 as_executable_p=$as_test_x 8235 8234 8236 8235 # Sed expression to map a string onto a valid CPP name. … … 8254 8253 ac_log=" 8255 8254 This file was extended by pjproject $as_me 2.x, which was 8256 generated by GNU Autoconf 2.6 9. Invocation command line was8255 generated by GNU Autoconf 2.68. Invocation command line was 8257 8256 8258 8257 CONFIG_FILES = $CONFIG_FILES … … 8316 8315 ac_cs_version="\\ 8317 8316 pjproject config.status 2.x 8318 configured by $0, generated by GNU Autoconf 2.6 9,8317 configured by $0, generated by GNU Autoconf 2.68, 8319 8318 with options \\"\$ac_cs_config\\" 8320 8319 8321 Copyright (C) 201 2Free Software Foundation, Inc.8320 Copyright (C) 2010 Free Software Foundation, Inc. 8322 8321 This config.status script is free software; the Free Software Foundation 8323 8322 gives unlimited permission to copy, distribute and modify it." … … 8407 8406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8408 8407 if \$ac_cs_recheck; then 8409 set X $SHELL'$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion8408 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8410 8409 shift 8411 8410 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note: See TracChangeset
for help on using the changeset viewer.