Changeset 4881 for pjproject/trunk/aconfigure
- Timestamp:
- Jul 22, 2014 7:44:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4875 r4881 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. … … 1259 1279 if test "x$build_alias" = x; then 1260 1280 cross_compiling=maybe 1261 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1262 If a cross compiler is detected then cross compile mode will be used" >&21263 1281 elif test "x$build_alias" != "x$host_alias"; then 1264 1282 cross_compiling=yes … … 1578 1596 cat <<\_ACEOF 1579 1597 pjproject configure 2.x 1580 generated by GNU Autoconf 2.6 81581 1582 Copyright (C) 201 0Free Software Foundation, Inc.1598 generated by GNU Autoconf 2.69 1599 1600 Copyright (C) 2012 Free Software Foundation, Inc. 1583 1601 This configure script is free software; the Free Software Foundation 1584 1602 gives unlimited permission to copy, distribute and modify it. … … 1694 1712 } && test -s conftest$ac_exeext && { 1695 1713 test "$cross_compiling" = yes || 1696 $as_test_x conftest$ac_exeext1714 test -x conftest$ac_exeext 1697 1715 }; then : 1698 1716 ac_retval=0 … … 1981 1999 1982 2000 It was created by pjproject $as_me 2.x, which was 1983 generated by GNU Autoconf 2.6 8. Invocation command line was2001 generated by GNU Autoconf 2.69. Invocation command line was 1984 2002 1985 2003 $ $0 $@ … … 2506 2524 test -z "$as_dir" && as_dir=. 2507 2525 for ac_exec_ext in '' $ac_executable_extensions; do 2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2509 2527 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2510 2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2546 2564 test -z "$as_dir" && as_dir=. 2547 2565 for ac_exec_ext in '' $ac_executable_extensions; do 2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2549 2567 ac_cv_prog_ac_ct_CC="gcc" 2550 2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2599 2617 test -z "$as_dir" && as_dir=. 2600 2618 for ac_exec_ext in '' $ac_executable_extensions; do 2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2602 2620 ac_cv_prog_CC="${ac_tool_prefix}cc" 2603 2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2640 2658 test -z "$as_dir" && as_dir=. 2641 2659 for ac_exec_ext in '' $ac_executable_extensions; do 2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2643 2661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2644 2662 ac_prog_rejected=yes … … 2698 2716 test -z "$as_dir" && as_dir=. 2699 2717 for ac_exec_ext in '' $ac_executable_extensions; do 2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2701 2719 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2702 2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2742 2760 test -z "$as_dir" && as_dir=. 2743 2761 for ac_exec_ext in '' $ac_executable_extensions; do 2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2745 2763 ac_cv_prog_ac_ct_CC="$ac_prog" 2746 2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3188 3206 #include <stdarg.h> 3189 3207 #include <stdio.h> 3190 #include <sys/types.h> 3191 #include <sys/stat.h> 3208 struct stat; 3192 3209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3193 3210 struct buf { int x; }; … … 3302 3319 test -z "$as_dir" && as_dir=. 3303 3320 for ac_exec_ext in '' $ac_executable_extensions; do 3304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3305 3322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3306 3323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3346 3363 test -z "$as_dir" && as_dir=. 3347 3364 for ac_exec_ext in '' $ac_executable_extensions; do 3348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3349 3366 ac_cv_prog_ac_ct_CXX="$ac_prog" 3350 3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3555 3572 test -z "$as_dir" && as_dir=. 3556 3573 for ac_exec_ext in '' $ac_executable_extensions; do 3557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3558 3575 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3559 3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3595 3612 test -z "$as_dir" && as_dir=. 3596 3613 for ac_exec_ext in '' $ac_executable_extensions; do 3597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3598 3615 ac_cv_prog_ac_ct_RANLIB="ranlib" 3599 3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3649 3666 test -z "$as_dir" && as_dir=. 3650 3667 for ac_exec_ext in '' $ac_executable_extensions; do 3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3652 3669 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3653 3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3693 3710 test -z "$as_dir" && as_dir=. 3694 3711 for ac_exec_ext in '' $ac_executable_extensions; do 3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3696 3713 ac_cv_prog_ac_ct_AR="$ac_prog" 3697 3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4475 4492 for ac_exec_ext in '' $ac_executable_extensions; do 4476 4493 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4477 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4494 as_fn_executable_p "$ac_path_GREP" || continue 4478 4495 # Check for GNU ac_path_GREP and select it if it is found. 4479 4496 # Check for GNU $ac_path_GREP … … 4541 4558 for ac_exec_ext in '' $ac_executable_extensions; do 4542 4559 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4543 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4560 as_fn_executable_p "$ac_path_EGREP" || continue 4544 4561 # Check for GNU ac_path_EGREP and select it if it is found. 4545 4562 # Check for GNU $ac_path_EGREP … … 6169 6186 LIBS="$SAVED_LIBS" 6170 6187 if test "$ac_pjmedia_video_has_ios" = "yes"; then 6171 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1 "6172 LIBS="$LIBS -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia"6188 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1 -DPJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL=1" 6189 LIBS="$LIBS -framework OpenGLES -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 6173 6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... yes" >&5 6174 6191 $as_echo "Checking if AVFoundation framework is available... yes" >&6; } … … 6508 6525 test -z "$as_dir" && as_dir=. 6509 6526 for ac_exec_ext in '' $ac_executable_extensions; do 6510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6511 6528 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6512 6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6554 6571 test -z "$as_dir" && as_dir=. 6555 6572 for ac_exec_ext in '' $ac_executable_extensions; do 6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6557 6574 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6558 6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6659 6676 test -z "$as_dir" && as_dir=. 6660 6677 for ac_exec_ext in '' $ac_executable_extensions; do 6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6662 6679 ac_cv_prog_PKG_CONFIG="$ac_prog" 6663 6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7109 7126 7110 7127 LIBS="$OPENH264_LIBS $LIBS" 7111 LDFLAGS="$OPENH264_LDFLAGS $LDFLAGS "7128 LDFLAGS="$OPENH264_LDFLAGS $LDFLAGS -lstdc++" 7112 7129 CFLAGS="$OPENH264_CFLAGS $CFLAGS" 7113 7130 … … 8545 8562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8546 8563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8547 # In both cases, we have to default to `cp -p '.8564 # In both cases, we have to default to `cp -pR'. 8548 8565 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8549 as_ln_s='cp -p '8566 as_ln_s='cp -pR' 8550 8567 elif ln conf$$.file conf$$ 2>/dev/null; then 8551 8568 as_ln_s=ln 8552 8569 else 8553 as_ln_s='cp -p '8570 as_ln_s='cp -pR' 8554 8571 fi 8555 8572 else 8556 as_ln_s='cp -p '8573 as_ln_s='cp -pR' 8557 8574 fi 8558 8575 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 8614 8631 fi 8615 8632 8616 if test -x / >/dev/null 2>&1; then 8617 as_test_x='test -x' 8618 else 8619 if ls -dL / >/dev/null 2>&1; then 8620 as_ls_L_option=L 8621 else 8622 as_ls_L_option= 8623 fi 8624 as_test_x=' 8625 eval sh -c '\'' 8626 if test -d "$1"; then 8627 test -d "$1/."; 8628 else 8629 case $1 in #( 8630 -*)set "./$1";; 8631 esac; 8632 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8633 ???[sx]*):;;*)false;;esac;fi 8634 '\'' sh 8635 ' 8636 fi 8637 as_executable_p=$as_test_x 8633 8634 # as_fn_executable_p FILE 8635 # ----------------------- 8636 # Test if FILE is an executable regular file. 8637 as_fn_executable_p () 8638 { 8639 test -f "$1" && test -x "$1" 8640 } # as_fn_executable_p 8641 as_test_x='test -x' 8642 as_executable_p=as_fn_executable_p 8638 8643 8639 8644 # Sed expression to map a string onto a valid CPP name. … … 8657 8662 ac_log=" 8658 8663 This file was extended by pjproject $as_me 2.x, which was 8659 generated by GNU Autoconf 2.6 8. Invocation command line was8664 generated by GNU Autoconf 2.69. Invocation command line was 8660 8665 8661 8666 CONFIG_FILES = $CONFIG_FILES … … 8719 8724 ac_cs_version="\\ 8720 8725 pjproject config.status 2.x 8721 configured by $0, generated by GNU Autoconf 2.6 8,8726 configured by $0, generated by GNU Autoconf 2.69, 8722 8727 with options \\"\$ac_cs_config\\" 8723 8728 8724 Copyright (C) 201 0Free Software Foundation, Inc.8729 Copyright (C) 2012 Free Software Foundation, Inc. 8725 8730 This config.status script is free software; the Free Software Foundation 8726 8731 gives unlimited permission to copy, distribute and modify it." … … 8810 8815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8811 8816 if \$ac_cs_recheck; then 8812 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion8817 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8813 8818 shift 8814 8819 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note: See TracChangeset
for help on using the changeset viewer.