Changeset 4636 for pjproject/trunk/aconfigure
- Timestamp:
- Oct 24, 2013 7:07:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4635 r4636 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for 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, 2010 Free Software 8 # Foundation, Inc. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 7 # 10 8 # … … 135 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 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;} 137 160 if test "x$CONFIG_SHELL" = x; then 138 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 168 191 exitcode=1; echo positional parameters were not saved. 169 192 fi 170 test x\$exitcode = x0 || exit 1" 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 171 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 213 237 214 238 if test "x$CONFIG_SHELL" != x; then : 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+"$@"} 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 230 258 fi 231 259 … … 329 357 330 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 331 367 # as_fn_append VAR VALUE 332 368 # ---------------------- … … 450 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 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 452 492 # Don't try to exec as it changes $[0], causing all sort of problems 453 493 # (the dirname of $[0] is not the place where we might find the … … 484 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p '.526 # In both cases, we have to default to `cp -pR'. 487 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p '528 as_ln_s='cp -pR' 489 529 elif ln conf$$.file conf$$ 2>/dev/null; then 490 530 as_ln_s=ln 491 531 else 492 as_ln_s='cp -p '532 as_ln_s='cp -pR' 493 533 fi 494 534 else 495 as_ln_s='cp -p '535 as_ln_s='cp -pR' 496 536 fi 497 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 505 545 fi 506 546 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 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 529 549 530 550 # Sed expression to map a string onto a valid CPP name. … … 1243 1263 if test "x$build_alias" = x; then 1244 1264 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" >&21247 1265 elif test "x$build_alias" != "x$host_alias"; then 1248 1266 cross_compiling=yes … … 1552 1570 cat <<\_ACEOF 1553 1571 pjproject configure 2.x 1554 generated by GNU Autoconf 2.6 81555 1556 Copyright (C) 201 0Free Software Foundation, Inc.1572 generated by GNU Autoconf 2.69 1573 1574 Copyright (C) 2012 Free Software Foundation, Inc. 1557 1575 This configure script is free software; the Free Software Foundation 1558 1576 gives unlimited permission to copy, distribute and modify it. … … 1668 1686 } && test -s conftest$ac_exeext && { 1669 1687 test "$cross_compiling" = yes || 1670 $as_test_x conftest$ac_exeext1688 test -x conftest$ac_exeext 1671 1689 }; then : 1672 1690 ac_retval=0 … … 1955 1973 1956 1974 It was created by pjproject $as_me 2.x, which was 1957 generated by GNU Autoconf 2.6 8. Invocation command line was1975 generated by GNU Autoconf 2.69. Invocation command line was 1958 1976 1959 1977 $ $0 $@ … … 2480 2498 test -z "$as_dir" && as_dir=. 2481 2499 for ac_exec_ext in '' $ac_executable_extensions; do 2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2483 2501 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2484 2502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2520 2538 test -z "$as_dir" && as_dir=. 2521 2539 for ac_exec_ext in '' $ac_executable_extensions; do 2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2523 2541 ac_cv_prog_ac_ct_CC="gcc" 2524 2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2573 2591 test -z "$as_dir" && as_dir=. 2574 2592 for ac_exec_ext in '' $ac_executable_extensions; do 2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2576 2594 ac_cv_prog_CC="${ac_tool_prefix}cc" 2577 2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2614 2632 test -z "$as_dir" && as_dir=. 2615 2633 for ac_exec_ext in '' $ac_executable_extensions; do 2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2617 2635 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2618 2636 ac_prog_rejected=yes … … 2672 2690 test -z "$as_dir" && as_dir=. 2673 2691 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"; }; then2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2675 2693 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2676 2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2716 2734 test -z "$as_dir" && as_dir=. 2717 2735 for ac_exec_ext in '' $ac_executable_extensions; do 2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2719 2737 ac_cv_prog_ac_ct_CC="$ac_prog" 2720 2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3162 3180 #include <stdarg.h> 3163 3181 #include <stdio.h> 3164 #include <sys/types.h> 3165 #include <sys/stat.h> 3182 struct stat; 3166 3183 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3167 3184 struct buf { int x; }; … … 3276 3293 test -z "$as_dir" && as_dir=. 3277 3294 for ac_exec_ext in '' $ac_executable_extensions; do 3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3279 3296 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3280 3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3320 3337 test -z "$as_dir" && as_dir=. 3321 3338 for ac_exec_ext in '' $ac_executable_extensions; do 3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3323 3340 ac_cv_prog_ac_ct_CXX="$ac_prog" 3324 3341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3529 3546 test -z "$as_dir" && as_dir=. 3530 3547 for ac_exec_ext in '' $ac_executable_extensions; do 3531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3532 3549 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3533 3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3569 3586 test -z "$as_dir" && as_dir=. 3570 3587 for ac_exec_ext in '' $ac_executable_extensions; do 3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3572 3589 ac_cv_prog_ac_ct_RANLIB="ranlib" 3573 3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3623 3640 test -z "$as_dir" && as_dir=. 3624 3641 for ac_exec_ext in '' $ac_executable_extensions; do 3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3626 3643 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3627 3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3667 3684 test -z "$as_dir" && as_dir=. 3668 3685 for ac_exec_ext in '' $ac_executable_extensions; do 3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3670 3687 ac_cv_prog_ac_ct_AR="$ac_prog" 3671 3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4438 4455 for ac_exec_ext in '' $ac_executable_extensions; do 4439 4456 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4440 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4457 as_fn_executable_p "$ac_path_GREP" || continue 4441 4458 # Check for GNU ac_path_GREP and select it if it is found. 4442 4459 # Check for GNU $ac_path_GREP … … 4504 4521 for ac_exec_ext in '' $ac_executable_extensions; do 4505 4522 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4506 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4523 as_fn_executable_p "$ac_path_EGREP" || continue 4507 4524 # Check for GNU ac_path_EGREP and select it if it is found. 4508 4525 # Check for GNU $ac_path_EGREP … … 5858 5875 arm-apple-darwin*) 5859 5876 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 5860 ac_pjmedia_audiodev_objs ="coreaudio_dev.o"5877 ac_pjmedia_audiodev_objs="coreaudio_dev.o" 5861 5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 5862 5879 $as_echo "Checking sound device backend... AudioUnit" >&6; } … … 5864 5881 *darwin*) 5865 5882 LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" 5866 ac_pjmedia_audiodev_objs ="coreaudio_dev.o"5883 ac_pjmedia_audiodev_objs="coreaudio_dev.o" 5867 5884 if test "`uname -r`" = "6.8"; then 5868 5885 #ac_pa_cflags="$ac_pa_cflags -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" … … 6308 6325 test -z "$as_dir" && as_dir=. 6309 6326 for ac_exec_ext in '' $ac_executable_extensions; do 6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6311 6328 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6312 6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6354 6371 test -z "$as_dir" && as_dir=. 6355 6372 for ac_exec_ext in '' $ac_executable_extensions; do 6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6357 6374 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6358 6375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6459 6476 test -z "$as_dir" && as_dir=. 6460 6477 for ac_exec_ext in '' $ac_executable_extensions; do 6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6462 6479 ac_cv_prog_PKG_CONFIG="$ac_prog" 6463 6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 8141 8158 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8142 8159 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8143 # In both cases, we have to default to `cp -p '.8160 # In both cases, we have to default to `cp -pR'. 8144 8161 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8145 as_ln_s='cp -p '8162 as_ln_s='cp -pR' 8146 8163 elif ln conf$$.file conf$$ 2>/dev/null; then 8147 8164 as_ln_s=ln 8148 8165 else 8149 as_ln_s='cp -p '8166 as_ln_s='cp -pR' 8150 8167 fi 8151 8168 else 8152 as_ln_s='cp -p '8169 as_ln_s='cp -pR' 8153 8170 fi 8154 8171 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 8210 8227 fi 8211 8228 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 8229 8230 # as_fn_executable_p FILE 8231 # ----------------------- 8232 # Test if FILE is an executable regular file. 8233 as_fn_executable_p () 8234 { 8235 test -f "$1" && test -x "$1" 8236 } # as_fn_executable_p 8237 as_test_x='test -x' 8238 as_executable_p=as_fn_executable_p 8234 8239 8235 8240 # Sed expression to map a string onto a valid CPP name. … … 8253 8258 ac_log=" 8254 8259 This file was extended by pjproject $as_me 2.x, which was 8255 generated by GNU Autoconf 2.6 8. Invocation command line was8260 generated by GNU Autoconf 2.69. Invocation command line was 8256 8261 8257 8262 CONFIG_FILES = $CONFIG_FILES … … 8315 8320 ac_cs_version="\\ 8316 8321 pjproject config.status 2.x 8317 configured by $0, generated by GNU Autoconf 2.6 8,8322 configured by $0, generated by GNU Autoconf 2.69, 8318 8323 with options \\"\$ac_cs_config\\" 8319 8324 8320 Copyright (C) 201 0Free Software Foundation, Inc.8325 Copyright (C) 2012 Free Software Foundation, Inc. 8321 8326 This config.status script is free software; the Free Software Foundation 8322 8327 gives unlimited permission to copy, distribute and modify it." … … 8406 8411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8407 8412 if \$ac_cs_recheck; then 8408 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion8413 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8409 8414 shift 8410 8415 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note: See TracChangeset
for help on using the changeset viewer.