Changeset 4800


Ignore:
Timestamp:
Mar 20, 2014 5:35:27 AM (6 years ago)
Author:
riza
Message:

Re #1751: Fix build error when using 'disable-libsamplerate' on configure.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r4732 r4800  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.68 for pjproject 2.x. 
     3# Generated by GNU Autoconf 2.69 for pjproject 2.x. 
    44# 
    55# 
    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. 
    97# 
    108# 
     
    135133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    136134 
     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. 
     143BASH_ENV=/dev/null 
     144ENV=/dev/null 
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     146case $- in # (((( 
     147  *v*x* | *x*v* ) as_opts=-vx ;; 
     148  *v* ) as_opts=-v ;; 
     149  *x* ) as_opts=-x ;; 
     150  * ) as_opts= ;; 
     151esac 
     152exec $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 
     156as_fn_exit 255 
     157  fi 
     158  # We don't want this to propagate to other subprocesses. 
     159          { _as_can_reexec=; unset _as_can_reexec;} 
    137160if test "x$CONFIG_SHELL" = x; then 
    138161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     
    168191  exitcode=1; echo positional parameters were not saved. 
    169192fi 
    170 test x\$exitcode = x0 || exit 1" 
     193test x\$exitcode = x0 || exit 1 
     194test -x / || exit 1" 
    171195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
    172196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     
    213237 
    214238      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. 
     244BASH_ENV=/dev/null 
     245ENV=/dev/null 
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     247case $- in # (((( 
     248  *v*x* | *x*v* ) as_opts=-vx ;; 
     249  *v* ) as_opts=-v ;; 
     250  *x* ) as_opts=-x ;; 
     251  * ) as_opts= ;; 
     252esac 
     253exec $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 
     257exit 255 
    230258fi 
    231259 
     
    329357 
    330358} # as_fn_mkdir_p 
     359 
     360# as_fn_executable_p FILE 
     361# ----------------------- 
     362# Test if FILE is an executable regular file. 
     363as_fn_executable_p () 
     364{ 
     365  test -f "$1" && test -x "$1" 
     366} # as_fn_executable_p 
    331367# as_fn_append VAR VALUE 
    332368# ---------------------- 
     
    450486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    451487 
     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 
    452492  # Don't try to exec as it changes $[0], causing all sort of problems 
    453493  # (the dirname of $[0] is not the place where we might find the 
     
    484524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    485525    # 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'. 
    487527    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' 
    489529  elif ln conf$$.file conf$$ 2>/dev/null; then 
    490530    as_ln_s=ln 
    491531  else 
    492     as_ln_s='cp -p' 
     532    as_ln_s='cp -pR' 
    493533  fi 
    494534else 
    495   as_ln_s='cp -p' 
     535  as_ln_s='cp -pR' 
    496536fi 
    497537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     
    505545fi 
    506546 
    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 
     547as_test_x='test -x' 
     548as_executable_p=as_fn_executable_p 
    529549 
    530550# Sed expression to map a string onto a valid CPP name. 
     
    12511271  if test "x$build_alias" = x; then 
    12521272    cross_compiling=maybe 
    1253     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 
    1254     If a cross compiler is detected then cross compile mode will be used" >&2 
    12551273  elif test "x$build_alias" != "x$host_alias"; then 
    12561274    cross_compiling=yes 
     
    15661584  cat <<\_ACEOF 
    15671585pjproject configure 2.x 
    1568 generated by GNU Autoconf 2.68 
    1569  
    1570 Copyright (C) 2010 Free Software Foundation, Inc. 
     1586generated by GNU Autoconf 2.69 
     1587 
     1588Copyright (C) 2012 Free Software Foundation, Inc. 
    15711589This configure script is free software; the Free Software Foundation 
    15721590gives unlimited permission to copy, distribute and modify it. 
     
    16821700       } && test -s conftest$ac_exeext && { 
    16831701         test "$cross_compiling" = yes || 
    1684          $as_test_x conftest$ac_exeext 
     1702         test -x conftest$ac_exeext 
    16851703       }; then : 
    16861704  ac_retval=0 
     
    19691987 
    19701988It was created by pjproject $as_me 2.x, which was 
    1971 generated by GNU Autoconf 2.68.  Invocation command line was 
     1989generated by GNU Autoconf 2.69.  Invocation command line was 
    19721990 
    19731991  $ $0 $@ 
     
    24942512  test -z "$as_dir" && as_dir=. 
    24952513    for ac_exec_ext in '' $ac_executable_extensions; do 
    2496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2514  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    24972515    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    24982516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    25342552  test -z "$as_dir" && as_dir=. 
    25352553    for ac_exec_ext in '' $ac_executable_extensions; do 
    2536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2554  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    25372555    ac_cv_prog_ac_ct_CC="gcc" 
    25382556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    25872605  test -z "$as_dir" && as_dir=. 
    25882606    for ac_exec_ext in '' $ac_executable_extensions; do 
    2589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2607  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    25902608    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    25912609    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    26282646  test -z "$as_dir" && as_dir=. 
    26292647    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"; }; then 
     2648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    26312649    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
    26322650       ac_prog_rejected=yes 
     
    26862704  test -z "$as_dir" && as_dir=. 
    26872705    for ac_exec_ext in '' $ac_executable_extensions; do 
    2688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    26892707    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    26902708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    27302748  test -z "$as_dir" && as_dir=. 
    27312749    for ac_exec_ext in '' $ac_executable_extensions; do 
    2732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2750  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    27332751    ac_cv_prog_ac_ct_CC="$ac_prog" 
    27342752    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    31763194#include <stdarg.h> 
    31773195#include <stdio.h> 
    3178 #include <sys/types.h> 
    3179 #include <sys/stat.h> 
     3196struct stat; 
    31803197/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
    31813198struct buf { int x; }; 
     
    32903307  test -z "$as_dir" && as_dir=. 
    32913308    for ac_exec_ext in '' $ac_executable_extensions; do 
    3292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3309  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    32933310    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    32943311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    33343351  test -z "$as_dir" && as_dir=. 
    33353352    for ac_exec_ext in '' $ac_executable_extensions; do 
    3336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3353  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    33373354    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    33383355    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    35433560  test -z "$as_dir" && as_dir=. 
    35443561    for ac_exec_ext in '' $ac_executable_extensions; do 
    3545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    35463563    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 
    35473564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    35833600  test -z "$as_dir" && as_dir=. 
    35843601    for ac_exec_ext in '' $ac_executable_extensions; do 
    3585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3602  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    35863603    ac_cv_prog_ac_ct_RANLIB="ranlib" 
    35873604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    36373654  test -z "$as_dir" && as_dir=. 
    36383655    for ac_exec_ext in '' $ac_executable_extensions; do 
    3639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3656  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    36403657    ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 
    36413658    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    36813698  test -z "$as_dir" && as_dir=. 
    36823699    for ac_exec_ext in '' $ac_executable_extensions; do 
    3683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3700  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    36843701    ac_cv_prog_ac_ct_AR="$ac_prog" 
    36853702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    44634480    for ac_exec_ext in '' $ac_executable_extensions; do 
    44644481      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4465       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4482      as_fn_executable_p "$ac_path_GREP" || continue 
    44664483# Check for GNU ac_path_GREP and select it if it is found. 
    44674484  # Check for GNU $ac_path_GREP 
     
    45294546    for ac_exec_ext in '' $ac_executable_extensions; do 
    45304547      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4531       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4548      as_fn_executable_p "$ac_path_EGREP" || continue 
    45324549# Check for GNU ac_path_EGREP and select it if it is found. 
    45334550  # Check for GNU $ac_path_EGREP 
     
    63736390# Check whether --enable-libsamplerate was given. 
    63746391if test "${enable_libsamplerate+set}" = set; then : 
    6375   enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     6392  enableval=$enable_libsamplerate; 
     6393           if test "$enable_libsamplerate" = "yes"; then 
     6394             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if libsamplerate is enabled...yes" >&5 
     6395$as_echo "Checking if libsamplerate is enabled...yes" >&6; } 
     6396             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    63766397$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    63776398if ${ac_cv_lib_samplerate_src_new+:} false; then : 
     
    64186439fi 
    64196440 
    6420               ac_pjmedia_resample=libsamplerate 
    6421 else 
    6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
    6423 $as_echo "Skipping libsamplerate detection" >&6; } 
    6424  
     6441             ac_pjmedia_resample=libsamplerate 
     6442           else 
     6443             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if libsamplerate is enabled...no" >&5 
     6444$as_echo "Checking if libsamplerate is enabled...no" >&6; } 
     6445           fi 
     6446 
     6447else 
     6448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if libsamplerate is enabled...no" >&5 
     6449$as_echo "Checking if libsamplerate is enabled...no" >&6; } 
    64256450fi 
    64266451 
     
    64886513  test -z "$as_dir" && as_dir=. 
    64896514    for ac_exec_ext in '' $ac_executable_extensions; do 
    6490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6515  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    64916516    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 
    64926517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    65346559  test -z "$as_dir" && as_dir=. 
    65356560    for ac_exec_ext in '' $ac_executable_extensions; do 
    6536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6561  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    65376562    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 
    65386563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    66396664  test -z "$as_dir" && as_dir=. 
    66406665    for ac_exec_ext in '' $ac_executable_extensions; do 
    6641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6666  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    66426667    ac_cv_prog_PKG_CONFIG="$ac_prog" 
    66436668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    83218346    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    83228347    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    8323     # In both cases, we have to default to `cp -p'. 
     8348    # In both cases, we have to default to `cp -pR'. 
    83248349    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    8325       as_ln_s='cp -p' 
     8350      as_ln_s='cp -pR' 
    83268351  elif ln conf$$.file conf$$ 2>/dev/null; then 
    83278352    as_ln_s=ln 
    83288353  else 
    8329     as_ln_s='cp -p' 
     8354    as_ln_s='cp -pR' 
    83308355  fi 
    83318356else 
    8332   as_ln_s='cp -p' 
     8357  as_ln_s='cp -pR' 
    83338358fi 
    83348359rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     
    83908415fi 
    83918416 
    8392 if test -x / >/dev/null 2>&1; then 
    8393   as_test_x='test -x' 
    8394 else 
    8395   if ls -dL / >/dev/null 2>&1; then 
    8396     as_ls_L_option=L 
    8397   else 
    8398     as_ls_L_option= 
    8399   fi 
    8400   as_test_x=' 
    8401     eval sh -c '\'' 
    8402       if test -d "$1"; then 
    8403         test -d "$1/."; 
    8404       else 
    8405         case $1 in #( 
    8406         -*)set "./$1";; 
    8407         esac; 
    8408         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    8409         ???[sx]*):;;*)false;;esac;fi 
    8410     '\'' sh 
    8411   ' 
    8412 fi 
    8413 as_executable_p=$as_test_x 
     8417 
     8418# as_fn_executable_p FILE 
     8419# ----------------------- 
     8420# Test if FILE is an executable regular file. 
     8421as_fn_executable_p () 
     8422{ 
     8423  test -f "$1" && test -x "$1" 
     8424} # as_fn_executable_p 
     8425as_test_x='test -x' 
     8426as_executable_p=as_fn_executable_p 
    84148427 
    84158428# Sed expression to map a string onto a valid CPP name. 
     
    84338446ac_log=" 
    84348447This file was extended by pjproject $as_me 2.x, which was 
    8435 generated by GNU Autoconf 2.68.  Invocation command line was 
     8448generated by GNU Autoconf 2.69.  Invocation command line was 
    84368449 
    84378450  CONFIG_FILES    = $CONFIG_FILES 
     
    84958508ac_cs_version="\\ 
    84968509pjproject config.status 2.x 
    8497 configured by $0, generated by GNU Autoconf 2.68, 
     8510configured by $0, generated by GNU Autoconf 2.69, 
    84988511  with options \\"\$ac_cs_config\\" 
    84998512 
    8500 Copyright (C) 2010 Free Software Foundation, Inc. 
     8513Copyright (C) 2012 Free Software Foundation, Inc. 
    85018514This config.status script is free software; the Free Software Foundation 
    85028515gives unlimited permission to copy, distribute and modify it." 
     
    85868599cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    85878600if \$ac_cs_recheck; then 
    8588   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     8601  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    85898602  shift 
    85908603  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
  • pjproject/trunk/aconfigure.ac

    r4732 r4800  
    871871dnl # Include libsamplerate 
    872872AC_ARG_ENABLE(libsamplerate, 
    873               AC_HELP_STRING([--enable-libsamplerate], 
    874                              [Link with libsamplerate when available.]), 
    875               [ AC_CHECK_LIB(samplerate,src_new) ] 
    876               [ac_pjmedia_resample=libsamplerate], 
    877               AC_MSG_RESULT([Skipping libsamplerate detection]) 
    878              ) 
     873           AC_HELP_STRING([--enable-libsamplerate], 
     874                    [Link with libsamplerate when available.]), 
     875           [ 
     876           if test "$enable_libsamplerate" = "yes"; then 
     877             AC_MSG_RESULT([Checking if libsamplerate is enabled...yes]) 
     878             AC_CHECK_LIB(samplerate,src_new) 
     879             [ac_pjmedia_resample=libsamplerate] 
     880           else 
     881             AC_MSG_RESULT([Checking if libsamplerate is enabled...no]) 
     882           fi 
     883           ], AC_MSG_RESULT([Checking if libsamplerate is enabled...no])) 
    879884 
    880885AC_SUBST(ac_resample_dll) 
Note: See TracChangeset for help on using the changeset viewer.