Changeset 4656 for pjproject/trunk/aconfigure
- Timestamp:
- Nov 23, 2013 7:13:40 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4636 r4656 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. … … 673 653 ac_external_gsm 674 654 ac_external_speex 655 ac_shared_libraries 675 656 ac_os_objs 676 657 EGREP … … 759 740 enable_floating_point 760 741 enable_epoll 742 enable_shared 761 743 with_external_speex 762 744 with_external_gsm … … 1263 1245 if test "x$build_alias" = x; then 1264 1246 cross_compiling=maybe 1247 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1248 If a cross compiler is detected then cross compile mode will be used" >&2 1265 1249 elif test "x$build_alias" != "x$host_alias"; then 1266 1250 cross_compiling=yes … … 1425 1409 Disable floating point where possible 1426 1410 --enable-epoll Use /dev/epoll ioqueue on Linux (experimental) 1411 --enable-shared Build shared libraries 1427 1412 --disable-sound Exclude sound (i.e. use null sound) 1428 1413 --disable-oss Disable OSS audio (default: not disabled) … … 1570 1555 cat <<\_ACEOF 1571 1556 pjproject configure 2.x 1572 generated by GNU Autoconf 2.6 91573 1574 Copyright (C) 201 2Free Software Foundation, Inc.1557 generated by GNU Autoconf 2.68 1558 1559 Copyright (C) 2010 Free Software Foundation, Inc. 1575 1560 This configure script is free software; the Free Software Foundation 1576 1561 gives unlimited permission to copy, distribute and modify it. … … 1686 1671 } && test -s conftest$ac_exeext && { 1687 1672 test "$cross_compiling" = yes || 1688 test -x conftest$ac_exeext1673 $as_test_x conftest$ac_exeext 1689 1674 }; then : 1690 1675 ac_retval=0 … … 1973 1958 1974 1959 It was created by pjproject $as_me 2.x, which was 1975 generated by GNU Autoconf 2.6 9. Invocation command line was1960 generated by GNU Autoconf 2.68. Invocation command line was 1976 1961 1977 1962 $ $0 $@ … … 2498 2483 test -z "$as_dir" && as_dir=. 2499 2484 for ac_exec_ext in '' $ac_executable_extensions; do 2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2501 2486 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2502 2487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2538 2523 test -z "$as_dir" && as_dir=. 2539 2524 for ac_exec_ext in '' $ac_executable_extensions; do 2540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2541 2526 ac_cv_prog_ac_ct_CC="gcc" 2542 2527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2591 2576 test -z "$as_dir" && as_dir=. 2592 2577 for ac_exec_ext in '' $ac_executable_extensions; do 2593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2594 2579 ac_cv_prog_CC="${ac_tool_prefix}cc" 2595 2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2632 2617 test -z "$as_dir" && as_dir=. 2633 2618 for ac_exec_ext in '' $ac_executable_extensions; do 2634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2635 2620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2636 2621 ac_prog_rejected=yes … … 2690 2675 test -z "$as_dir" && as_dir=. 2691 2676 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2693 2678 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2694 2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2734 2719 test -z "$as_dir" && as_dir=. 2735 2720 for ac_exec_ext in '' $ac_executable_extensions; do 2736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2737 2722 ac_cv_prog_ac_ct_CC="$ac_prog" 2738 2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3180 3165 #include <stdarg.h> 3181 3166 #include <stdio.h> 3182 struct stat; 3167 #include <sys/types.h> 3168 #include <sys/stat.h> 3183 3169 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3184 3170 struct buf { int x; }; … … 3293 3279 test -z "$as_dir" && as_dir=. 3294 3280 for ac_exec_ext in '' $ac_executable_extensions; do 3295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3296 3282 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3297 3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3337 3323 test -z "$as_dir" && as_dir=. 3338 3324 for ac_exec_ext in '' $ac_executable_extensions; do 3339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3340 3326 ac_cv_prog_ac_ct_CXX="$ac_prog" 3341 3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3546 3532 test -z "$as_dir" && as_dir=. 3547 3533 for ac_exec_ext in '' $ac_executable_extensions; do 3548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3549 3535 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3550 3536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3586 3572 test -z "$as_dir" && as_dir=. 3587 3573 for ac_exec_ext in '' $ac_executable_extensions; do 3588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3589 3575 ac_cv_prog_ac_ct_RANLIB="ranlib" 3590 3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3640 3626 test -z "$as_dir" && as_dir=. 3641 3627 for ac_exec_ext in '' $ac_executable_extensions; do 3642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3643 3629 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3644 3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3684 3670 test -z "$as_dir" && as_dir=. 3685 3671 for ac_exec_ext in '' $ac_executable_extensions; do 3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3687 3673 ac_cv_prog_ac_ct_AR="$ac_prog" 3688 3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4455 4441 for ac_exec_ext in '' $ac_executable_extensions; do 4456 4442 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4457 as_fn_executable_p "$ac_path_GREP"|| continue4443 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4458 4444 # Check for GNU ac_path_GREP and select it if it is found. 4459 4445 # Check for GNU $ac_path_GREP … … 4521 4507 for ac_exec_ext in '' $ac_executable_extensions; do 4522 4508 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4523 as_fn_executable_p "$ac_path_EGREP"|| continue4509 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4524 4510 # Check for GNU ac_path_EGREP and select it if it is found. 4525 4511 # Check for GNU $ac_path_EGREP … … 5642 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 5643 5629 $as_echo "select()" >&6; } 5630 5631 fi 5632 5633 5634 5635 # Check whether --enable-shared was given. 5636 if test "${enable_shared+set}" = set; then : 5637 enableval=$enable_shared; if test "$enable_shared" = "yes"; then 5638 ac_shared_libraries=1 5639 CFLAGS="$CFLAGS -fPIC" 5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building shared libraries... yes" >&5 5641 $as_echo "Building shared libraries... yes" >&6; } 5642 fi 5643 else 5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building shared libraries... no" >&5 5645 $as_echo "Building shared libraries... no" >&6; } 5644 5646 5645 5647 fi … … 6325 6327 test -z "$as_dir" && as_dir=. 6326 6328 for ac_exec_ext in '' $ac_executable_extensions; do 6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6328 6330 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6329 6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6371 6373 test -z "$as_dir" && as_dir=. 6372 6374 for ac_exec_ext in '' $ac_executable_extensions; do 6373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6374 6376 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6375 6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6476 6478 test -z "$as_dir" && as_dir=. 6477 6479 for ac_exec_ext in '' $ac_executable_extensions; do 6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6479 6481 ac_cv_prog_PKG_CONFIG="$ac_prog" 6480 6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 8158 8160 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8159 8161 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8160 # In both cases, we have to default to `cp -p R'.8162 # In both cases, we have to default to `cp -p'. 8161 8163 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8162 as_ln_s='cp -p R'8164 as_ln_s='cp -p' 8163 8165 elif ln conf$$.file conf$$ 2>/dev/null; then 8164 8166 as_ln_s=ln 8165 8167 else 8166 as_ln_s='cp -p R'8168 as_ln_s='cp -p' 8167 8169 fi 8168 8170 else 8169 as_ln_s='cp -p R'8171 as_ln_s='cp -p' 8170 8172 fi 8171 8173 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 8227 8229 fi 8228 8230 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 8231 if test -x / >/dev/null 2>&1; then 8232 as_test_x='test -x' 8233 else 8234 if ls -dL / >/dev/null 2>&1; then 8235 as_ls_L_option=L 8236 else 8237 as_ls_L_option= 8238 fi 8239 as_test_x=' 8240 eval sh -c '\'' 8241 if test -d "$1"; then 8242 test -d "$1/."; 8243 else 8244 case $1 in #( 8245 -*)set "./$1";; 8246 esac; 8247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8248 ???[sx]*):;;*)false;;esac;fi 8249 '\'' sh 8250 ' 8251 fi 8252 as_executable_p=$as_test_x 8239 8253 8240 8254 # Sed expression to map a string onto a valid CPP name. … … 8258 8272 ac_log=" 8259 8273 This file was extended by pjproject $as_me 2.x, which was 8260 generated by GNU Autoconf 2.6 9. Invocation command line was8274 generated by GNU Autoconf 2.68. Invocation command line was 8261 8275 8262 8276 CONFIG_FILES = $CONFIG_FILES … … 8320 8334 ac_cs_version="\\ 8321 8335 pjproject config.status 2.x 8322 configured by $0, generated by GNU Autoconf 2.6 9,8336 configured by $0, generated by GNU Autoconf 2.68, 8323 8337 with options \\"\$ac_cs_config\\" 8324 8338 8325 Copyright (C) 201 2Free Software Foundation, Inc.8339 Copyright (C) 2010 Free Software Foundation, Inc. 8326 8340 This config.status script is free software; the Free Software Foundation 8327 8341 gives unlimited permission to copy, distribute and modify it." … … 8411 8425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8412 8426 if \$ac_cs_recheck; then 8413 set X $SHELL'$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion8427 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8414 8428 shift 8415 8429 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
Note: See TracChangeset
for help on using the changeset viewer.