Ignore:
Timestamp:
Aug 20, 2006 8:47:34 PM (18 years ago)
Author:
bennylp
Message:

Finishing autoconf work, also fixed compilation error in publish.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r625 r689  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.59 for pjproject 0.5.7. 
     3# Generated by GNU Autoconf 2.59 for pjproject 0.5.8. 
    44# 
    55# Copyright (C) 2003 Free Software Foundation, Inc. 
     
    268268PACKAGE_NAME='pjproject' 
    269269PACKAGE_TARNAME='pjproject' 
    270 PACKAGE_VERSION='0.5.7' 
    271 PACKAGE_STRING='pjproject 0.5.7' 
     270PACKAGE_VERSION='0.5.8' 
     271PACKAGE_STRING='pjproject 0.5.8' 
    272272PACKAGE_BUGREPORT='' 
    273273 
     
    309309#endif" 
    310310 
    311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS' 
     311ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_bigendian CPP EGREP ac_pjmedia_snd ac_pa_use_alsa ac_no_small_filter ac_no_large_filter ac_no_g711_plc ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_speex_codec ac_no_ilbc_codec ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 
    312312ac_subst_files='' 
    313313 
     
    766766ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 
    767767ac_cv_env_CPPFLAGS_value=$CPPFLAGS 
     768ac_env_CXX_set=${CXX+set} 
     769ac_env_CXX_value=$CXX 
     770ac_cv_env_CXX_set=${CXX+set} 
     771ac_cv_env_CXX_value=$CXX 
     772ac_env_CXXFLAGS_set=${CXXFLAGS+set} 
     773ac_env_CXXFLAGS_value=$CXXFLAGS 
     774ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 
     775ac_cv_env_CXXFLAGS_value=$CXXFLAGS 
    768776ac_env_CPP_set=${CPP+set} 
    769777ac_env_CPP_value=$CPP 
     
    778786  # This message is too long to be a string in the A/UX 3.1 sh. 
    779787  cat <<_ACEOF 
    780 \`configure' configures pjproject 0.5.7 to adapt to many kinds of systems. 
     788\`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 
    781789 
    782790Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    840848if test -n "$ac_init_help"; then 
    841849  case $ac_init_help in 
    842      short | recursive ) echo "Configuration of pjproject 0.5.7:";; 
     850     short | recursive ) echo "Configuration of pjproject 0.5.8:";; 
    843851   esac 
    844852  cat <<\_ACEOF 
     853 
     854Optional Features: 
     855  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
     856  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     857  --disable-floating-point 
     858                          Disable floating point where possible 
     859  --disable-small-filter  Exclude small filter in resampling 
     860  --disable-large-filter  Exclude large filter in resampling 
     861  --disable-g711-plc      Exclude G.711 Annex A PLC 
     862  --disable-speex-aec     Exclude Speex Acoustic Echo Canceller/AEC 
     863  --disable-g711-codec    Exclude G.711 codecs from the build 
     864  --disable-l16-codec     Exclude Linear/L16 codec family from the build 
     865  --disable-gsm-codec     Exclude GSM codec in the build 
     866  --disable-speex-codec   Exclude Speex codecs in the build 
     867  --disable-ilbc-codec    Exclude iLBC codec in the build 
    845868 
    846869Some influential environment variables: 
     
    851874  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have 
    852875              headers in a nonstandard directory <include dir> 
     876  CXX         C++ compiler command 
     877  CXXFLAGS    C++ compiler flags 
    853878  CPP         C preprocessor 
    854879 
     
    951976if $ac_init_version; then 
    952977  cat <<\_ACEOF 
    953 pjproject configure 0.5.7 
     978pjproject configure 0.5.8 
    954979generated by GNU Autoconf 2.59 
    955980 
     
    965990running configure, to aid debugging if configure makes a mistake. 
    966991 
    967 It was created by pjproject $as_me 0.5.7, which was 
     992It was created by pjproject $as_me 0.5.8, which was 
    968993generated by GNU Autoconf 2.59.  Invocation command line was 
    969994 
     
    14081433    NONENONEs,x,x, && 
    14091434  program_prefix=${target_alias}- 
    1410           ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h" 
     1435                    ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 
     1436 
     1437                                                            ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak" 
    14111438 
    14121439ac_ext=c 
     
    23402367ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    23412368 
     2369ac_ext=cc 
     2370ac_cpp='$CXXCPP $CPPFLAGS' 
     2371ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
     2374if test -n "$ac_tool_prefix"; then 
     2375  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 
     2376  do 
     2377    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
     2378set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
     2379echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2380echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2381if test "${ac_cv_prog_CXX+set}" = set; then 
     2382  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2383else 
     2384  if test -n "$CXX"; then 
     2385  ac_cv_prog_CXX="$CXX" # Let the user override the test. 
     2386else 
     2387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2388for as_dir in $PATH 
     2389do 
     2390  IFS=$as_save_IFS 
     2391  test -z "$as_dir" && as_dir=. 
     2392  for ac_exec_ext in '' $ac_executable_extensions; do 
     2393  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2394    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
     2395    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2396    break 2 
     2397  fi 
     2398done 
     2399done 
     2400 
     2401fi 
     2402fi 
     2403CXX=$ac_cv_prog_CXX 
     2404if test -n "$CXX"; then 
     2405  echo "$as_me:$LINENO: result: $CXX" >&5 
     2406echo "${ECHO_T}$CXX" >&6 
     2407else 
     2408  echo "$as_me:$LINENO: result: no" >&5 
     2409echo "${ECHO_T}no" >&6 
     2410fi 
     2411 
     2412    test -n "$CXX" && break 
     2413  done 
     2414fi 
     2415if test -z "$CXX"; then 
     2416  ac_ct_CXX=$CXX 
     2417  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 
     2418do 
     2419  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     2420set dummy $ac_prog; ac_word=$2 
     2421echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2422echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2423if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     2424  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2425else 
     2426  if test -n "$ac_ct_CXX"; then 
     2427  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
     2428else 
     2429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2430for as_dir in $PATH 
     2431do 
     2432  IFS=$as_save_IFS 
     2433  test -z "$as_dir" && as_dir=. 
     2434  for ac_exec_ext in '' $ac_executable_extensions; do 
     2435  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2436    ac_cv_prog_ac_ct_CXX="$ac_prog" 
     2437    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2438    break 2 
     2439  fi 
     2440done 
     2441done 
     2442 
     2443fi 
     2444fi 
     2445ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
     2446if test -n "$ac_ct_CXX"; then 
     2447  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     2448echo "${ECHO_T}$ac_ct_CXX" >&6 
     2449else 
     2450  echo "$as_me:$LINENO: result: no" >&5 
     2451echo "${ECHO_T}no" >&6 
     2452fi 
     2453 
     2454  test -n "$ac_ct_CXX" && break 
     2455done 
     2456test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 
     2457 
     2458  CXX=$ac_ct_CXX 
     2459fi 
     2460 
     2461 
     2462# Provide some information about the compiler. 
     2463echo "$as_me:$LINENO:" \ 
     2464     "checking for C++ compiler version" >&5 
     2465ac_compiler=`set X $ac_compile; echo $2` 
     2466{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     2467  (eval $ac_compiler --version </dev/null >&5) 2>&5 
     2468  ac_status=$? 
     2469  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2470  (exit $ac_status); } 
     2471{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     2472  (eval $ac_compiler -v </dev/null >&5) 2>&5 
     2473  ac_status=$? 
     2474  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2475  (exit $ac_status); } 
     2476{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     2477  (eval $ac_compiler -V </dev/null >&5) 2>&5 
     2478  ac_status=$? 
     2479  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2480  (exit $ac_status); } 
     2481 
     2482echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     2483echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 
     2484if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     2485  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2486else 
     2487  cat >conftest.$ac_ext <<_ACEOF 
     2488/* confdefs.h.  */ 
     2489_ACEOF 
     2490cat confdefs.h >>conftest.$ac_ext 
     2491cat >>conftest.$ac_ext <<_ACEOF 
     2492/* end confdefs.h.  */ 
     2493 
     2494int 
     2495main () 
     2496{ 
     2497#ifndef __GNUC__ 
     2498       choke me 
     2499#endif 
     2500 
     2501  ; 
     2502  return 0; 
     2503} 
     2504_ACEOF 
     2505rm -f conftest.$ac_objext 
     2506if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2507  (eval $ac_compile) 2>conftest.er1 
     2508  ac_status=$? 
     2509  grep -v '^ *+' conftest.er1 >conftest.err 
     2510  rm -f conftest.er1 
     2511  cat conftest.err >&5 
     2512  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2513  (exit $ac_status); } && 
     2514         { ac_try='test -z "$ac_cxx_werror_flag" 
     2515                         || test ! -s conftest.err' 
     2516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2517  (eval $ac_try) 2>&5 
     2518  ac_status=$? 
     2519  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2520  (exit $ac_status); }; } && 
     2521         { ac_try='test -s conftest.$ac_objext' 
     2522  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2523  (eval $ac_try) 2>&5 
     2524  ac_status=$? 
     2525  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2526  (exit $ac_status); }; }; then 
     2527  ac_compiler_gnu=yes 
     2528else 
     2529  echo "$as_me: failed program was:" >&5 
     2530sed 's/^/| /' conftest.$ac_ext >&5 
     2531 
     2532ac_compiler_gnu=no 
     2533fi 
     2534rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2535ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
     2536 
     2537fi 
     2538echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     2539echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 
     2540GXX=`test $ac_compiler_gnu = yes && echo yes` 
     2541ac_test_CXXFLAGS=${CXXFLAGS+set} 
     2542ac_save_CXXFLAGS=$CXXFLAGS 
     2543CXXFLAGS="-g" 
     2544echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     2545echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 
     2546if test "${ac_cv_prog_cxx_g+set}" = set; then 
     2547  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2548else 
     2549  cat >conftest.$ac_ext <<_ACEOF 
     2550/* confdefs.h.  */ 
     2551_ACEOF 
     2552cat confdefs.h >>conftest.$ac_ext 
     2553cat >>conftest.$ac_ext <<_ACEOF 
     2554/* end confdefs.h.  */ 
     2555 
     2556int 
     2557main () 
     2558{ 
     2559 
     2560  ; 
     2561  return 0; 
     2562} 
     2563_ACEOF 
     2564rm -f conftest.$ac_objext 
     2565if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2566  (eval $ac_compile) 2>conftest.er1 
     2567  ac_status=$? 
     2568  grep -v '^ *+' conftest.er1 >conftest.err 
     2569  rm -f conftest.er1 
     2570  cat conftest.err >&5 
     2571  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2572  (exit $ac_status); } && 
     2573         { ac_try='test -z "$ac_cxx_werror_flag" 
     2574                         || test ! -s conftest.err' 
     2575  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2576  (eval $ac_try) 2>&5 
     2577  ac_status=$? 
     2578  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2579  (exit $ac_status); }; } && 
     2580         { ac_try='test -s conftest.$ac_objext' 
     2581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2582  (eval $ac_try) 2>&5 
     2583  ac_status=$? 
     2584  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2585  (exit $ac_status); }; }; then 
     2586  ac_cv_prog_cxx_g=yes 
     2587else 
     2588  echo "$as_me: failed program was:" >&5 
     2589sed 's/^/| /' conftest.$ac_ext >&5 
     2590 
     2591ac_cv_prog_cxx_g=no 
     2592fi 
     2593rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2594fi 
     2595echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     2596echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 
     2597if test "$ac_test_CXXFLAGS" = set; then 
     2598  CXXFLAGS=$ac_save_CXXFLAGS 
     2599elif test $ac_cv_prog_cxx_g = yes; then 
     2600  if test "$GXX" = yes; then 
     2601    CXXFLAGS="-g -O2" 
     2602  else 
     2603    CXXFLAGS="-g" 
     2604  fi 
     2605else 
     2606  if test "$GXX" = yes; then 
     2607    CXXFLAGS="-O2" 
     2608  else 
     2609    CXXFLAGS= 
     2610  fi 
     2611fi 
     2612for ac_declaration in \ 
     2613   '' \ 
     2614   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
     2615   'extern "C" void std::exit (int); using std::exit;' \ 
     2616   'extern "C" void exit (int) throw ();' \ 
     2617   'extern "C" void exit (int);' \ 
     2618   'void exit (int);' 
     2619do 
     2620  cat >conftest.$ac_ext <<_ACEOF 
     2621/* confdefs.h.  */ 
     2622_ACEOF 
     2623cat confdefs.h >>conftest.$ac_ext 
     2624cat >>conftest.$ac_ext <<_ACEOF 
     2625/* end confdefs.h.  */ 
     2626$ac_declaration 
     2627#include <stdlib.h> 
     2628int 
     2629main () 
     2630{ 
     2631exit (42); 
     2632  ; 
     2633  return 0; 
     2634} 
     2635_ACEOF 
     2636rm -f conftest.$ac_objext 
     2637if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2638  (eval $ac_compile) 2>conftest.er1 
     2639  ac_status=$? 
     2640  grep -v '^ *+' conftest.er1 >conftest.err 
     2641  rm -f conftest.er1 
     2642  cat conftest.err >&5 
     2643  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2644  (exit $ac_status); } && 
     2645         { ac_try='test -z "$ac_cxx_werror_flag" 
     2646                         || test ! -s conftest.err' 
     2647  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2648  (eval $ac_try) 2>&5 
     2649  ac_status=$? 
     2650  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2651  (exit $ac_status); }; } && 
     2652         { ac_try='test -s conftest.$ac_objext' 
     2653  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2654  (eval $ac_try) 2>&5 
     2655  ac_status=$? 
     2656  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2657  (exit $ac_status); }; }; then 
     2658  : 
     2659else 
     2660  echo "$as_me: failed program was:" >&5 
     2661sed 's/^/| /' conftest.$ac_ext >&5 
     2662 
     2663continue 
     2664fi 
     2665rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2666  cat >conftest.$ac_ext <<_ACEOF 
     2667/* confdefs.h.  */ 
     2668_ACEOF 
     2669cat confdefs.h >>conftest.$ac_ext 
     2670cat >>conftest.$ac_ext <<_ACEOF 
     2671/* end confdefs.h.  */ 
     2672$ac_declaration 
     2673int 
     2674main () 
     2675{ 
     2676exit (42); 
     2677  ; 
     2678  return 0; 
     2679} 
     2680_ACEOF 
     2681rm -f conftest.$ac_objext 
     2682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2683  (eval $ac_compile) 2>conftest.er1 
     2684  ac_status=$? 
     2685  grep -v '^ *+' conftest.er1 >conftest.err 
     2686  rm -f conftest.er1 
     2687  cat conftest.err >&5 
     2688  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2689  (exit $ac_status); } && 
     2690         { ac_try='test -z "$ac_cxx_werror_flag" 
     2691                         || test ! -s conftest.err' 
     2692  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2693  (eval $ac_try) 2>&5 
     2694  ac_status=$? 
     2695  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2696  (exit $ac_status); }; } && 
     2697         { ac_try='test -s conftest.$ac_objext' 
     2698  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2699  (eval $ac_try) 2>&5 
     2700  ac_status=$? 
     2701  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2702  (exit $ac_status); }; }; then 
     2703  break 
     2704else 
     2705  echo "$as_me: failed program was:" >&5 
     2706sed 's/^/| /' conftest.$ac_ext >&5 
     2707 
     2708fi 
     2709rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2710done 
     2711rm -f conftest* 
     2712if test -n "$ac_declaration"; then 
     2713  echo '#ifdef __cplusplus' >>confdefs.h 
     2714  echo $ac_declaration      >>confdefs.h 
     2715  echo '#endif'             >>confdefs.h 
     2716fi 
     2717 
    23422718ac_ext=c 
    23432719ac_cpp='$CPP $CPPFLAGS' 
     
    23462722ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    23472723 
     2724ac_ext=c 
     2725ac_cpp='$CPP $CPPFLAGS' 
     2726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2728ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2729 
     2730 
     2731 
     2732 
     2733echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     2734echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 
     2735if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     2736  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2737else 
     2738  ac_check_lib_save_LIBS=$LIBS 
     2739LIBS="-lpthread  $LIBS" 
     2740cat >conftest.$ac_ext <<_ACEOF 
     2741/* confdefs.h.  */ 
     2742_ACEOF 
     2743cat confdefs.h >>conftest.$ac_ext 
     2744cat >>conftest.$ac_ext <<_ACEOF 
     2745/* end confdefs.h.  */ 
     2746 
     2747/* Override any gcc2 internal prototype to avoid an error.  */ 
     2748#ifdef __cplusplus 
     2749extern "C" 
     2750#endif 
     2751/* We use char because int might match the return type of a gcc2 
     2752   builtin and then its argument prototype would still apply.  */ 
     2753char pthread_create (); 
     2754int 
     2755main () 
     2756{ 
     2757pthread_create (); 
     2758  ; 
     2759  return 0; 
     2760} 
     2761_ACEOF 
     2762rm -f conftest.$ac_objext conftest$ac_exeext 
     2763if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2764  (eval $ac_link) 2>conftest.er1 
     2765  ac_status=$? 
     2766  grep -v '^ *+' conftest.er1 >conftest.err 
     2767  rm -f conftest.er1 
     2768  cat conftest.err >&5 
     2769  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2770  (exit $ac_status); } && 
     2771         { ac_try='test -z "$ac_c_werror_flag" 
     2772                         || test ! -s conftest.err' 
     2773  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2774  (eval $ac_try) 2>&5 
     2775  ac_status=$? 
     2776  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2777  (exit $ac_status); }; } && 
     2778         { ac_try='test -s conftest$ac_exeext' 
     2779  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2780  (eval $ac_try) 2>&5 
     2781  ac_status=$? 
     2782  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2783  (exit $ac_status); }; }; then 
     2784  ac_cv_lib_pthread_pthread_create=yes 
     2785else 
     2786  echo "$as_me: failed program was:" >&5 
     2787sed 's/^/| /' conftest.$ac_ext >&5 
     2788 
     2789ac_cv_lib_pthread_pthread_create=no 
     2790fi 
     2791rm -f conftest.err conftest.$ac_objext \ 
     2792      conftest$ac_exeext conftest.$ac_ext 
     2793LIBS=$ac_check_lib_save_LIBS 
     2794fi 
     2795echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     2796echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 
     2797if test $ac_cv_lib_pthread_pthread_create = yes; then 
     2798  cat >>confdefs.h <<_ACEOF 
     2799#define HAVE_LIBPTHREAD 1 
     2800_ACEOF 
     2801 
     2802  LIBS="-lpthread $LIBS" 
     2803 
     2804fi 
     2805 
     2806 
     2807echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     2808echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 
     2809cat >>confdefs.h <<_ACEOF 
     2810#define PJ_M_NAME "$target_cpu" 
     2811_ACEOF 
     2812 
     2813 
     2814# Endianness detection 
     2815echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     2816echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 
     2817if test "${ac_cv_c_bigendian+set}" = set; then 
     2818  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2819else 
     2820  # See if sys/param.h defines the BYTE_ORDER macro. 
     2821cat >conftest.$ac_ext <<_ACEOF 
     2822/* confdefs.h.  */ 
     2823_ACEOF 
     2824cat confdefs.h >>conftest.$ac_ext 
     2825cat >>conftest.$ac_ext <<_ACEOF 
     2826/* end confdefs.h.  */ 
     2827#include <sys/types.h> 
     2828#include <sys/param.h> 
     2829 
     2830int 
     2831main () 
     2832{ 
     2833#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 
     2834 bogus endian macros 
     2835#endif 
     2836 
     2837  ; 
     2838  return 0; 
     2839} 
     2840_ACEOF 
     2841rm -f conftest.$ac_objext 
     2842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2843  (eval $ac_compile) 2>conftest.er1 
     2844  ac_status=$? 
     2845  grep -v '^ *+' conftest.er1 >conftest.err 
     2846  rm -f conftest.er1 
     2847  cat conftest.err >&5 
     2848  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2849  (exit $ac_status); } && 
     2850         { ac_try='test -z "$ac_c_werror_flag" 
     2851                         || test ! -s conftest.err' 
     2852  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2853  (eval $ac_try) 2>&5 
     2854  ac_status=$? 
     2855  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2856  (exit $ac_status); }; } && 
     2857         { ac_try='test -s conftest.$ac_objext' 
     2858  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2859  (eval $ac_try) 2>&5 
     2860  ac_status=$? 
     2861  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2862  (exit $ac_status); }; }; then 
     2863  # It does; now see whether it defined to BIG_ENDIAN or not. 
     2864cat >conftest.$ac_ext <<_ACEOF 
     2865/* confdefs.h.  */ 
     2866_ACEOF 
     2867cat confdefs.h >>conftest.$ac_ext 
     2868cat >>conftest.$ac_ext <<_ACEOF 
     2869/* end confdefs.h.  */ 
     2870#include <sys/types.h> 
     2871#include <sys/param.h> 
     2872 
     2873int 
     2874main () 
     2875{ 
     2876#if BYTE_ORDER != BIG_ENDIAN 
     2877 not big endian 
     2878#endif 
     2879 
     2880  ; 
     2881  return 0; 
     2882} 
     2883_ACEOF 
     2884rm -f conftest.$ac_objext 
     2885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2886  (eval $ac_compile) 2>conftest.er1 
     2887  ac_status=$? 
     2888  grep -v '^ *+' conftest.er1 >conftest.err 
     2889  rm -f conftest.er1 
     2890  cat conftest.err >&5 
     2891  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2892  (exit $ac_status); } && 
     2893         { ac_try='test -z "$ac_c_werror_flag" 
     2894                         || test ! -s conftest.err' 
     2895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2896  (eval $ac_try) 2>&5 
     2897  ac_status=$? 
     2898  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2899  (exit $ac_status); }; } && 
     2900         { ac_try='test -s conftest.$ac_objext' 
     2901  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2902  (eval $ac_try) 2>&5 
     2903  ac_status=$? 
     2904  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2905  (exit $ac_status); }; }; then 
     2906  ac_cv_c_bigendian=yes 
     2907else 
     2908  echo "$as_me: failed program was:" >&5 
     2909sed 's/^/| /' conftest.$ac_ext >&5 
     2910 
     2911ac_cv_c_bigendian=no 
     2912fi 
     2913rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2914else 
     2915  echo "$as_me: failed program was:" >&5 
     2916sed 's/^/| /' conftest.$ac_ext >&5 
     2917 
     2918# It does not; compile a test program. 
     2919if test "$cross_compiling" = yes; then 
     2920  # try to guess the endianness by grepping values into an object file 
     2921  ac_cv_c_bigendian=unknown 
     2922  cat >conftest.$ac_ext <<_ACEOF 
     2923/* confdefs.h.  */ 
     2924_ACEOF 
     2925cat confdefs.h >>conftest.$ac_ext 
     2926cat >>conftest.$ac_ext <<_ACEOF 
     2927/* end confdefs.h.  */ 
     2928short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     2929short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     2930void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
     2931short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     2932short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     2933void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     2934int 
     2935main () 
     2936{ 
     2937 _ascii (); _ebcdic (); 
     2938  ; 
     2939  return 0; 
     2940} 
     2941_ACEOF 
     2942rm -f conftest.$ac_objext 
     2943if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2944  (eval $ac_compile) 2>conftest.er1 
     2945  ac_status=$? 
     2946  grep -v '^ *+' conftest.er1 >conftest.err 
     2947  rm -f conftest.er1 
     2948  cat conftest.err >&5 
     2949  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2950  (exit $ac_status); } && 
     2951         { ac_try='test -z "$ac_c_werror_flag" 
     2952                         || test ! -s conftest.err' 
     2953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2954  (eval $ac_try) 2>&5 
     2955  ac_status=$? 
     2956  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2957  (exit $ac_status); }; } && 
     2958         { ac_try='test -s conftest.$ac_objext' 
     2959  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2960  (eval $ac_try) 2>&5 
     2961  ac_status=$? 
     2962  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2963  (exit $ac_status); }; }; then 
     2964  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     2965  ac_cv_c_bigendian=yes 
     2966fi 
     2967if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     2968  if test "$ac_cv_c_bigendian" = unknown; then 
     2969    ac_cv_c_bigendian=no 
     2970  else 
     2971    # finding both strings is unlikely to happen, but who knows? 
     2972    ac_cv_c_bigendian=unknown 
     2973  fi 
     2974fi 
     2975else 
     2976  echo "$as_me: failed program was:" >&5 
     2977sed 's/^/| /' conftest.$ac_ext >&5 
     2978 
     2979fi 
     2980rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2981else 
     2982  cat >conftest.$ac_ext <<_ACEOF 
     2983/* confdefs.h.  */ 
     2984_ACEOF 
     2985cat confdefs.h >>conftest.$ac_ext 
     2986cat >>conftest.$ac_ext <<_ACEOF 
     2987/* end confdefs.h.  */ 
     2988int 
     2989main () 
     2990{ 
     2991  /* Are we little or big endian?  From Harbison&Steele.  */ 
     2992  union 
     2993  { 
     2994    long l; 
     2995    char c[sizeof (long)]; 
     2996  } u; 
     2997  u.l = 1; 
     2998  exit (u.c[sizeof (long) - 1] == 1); 
     2999} 
     3000_ACEOF 
     3001rm -f conftest$ac_exeext 
     3002if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3003  (eval $ac_link) 2>&5 
     3004  ac_status=$? 
     3005  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3006  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     3007  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3008  (eval $ac_try) 2>&5 
     3009  ac_status=$? 
     3010  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3011  (exit $ac_status); }; }; then 
     3012  ac_cv_c_bigendian=no 
     3013else 
     3014  echo "$as_me: program exited with status $ac_status" >&5 
     3015echo "$as_me: failed program was:" >&5 
     3016sed 's/^/| /' conftest.$ac_ext >&5 
     3017 
     3018( exit $ac_status ) 
     3019ac_cv_c_bigendian=yes 
     3020fi 
     3021rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     3022fi 
     3023fi 
     3024rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3025fi 
     3026echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     3027echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
     3028case $ac_cv_c_bigendian in 
     3029  yes) 
     3030    ac_bigendian=1 
     3031 
     3032                cat >>confdefs.h <<\_ACEOF 
     3033#define PJ_IS_LITTLE_ENDIAN 0 
     3034_ACEOF 
     3035 
     3036                cat >>confdefs.h <<\_ACEOF 
     3037#define PJ_IS_BIG_ENDIAN 1 
     3038_ACEOF 
     3039 
     3040                ;; 
     3041  no) 
     3042    ac_bigendian=0 
     3043 
     3044                cat >>confdefs.h <<\_ACEOF 
     3045#define PJ_IS_LITTLE_ENDIAN 1 
     3046_ACEOF 
     3047 
     3048                cat >>confdefs.h <<\_ACEOF 
     3049#define PJ_IS_BIG_ENDIAN 0 
     3050_ACEOF 
     3051 
     3052                ;; 
     3053  *) 
     3054    { { echo "$as_me:$LINENO: error: unknown endianness 
     3055presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
     3056echo "$as_me: error: unknown endianness 
     3057presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
     3058   { (exit 1); exit 1; }; } ;; 
     3059esac 
     3060 
     3061 
     3062# --disable-floating-point option 
     3063# Check whether --enable-floating-point or --disable-floating-point was given. 
     3064if test "${enable_floating_point+set}" = set; then 
     3065  enableval="$enable_floating_point" 
     3066  if test "$enable_floating_point" = "no"; then 
     3067                cat >>confdefs.h <<\_ACEOF 
     3068#define PJ_HAS_FLOATING_POINT 0 
     3069_ACEOF 
     3070 
     3071                echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     3072echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 
     3073               fi 
     3074else 
     3075 
     3076                cat >>confdefs.h <<\_ACEOF 
     3077#define PJ_HAS_FLOATING_POINT 1 
     3078_ACEOF 
     3079 
     3080                echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     3081echo "${ECHO_T}Checking if floating point is disabled... no" >&6 
     3082 
     3083echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     3084echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 
     3085if test "${ac_cv_lib_m_fmod+set}" = set; then 
     3086  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3087else 
     3088  ac_check_lib_save_LIBS=$LIBS 
     3089LIBS="-lm  $LIBS" 
     3090cat >conftest.$ac_ext <<_ACEOF 
     3091/* confdefs.h.  */ 
     3092_ACEOF 
     3093cat confdefs.h >>conftest.$ac_ext 
     3094cat >>conftest.$ac_ext <<_ACEOF 
     3095/* end confdefs.h.  */ 
     3096 
     3097/* Override any gcc2 internal prototype to avoid an error.  */ 
     3098#ifdef __cplusplus 
     3099extern "C" 
     3100#endif 
     3101/* We use char because int might match the return type of a gcc2 
     3102   builtin and then its argument prototype would still apply.  */ 
     3103char fmod (); 
     3104int 
     3105main () 
     3106{ 
     3107fmod (); 
     3108  ; 
     3109  return 0; 
     3110} 
     3111_ACEOF 
     3112rm -f conftest.$ac_objext conftest$ac_exeext 
     3113if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3114  (eval $ac_link) 2>conftest.er1 
     3115  ac_status=$? 
     3116  grep -v '^ *+' conftest.er1 >conftest.err 
     3117  rm -f conftest.er1 
     3118  cat conftest.err >&5 
     3119  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3120  (exit $ac_status); } && 
     3121         { ac_try='test -z "$ac_c_werror_flag" 
     3122                         || test ! -s conftest.err' 
     3123  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3124  (eval $ac_try) 2>&5 
     3125  ac_status=$? 
     3126  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3127  (exit $ac_status); }; } && 
     3128         { ac_try='test -s conftest$ac_exeext' 
     3129  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3130  (eval $ac_try) 2>&5 
     3131  ac_status=$? 
     3132  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3133  (exit $ac_status); }; }; then 
     3134  ac_cv_lib_m_fmod=yes 
     3135else 
     3136  echo "$as_me: failed program was:" >&5 
     3137sed 's/^/| /' conftest.$ac_ext >&5 
     3138 
     3139ac_cv_lib_m_fmod=no 
     3140fi 
     3141rm -f conftest.err conftest.$ac_objext \ 
     3142      conftest$ac_exeext conftest.$ac_ext 
     3143LIBS=$ac_check_lib_save_LIBS 
     3144fi 
     3145echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     3146echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 
     3147if test $ac_cv_lib_m_fmod = yes; then 
     3148  cat >>confdefs.h <<_ACEOF 
     3149#define HAVE_LIBM 1 
     3150_ACEOF 
     3151 
     3152  LIBS="-lm $LIBS" 
     3153 
     3154fi 
     3155 
     3156 
     3157fi; 
    23483158 
    23493159 
     
    64627272 
    64637273 
    6464 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     7274echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
     7275echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 
     7276cat >>confdefs.h <<_ACEOF 
     7277#define PJ_OS_NAME "$target" 
     7278_ACEOF 
     7279 
     7280 
     7281echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     7282echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 
     7283cat >>confdefs.h <<\_ACEOF 
     7284#define PJ_HAS_ERRNO_VAR 1 
     7285_ACEOF 
     7286 
     7287 
     7288echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     7289echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 
     7290cat >>confdefs.h <<\_ACEOF 
     7291#define PJ_HAS_HIGH_RES_TIMER 1 
     7292_ACEOF 
     7293 
     7294 
     7295echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
     7296echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 
     7297cat >>confdefs.h <<\_ACEOF 
     7298#define PJ_HAS_MALLOC 1 
     7299_ACEOF 
     7300 
     7301 
     7302echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     7303echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 
     7304cat >>confdefs.h <<\_ACEOF 
     7305#define PJ_NATIVE_STRING_IS_UNICODE 0 
     7306_ACEOF 
     7307 
     7308 
     7309echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     7310echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 
     7311cat >>confdefs.h <<\_ACEOF 
     7312#define PJ_ATOMIC_VALUE_TYPE long 
     7313_ACEOF 
     7314 
     7315 
     7316# Determine if inet_aton() is available 
     7317echo "$as_me:$LINENO: checking if inet_aton is available" >&5 
     7318echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 
     7319cat >conftest.$ac_ext <<_ACEOF 
     7320/* confdefs.h.  */ 
     7321_ACEOF 
     7322cat confdefs.h >>conftest.$ac_ext 
     7323cat >>conftest.$ac_ext <<_ACEOF 
     7324/* end confdefs.h.  */ 
     7325#include <sys/socket.h> 
     7326                                    #include <netinet/in.h> 
     7327                                    #include <arpa/inet.h> 
     7328int 
     7329main () 
     7330{ 
     7331inet_aton(0, 0); 
     7332  ; 
     7333  return 0; 
     7334} 
     7335_ACEOF 
     7336rm -f conftest.$ac_objext 
     7337if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7338  (eval $ac_compile) 2>conftest.er1 
     7339  ac_status=$? 
     7340  grep -v '^ *+' conftest.er1 >conftest.err 
     7341  rm -f conftest.er1 
     7342  cat conftest.err >&5 
     7343  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7344  (exit $ac_status); } && 
     7345         { ac_try='test -z "$ac_c_werror_flag" 
     7346                         || test ! -s conftest.err' 
     7347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7348  (eval $ac_try) 2>&5 
     7349  ac_status=$? 
     7350  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7351  (exit $ac_status); }; } && 
     7352         { ac_try='test -s conftest.$ac_objext' 
     7353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7354  (eval $ac_try) 2>&5 
     7355  ac_status=$? 
     7356  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7357  (exit $ac_status); }; }; then 
     7358  cat >>confdefs.h <<\_ACEOF 
     7359#define PJ_SOCK_HAS_INET_ATON 1 
     7360_ACEOF 
     7361 
     7362                   echo "$as_me:$LINENO: result: yes" >&5 
     7363echo "${ECHO_T}yes" >&6 
     7364else 
     7365  echo "$as_me: failed program was:" >&5 
     7366sed 's/^/| /' conftest.$ac_ext >&5 
     7367 
     7368echo "$as_me:$LINENO: result: no" >&5 
     7369echo "${ECHO_T}no" >&6 
     7370fi 
     7371rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7372 
     7373# Determine if sockaddr_in has sin_len member 
     7374echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
     7375echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 
     7376cat >conftest.$ac_ext <<_ACEOF 
     7377/* confdefs.h.  */ 
     7378_ACEOF 
     7379cat confdefs.h >>conftest.$ac_ext 
     7380cat >>conftest.$ac_ext <<_ACEOF 
     7381/* end confdefs.h.  */ 
     7382#include <sys/socket.h> 
     7383                                    #include <netinet/in.h> 
     7384                                    #include <arpa/inet.h> 
     7385int 
     7386main () 
     7387{ 
     7388struct sockaddr_in a; a.sin_len=0; 
     7389  ; 
     7390  return 0; 
     7391} 
     7392_ACEOF 
     7393rm -f conftest.$ac_objext 
     7394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7395  (eval $ac_compile) 2>conftest.er1 
     7396  ac_status=$? 
     7397  grep -v '^ *+' conftest.er1 >conftest.err 
     7398  rm -f conftest.er1 
     7399  cat conftest.err >&5 
     7400  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7401  (exit $ac_status); } && 
     7402         { ac_try='test -z "$ac_c_werror_flag" 
     7403                         || test ! -s conftest.err' 
     7404  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7405  (eval $ac_try) 2>&5 
     7406  ac_status=$? 
     7407  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7408  (exit $ac_status); }; } && 
     7409         { ac_try='test -s conftest.$ac_objext' 
     7410  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7411  (eval $ac_try) 2>&5 
     7412  ac_status=$? 
     7413  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7414  (exit $ac_status); }; }; then 
     7415  cat >>confdefs.h <<\_ACEOF 
     7416#define PJ_SOCKADDR_HAS_LEN 1 
     7417_ACEOF 
     7418 
     7419                   echo "$as_me:$LINENO: result: yes" >&5 
     7420echo "${ECHO_T}yes" >&6 
     7421else 
     7422  echo "$as_me: failed program was:" >&5 
     7423sed 's/^/| /' conftest.$ac_ext >&5 
     7424 
     7425echo "$as_me:$LINENO: result: no" >&5 
     7426echo "${ECHO_T}no" >&6 
     7427fi 
     7428rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7429 
     7430# Determine if SO_ERROR is available 
     7431echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
     7432echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 
     7433cat >conftest.$ac_ext <<_ACEOF 
     7434/* confdefs.h.  */ 
     7435_ACEOF 
     7436cat confdefs.h >>conftest.$ac_ext 
     7437cat >>conftest.$ac_ext <<_ACEOF 
     7438/* end confdefs.h.  */ 
     7439#include <sys/socket.h> 
     7440                                    #include <netinet/in.h> 
     7441                                    #include <arpa/inet.h> 
     7442int 
     7443main () 
     7444{ 
     7445int i=SO_ERROR; 
     7446  ; 
     7447  return 0; 
     7448} 
     7449_ACEOF 
     7450rm -f conftest.$ac_objext 
     7451if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7452  (eval $ac_compile) 2>conftest.er1 
     7453  ac_status=$? 
     7454  grep -v '^ *+' conftest.er1 >conftest.err 
     7455  rm -f conftest.er1 
     7456  cat conftest.err >&5 
     7457  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7458  (exit $ac_status); } && 
     7459         { ac_try='test -z "$ac_c_werror_flag" 
     7460                         || test ! -s conftest.err' 
     7461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7462  (eval $ac_try) 2>&5 
     7463  ac_status=$? 
     7464  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7465  (exit $ac_status); }; } && 
     7466         { ac_try='test -s conftest.$ac_objext' 
     7467  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7468  (eval $ac_try) 2>&5 
     7469  ac_status=$? 
     7470  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7471  (exit $ac_status); }; }; then 
     7472  cat >>confdefs.h <<\_ACEOF 
     7473#define PJ_HAS_SO_ERROR 1 
     7474_ACEOF 
     7475 
     7476                   echo "$as_me:$LINENO: result: yes" >&5 
     7477echo "${ECHO_T}yes" >&6 
     7478else 
     7479  echo "$as_me: failed program was:" >&5 
     7480sed 's/^/| /' conftest.$ac_ext >&5 
     7481 
     7482echo "$as_me:$LINENO: result: no" >&5 
     7483echo "${ECHO_T}no" >&6 
     7484fi 
     7485rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7486 
     7487# Determine if RW-mutex is available 
     7488echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
     7489echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 
     7490cat >conftest.$ac_ext <<_ACEOF 
     7491/* confdefs.h.  */ 
     7492_ACEOF 
     7493cat confdefs.h >>conftest.$ac_ext 
     7494cat >>conftest.$ac_ext <<_ACEOF 
     7495/* end confdefs.h.  */ 
     7496#include <pthread.h> 
     7497int 
     7498main () 
     7499{ 
     7500pthread_rwlock_t *x; 
     7501  ; 
     7502  return 0; 
     7503} 
     7504_ACEOF 
     7505rm -f conftest.$ac_objext 
     7506if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7507  (eval $ac_compile) 2>conftest.er1 
     7508  ac_status=$? 
     7509  grep -v '^ *+' conftest.er1 >conftest.err 
     7510  rm -f conftest.er1 
     7511  cat conftest.err >&5 
     7512  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7513  (exit $ac_status); } && 
     7514         { ac_try='test -z "$ac_c_werror_flag" 
     7515                         || test ! -s conftest.err' 
     7516  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7517  (eval $ac_try) 2>&5 
     7518  ac_status=$? 
     7519  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7520  (exit $ac_status); }; } && 
     7521         { ac_try='test -s conftest.$ac_objext' 
     7522  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7523  (eval $ac_try) 2>&5 
     7524  ac_status=$? 
     7525  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7526  (exit $ac_status); }; }; then 
     7527  cat >>confdefs.h <<\_ACEOF 
     7528#define PJ_EMULATE_RWMUTEX 0 
     7529_ACEOF 
     7530 
     7531                   echo "$as_me:$LINENO: result: yes" >&5 
     7532echo "${ECHO_T}yes" >&6 
     7533else 
     7534  echo "$as_me: failed program was:" >&5 
     7535sed 's/^/| /' conftest.$ac_ext >&5 
     7536 
     7537cat >>confdefs.h <<\_ACEOF 
     7538#define PJ_EMULATE_RWMUTEX 1 
     7539_ACEOF 
     7540 
     7541                   echo "$as_me:$LINENO: result: no" >&5 
     7542echo "${ECHO_T}no" >&6 
     7543fi 
     7544rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7545 
     7546 
     7547########################################## 
     7548# 
     7549# PJMEDIA 
     7550# 
     7551 
     7552# Sound device backend selection 
     7553 
     7554case $target in 
     7555  *cygwin* | *win* | *mingw*) 
     7556        ac_pjmedia_snd=pa_win32 
     7557        echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
     7558echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 
     7559        ;; 
     7560  *rtems*) 
     7561        ac_pjmedia_snd=null 
     7562        echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
     7563echo "${ECHO_T}Checking sound device backend... null sound" >&6 
     7564        ;; 
     7565  *darwin*) 
     7566        ac_pjmedia_snd=pa_darwin_os 
     7567        echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
     7568echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 
     7569        ;; 
     7570  *) 
     7571        ac_pjmedia_snd=pa_unix 
     7572        if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    64657573  echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    64667574echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
     
    65997707 
    66007708fi 
    6601  
    6602  
    6603  
    6604 # Determine if inet_aton() is available 
    6605 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 
    6606 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 
    6607 cat >conftest.$ac_ext <<_ACEOF 
    6608 /* confdefs.h.  */ 
    6609 _ACEOF 
    6610 cat confdefs.h >>conftest.$ac_ext 
    6611 cat >>conftest.$ac_ext <<_ACEOF 
    6612 /* end confdefs.h.  */ 
    6613 #include <sys/socket.h> 
    6614                                     #include <netinet/in.h> 
    6615                                     #include <arpa/inet.h> 
    6616 int 
    6617 main () 
    6618 { 
    6619 inet_aton(0, 0); 
    6620   ; 
    6621   return 0; 
    6622 } 
    6623 _ACEOF 
    6624 rm -f conftest.$ac_objext 
    6625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6626   (eval $ac_compile) 2>conftest.er1 
    6627   ac_status=$? 
    6628   grep -v '^ *+' conftest.er1 >conftest.err 
    6629   rm -f conftest.er1 
    6630   cat conftest.err >&5 
    6631   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6632   (exit $ac_status); } && 
    6633          { ac_try='test -z "$ac_c_werror_flag" 
    6634                          || test ! -s conftest.err' 
    6635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6636   (eval $ac_try) 2>&5 
    6637   ac_status=$? 
    6638   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6639   (exit $ac_status); }; } && 
    6640          { ac_try='test -s conftest.$ac_objext' 
    6641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6642   (eval $ac_try) 2>&5 
    6643   ac_status=$? 
    6644   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6645   (exit $ac_status); }; }; then 
    6646   cat >>confdefs.h <<\_ACEOF 
    6647 #define PJ_SOCK_HAS_INET_ATON 1 
    6648 _ACEOF 
    6649  
    6650                    echo "$as_me:$LINENO: result: yes" >&5 
    6651 echo "${ECHO_T}yes" >&6 
    6652 else 
    6653   echo "$as_me: failed program was:" >&5 
    6654 sed 's/^/| /' conftest.$ac_ext >&5 
    6655  
    6656 echo "$as_me:$LINENO: result: no" >&5 
    6657 echo "${ECHO_T}no" >&6 
    6658 fi 
    6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6660  
    6661 # Determine if sockaddr_in has sin_len member 
    6662 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    6663 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 
    6664 cat >conftest.$ac_ext <<_ACEOF 
    6665 /* confdefs.h.  */ 
    6666 _ACEOF 
    6667 cat confdefs.h >>conftest.$ac_ext 
    6668 cat >>conftest.$ac_ext <<_ACEOF 
    6669 /* end confdefs.h.  */ 
    6670 #include <sys/socket.h> 
    6671                                     #include <netinet/in.h> 
    6672                                     #include <arpa/inet.h> 
    6673 int 
    6674 main () 
    6675 { 
    6676 struct sockaddr_in a; a.sin_len=0; 
    6677   ; 
    6678   return 0; 
    6679 } 
    6680 _ACEOF 
    6681 rm -f conftest.$ac_objext 
    6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6683   (eval $ac_compile) 2>conftest.er1 
    6684   ac_status=$? 
    6685   grep -v '^ *+' conftest.er1 >conftest.err 
    6686   rm -f conftest.er1 
    6687   cat conftest.err >&5 
    6688   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6689   (exit $ac_status); } && 
    6690          { ac_try='test -z "$ac_c_werror_flag" 
    6691                          || test ! -s conftest.err' 
    6692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6693   (eval $ac_try) 2>&5 
    6694   ac_status=$? 
    6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6696   (exit $ac_status); }; } && 
    6697          { ac_try='test -s conftest.$ac_objext' 
    6698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6699   (eval $ac_try) 2>&5 
    6700   ac_status=$? 
    6701   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6702   (exit $ac_status); }; }; then 
    6703   cat >>confdefs.h <<\_ACEOF 
    6704 #define PJ_SOCKADDR_HAS_LEN 1 
    6705 _ACEOF 
    6706  
    6707                    echo "$as_me:$LINENO: result: yes" >&5 
    6708 echo "${ECHO_T}yes" >&6 
    6709 else 
    6710   echo "$as_me: failed program was:" >&5 
    6711 sed 's/^/| /' conftest.$ac_ext >&5 
    6712  
    6713 echo "$as_me:$LINENO: result: no" >&5 
    6714 echo "${ECHO_T}no" >&6 
    6715 fi 
    6716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6717  
    6718 # Determine if SO_ERROR is available 
    6719 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    6720 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 
    6721 cat >conftest.$ac_ext <<_ACEOF 
    6722 /* confdefs.h.  */ 
    6723 _ACEOF 
    6724 cat confdefs.h >>conftest.$ac_ext 
    6725 cat >>conftest.$ac_ext <<_ACEOF 
    6726 /* end confdefs.h.  */ 
    6727 #include <sys/socket.h> 
    6728                                     #include <netinet/in.h> 
    6729                                     #include <arpa/inet.h> 
    6730 int 
    6731 main () 
    6732 { 
    6733 int i=SO_ERROR; 
    6734   ; 
    6735   return 0; 
    6736 } 
    6737 _ACEOF 
    6738 rm -f conftest.$ac_objext 
    6739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6740   (eval $ac_compile) 2>conftest.er1 
    6741   ac_status=$? 
    6742   grep -v '^ *+' conftest.er1 >conftest.err 
    6743   rm -f conftest.er1 
    6744   cat conftest.err >&5 
    6745   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6746   (exit $ac_status); } && 
    6747          { ac_try='test -z "$ac_c_werror_flag" 
    6748                          || test ! -s conftest.err' 
    6749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6750   (eval $ac_try) 2>&5 
    6751   ac_status=$? 
    6752   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6753   (exit $ac_status); }; } && 
    6754          { ac_try='test -s conftest.$ac_objext' 
    6755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6756   (eval $ac_try) 2>&5 
    6757   ac_status=$? 
    6758   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6759   (exit $ac_status); }; }; then 
    6760   cat >>confdefs.h <<\_ACEOF 
    6761 #define PJ_HAS_SO_ERROR 1 
    6762 _ACEOF 
    6763  
    6764                    echo "$as_me:$LINENO: result: yes" >&5 
    6765 echo "${ECHO_T}yes" >&6 
    6766 else 
    6767   echo "$as_me: failed program was:" >&5 
    6768 sed 's/^/| /' conftest.$ac_ext >&5 
    6769  
    6770 echo "$as_me:$LINENO: result: no" >&5 
    6771 echo "${ECHO_T}no" >&6 
    6772 fi 
    6773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6774  
    6775 # Determine if RW-mutex is available 
    6776 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    6777 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 
    6778 cat >conftest.$ac_ext <<_ACEOF 
    6779 /* confdefs.h.  */ 
    6780 _ACEOF 
    6781 cat confdefs.h >>conftest.$ac_ext 
    6782 cat >>conftest.$ac_ext <<_ACEOF 
    6783 /* end confdefs.h.  */ 
    6784 #include <pthread.h> 
    6785 int 
    6786 main () 
    6787 { 
    6788 pthread_rwlock_t *x; 
    6789   ; 
    6790   return 0; 
    6791 } 
    6792 _ACEOF 
    6793 rm -f conftest.$ac_objext 
    6794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6795   (eval $ac_compile) 2>conftest.er1 
    6796   ac_status=$? 
    6797   grep -v '^ *+' conftest.er1 >conftest.err 
    6798   rm -f conftest.er1 
    6799   cat conftest.err >&5 
    6800   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6801   (exit $ac_status); } && 
    6802          { ac_try='test -z "$ac_c_werror_flag" 
    6803                          || test ! -s conftest.err' 
    6804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6805   (eval $ac_try) 2>&5 
    6806   ac_status=$? 
    6807   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6808   (exit $ac_status); }; } && 
    6809          { ac_try='test -s conftest.$ac_objext' 
    6810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6811   (eval $ac_try) 2>&5 
    6812   ac_status=$? 
    6813   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6814   (exit $ac_status); }; }; then 
    6815   cat >>confdefs.h <<\_ACEOF 
    6816 #define PJ_EMULATE_RWMUTEX 0 
    6817 _ACEOF 
    6818  
    6819                    echo "$as_me:$LINENO: result: yes" >&5 
    6820 echo "${ECHO_T}yes" >&6 
    6821 else 
    6822   echo "$as_me: failed program was:" >&5 
    6823 sed 's/^/| /' conftest.$ac_ext >&5 
    6824  
    6825 echo "$as_me:$LINENO: result: no" >&5 
    6826 echo "${ECHO_T}no" >&6 
    6827 fi 
    6828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7709if test $ac_cv_header_alsa_version_h = yes; then 
     7710  ac_pa_use_alsa=1 
     7711 
     7712                         LIBS="$LIBS -lasound" 
     7713 
     7714else 
     7715  ac_pa_use_alsa=0 
     7716 
     7717fi 
     7718 
     7719 
     7720        echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
     7721echo "${ECHO_T}Checking sound device backend... unix" >&6 
     7722        ;; 
     7723esac 
     7724 
     7725# Include resampling small filter 
     7726 
     7727# Check whether --enable-small-filter or --disable-small-filter was given. 
     7728if test "${enable_small_filter+set}" = set; then 
     7729  enableval="$enable_small_filter" 
     7730  if test "$enable_small_filter" = "no"; then 
     7731                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
     7732                echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
     7733echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 
     7734               fi 
     7735else 
     7736  echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
     7737echo "${ECHO_T}Checking if small filter is disabled... no" >&6 
     7738fi; 
     7739 
     7740# Include resampling large filter 
     7741 
     7742# Check whether --enable-large-filter or --disable-large-filter was given. 
     7743if test "${enable_large_filter+set}" = set; then 
     7744  enableval="$enable_large_filter" 
     7745  if test "$enable_large_filter" = "no"; then 
     7746                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
     7747                echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
     7748echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 
     7749               fi 
     7750else 
     7751  echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
     7752echo "${ECHO_T}Checking if large filter is disabled... no" >&6 
     7753fi; 
     7754 
     7755# Include G.711 Annex A PLC 
     7756 
     7757# Check whether --enable-g711-plc or --disable-g711-plc was given. 
     7758if test "${enable_g711_plc+set}" = set; then 
     7759  enableval="$enable_g711_plc" 
     7760  if test "$enable_g711_plc" = "no"; then 
     7761                ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 
     7762                echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
     7763echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 
     7764               fi 
     7765else 
     7766  echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
     7767echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 
     7768fi; 
     7769 
     7770# Include Speex AEC 
     7771 
     7772# Check whether --enable-speex-aec or --disable-speex-aec was given. 
     7773if test "${enable_speex_aec+set}" = set; then 
     7774  enableval="$enable_speex_aec" 
     7775  if test "$enable_speex_aec" = "no"; then 
     7776                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
     7777                echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
     7778echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 
     7779               fi 
     7780else 
     7781  echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
     7782echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 
     7783fi; 
     7784 
     7785# Include G711 codec 
     7786 
     7787# Check whether --enable-g711-codec or --disable-g711-codec was given. 
     7788if test "${enable_g711_codec+set}" = set; then 
     7789  enableval="$enable_g711_codec" 
     7790  if test "$enable_g711_codec" = "no"; then 
     7791                ac_no_g711_codec=1 
     7792                echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
     7793echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 
     7794               fi 
     7795else 
     7796  echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     7797echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
     7798fi; 
     7799 
     7800 
     7801# Include L16 codec 
     7802 
     7803# Check whether --enable-l16-codec or --disable-l16-codec was given. 
     7804if test "${enable_l16_codec+set}" = set; then 
     7805  enableval="$enable_l16_codec" 
     7806  if test "$enable_l16_codec" = "no"; then 
     7807                ac_no_l16_codec=1 
     7808                echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
     7809echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 
     7810               fi 
     7811else 
     7812  echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     7813echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
     7814fi; 
     7815 
     7816 
     7817# Include GSM codec 
     7818 
     7819# Check whether --enable-gsm-codec or --disable-gsm-codec was given. 
     7820if test "${enable_gsm_codec+set}" = set; then 
     7821  enableval="$enable_gsm_codec" 
     7822  if test "$enable_gsm_codec" = "no"; then 
     7823                ac_no_gsm_codec=1 
     7824                echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
     7825echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 
     7826               fi 
     7827else 
     7828  echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
     7829echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 
     7830fi; 
     7831 
     7832# Include Speex codec 
     7833 
     7834# Check whether --enable-speex-codec or --disable-speex-codec was given. 
     7835if test "${enable_speex_codec+set}" = set; then 
     7836  enableval="$enable_speex_codec" 
     7837  if test "$enable_speex_codec" = "no"; then 
     7838                ac_no_speex_codec=1 
     7839                echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
     7840echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 
     7841               fi 
     7842else 
     7843  echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
     7844echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 
     7845fi; 
     7846 
     7847# Include iLBC codec 
     7848 
     7849# Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. 
     7850if test "${enable_ilbc_codec+set}" = set; then 
     7851  enableval="$enable_ilbc_codec" 
     7852  if test "$enable_ilbc_codec" = "no"; then 
     7853                ac_no_ilbc_codec=1 
     7854                echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
     7855echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 
     7856               fi 
     7857else 
     7858  echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
     7859echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 
     7860fi; 
     7861 
     7862 
     7863 
     7864########################################## 
     7865# 
     7866# MANUAL CONFIG 
     7867# 
     7868 
    68297869 
    68307870# Determine if select() requires nfds to be filled up with 
    68317871# correct value (max_fd+1). If zero, nfds will be filled up with 
    68327872# PJ_FD_SETSIZE 
     7873echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
     7874echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 
    68337875case $target in 
    68347876  *rtems*) cat >>confdefs.h <<\_ACEOF 
     
    68367878_ACEOF 
    68377879 
    6838            echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    6839 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 
    68407880           echo "$as_me:$LINENO: result: yes" >&5 
    68417881echo "${ECHO_T}yes" >&6 
     
    69197959esac 
    69207960 
    6921 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    6922 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 
    6923 cat >>confdefs.h <<_ACEOF 
    6924 #define PJ_OS_NAME "$target" 
    6925 _ACEOF 
    6926  
    6927  
    6928 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    6929 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 
    6930 cat >>confdefs.h <<\_ACEOF 
    6931 #define PJ_HAS_ERRNO_VAR 1 
    6932 _ACEOF 
    6933  
    6934  
    6935 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    6936 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 
    6937 cat >>confdefs.h <<\_ACEOF 
    6938 #define PJ_HAS_HIGH_RES_TIMER 1 
    6939 _ACEOF 
    6940  
    6941  
    6942 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    6943 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 
    6944 cat >>confdefs.h <<\_ACEOF 
    6945 #define PJ_HAS_MALLOC 1 
    6946 _ACEOF 
    6947  
    6948  
    6949 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    6950 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 
    6951 cat >>confdefs.h <<\_ACEOF 
    6952 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    6953 _ACEOF 
    6954  
    6955  
    6956 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    6957 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 
    6958 cat >>confdefs.h <<\_ACEOF 
    6959 #define PJ_ATOMIC_VALUE_TYPE long 
    6960 _ACEOF 
    6961  
    6962  
     7961 
     7962 
     7963 
     7964if test "$build" = "$host"; then 
     7965    ac_cross_compile= 
     7966else 
     7967    ac_cross_compile=${host}- 
     7968fi 
     7969ac_linux_poll=select 
     7970 
     7971ac_host=unix 
     7972 
     7973 
     7974case $target in 
     7975  *rtems*) 
     7976        ac_main_obj=main_rtems.o 
     7977        ;; 
     7978  *) 
     7979        ac_main_obj=main.o 
     7980        ;; 
     7981esac 
    69637982 
    69647983cat >confcache <<\_ACEOF 
     
    73248343cat >&5 <<_CSEOF 
    73258344 
    7326 This file was extended by pjproject $as_me 0.5.7, which was 
     8345This file was extended by pjproject $as_me 0.5.8, which was 
    73278346generated by GNU Autoconf 2.59.  Invocation command line was 
    73288347 
     
    73688387  -d, --debug      don't remove temporary files 
    73698388      --recheck    update $as_me by reconfiguring in the same conditions 
     8389  --file=FILE[:TEMPLATE] 
     8390                   instantiate the configuration file FILE 
    73708391  --header=FILE[:TEMPLATE] 
    73718392                   instantiate the configuration header FILE 
    73728393 
     8394Configuration files: 
     8395$config_files 
     8396 
    73738397Configuration headers: 
    73748398$config_headers 
     
    73798403cat >>$CONFIG_STATUS <<_ACEOF 
    73808404ac_cs_version="\\ 
    7381 pjproject config.status 0.5.7 
     8405pjproject config.status 0.5.8 
    73828406configured by $0, generated by GNU Autoconf 2.59, 
    73838407  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
     
    74818505  case "$ac_config_target" in 
    74828506  # Handling of arguments. 
     8507  "build.mak" ) CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     8508  "build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     8509  "pjlib/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     8510  "pjlib-util/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     8511  "pjmedia/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     8512  "pjsip/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    74838513  "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     8514  "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    74848515  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    74858516echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
     
    74938524# bizarre bug on SunOS 4.1.3. 
    74948525if $ac_need_defaults; then 
     8526  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    74958527  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    74968528fi 
     
    75238555_ACEOF 
    75248556 
     8557cat >>$CONFIG_STATUS <<_ACEOF 
     8558 
     8559# 
     8560# CONFIG_FILES section. 
     8561# 
     8562 
     8563# No need to generate the scripts if there are no CONFIG_FILES. 
     8564# This happens for instance when ./config.status config.h 
     8565if test -n "\$CONFIG_FILES"; then 
     8566  # Protect against being on the right side of a sed subst in config.status. 
     8567  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 
     8568   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 
     8569s,@SHELL@,$SHELL,;t t 
     8570s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
     8571s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
     8572s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
     8573s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
     8574s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
     8575s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
     8576s,@exec_prefix@,$exec_prefix,;t t 
     8577s,@prefix@,$prefix,;t t 
     8578s,@program_transform_name@,$program_transform_name,;t t 
     8579s,@bindir@,$bindir,;t t 
     8580s,@sbindir@,$sbindir,;t t 
     8581s,@libexecdir@,$libexecdir,;t t 
     8582s,@datadir@,$datadir,;t t 
     8583s,@sysconfdir@,$sysconfdir,;t t 
     8584s,@sharedstatedir@,$sharedstatedir,;t t 
     8585s,@localstatedir@,$localstatedir,;t t 
     8586s,@libdir@,$libdir,;t t 
     8587s,@includedir@,$includedir,;t t 
     8588s,@oldincludedir@,$oldincludedir,;t t 
     8589s,@infodir@,$infodir,;t t 
     8590s,@mandir@,$mandir,;t t 
     8591s,@build_alias@,$build_alias,;t t 
     8592s,@host_alias@,$host_alias,;t t 
     8593s,@target_alias@,$target_alias,;t t 
     8594s,@DEFS@,$DEFS,;t t 
     8595s,@ECHO_C@,$ECHO_C,;t t 
     8596s,@ECHO_N@,$ECHO_N,;t t 
     8597s,@ECHO_T@,$ECHO_T,;t t 
     8598s,@LIBS@,$LIBS,;t t 
     8599s,@build@,$build,;t t 
     8600s,@build_cpu@,$build_cpu,;t t 
     8601s,@build_vendor@,$build_vendor,;t t 
     8602s,@build_os@,$build_os,;t t 
     8603s,@host@,$host,;t t 
     8604s,@host_cpu@,$host_cpu,;t t 
     8605s,@host_vendor@,$host_vendor,;t t 
     8606s,@host_os@,$host_os,;t t 
     8607s,@target@,$target,;t t 
     8608s,@target_cpu@,$target_cpu,;t t 
     8609s,@target_vendor@,$target_vendor,;t t 
     8610s,@target_os@,$target_os,;t t 
     8611s,@CC@,$CC,;t t 
     8612s,@CFLAGS@,$CFLAGS,;t t 
     8613s,@LDFLAGS@,$LDFLAGS,;t t 
     8614s,@CPPFLAGS@,$CPPFLAGS,;t t 
     8615s,@ac_ct_CC@,$ac_ct_CC,;t t 
     8616s,@EXEEXT@,$EXEEXT,;t t 
     8617s,@OBJEXT@,$OBJEXT,;t t 
     8618s,@CXX@,$CXX,;t t 
     8619s,@CXXFLAGS@,$CXXFLAGS,;t t 
     8620s,@ac_ct_CXX@,$ac_ct_CXX,;t t 
     8621s,@ac_bigendian@,$ac_bigendian,;t t 
     8622s,@CPP@,$CPP,;t t 
     8623s,@EGREP@,$EGREP,;t t 
     8624s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 
     8625s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t 
     8626s,@ac_no_small_filter@,$ac_no_small_filter,;t t 
     8627s,@ac_no_large_filter@,$ac_no_large_filter,;t t 
     8628s,@ac_no_g711_plc@,$ac_no_g711_plc,;t t 
     8629s,@ac_no_speex_aec@,$ac_no_speex_aec,;t t 
     8630s,@ac_no_g711_codec@,$ac_no_g711_codec,;t t 
     8631s,@ac_no_l16_codec@,$ac_no_l16_codec,;t t 
     8632s,@ac_no_gsm_codec@,$ac_no_gsm_codec,;t t 
     8633s,@ac_no_speex_codec@,$ac_no_speex_codec,;t t 
     8634s,@ac_no_ilbc_codec@,$ac_no_ilbc_codec,;t t 
     8635s,@ac_cross_compile@,$ac_cross_compile,;t t 
     8636s,@ac_linux_poll@,$ac_linux_poll,;t t 
     8637s,@ac_host@,$ac_host,;t t 
     8638s,@ac_main_obj@,$ac_main_obj,;t t 
     8639s,@LIBOBJS@,$LIBOBJS,;t t 
     8640s,@LTLIBOBJS@,$LTLIBOBJS,;t t 
     8641CEOF 
     8642 
     8643_ACEOF 
     8644 
     8645  cat >>$CONFIG_STATUS <<\_ACEOF 
     8646  # Split the substitutions into bite-sized pieces for seds with 
     8647  # small command number limits, like on Digital OSF/1 and HP-UX. 
     8648  ac_max_sed_lines=48 
     8649  ac_sed_frag=1 # Number of current file. 
     8650  ac_beg=1 # First line for current file. 
     8651  ac_end=$ac_max_sed_lines # Line after last line for current file. 
     8652  ac_more_lines=: 
     8653  ac_sed_cmds= 
     8654  while $ac_more_lines; do 
     8655    if test $ac_beg -gt 1; then 
     8656      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 
     8657    else 
     8658      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 
     8659    fi 
     8660    if test ! -s $tmp/subs.frag; then 
     8661      ac_more_lines=false 
     8662    else 
     8663      # The purpose of the label and of the branching condition is to 
     8664      # speed up the sed processing (if there are no `@' at all, there 
     8665      # is no need to browse any of the substitutions). 
     8666      # These are the two extra sed commands mentioned above. 
     8667      (echo ':t 
     8668  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 
     8669      if test -z "$ac_sed_cmds"; then 
     8670        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 
     8671      else 
     8672        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
     8673      fi 
     8674      ac_sed_frag=`expr $ac_sed_frag + 1` 
     8675      ac_beg=$ac_end 
     8676      ac_end=`expr $ac_end + $ac_max_sed_lines` 
     8677    fi 
     8678  done 
     8679  if test -z "$ac_sed_cmds"; then 
     8680    ac_sed_cmds=cat 
     8681  fi 
     8682fi # test -n "$CONFIG_FILES" 
     8683 
     8684_ACEOF 
     8685cat >>$CONFIG_STATUS <<\_ACEOF 
     8686for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 
     8687  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
     8688  case $ac_file in 
     8689  - | *:- | *:-:* ) # input from stdin 
     8690        cat >$tmp/stdin 
     8691        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
     8692        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     8693  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
     8694        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     8695  * )   ac_file_in=$ac_file.in ;; 
     8696  esac 
     8697 
     8698  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
     8699  ac_dir=`(dirname "$ac_file") 2>/dev/null || 
     8700$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     8701         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     8702         X"$ac_file" : 'X\(//\)$' \| \ 
     8703         X"$ac_file" : 'X\(/\)' \| \ 
     8704         .     : '\(.\)' 2>/dev/null || 
     8705echo X"$ac_file" | 
     8706    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     8707          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     8708          /^X\(\/\/\)$/{ s//\1/; q; } 
     8709          /^X\(\/\).*/{ s//\1/; q; } 
     8710          s/.*/./; q'` 
     8711  { if $as_mkdir_p; then 
     8712    mkdir -p "$ac_dir" 
     8713  else 
     8714    as_dir="$ac_dir" 
     8715    as_dirs= 
     8716    while test ! -d "$as_dir"; do 
     8717      as_dirs="$as_dir $as_dirs" 
     8718      as_dir=`(dirname "$as_dir") 2>/dev/null || 
     8719$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     8720         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     8721         X"$as_dir" : 'X\(//\)$' \| \ 
     8722         X"$as_dir" : 'X\(/\)' \| \ 
     8723         .     : '\(.\)' 2>/dev/null || 
     8724echo X"$as_dir" | 
     8725    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     8726          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     8727          /^X\(\/\/\)$/{ s//\1/; q; } 
     8728          /^X\(\/\).*/{ s//\1/; q; } 
     8729          s/.*/./; q'` 
     8730    done 
     8731    test ! -n "$as_dirs" || mkdir $as_dirs 
     8732  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
     8733echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
     8734   { (exit 1); exit 1; }; }; } 
     8735 
     8736  ac_builddir=. 
     8737 
     8738if test "$ac_dir" != .; then 
     8739  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     8740  # A "../" for each directory in $ac_dir_suffix. 
     8741  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     8742else 
     8743  ac_dir_suffix= ac_top_builddir= 
     8744fi 
     8745 
     8746case $srcdir in 
     8747  .)  # No --srcdir option.  We are building in place. 
     8748    ac_srcdir=. 
     8749    if test -z "$ac_top_builddir"; then 
     8750       ac_top_srcdir=. 
     8751    else 
     8752       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     8753    fi ;; 
     8754  [\\/]* | ?:[\\/]* )  # Absolute path. 
     8755    ac_srcdir=$srcdir$ac_dir_suffix; 
     8756    ac_top_srcdir=$srcdir ;; 
     8757  *) # Relative path. 
     8758    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     8759    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     8760esac 
     8761 
     8762# Do not use `cd foo && pwd` to compute absolute paths, because 
     8763# the directories may not exist. 
     8764case `pwd` in 
     8765.) ac_abs_builddir="$ac_dir";; 
     8766*) 
     8767  case "$ac_dir" in 
     8768  .) ac_abs_builddir=`pwd`;; 
     8769  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
     8770  *) ac_abs_builddir=`pwd`/"$ac_dir";; 
     8771  esac;; 
     8772esac 
     8773case $ac_abs_builddir in 
     8774.) ac_abs_top_builddir=${ac_top_builddir}.;; 
     8775*) 
     8776  case ${ac_top_builddir}. in 
     8777  .) ac_abs_top_builddir=$ac_abs_builddir;; 
     8778  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
     8779  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
     8780  esac;; 
     8781esac 
     8782case $ac_abs_builddir in 
     8783.) ac_abs_srcdir=$ac_srcdir;; 
     8784*) 
     8785  case $ac_srcdir in 
     8786  .) ac_abs_srcdir=$ac_abs_builddir;; 
     8787  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
     8788  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
     8789  esac;; 
     8790esac 
     8791case $ac_abs_builddir in 
     8792.) ac_abs_top_srcdir=$ac_top_srcdir;; 
     8793*) 
     8794  case $ac_top_srcdir in 
     8795  .) ac_abs_top_srcdir=$ac_abs_builddir;; 
     8796  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
     8797  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
     8798  esac;; 
     8799esac 
     8800 
     8801 
     8802 
     8803  if test x"$ac_file" != x-; then 
     8804    { echo "$as_me:$LINENO: creating $ac_file" >&5 
     8805echo "$as_me: creating $ac_file" >&6;} 
     8806    rm -f "$ac_file" 
     8807  fi 
     8808  # Let's still pretend it is `configure' which instantiates (i.e., don't 
     8809  # use $as_me), people would be surprised to read: 
     8810  #    /* config.h.  Generated by config.status.  */ 
     8811  if test x"$ac_file" = x-; then 
     8812    configure_input= 
     8813  else 
     8814    configure_input="$ac_file.  " 
     8815  fi 
     8816  configure_input=$configure_input"Generated from `echo $ac_file_in | 
     8817                                     sed 's,.*/,,'` by configure." 
     8818 
     8819  # First look for the input files in the build tree, otherwise in the 
     8820  # src tree. 
     8821  ac_file_inputs=`IFS=: 
     8822    for f in $ac_file_in; do 
     8823      case $f in 
     8824      -) echo $tmp/stdin ;; 
     8825      [\\/$]*) 
     8826         # Absolute (can't be DOS-style, as IFS=:) 
     8827         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
     8828echo "$as_me: error: cannot find input file: $f" >&2;} 
     8829   { (exit 1); exit 1; }; } 
     8830         echo "$f";; 
     8831      *) # Relative 
     8832         if test -f "$f"; then 
     8833           # Build tree 
     8834           echo "$f" 
     8835         elif test -f "$srcdir/$f"; then 
     8836           # Source tree 
     8837           echo "$srcdir/$f" 
     8838         else 
     8839           # /dev/null tree 
     8840           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
     8841echo "$as_me: error: cannot find input file: $f" >&2;} 
     8842   { (exit 1); exit 1; }; } 
     8843         fi;; 
     8844      esac 
     8845    done` || { (exit 1); exit 1; } 
     8846_ACEOF 
     8847cat >>$CONFIG_STATUS <<_ACEOF 
     8848  sed "$ac_vpsub 
     8849$extrasub 
     8850_ACEOF 
     8851cat >>$CONFIG_STATUS <<\_ACEOF 
     8852:t 
     8853/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
     8854s,@configure_input@,$configure_input,;t t 
     8855s,@srcdir@,$ac_srcdir,;t t 
     8856s,@abs_srcdir@,$ac_abs_srcdir,;t t 
     8857s,@top_srcdir@,$ac_top_srcdir,;t t 
     8858s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 
     8859s,@builddir@,$ac_builddir,;t t 
     8860s,@abs_builddir@,$ac_abs_builddir,;t t 
     8861s,@top_builddir@,$ac_top_builddir,;t t 
     8862s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 
     8863" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 
     8864  rm -f $tmp/stdin 
     8865  if test x"$ac_file" != x-; then 
     8866    mv $tmp/out $ac_file 
     8867  else 
     8868    cat $tmp/out 
     8869    rm -f $tmp/out 
     8870  fi 
     8871 
     8872done 
     8873_ACEOF 
    75258874cat >>$CONFIG_STATUS <<\_ACEOF 
    75268875 
Note: See TracChangeset for help on using the changeset viewer.