/[jscoverage]/trunk/js/configure
ViewVC logotype

Diff of /trunk/js/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 511 by siliconforks, Mon Jan 11 05:17:18 2010 UTC revision 535 by siliconforks, Fri Apr 2 16:18:55 2010 UTC
# Line 5754  Line 5754 
5754    
5755      fi      fi
5756      cat >> confdefs.h <<\EOF      cat >> confdefs.h <<\EOF
5757    #define JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES 1
5758    EOF
5759    
5760        cat >> confdefs.h <<\EOF
5761  #define NSCAP_DISABLE_DEBUG_PTR_TYPES 1  #define NSCAP_DISABLE_DEBUG_PTR_TYPES 1
5762  EOF  EOF
5763    
# Line 5768  Line 5772 
5772      LIBS="$LIBS -lbe"      LIBS="$LIBS -lbe"
5773      if test "$COMPILE_ENVIRONMENT"; then      if test "$COMPILE_ENVIRONMENT"; then
5774          echo $ac_n "checking for main in -lbind""... $ac_c" 1>&6          echo $ac_n "checking for main in -lbind""... $ac_c" 1>&6
5775  echo "configure:5772: checking for main in -lbind" >&5  echo "configure:5776: checking for main in -lbind" >&5
5776  ac_lib_var=`echo bind'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bind'_'main | sed 'y%./+-%__p_%'`
5777  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5778    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5776  Line 5780 
5780    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5781  LIBS="-lbind  $LIBS"  LIBS="-lbind  $LIBS"
5782  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5783  #line 5780 "configure"  #line 5784 "configure"
5784  #include "confdefs.h"  #include "confdefs.h"
5785    
5786  int main() {  int main() {
5787  main()  main()
5788  ; return 0; }  ; return 0; }
5789  EOF  EOF
5790  if { (eval echo configure:5787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5791    rm -rf conftest*    rm -rf conftest*
5792    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5793  else  else
# Line 5804  Line 5808 
5808  fi  fi
5809    
5810          echo $ac_n "checking for main in -lzeta""... $ac_c" 1>&6          echo $ac_n "checking for main in -lzeta""... $ac_c" 1>&6
5811  echo "configure:5808: checking for main in -lzeta" >&5  echo "configure:5812: checking for main in -lzeta" >&5
5812  ac_lib_var=`echo zeta'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo zeta'_'main | sed 'y%./+-%__p_%'`
5813  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5814    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5812  Line 5816 
5816    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5817  LIBS="-lzeta  $LIBS"  LIBS="-lzeta  $LIBS"
5818  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5819  #line 5816 "configure"  #line 5820 "configure"
5820  #include "confdefs.h"  #include "confdefs.h"
5821    
5822  int main() {  int main() {
5823  main()  main()
5824  ; return 0; }  ; return 0; }
5825  EOF  EOF
5826  if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5827    rm -rf conftest*    rm -rf conftest*
5828    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5829  else  else
# Line 5891  Line 5895 
5895          echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."          echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."
5896      else      else
5897                  echo $ac_n "checking for -dead_strip option to ld""... $ac_c" 1>&6                  echo $ac_n "checking for -dead_strip option to ld""... $ac_c" 1>&6
5898  echo "configure:5895: checking for -dead_strip option to ld" >&5  echo "configure:5899: checking for -dead_strip option to ld" >&5
5899          _SAVE_LDFLAGS=$LDFLAGS          _SAVE_LDFLAGS=$LDFLAGS
5900          LDFLAGS="$LDFLAGS -Wl,-dead_strip"          LDFLAGS="$LDFLAGS -Wl,-dead_strip"
5901          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
5902  #line 5899 "configure"  #line 5903 "configure"
5903  #include "confdefs.h"  #include "confdefs.h"
5904    
5905  int main() {  int main() {
5906  return 0;  return 0;
5907  ; return 0; }  ; return 0; }
5908  EOF  EOF
5909  if { (eval echo configure:5906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5910    rm -rf conftest*    rm -rf conftest*
5911    _HAVE_DEAD_STRIP=1    _HAVE_DEAD_STRIP=1
5912  else  else
# Line 6430  Line 6434 
6434  do  do
6435  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6436  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6437  echo "configure:6434: checking for $ac_hdr" >&5  echo "configure:6438: checking for $ac_hdr" >&5
6438  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6439    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6440  else  else
6441    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6442  #line 6439 "configure"  #line 6443 "configure"
6443  #include "confdefs.h"  #include "confdefs.h"
6444  #include <$ac_hdr>  #include <$ac_hdr>
6445  EOF  EOF
6446  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6447  { (eval echo configure:6444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6448  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6449  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6450    rm -rf conftest*    rm -rf conftest*
# Line 6479  Line 6483 
6483  do  do
6484  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6485  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6486  echo "configure:6483: checking for $ac_hdr" >&5  echo "configure:6487: checking for $ac_hdr" >&5
6487  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6488    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6489  else  else
6490    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6491  #line 6488 "configure"  #line 6492 "configure"
6492  #include "confdefs.h"  #include "confdefs.h"
6493  #include <$ac_hdr>  #include <$ac_hdr>
6494  EOF  EOF
6495  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6496  { (eval echo configure:6493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6497  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6498  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6499    rm -rf conftest*    rm -rf conftest*
# Line 6723  Line 6727 
6727      _DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"      _DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"
6728    
6729      echo $ac_n "checking for __declspec(dllexport)""... $ac_c" 1>&6      echo $ac_n "checking for __declspec(dllexport)""... $ac_c" 1>&6
6730  echo "configure:6727: checking for __declspec(dllexport)" >&5  echo "configure:6731: checking for __declspec(dllexport)" >&5
6731  if eval "test \"`echo '$''{'ac_os2_declspec'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_os2_declspec'+set}'`\" = set"; then
6732    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6733  else  else
6734    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6735  #line 6732 "configure"  #line 6736 "configure"
6736  #include "confdefs.h"  #include "confdefs.h"
6737  __declspec(dllexport) void ac_os2_declspec(void) {}  __declspec(dllexport) void ac_os2_declspec(void) {}
6738  int main() {  int main() {
6739  return 0;  return 0;
6740  ; return 0; }  ; return 0; }
6741  EOF  EOF
6742  if { (eval echo configure:6739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6743    rm -rf conftest*    rm -rf conftest*
6744    ac_os2_declspec="yes"    ac_os2_declspec="yes"
6745  else  else
# Line 6855  Line 6859 
6859             _SAVE_LDFLAGS=$LDFLAGS             _SAVE_LDFLAGS=$LDFLAGS
6860             LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"             LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"
6861             cat > conftest.$ac_ext <<EOF             cat > conftest.$ac_ext <<EOF
6862  #line 6859 "configure"  #line 6863 "configure"
6863  #include "confdefs.h"  #include "confdefs.h"
6864  #include <stdio.h>  #include <stdio.h>
6865  int main() {  int main() {
6866  printf("Hello World\n");  printf("Hello World\n");
6867  ; return 0; }  ; return 0; }
6868  EOF  EOF
6869  if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6870    :    :
6871  else  else
6872    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 6891  Line 6895 
6895         CC_VERSION=`$CC -V 2>&1 | grep '^cc:' 2>/dev/null | $AWK -F\: '{ print $2 }'`         CC_VERSION=`$CC -V 2>&1 | grep '^cc:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
6896         CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'`         CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
6897         echo $ac_n "checking for Sun C++ compiler version >= 5.9""... $ac_c" 1>&6         echo $ac_n "checking for Sun C++ compiler version >= 5.9""... $ac_c" 1>&6
6898  echo "configure:6895: checking for Sun C++ compiler version >= 5.9" >&5  echo "configure:6899: checking for Sun C++ compiler version >= 5.9" >&5
6899                
6900         ac_ext=C         ac_ext=C
6901  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 6901  Line 6905 
6905  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
6906    
6907         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6908  #line 6905 "configure"  #line 6909 "configure"
6909  #include "confdefs.h"  #include "confdefs.h"
6910    
6911  int main() {  int main() {
# Line 6910  Line 6914 
6914             #endif             #endif
6915  ; return 0; }  ; return 0; }
6916  EOF  EOF
6917  if { (eval echo configure:6914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6918    rm -rf conftest*    rm -rf conftest*
6919    _BAD_COMPILER=    _BAD_COMPILER=
6920  else  else
# Line 7173  Line 7177 
7177  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
7178    
7179  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
7180  echo "configure:7177: checking for ANSI C header files" >&5  echo "configure:7181: checking for ANSI C header files" >&5
7181  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7182    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7183  else  else
7184    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7185  #line 7182 "configure"  #line 7186 "configure"
7186  #include "confdefs.h"  #include "confdefs.h"
7187  #include <stdlib.h>  #include <stdlib.h>
7188  #include <stdarg.h>  #include <stdarg.h>
# Line 7186  Line 7190 
7190  #include <float.h>  #include <float.h>
7191  EOF  EOF
7192  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7193  { (eval echo configure:7190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:7194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7194  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7195  if test -z "$ac_err"; then  if test -z "$ac_err"; then
7196    rm -rf conftest*    rm -rf conftest*
# Line 7203  Line 7207 
7207  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
7208    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7209  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7210  #line 7207 "configure"  #line 7211 "configure"
7211  #include "confdefs.h"  #include "confdefs.h"
7212  #include <string.h>  #include <string.h>
7213  EOF  EOF
# Line 7221  Line 7225 
7225  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
7226    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7227  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7228  #line 7225 "configure"  #line 7229 "configure"
7229  #include "confdefs.h"  #include "confdefs.h"
7230  #include <stdlib.h>  #include <stdlib.h>
7231  EOF  EOF
# Line 7242  Line 7246 
7246    :    :
7247  else  else
7248    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7249  #line 7246 "configure"  #line 7250 "configure"
7250  #include "confdefs.h"  #include "confdefs.h"
7251  #include <ctype.h>  #include <ctype.h>
7252  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 7253  Line 7257 
7257  exit (0); }  exit (0); }
7258    
7259  EOF  EOF
7260  if { (eval echo configure:7257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7261  then  then
7262    :    :
7263  else  else
# Line 7277  Line 7281 
7281  fi  fi
7282    
7283  echo $ac_n "checking for working const""... $ac_c" 1>&6  echo $ac_n "checking for working const""... $ac_c" 1>&6
7284  echo "configure:7281: checking for working const" >&5  echo "configure:7285: checking for working const" >&5
7285  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7286    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7287  else  else
7288    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7289  #line 7286 "configure"  #line 7290 "configure"
7290  #include "confdefs.h"  #include "confdefs.h"
7291    
7292  int main() {  int main() {
# Line 7331  Line 7335 
7335    
7336  ; return 0; }  ; return 0; }
7337  EOF  EOF
7338  if { (eval echo configure:7335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7339    rm -rf conftest*    rm -rf conftest*
7340    ac_cv_c_const=yes    ac_cv_c_const=yes
7341  else  else
# Line 7352  Line 7356 
7356  fi  fi
7357    
7358  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
7359  echo "configure:7356: checking for mode_t" >&5  echo "configure:7360: checking for mode_t" >&5
7360  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
7361    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7362  else  else
7363    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7364  #line 7361 "configure"  #line 7365 "configure"
7365  #include "confdefs.h"  #include "confdefs.h"
7366  #include <sys/types.h>  #include <sys/types.h>
7367  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7385  Line 7389 
7389  fi  fi
7390    
7391  echo $ac_n "checking for off_t""... $ac_c" 1>&6  echo $ac_n "checking for off_t""... $ac_c" 1>&6
7392  echo "configure:7389: checking for off_t" >&5  echo "configure:7393: checking for off_t" >&5
7393  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
7394    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7395  else  else
7396    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7397  #line 7394 "configure"  #line 7398 "configure"
7398  #include "confdefs.h"  #include "confdefs.h"
7399  #include <sys/types.h>  #include <sys/types.h>
7400  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7418  Line 7422 
7422  fi  fi
7423    
7424  echo $ac_n "checking for pid_t""... $ac_c" 1>&6  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7425  echo "configure:7422: checking for pid_t" >&5  echo "configure:7426: checking for pid_t" >&5
7426  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7427    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7428  else  else
7429    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7430  #line 7427 "configure"  #line 7431 "configure"
7431  #include "confdefs.h"  #include "confdefs.h"
7432  #include <sys/types.h>  #include <sys/types.h>
7433  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7451  Line 7455 
7455  fi  fi
7456    
7457  echo $ac_n "checking for size_t""... $ac_c" 1>&6  echo $ac_n "checking for size_t""... $ac_c" 1>&6
7458  echo "configure:7455: checking for size_t" >&5  echo "configure:7459: checking for size_t" >&5
7459  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
7460    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7461  else  else
7462    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7463  #line 7460 "configure"  #line 7464 "configure"
7464  #include "confdefs.h"  #include "confdefs.h"
7465  #include <sys/types.h>  #include <sys/types.h>
7466  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7484  Line 7488 
7488  fi  fi
7489    
7490  echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6  echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
7491  echo "configure:7488: checking for st_blksize in struct stat" >&5  echo "configure:7492: checking for st_blksize in struct stat" >&5
7492  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
7493    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7494  else  else
7495    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7496  #line 7493 "configure"  #line 7497 "configure"
7497  #include "confdefs.h"  #include "confdefs.h"
7498  #include <sys/types.h>  #include <sys/types.h>
7499  #include <sys/stat.h>  #include <sys/stat.h>
# Line 7497  Line 7501 
7501  struct stat s; s.st_blksize;  struct stat s; s.st_blksize;
7502  ; return 0; }  ; return 0; }
7503  EOF  EOF
7504  if { (eval echo configure:7501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7505    rm -rf conftest*    rm -rf conftest*
7506    ac_cv_struct_st_blksize=yes    ac_cv_struct_st_blksize=yes
7507  else  else
# Line 7518  Line 7522 
7522  fi  fi
7523    
7524  echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6  echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6
7525  echo "configure:7522: checking for siginfo_t" >&5  echo "configure:7526: checking for siginfo_t" >&5
7526  if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then
7527    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7528  else  else
7529    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7530  #line 7527 "configure"  #line 7531 "configure"
7531  #include "confdefs.h"  #include "confdefs.h"
7532  #define _POSIX_C_SOURCE 199506L  #define _POSIX_C_SOURCE 199506L
7533                    #include <signal.h>                    #include <signal.h>
# Line 7531  Line 7535 
7535  siginfo_t* info;  siginfo_t* info;
7536  ; return 0; }  ; return 0; }
7537  EOF  EOF
7538  if { (eval echo configure:7535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7539    rm -rf conftest*    rm -rf conftest*
7540    ac_cv_siginfo_t=true    ac_cv_siginfo_t=true
7541  else  else
# Line 7556  Line 7560 
7560    
7561  ac_safe=`echo "stdint.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "stdint.h" | sed 'y%./+-%__p_%'`
7562  echo $ac_n "checking for stdint.h""... $ac_c" 1>&6  echo $ac_n "checking for stdint.h""... $ac_c" 1>&6
7563  echo "configure:7560: checking for stdint.h" >&5  echo "configure:7564: checking for stdint.h" >&5
7564  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7565    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7566  else  else
7567    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7568  #line 7565 "configure"  #line 7569 "configure"
7569  #include "confdefs.h"  #include "confdefs.h"
7570  #include <stdint.h>  #include <stdint.h>
7571  EOF  EOF
7572  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7573  { (eval echo configure:7570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:7574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7574  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7575  if test -z "$ac_err"; then  if test -z "$ac_err"; then
7576    rm -rf conftest*    rm -rf conftest*
# Line 7595  Line 7599 
7599  else  else
7600                                            
7601  echo $ac_n "checking for a 1-byte type""... $ac_c" 1>&6  echo $ac_n "checking for a 1-byte type""... $ac_c" 1>&6
7602  echo "configure:7599: checking for a 1-byte type" >&5  echo "configure:7603: checking for a 1-byte type" >&5
7603  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT8_TYPE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT8_TYPE'+set}'`\" = set"; then
7604    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7605  else  else
# Line 7603  Line 7607 
7607    moz_cv_n_byte_type_JS_INT8_TYPE=    moz_cv_n_byte_type_JS_INT8_TYPE=
7608    for type in char; do    for type in char; do
7609      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7610  #line 7607 "configure"  #line 7611 "configure"
7611  #include "confdefs.h"  #include "confdefs.h"
7612    
7613  int main() {  int main() {
# Line 7613  Line 7617 
7617                                        
7618  ; return 0; }  ; return 0; }
7619  EOF  EOF
7620  if { (eval echo configure:7617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7621    rm -rf conftest*    rm -rf conftest*
7622    moz_cv_n_byte_type_JS_INT8_TYPE=$type; break    moz_cv_n_byte_type_JS_INT8_TYPE=$type; break
7623  else  else
# Line 7636  Line 7640 
7640    
7641            
7642  echo $ac_n "checking for a 2-byte type""... $ac_c" 1>&6  echo $ac_n "checking for a 2-byte type""... $ac_c" 1>&6
7643  echo "configure:7640: checking for a 2-byte type" >&5  echo "configure:7644: checking for a 2-byte type" >&5
7644  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT16_TYPE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT16_TYPE'+set}'`\" = set"; then
7645    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7646  else  else
# Line 7644  Line 7648 
7648    moz_cv_n_byte_type_JS_INT16_TYPE=    moz_cv_n_byte_type_JS_INT16_TYPE=
7649    for type in short int long; do    for type in short int long; do
7650      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7651  #line 7648 "configure"  #line 7652 "configure"
7652  #include "confdefs.h"  #include "confdefs.h"
7653    
7654  int main() {  int main() {
# Line 7654  Line 7658 
7658                                        
7659  ; return 0; }  ; return 0; }
7660  EOF  EOF
7661  if { (eval echo configure:7658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7662    rm -rf conftest*    rm -rf conftest*
7663    moz_cv_n_byte_type_JS_INT16_TYPE=$type; break    moz_cv_n_byte_type_JS_INT16_TYPE=$type; break
7664  else  else
# Line 7677  Line 7681 
7681    
7682            
7683  echo $ac_n "checking for a 4-byte type""... $ac_c" 1>&6  echo $ac_n "checking for a 4-byte type""... $ac_c" 1>&6
7684  echo "configure:7681: checking for a 4-byte type" >&5  echo "configure:7685: checking for a 4-byte type" >&5
7685  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT32_TYPE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT32_TYPE'+set}'`\" = set"; then
7686    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7687  else  else
# Line 7685  Line 7689 
7689    moz_cv_n_byte_type_JS_INT32_TYPE=    moz_cv_n_byte_type_JS_INT32_TYPE=
7690    for type in int long 'long long' short; do    for type in int long 'long long' short; do
7691      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7692  #line 7689 "configure"  #line 7693 "configure"
7693  #include "confdefs.h"  #include "confdefs.h"
7694    
7695  int main() {  int main() {
# Line 7695  Line 7699 
7699                                        
7700  ; return 0; }  ; return 0; }
7701  EOF  EOF
7702  if { (eval echo configure:7699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7703    rm -rf conftest*    rm -rf conftest*
7704    moz_cv_n_byte_type_JS_INT32_TYPE=$type; break    moz_cv_n_byte_type_JS_INT32_TYPE=$type; break
7705  else  else
# Line 7718  Line 7722 
7722    
7723            
7724  echo $ac_n "checking for a 8-byte type""... $ac_c" 1>&6  echo $ac_n "checking for a 8-byte type""... $ac_c" 1>&6
7725  echo "configure:7722: checking for a 8-byte type" >&5  echo "configure:7726: checking for a 8-byte type" >&5
7726  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT64_TYPE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INT64_TYPE'+set}'`\" = set"; then
7727    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7728  else  else
# Line 7726  Line 7730 
7730    moz_cv_n_byte_type_JS_INT64_TYPE=    moz_cv_n_byte_type_JS_INT64_TYPE=
7731    for type in int long 'long long'; do    for type in int long 'long long'; do
7732      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7733  #line 7730 "configure"  #line 7734 "configure"
7734  #include "confdefs.h"  #include "confdefs.h"
7735    
7736  int main() {  int main() {
# Line 7736  Line 7740 
7740                                        
7741  ; return 0; }  ; return 0; }
7742  EOF  EOF
7743  if { (eval echo configure:7740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7744    rm -rf conftest*    rm -rf conftest*
7745    moz_cv_n_byte_type_JS_INT64_TYPE=$type; break    moz_cv_n_byte_type_JS_INT64_TYPE=$type; break
7746  else  else
# Line 7759  Line 7763 
7763    
7764            
7765  echo $ac_n "checking for a sizeof (void *)-byte type""... $ac_c" 1>&6  echo $ac_n "checking for a sizeof (void *)-byte type""... $ac_c" 1>&6
7766  echo "configure:7763: checking for a sizeof (void *)-byte type" >&5  echo "configure:7767: checking for a sizeof (void *)-byte type" >&5
7767  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INTPTR_TYPE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_n_byte_type_JS_INTPTR_TYPE'+set}'`\" = set"; then
7768    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7769  else  else
# Line 7767  Line 7771 
7771    moz_cv_n_byte_type_JS_INTPTR_TYPE=    moz_cv_n_byte_type_JS_INTPTR_TYPE=
7772    for type in int long 'long long' short; do    for type in int long 'long long' short; do
7773      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7774  #line 7771 "configure"  #line 7775 "configure"
7775  #include "confdefs.h"  #include "confdefs.h"
7776    
7777  int main() {  int main() {
# Line 7777  Line 7781 
7781                                        
7782  ; return 0; }  ; return 0; }
7783  EOF  EOF
7784  if { (eval echo configure:7781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7785    rm -rf conftest*    rm -rf conftest*
7786    moz_cv_n_byte_type_JS_INTPTR_TYPE=$type; break    moz_cv_n_byte_type_JS_INTPTR_TYPE=$type; break
7787  else  else
# Line 7802  Line 7806 
7806    
7807    
7808  echo $ac_n "checking for the size of void*""... $ac_c" 1>&6  echo $ac_n "checking for the size of void*""... $ac_c" 1>&6
7809  echo "configure:7806: checking for the size of void*" >&5  echo "configure:7810: checking for the size of void*" >&5
7810  if eval "test \"`echo '$''{'moz_cv_size_of_JS_BYTES_PER_WORD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_size_of_JS_BYTES_PER_WORD'+set}'`\" = set"; then
7811    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7812  else  else
# Line 7810  Line 7814 
7814    moz_cv_size_of_JS_BYTES_PER_WORD=    moz_cv_size_of_JS_BYTES_PER_WORD=
7815    for size in 4 8; do    for size in 4 8; do
7816      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7817  #line 7814 "configure"  #line 7818 "configure"
7818  #include "confdefs.h"  #include "confdefs.h"
7819    
7820  int main() {  int main() {
# Line 7820  Line 7824 
7824                                        
7825  ; return 0; }  ; return 0; }
7826  EOF  EOF
7827  if { (eval echo configure:7824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7828    rm -rf conftest*    rm -rf conftest*
7829    moz_cv_size_of_JS_BYTES_PER_WORD=$size; break    moz_cv_size_of_JS_BYTES_PER_WORD=$size; break
7830  else  else
# Line 7857  Line 7861 
7861    
7862    
7863  echo $ac_n "checking for the alignment of void*""... $ac_c" 1>&6  echo $ac_n "checking for the alignment of void*""... $ac_c" 1>&6
7864  echo "configure:7861: checking for the alignment of void*" >&5  echo "configure:7865: checking for the alignment of void*" >&5
7865  if eval "test \"`echo '$''{'moz_cv_align_of_JS_ALIGN_OF_POINTER'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_align_of_JS_ALIGN_OF_POINTER'+set}'`\" = set"; then
7866    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7867  else  else
# Line 7865  Line 7869 
7869    moz_cv_align_of_JS_ALIGN_OF_POINTER=    moz_cv_align_of_JS_ALIGN_OF_POINTER=
7870    for align in 2 4 8 16; do    for align in 2 4 8 16; do
7871      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7872  #line 7869 "configure"  #line 7873 "configure"
7873  #include "confdefs.h"  #include "confdefs.h"
7874    
7875                       #include <stddef.h>                       #include <stddef.h>
# Line 7878  Line 7882 
7882                                        
7883  ; return 0; }  ; return 0; }
7884  EOF  EOF
7885  if { (eval echo configure:7882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7886    rm -rf conftest*    rm -rf conftest*
7887    moz_cv_align_of_JS_ALIGN_OF_POINTER=$align; break    moz_cv_align_of_JS_ALIGN_OF_POINTER=$align; break
7888  else  else
# Line 7901  Line 7905 
7905    
7906    
7907  echo $ac_n "checking for the size of double""... $ac_c" 1>&6  echo $ac_n "checking for the size of double""... $ac_c" 1>&6
7908  echo "configure:7905: checking for the size of double" >&5  echo "configure:7909: checking for the size of double" >&5
7909  if eval "test \"`echo '$''{'moz_cv_size_of_JS_BYTES_PER_DOUBLE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'moz_cv_size_of_JS_BYTES_PER_DOUBLE'+set}'`\" = set"; then
7910    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7911  else  else
# Line 7909  Line 7913 
7913    moz_cv_size_of_JS_BYTES_PER_DOUBLE=    moz_cv_size_of_JS_BYTES_PER_DOUBLE=
7914    for size in 6 8 10 12 14; do    for size in 6 8 10 12 14; do
7915      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7916  #line 7913 "configure"  #line 7917 "configure"
7917  #include "confdefs.h"  #include "confdefs.h"
7918    
7919  int main() {  int main() {
# Line 7919  Line 7923 
7923                                        
7924  ; return 0; }  ; return 0; }
7925  EOF  EOF
7926  if { (eval echo configure:7923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7927    rm -rf conftest*    rm -rf conftest*
7928    moz_cv_size_of_JS_BYTES_PER_DOUBLE=$size; break    moz_cv_size_of_JS_BYTES_PER_DOUBLE=$size; break
7929  else  else
# Line 7942  Line 7946 
7946    
7947    
7948  echo $ac_n "checking for int16_t""... $ac_c" 1>&6  echo $ac_n "checking for int16_t""... $ac_c" 1>&6
7949  echo "configure:7946: checking for int16_t" >&5  echo "configure:7950: checking for int16_t" >&5
7950  if eval "test \"`echo '$''{'ac_cv_int16_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int16_t'+set}'`\" = set"; then
7951    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7952  else  else
7953    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7954  #line 7951 "configure"  #line 7955 "configure"
7955  #include "confdefs.h"  #include "confdefs.h"
7956  #include <stdio.h>  #include <stdio.h>
7957                    #include <sys/types.h>                    #include <sys/types.h>
# Line 7955  Line 7959 
7959  int16_t foo = 0;  int16_t foo = 0;
7960  ; return 0; }  ; return 0; }
7961  EOF  EOF
7962  if { (eval echo configure:7959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7963    rm -rf conftest*    rm -rf conftest*
7964    ac_cv_int16_t=true    ac_cv_int16_t=true
7965  else  else
# Line 7977  Line 7981 
7981    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7982  fi  fi
7983  echo $ac_n "checking for int32_t""... $ac_c" 1>&6  echo $ac_n "checking for int32_t""... $ac_c" 1>&6
7984  echo "configure:7981: checking for int32_t" >&5  echo "configure:7985: checking for int32_t" >&5
7985  if eval "test \"`echo '$''{'ac_cv_int32_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int32_t'+set}'`\" = set"; then
7986    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7987  else  else
7988    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7989  #line 7986 "configure"  #line 7990 "configure"
7990  #include "confdefs.h"  #include "confdefs.h"
7991  #include <stdio.h>  #include <stdio.h>
7992                    #include <sys/types.h>                    #include <sys/types.h>
# Line 7990  Line 7994 
7994  int32_t foo = 0;  int32_t foo = 0;
7995  ; return 0; }  ; return 0; }
7996  EOF  EOF
7997  if { (eval echo configure:7994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7998    rm -rf conftest*    rm -rf conftest*
7999    ac_cv_int32_t=true    ac_cv_int32_t=true
8000  else  else
# Line 8012  Line 8016 
8016    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8017  fi  fi
8018  echo $ac_n "checking for int64_t""... $ac_c" 1>&6  echo $ac_n "checking for int64_t""... $ac_c" 1>&6
8019  echo "configure:8016: checking for int64_t" >&5  echo "configure:8020: checking for int64_t" >&5
8020  if eval "test \"`echo '$''{'ac_cv_int64_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int64_t'+set}'`\" = set"; then
8021    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8022  else  else
8023    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8024  #line 8021 "configure"  #line 8025 "configure"
8025  #include "confdefs.h"  #include "confdefs.h"
8026  #include <stdio.h>  #include <stdio.h>
8027                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8025  Line 8029 
8029  int64_t foo = 0;  int64_t foo = 0;
8030  ; return 0; }  ; return 0; }
8031  EOF  EOF
8032  if { (eval echo configure:8029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8033    rm -rf conftest*    rm -rf conftest*
8034    ac_cv_int64_t=true    ac_cv_int64_t=true
8035  else  else
# Line 8047  Line 8051 
8051    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8052  fi  fi
8053  echo $ac_n "checking for int64""... $ac_c" 1>&6  echo $ac_n "checking for int64""... $ac_c" 1>&6
8054  echo "configure:8051: checking for int64" >&5  echo "configure:8055: checking for int64" >&5
8055  if eval "test \"`echo '$''{'ac_cv_int64'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int64'+set}'`\" = set"; then
8056    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8057  else  else
8058    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8059  #line 8056 "configure"  #line 8060 "configure"
8060  #include "confdefs.h"  #include "confdefs.h"
8061  #include <stdio.h>  #include <stdio.h>
8062                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8060  Line 8064 
8064  int64 foo = 0;  int64 foo = 0;
8065  ; return 0; }  ; return 0; }
8066  EOF  EOF
8067  if { (eval echo configure:8064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8068    rm -rf conftest*    rm -rf conftest*
8069    ac_cv_int64=true    ac_cv_int64=true
8070  else  else
# Line 8082  Line 8086 
8086    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8087  fi  fi
8088  echo $ac_n "checking for uint""... $ac_c" 1>&6  echo $ac_n "checking for uint""... $ac_c" 1>&6
8089  echo "configure:8086: checking for uint" >&5  echo "configure:8090: checking for uint" >&5
8090  if eval "test \"`echo '$''{'ac_cv_uint'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_uint'+set}'`\" = set"; then
8091    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8092  else  else
8093    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8094  #line 8091 "configure"  #line 8095 "configure"
8095  #include "confdefs.h"  #include "confdefs.h"
8096  #include <stdio.h>  #include <stdio.h>
8097                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8095  Line 8099 
8099  uint foo = 0;  uint foo = 0;
8100  ; return 0; }  ; return 0; }
8101  EOF  EOF
8102  if { (eval echo configure:8099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8103    rm -rf conftest*    rm -rf conftest*
8104    ac_cv_uint=true    ac_cv_uint=true
8105  else  else
# Line 8117  Line 8121 
8121    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8122  fi  fi
8123  echo $ac_n "checking for uint_t""... $ac_c" 1>&6  echo $ac_n "checking for uint_t""... $ac_c" 1>&6
8124  echo "configure:8121: checking for uint_t" >&5  echo "configure:8125: checking for uint_t" >&5
8125  if eval "test \"`echo '$''{'ac_cv_uint_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_uint_t'+set}'`\" = set"; then
8126    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8127  else  else
8128    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8129  #line 8126 "configure"  #line 8130 "configure"
8130  #include "confdefs.h"  #include "confdefs.h"
8131  #include <stdio.h>  #include <stdio.h>
8132                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8130  Line 8134 
8134  uint_t foo = 0;  uint_t foo = 0;
8135  ; return 0; }  ; return 0; }
8136  EOF  EOF
8137  if { (eval echo configure:8134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8138    rm -rf conftest*    rm -rf conftest*
8139    ac_cv_uint_t=true    ac_cv_uint_t=true
8140  else  else
# Line 8152  Line 8156 
8156    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8157  fi  fi
8158  echo $ac_n "checking for uint16_t""... $ac_c" 1>&6  echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
8159  echo "configure:8156: checking for uint16_t" >&5  echo "configure:8160: checking for uint16_t" >&5
8160  if eval "test \"`echo '$''{'ac_cv_uint16_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_uint16_t'+set}'`\" = set"; then
8161    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8162  else  else
8163    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8164  #line 8161 "configure"  #line 8165 "configure"
8165  #include "confdefs.h"  #include "confdefs.h"
8166  #include <stdio.h>  #include <stdio.h>
8167                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8165  Line 8169 
8169  uint16_t foo = 0;  uint16_t foo = 0;
8170  ; return 0; }  ; return 0; }
8171  EOF  EOF
8172  if { (eval echo configure:8169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8173    rm -rf conftest*    rm -rf conftest*
8174    ac_cv_uint16_t=true    ac_cv_uint16_t=true
8175  else  else
# Line 8196  Line 8200 
8200    
8201    
8202  echo $ac_n "checking for uname.domainname""... $ac_c" 1>&6  echo $ac_n "checking for uname.domainname""... $ac_c" 1>&6
8203  echo "configure:8200: checking for uname.domainname" >&5  echo "configure:8204: checking for uname.domainname" >&5
8204  if eval "test \"`echo '$''{'ac_cv_have_uname_domainname_field'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_uname_domainname_field'+set}'`\" = set"; then
8205    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8206  else  else
8207    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8208  #line 8205 "configure"  #line 8209 "configure"
8209  #include "confdefs.h"  #include "confdefs.h"
8210  #include <sys/utsname.h>  #include <sys/utsname.h>
8211  int main() {  int main() {
# Line 8209  Line 8213 
8213              (void)uname(res);  if (res != 0) { domain = res->domainname; }              (void)uname(res);  if (res != 0) { domain = res->domainname; }
8214  ; return 0; }  ; return 0; }
8215  EOF  EOF
8216  if { (eval echo configure:8213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8217    rm -rf conftest*    rm -rf conftest*
8218    ac_cv_have_uname_domainname_field=true    ac_cv_have_uname_domainname_field=true
8219  else  else
# Line 8233  Line 8237 
8237  fi  fi
8238    
8239  echo $ac_n "checking for uname.__domainname""... $ac_c" 1>&6  echo $ac_n "checking for uname.__domainname""... $ac_c" 1>&6
8240  echo "configure:8237: checking for uname.__domainname" >&5  echo "configure:8241: checking for uname.__domainname" >&5
8241  if eval "test \"`echo '$''{'ac_cv_have_uname_us_domainname_field'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_uname_us_domainname_field'+set}'`\" = set"; then
8242    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8243  else  else
8244    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8245  #line 8242 "configure"  #line 8246 "configure"
8246  #include "confdefs.h"  #include "confdefs.h"
8247  #include <sys/utsname.h>  #include <sys/utsname.h>
8248  int main() {  int main() {
# Line 8246  Line 8250 
8250              (void)uname(res);  if (res != 0) { domain = res->__domainname; }              (void)uname(res);  if (res != 0) { domain = res->__domainname; }
8251  ; return 0; }  ; return 0; }
8252  EOF  EOF
8253  if { (eval echo configure:8250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8254    rm -rf conftest*    rm -rf conftest*
8255    ac_cv_have_uname_us_domainname_field=true    ac_cv_have_uname_us_domainname_field=true
8256  else  else
# Line 8279  Line 8283 
8283    
8284  if test "$GNU_CC"; then  if test "$GNU_CC"; then
8285    echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6    echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
8286  echo "configure:8283: checking for visibility(hidden) attribute" >&5  echo "configure:8287: checking for visibility(hidden) attribute" >&5
8287  if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
8288    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8289  else  else
# Line 8304  Line 8308 
8308    
8309    
8310      echo $ac_n "checking for visibility(default) attribute""... $ac_c" 1>&6      echo $ac_n "checking for visibility(default) attribute""... $ac_c" 1>&6
8311  echo "configure:8308: checking for visibility(default) attribute" >&5  echo "configure:8312: checking for visibility(default) attribute" >&5
8312  if eval "test \"`echo '$''{'ac_cv_visibility_default'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_visibility_default'+set}'`\" = set"; then
8313    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8314  else  else
# Line 8329  Line 8333 
8333    
8334    
8335        echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6        echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
8336  echo "configure:8333: checking for visibility pragma support" >&5  echo "configure:8337: checking for visibility pragma support" >&5
8337  if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
8338    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8339  else  else
# Line 8354  Line 8358 
8358  echo "$ac_t""$ac_cv_visibility_pragma" 1>&6  echo "$ac_t""$ac_cv_visibility_pragma" 1>&6
8359        if test "$ac_cv_visibility_pragma" = "yes"; then        if test "$ac_cv_visibility_pragma" = "yes"; then
8360          echo $ac_n "checking For gcc visibility bug with class-level attributes (GCC bug 26905)""... $ac_c" 1>&6          echo $ac_n "checking For gcc visibility bug with class-level attributes (GCC bug 26905)""... $ac_c" 1>&6
8361  echo "configure:8358: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5  echo "configure:8362: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5
8362  if eval "test \"`echo '$''{'ac_cv_have_visibility_class_bug'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_visibility_class_bug'+set}'`\" = set"; then
8363    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8364  else  else
# Line 8382  Line 8386 
8386  echo "$ac_t""$ac_cv_have_visibility_class_bug" 1>&6  echo "$ac_t""$ac_cv_have_visibility_class_bug" 1>&6
8387    
8388          echo $ac_n "checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)""... $ac_c" 1>&6          echo $ac_n "checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)""... $ac_c" 1>&6
8389  echo "configure:8386: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5  echo "configure:8390: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5
8390  if eval "test \"`echo '$''{'ac_cv_have_visibility_builtin_bug'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_visibility_builtin_bug'+set}'`\" = set"; then
8391    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8392  else  else
# Line 8435  Line 8439 
8439  do  do
8440  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8441  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
8442  echo "configure:8439: checking for $ac_hdr that defines DIR" >&5  echo "configure:8443: checking for $ac_hdr that defines DIR" >&5
8443  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
8444    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8445  else  else
8446    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8447  #line 8444 "configure"  #line 8448 "configure"
8448  #include "confdefs.h"  #include "confdefs.h"
8449  #include <sys/types.h>  #include <sys/types.h>
8450  #include <$ac_hdr>  #include <$ac_hdr>
# Line 8448  Line 8452 
8452  DIR *dirp = 0;  DIR *dirp = 0;
8453  ; return 0; }  ; return 0; }
8454  EOF  EOF
8455  if { (eval echo configure:8452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8456    rm -rf conftest*    rm -rf conftest*
8457    eval "ac_cv_header_dirent_$ac_safe=yes"    eval "ac_cv_header_dirent_$ac_safe=yes"
8458  else  else
# Line 8473  Line 8477 
8477  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8478  if test $ac_header_dirent = dirent.h; then  if test $ac_header_dirent = dirent.h; then
8479  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
8480  echo "configure:8477: checking for opendir in -ldir" >&5  echo "configure:8481: checking for opendir in -ldir" >&5
8481  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
8482  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8483    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8481  Line 8485 
8485    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
8486  LIBS="-ldir  $LIBS"  LIBS="-ldir  $LIBS"
8487  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
8488  #line 8485 "configure"  #line 8489 "configure"
8489  #include "confdefs.h"  #include "confdefs.h"
8490  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8491  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 8492  Line 8496 
8496  opendir()  opendir()
8497  ; return 0; }  ; return 0; }
8498  EOF  EOF
8499  if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8500    rm -rf conftest*    rm -rf conftest*
8501    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
8502  else  else
# Line 8514  Line 8518 
8518    
8519  else  else
8520  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
8521  echo "configure:8518: checking for opendir in -lx" >&5  echo "configure:8522: checking for opendir in -lx" >&5
8522  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
8523  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8524    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8522  Line 8526 
8526    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
8527  LIBS="-lx  $LIBS"  LIBS="-lx  $LIBS"
8528  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
8529  #line 8526 "configure"  #line 8530 "configure"
8530  #include "confdefs.h"  #include "confdefs.h"
8531  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8532  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 8533  Line 8537 
8537  opendir()  opendir()
8538  ; return 0; }  ; return 0; }
8539  EOF  EOF
8540  if { (eval echo configure:8537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8541    rm -rf conftest*    rm -rf conftest*
8542    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
8543  else  else
# Line 8565  Line 8569 
8569  do  do
8570  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8571  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8572  echo "configure:8569: checking for $ac_hdr" >&5  echo "configure:8573: checking for $ac_hdr" >&5
8573  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8574    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8575  else  else
8576    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8577  #line 8574 "configure"  #line 8578 "configure"
8578  #include "confdefs.h"  #include "confdefs.h"
8579  #include <$ac_hdr>  #include <$ac_hdr>
8580  EOF  EOF
8581  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8582  { (eval echo configure:8579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8583  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8584  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8585    rm -rf conftest*    rm -rf conftest*
# Line 8605  Line 8609 
8609  do  do
8610  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8611  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8612  echo "configure:8609: checking for $ac_hdr" >&5  echo "configure:8613: checking for $ac_hdr" >&5
8613  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8614    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8615  else  else
8616    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8617  #line 8614 "configure"  #line 8618 "configure"
8618  #include "confdefs.h"  #include "confdefs.h"
8619  #include <$ac_hdr>  #include <$ac_hdr>
8620  EOF  EOF
8621  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8622  { (eval echo configure:8619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8623  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8624  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8625    rm -rf conftest*    rm -rf conftest*
# Line 8645  Line 8649 
8649  do  do
8650  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8651  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8652  echo "configure:8649: checking for $ac_hdr" >&5  echo "configure:8653: checking for $ac_hdr" >&5
8653  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8654    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8655  else  else
8656    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8657  #line 8654 "configure"  #line 8658 "configure"
8658  #include "confdefs.h"  #include "confdefs.h"
8659  #include <$ac_hdr>  #include <$ac_hdr>
8660  EOF  EOF
8661  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8662  { (eval echo configure:8659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8663  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8664  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8665    rm -rf conftest*    rm -rf conftest*
# Line 8685  Line 8689 
8689  do  do
8690  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8691  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8692  echo "configure:8689: checking for $ac_hdr" >&5  echo "configure:8693: checking for $ac_hdr" >&5
8693  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8694    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8695  else  else
8696    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8697  #line 8694 "configure"  #line 8698 "configure"
8698  #include "confdefs.h"  #include "confdefs.h"
8699  #include <$ac_hdr>  #include <$ac_hdr>
8700  EOF  EOF
8701  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8702  { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8703  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8704  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8705    rm -rf conftest*    rm -rf conftest*
# Line 8725  Line 8729 
8729  do  do
8730  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8731  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8732  echo "configure:8729: checking for $ac_hdr" >&5  echo "configure:8733: checking for $ac_hdr" >&5
8733  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8734    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8735  else  else
8736    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8737  #line 8734 "configure"  #line 8738 "configure"
8738  #include "confdefs.h"  #include "confdefs.h"
8739  #include <$ac_hdr>  #include <$ac_hdr>
8740  EOF  EOF
8741  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8742  { (eval echo configure:8739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8743  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8744  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8745    rm -rf conftest*    rm -rf conftest*
# Line 8766  Line 8770 
8770  do  do
8771  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8772  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8773  echo "configure:8770: checking for $ac_hdr" >&5  echo "configure:8774: checking for $ac_hdr" >&5
8774  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8775    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8776  else  else
8777    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8778  #line 8775 "configure"  #line 8779 "configure"
8779  #include "confdefs.h"  #include "confdefs.h"
8780  #include <$ac_hdr>  #include <$ac_hdr>
8781  EOF  EOF
8782  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8783  { (eval echo configure:8780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8784  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8785  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8786    rm -rf conftest*    rm -rf conftest*
# Line 8807  Line 8811 
8811  do  do
8812  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8813  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8814  echo "configure:8811: checking for $ac_hdr" >&5  echo "configure:8815: checking for $ac_hdr" >&5
8815  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8816    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8817  else  else
8818    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8819  #line 8816 "configure"  #line 8820 "configure"
8820  #include "confdefs.h"  #include "confdefs.h"
8821  #include <$ac_hdr>  #include <$ac_hdr>
8822  EOF  EOF
8823  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8824  { (eval echo configure:8821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8825  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8826  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8827    rm -rf conftest*    rm -rf conftest*
# Line 8854  Line 8858 
8858  NEW_H=new.h  NEW_H=new.h
8859  ac_safe=`echo "new" | sed 'y%./+-%__p_%'`  ac_safe=`echo "new" | sed 'y%./+-%__p_%'`
8860  echo $ac_n "checking for new""... $ac_c" 1>&6  echo $ac_n "checking for new""... $ac_c" 1>&6
8861  echo "configure:8858: checking for new" >&5  echo "configure:8862: checking for new" >&5
8862  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8863    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8864  else  else
8865    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8866  #line 8863 "configure"  #line 8867 "configure"
8867  #include "confdefs.h"  #include "confdefs.h"
8868  #include <new>  #include <new>
8869  EOF  EOF
8870  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8871  { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8872  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8873  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8874    rm -rf conftest*    rm -rf conftest*
# Line 8906  Line 8910 
8910  if test "x$enable_dtrace" = "xyes"; then  if test "x$enable_dtrace" = "xyes"; then
8911    ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'`
8912  echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6  echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6
8913  echo "configure:8910: checking for sys/sdt.h" >&5  echo "configure:8914: checking for sys/sdt.h" >&5
8914  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8915    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8916  else  else
8917    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8918  #line 8915 "configure"  #line 8919 "configure"
8919  #include "confdefs.h"  #include "confdefs.h"
8920  #include <sys/sdt.h>  #include <sys/sdt.h>
8921  EOF  EOF
8922  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8923  { (eval echo configure:8920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8924  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8925  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8926    rm -rf conftest*    rm -rf conftest*
# Line 8956  Line 8960 
8960  do  do
8961  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8962  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8963  echo "configure:8960: checking for $ac_hdr" >&5  echo "configure:8964: checking for $ac_hdr" >&5
8964  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8965    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8966  else  else
8967    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8968  #line 8965 "configure"  #line 8969 "configure"
8969  #include "confdefs.h"  #include "confdefs.h"
8970  #include <$ac_hdr>  #include <$ac_hdr>
8971  EOF  EOF
8972  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8973  { (eval echo configure:8970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8974  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8975  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8976    rm -rf conftest*    rm -rf conftest*
# Line 9000  Line 9004 
9004          ;;          ;;
9005  *)  *)
9006          echo $ac_n "checking for gethostbyname_r in -lc_r""... $ac_c" 1>&6          echo $ac_n "checking for gethostbyname_r in -lc_r""... $ac_c" 1>&6
9007  echo "configure:9004: checking for gethostbyname_r in -lc_r" >&5  echo "configure:9008: checking for gethostbyname_r in -lc_r" >&5
9008  ac_lib_var=`echo c_r'_'gethostbyname_r | sed 'y%./+-%__p_%'`  ac_lib_var=`echo c_r'_'gethostbyname_r | sed 'y%./+-%__p_%'`
9009  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9010    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9008  Line 9012 
9012    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9013  LIBS="-lc_r  $LIBS"  LIBS="-lc_r  $LIBS"
9014  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9015  #line 9012 "configure"  #line 9016 "configure"
9016  #include "confdefs.h"  #include "confdefs.h"
9017  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9018  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 9019  Line 9023 
9023  gethostbyname_r()  gethostbyname_r()
9024  ; return 0; }  ; return 0; }
9025  EOF  EOF
9026  if { (eval echo configure:9023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9027    rm -rf conftest*    rm -rf conftest*
9028    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9029  else  else
# Line 9056  Line 9060 
9060      ;;      ;;
9061  *)  *)
9062      echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6      echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6
9063  echo "configure:9060: checking for atan in -lm" >&5  echo "configure:9064: checking for atan in -lm" >&5
9064  ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'`
9065  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9066    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9064  Line 9068 
9068    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9069  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
9070  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9071  #line 9068 "configure"  #line 9072 "configure"
9072  #include "confdefs.h"  #include "confdefs.h"
9073  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9074  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 9075  Line 9079 
9079  atan()  atan()
9080  ; return 0; }  ; return 0; }
9081  EOF  EOF
9082  if { (eval echo configure:9079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9083    rm -rf conftest*    rm -rf conftest*
9084    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9085  else  else
# Line 9103  Line 9107 
9107  fi  fi
9108    
9109      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
9110  echo "configure:9107: checking for dlopen in -ldl" >&5  echo "configure:9111: checking for dlopen in -ldl" >&5
9111  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
9112  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9113    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9111  Line 9115 
9115    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9116  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
9117  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9118  #line 9115 "configure"  #line 9119 "configure"
9119  #include "confdefs.h"  #include "confdefs.h"
9120  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9121  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 9122  Line 9126 
9126  dlopen()  dlopen()
9127  ; return 0; }  ; return 0; }
9128  EOF  EOF
9129  if { (eval echo configure:9126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9130    rm -rf conftest*    rm -rf conftest*
9131    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9132  else  else
# Line 9139  Line 9143 
9143    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
9144    ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
9145  echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6  echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
9146  echo "configure:9143: checking for dlfcn.h" >&5  echo "configure:9147: checking for dlfcn.h" >&5
9147  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9148    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9149  else  else
9150    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9151  #line 9148 "configure"  #line 9152 "configure"
9152  #include "confdefs.h"  #include "confdefs.h"
9153  #include <dlfcn.h>  #include <dlfcn.h>
9154  EOF  EOF
9155  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9156  { (eval echo configure:9153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:9157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9157  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9158  if test -z "$ac_err"; then  if test -z "$ac_err"; then
9159    rm -rf conftest*    rm -rf conftest*
# Line 9186  Line 9190 
9190  for ac_func in dladdr  for ac_func in dladdr
9191  do  do
9192  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9193  echo "configure:9190: checking for $ac_func" >&5  echo "configure:9194: checking for $ac_func" >&5
9194  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9195    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9196  else  else
9197    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9198  #line 9195 "configure"  #line 9199 "configure"
9199  #include "confdefs.h"  #include "confdefs.h"
9200  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9201      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 9214  Line 9218 
9218    
9219  ; return 0; }  ; return 0; }
9220  EOF  EOF
9221  if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9222    rm -rf conftest*    rm -rf conftest*
9223    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
9224  else  else
# Line 9245  Line 9249 
9249      case $target in      case $target in
9250      *-aix*)      *-aix*)
9251          echo $ac_n "checking for demangle in -lC_r""... $ac_c" 1>&6          echo $ac_n "checking for demangle in -lC_r""... $ac_c" 1>&6
9252  echo "configure:9249: checking for demangle in -lC_r" >&5  echo "configure:9253: checking for demangle in -lC_r" >&5
9253  ac_lib_var=`echo C_r'_'demangle | sed 'y%./+-%__p_%'`  ac_lib_var=`echo C_r'_'demangle | sed 'y%./+-%__p_%'`
9254  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9255    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9253  Line 9257 
9257    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9258  LIBS="-lC_r  $LIBS"  LIBS="-lC_r  $LIBS"
9259  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9260  #line 9257 "configure"  #line 9261 "configure"
9261  #include "confdefs.h"  #include "confdefs.h"
9262  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9263  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 9264  Line 9268 
9268  demangle()  demangle()
9269  ; return 0; }  ; return 0; }
9270  EOF  EOF
9271  if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9272    rm -rf conftest*    rm -rf conftest*
9273    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9274  else  else
# Line 9294  Line 9298 
9298          ;;          ;;
9299       *)       *)
9300          echo $ac_n "checking for demangle in -lC""... $ac_c" 1>&6          echo $ac_n "checking for demangle in -lC""... $ac_c" 1>&6
9301  echo "configure:9298: checking for demangle in -lC" >&5  echo "configure:9302: checking for demangle in -lC" >&5
9302  ac_lib_var=`echo C'_'demangle | sed 'y%./+-%__p_%'`  ac_lib_var=`echo C'_'demangle | sed 'y%./+-%__p_%'`
9303  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9304    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9302  Line 9306 
9306    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9307  LIBS="-lC  $LIBS"  LIBS="-lC  $LIBS"
9308  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9309  #line 9306 "configure"  #line 9310 "configure"
9310  #include "confdefs.h"  #include "confdefs.h"
9311  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9312  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 9313  Line 9317 
9317  demangle()  demangle()
9318  ; return 0; }  ; return 0; }
9319  EOF  EOF
9320  if { (eval echo configure:9317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9321    rm -rf conftest*    rm -rf conftest*
9322    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9323  else  else
# Line 9344  Line 9348 
9348       esac       esac
9349  fi  fi
9350  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
9351  echo "configure:9348: checking for socket in -lsocket" >&5  echo "configure:9352: checking for socket in -lsocket" >&5
9352  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
9353  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9354    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9352  Line 9356 
9356    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9357  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
9358  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9359  #line 9356 "configure"  #line 9360 "configure"
9360  #include "confdefs.h"  #include "confdefs.h"
9361  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9362  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 9363  Line 9367 
9367  socket()  socket()
9368  ; return 0; }  ; return 0; }
9369  EOF  EOF
9370  if { (eval echo configure:9367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9371    rm -rf conftest*    rm -rf conftest*
9372    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9373  else  else
# Line 9398  Line 9402 
9402  *)  *)
9403            
9404  echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6  echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
9405  echo "configure:9402: checking for pthread_create in -lpthreads" >&5  echo "configure:9406: checking for pthread_create in -lpthreads" >&5
9406  echo "  echo "
9407      #include <pthread.h>      #include <pthread.h>
9408      #include <stdlib.h>      #include <stdlib.h>
# Line 9421  Line 9425 
9425          echo "$ac_t""no" 1>&6          echo "$ac_t""no" 1>&6
9426                    
9427  echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6  echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
9428  echo "configure:9425: checking for pthread_create in -lpthread" >&5  echo "configure:9429: checking for pthread_create in -lpthread" >&5
9429  echo "  echo "
9430      #include <pthread.h>      #include <pthread.h>
9431      #include <stdlib.h>      #include <stdlib.h>
# Line 9444  Line 9448 
9448          echo "$ac_t""no" 1>&6          echo "$ac_t""no" 1>&6
9449                    
9450  echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6  echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
9451  echo "configure:9448: checking for pthread_create in -lc_r" >&5  echo "configure:9452: checking for pthread_create in -lc_r" >&5
9452  echo "  echo "
9453      #include <pthread.h>      #include <pthread.h>
9454      #include <stdlib.h>      #include <stdlib.h>
# Line 9467  Line 9471 
9471          echo "$ac_t""no" 1>&6          echo "$ac_t""no" 1>&6
9472                    
9473  echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6  echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
9474  echo "configure:9471: checking for pthread_create in -lc" >&5  echo "configure:9475: checking for pthread_create in -lc" >&5
9475  echo "  echo "
9476      #include <pthread.h>      #include <pthread.h>
9477      #include <stdlib.h>      #include <stdlib.h>
# Line 9526  Line 9530 
9530                                  rm -f conftest*                                  rm -f conftest*
9531          ac_cv_have_dash_pthread=no          ac_cv_have_dash_pthread=no
9532          echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6          echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
9533  echo "configure:9530: checking whether ${CC-cc} accepts -pthread" >&5  echo "configure:9534: checking whether ${CC-cc} accepts -pthread" >&5
9534          echo 'int main() { return 0; }' | cat > conftest.c          echo 'int main() { return 0; }' | cat > conftest.c
9535          ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1          ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
9536          if test $? -eq 0; then          if test $? -eq 0; then
# Line 9549  Line 9553 
9553                              ac_cv_have_dash_pthreads=no                              ac_cv_have_dash_pthreads=no
9554      if test "$ac_cv_have_dash_pthread" = "no"; then      if test "$ac_cv_have_dash_pthread" = "no"; then
9555              echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6              echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
9556  echo "configure:9553: checking whether ${CC-cc} accepts -pthreads" >&5  echo "configure:9557: checking whether ${CC-cc} accepts -pthreads" >&5
9557          echo 'int main() { return 0; }' | cat > conftest.c          echo 'int main() { return 0; }' | cat > conftest.c
9558              ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1              ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
9559          if test $? -eq 0; then          if test $? -eq 0; then
# Line 9644  Line 9648 
9648  fi  fi
9649    
9650  echo $ac_n "checking whether mmap() sees write()s""... $ac_c" 1>&6  echo $ac_n "checking whether mmap() sees write()s""... $ac_c" 1>&6
9651  echo "configure:9648: checking whether mmap() sees write()s" >&5  echo "configure:9652: checking whether mmap() sees write()s" >&5
9652    
9653    
9654  mmap_test_prog='  mmap_test_prog='
# Line 9683  Line 9687 
9687    result="yes"    result="yes"
9688  else  else
9689    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9690  #line 9687 "configure"  #line 9691 "configure"
9691  #include "confdefs.h"  #include "confdefs.h"
9692  $mmap_test_prog  $mmap_test_prog
9693  EOF  EOF
9694  if { (eval echo configure:9691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:9695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9695  then  then
9696    result="yes"    result="yes"
9697  else  else
# Line 9712  Line 9716 
9716    
9717  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
9718      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9719  echo "configure:9716: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:9720: checking whether ${CC-cc} needs -traditional" >&5
9720  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9721    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9722  else  else
9723      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
9724    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9725  #line 9722 "configure"  #line 9726 "configure"
9726  #include "confdefs.h"  #include "confdefs.h"
9727  #include <sgtty.h>  #include <sgtty.h>
9728  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 9736  Line 9740 
9740    
9741    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
9742      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
9743  #line 9740 "configure"  #line 9744 "configure"
9744  #include "confdefs.h"  #include "confdefs.h"
9745  #include <termio.h>  #include <termio.h>
9746  Autoconf TCGETA  Autoconf TCGETA
# Line 9758  Line 9762 
9762  fi  fi
9763    
9764  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
9765  echo "configure:9762: checking for 8-bit clean memcmp" >&5  echo "configure:9766: checking for 8-bit clean memcmp" >&5
9766  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
9767    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9768  else  else
# Line 9766  Line 9770 
9770    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
9771  else  else
9772    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9773  #line 9770 "configure"  #line 9774 "configure"
9774  #include "confdefs.h"  #include "confdefs.h"
9775    
9776  main()  main()
# Line 9776  Line 9780 
9780  }  }
9781    
9782  EOF  EOF
9783  if { (eval echo configure:9780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9784  then  then
9785    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
9786  else  else
# Line 9799  Line 9803 
9803                  stat64 statvfs statvfs64 strerror strtok_r truncate64                  stat64 statvfs statvfs64 strerror strtok_r truncate64
9804  do  do
9805  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9806  echo "configure:9803: checking for $ac_func" >&5  echo "configure:9807: checking for $ac_func" >&5
9807  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9808    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9809  else  else
9810    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9811  #line 9808 "configure"  #line 9812 "configure"
9812  #include "confdefs.h"  #include "confdefs.h"
9813  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9814      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 9827  Line 9831 
9831    
9832  ; return 0; }  ; return 0; }
9833  EOF  EOF
9834  if { (eval echo configure:9831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9835    rm -rf conftest*    rm -rf conftest*
9836    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
9837  else  else
# Line 9853  Line 9857 
9857    
9858    
9859  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9860  #line 9857 "configure"  #line 9861 "configure"
9861  #include "confdefs.h"  #include "confdefs.h"
9862  #include <windows.h>  #include <windows.h>
9863  int main() {  int main() {
9864  SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);  SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);
9865  ; return 0; }  ; return 0; }
9866  EOF  EOF
9867  if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9868    rm -rf conftest*    rm -rf conftest*
9869    ac_cv_have_systemtimetofiletime="yes"    ac_cv_have_systemtimetofiletime="yes"
9870  else  else
# Line 9877  Line 9881 
9881    
9882  fi  fi
9883  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9884  #line 9881 "configure"  #line 9885 "configure"
9885  #include "confdefs.h"  #include "confdefs.h"
9886  #include <windows.h>  #include <windows.h>
9887  int main() {  int main() {
9888  FILETIME ft;GetSystemTimeAsFileTime(&ft);  FILETIME ft;GetSystemTimeAsFileTime(&ft);
9889  ; return 0; }  ; return 0; }
9890  EOF  EOF
9891  if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9892    rm -rf conftest*    rm -rf conftest*
9893    ac_cv_have_getsystemtimeasfiletime="yes"    ac_cv_have_getsystemtimeasfiletime="yes"
9894  else  else
# Line 9911  Line 9915 
9915  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
9916    
9917  echo $ac_n "checking for wcrtomb""... $ac_c" 1>&6  echo $ac_n "checking for wcrtomb""... $ac_c" 1>&6
9918  echo "configure:9915: checking for wcrtomb" >&5  echo "configure:9919: checking for wcrtomb" >&5
9919  if eval "test \"`echo '$''{'ac_cv_have_wcrtomb'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_wcrtomb'+set}'`\" = set"; then
9920    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9921  else  else
9922    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9923  #line 9920 "configure"  #line 9924 "configure"
9924  #include "confdefs.h"  #include "confdefs.h"
9925  #include <wchar.h>  #include <wchar.h>
9926  int main() {  int main() {
9927  mbstate_t ps={0};wcrtomb(0,'f',&ps);  mbstate_t ps={0};wcrtomb(0,'f',&ps);
9928  ; return 0; }  ; return 0; }
9929  EOF  EOF
9930  if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9931    rm -rf conftest*    rm -rf conftest*
9932    ac_cv_have_wcrtomb="yes"    ac_cv_have_wcrtomb="yes"
9933  else  else
# Line 9943  Line 9947 
9947    
9948  fi  fi
9949  echo $ac_n "checking for mbrtowc""... $ac_c" 1>&6  echo $ac_n "checking for mbrtowc""... $ac_c" 1>&6
9950  echo "configure:9947: checking for mbrtowc" >&5  echo "configure:9951: checking for mbrtowc" >&5
9951  if eval "test \"`echo '$''{'ac_cv_have_mbrtowc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_mbrtowc'+set}'`\" = set"; then
9952    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9953  else  else
9954    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9955  #line 9952 "configure"  #line 9956 "configure"
9956  #include "confdefs.h"  #include "confdefs.h"
9957  #include <wchar.h>  #include <wchar.h>
9958  int main() {  int main() {
9959  mbstate_t ps={0};mbrtowc(0,0,0,&ps);  mbstate_t ps={0};mbrtowc(0,0,0,&ps);
9960  ; return 0; }  ; return 0; }
9961  EOF  EOF
9962  if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9963    rm -rf conftest*    rm -rf conftest*
9964    ac_cv_have_mbrtowc="yes"    ac_cv_have_mbrtowc="yes"
9965  else  else
# Line 9984  Line 9988 
9988  fi  fi
9989    
9990  echo $ac_n "checking for res_ninit()""... $ac_c" 1>&6  echo $ac_n "checking for res_ninit()""... $ac_c" 1>&6
9991  echo "configure:9988: checking for res_ninit()" >&5  echo "configure:9992: checking for res_ninit()" >&5
9992  if eval "test \"`echo '$''{'ac_cv_func_res_ninit'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_res_ninit'+set}'`\" = set"; then
9993    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9994  else  else
9995    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9996  #line 9993 "configure"  #line 9997 "configure"
9997  #include "confdefs.h"  #include "confdefs.h"
9998    
9999          #ifdef linux          #ifdef linux
# Line 10001  Line 10005 
10005  int foo = res_ninit(&_res);  int foo = res_ninit(&_res);
10006  ; return 0; }  ; return 0; }
10007  EOF  EOF
10008  if { (eval echo configure:10005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10009    rm -rf conftest*    rm -rf conftest*
10010    ac_cv_func_res_ninit=yes    ac_cv_func_res_ninit=yes
10011  else  else
# Line 10031  Line 10035 
10035  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
10036    
10037  echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6  echo $ac_n "checking for gnu_get_libc_version()""... $ac_c" 1>&6
10038  echo "configure:10035: checking for gnu_get_libc_version()" >&5  echo "configure:10039: checking for gnu_get_libc_version()" >&5
10039  if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gnu_get_libc_version'+set}'`\" = set"; then
10040    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10041  else  else
10042    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10043  #line 10040 "configure"  #line 10044 "configure"
10044  #include "confdefs.h"  #include "confdefs.h"
10045    
10046          #ifdef HAVE_GNU_LIBC_VERSION_H          #ifdef HAVE_GNU_LIBC_VERSION_H
# Line 10047  Line 10051 
10051  const char *glibc_version = gnu_get_libc_version();  const char *glibc_version = gnu_get_libc_version();
10052  ; return 0; }  ; return 0; }
10053  EOF  EOF
10054  if { (eval echo configure:10051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10055    rm -rf conftest*    rm -rf conftest*
10056    ac_cv_func_gnu_get_libc_version=yes    ac_cv_func_gnu_get_libc_version=yes
10057  else  else
# Line 10076  Line 10080 
10080      *)      *)
10081            
10082  echo $ac_n "checking for iconv in -lc""... $ac_c" 1>&6  echo $ac_n "checking for iconv in -lc""... $ac_c" 1>&6
10083  echo "configure:10080: checking for iconv in -lc" >&5  echo "configure:10084: checking for iconv in -lc" >&5
10084  ac_lib_var=`echo c'_'iconv | sed 'y%./+-%__p_%'`  ac_lib_var=`echo c'_'iconv | sed 'y%./+-%__p_%'`
10085  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10086    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10084  Line 10088 
10088    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
10089  LIBS="-lc  $LIBS"  LIBS="-lc  $LIBS"
10090  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
10091  #line 10088 "configure"  #line 10092 "configure"
10092  #include "confdefs.h"  #include "confdefs.h"
10093  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
10094  #ifdef __cplusplus  #ifdef __cplusplus
# Line 10098  Line 10102 
10102  iconv()  iconv()
10103  ; return 0; }  ; return 0; }
10104  EOF  EOF
10105  if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10106    rm -rf conftest*    rm -rf conftest*
10107    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
10108  else  else
# Line 10117  Line 10121 
10121  else  else
10122    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
10123  echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6  echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
10124  echo "configure:10121: checking for iconv in -liconv" >&5  echo "configure:10125: checking for iconv in -liconv" >&5
10125  ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`  ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
10126  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10127    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10125  Line 10129 
10129    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
10130  LIBS="-liconv  $LIBS"  LIBS="-liconv  $LIBS"
10131  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
10132  #line 10129 "configure"  #line 10133 "configure"
10133  #include "confdefs.h"  #include "confdefs.h"
10134  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
10135  #ifdef __cplusplus  #ifdef __cplusplus
# Line 10139  Line 10143 
10143  iconv()  iconv()
10144  ; return 0; }  ; return 0; }
10145  EOF  EOF
10146  if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10147    rm -rf conftest*    rm -rf conftest*
10148    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
10149  else  else
# Line 10158  Line 10162 
10162  else  else
10163    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
10164  echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6  echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
10165  echo "configure:10162: checking for libiconv in -liconv" >&5  echo "configure:10166: checking for libiconv in -liconv" >&5
10166  ac_lib_var=`echo iconv'_'libiconv | sed 'y%./+-%__p_%'`  ac_lib_var=`echo iconv'_'libiconv | sed 'y%./+-%__p_%'`
10167  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10168    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10166  Line 10170 
10170    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
10171  LIBS="-liconv  $LIBS"  LIBS="-liconv  $LIBS"
10172  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
10173  #line 10170 "configure"  #line 10174 "configure"
10174  #include "confdefs.h"  #include "confdefs.h"
10175  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
10176  #ifdef __cplusplus  #ifdef __cplusplus
# Line 10180  Line 10184 
10184  libiconv()  libiconv()
10185  ; return 0; }  ; return 0; }
10186  EOF  EOF
10187  if { (eval echo configure:10184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10188    rm -rf conftest*    rm -rf conftest*
10189    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
10190  else  else
# Line 10207  Line 10211 
10211  _SAVE_LIBS=$LIBS  _SAVE_LIBS=$LIBS
10212  LIBS="$LIBS $_ICONV_LIBS"  LIBS="$LIBS $_ICONV_LIBS"
10213  echo $ac_n "checking for iconv()""... $ac_c" 1>&6  echo $ac_n "checking for iconv()""... $ac_c" 1>&6
10214  echo "configure:10211: checking for iconv()" >&5  echo "configure:10215: checking for iconv()" >&5
10215  if eval "test \"`echo '$''{'ac_cv_func_iconv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_iconv'+set}'`\" = set"; then
10216    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10217  else  else
10218    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10219  #line 10216 "configure"  #line 10220 "configure"
10220  #include "confdefs.h"  #include "confdefs.h"
10221    
10222          #include <stdlib.h>          #include <stdlib.h>
# Line 10226  Line 10230 
10230                    
10231  ; return 0; }  ; return 0; }
10232  EOF  EOF
10233  if { (eval echo configure:10230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10234    rm -rf conftest*    rm -rf conftest*
10235    ac_cv_func_iconv=yes    ac_cv_func_iconv=yes
10236  else  else
# Line 10250  Line 10254 
10254      LIBXUL_LIBS="$LIBXUL_LIBS $_ICONV_LIBS"      LIBXUL_LIBS="$LIBXUL_LIBS $_ICONV_LIBS"
10255      LIBICONV="$_ICONV_LIBS"      LIBICONV="$_ICONV_LIBS"
10256      echo $ac_n "checking for iconv() with const input""... $ac_c" 1>&6      echo $ac_n "checking for iconv() with const input""... $ac_c" 1>&6
10257  echo "configure:10254: checking for iconv() with const input" >&5  echo "configure:10258: checking for iconv() with const input" >&5
10258  if eval "test \"`echo '$''{'ac_cv_func_const_iconv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_const_iconv'+set}'`\" = set"; then
10259    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10260  else  else
10261    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10262  #line 10259 "configure"  #line 10263 "configure"
10263  #include "confdefs.h"  #include "confdefs.h"
10264    
10265              #include <stdlib.h>              #include <stdlib.h>
# Line 10270  Line 10274 
10274                            
10275  ; return 0; }  ; return 0; }
10276  EOF  EOF
10277  if { (eval echo configure:10274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10278    rm -rf conftest*    rm -rf conftest*
10279    ac_cv_func_const_iconv=yes    ac_cv_func_const_iconv=yes
10280  else  else
# Line 10306  Line 10310 
10310    
10311    
10312  echo $ac_n "checking for an implementation of va_copy()""... $ac_c" 1>&6  echo $ac_n "checking for an implementation of va_copy()""... $ac_c" 1>&6
10313  echo "configure:10310: checking for an implementation of va_copy()" >&5  echo "configure:10314: checking for an implementation of va_copy()" >&5
10314  if eval "test \"`echo '$''{'ac_cv_va_copy'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_va_copy'+set}'`\" = set"; then
10315    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10316  else  else
# Line 10316  Line 10320 
10320            
10321  else  else
10322    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10323  #line 10320 "configure"  #line 10324 "configure"
10324  #include "confdefs.h"  #include "confdefs.h"
10325    
10326          #include <stdarg.h>          #include <stdarg.h>
# Line 10330  Line 10334 
10334          }          }
10335          int main() { f (0, 42); return 0; }          int main() { f (0, 42); return 0; }
10336  EOF  EOF
10337  if { (eval echo configure:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10338  then  then
10339    ac_cv_va_copy=yes    ac_cv_va_copy=yes
10340  else  else
# Line 10347  Line 10351 
10351    
10352  echo "$ac_t""$ac_cv_va_copy" 1>&6  echo "$ac_t""$ac_cv_va_copy" 1>&6
10353  echo $ac_n "checking for an implementation of __va_copy()""... $ac_c" 1>&6  echo $ac_n "checking for an implementation of __va_copy()""... $ac_c" 1>&6
10354  echo "configure:10351: checking for an implementation of __va_copy()" >&5  echo "configure:10355: checking for an implementation of __va_copy()" >&5
10355  if eval "test \"`echo '$''{'ac_cv___va_copy'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv___va_copy'+set}'`\" = set"; then
10356    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10357  else  else
# Line 10357  Line 10361 
10361            
10362  else  else
10363    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10364  #line 10361 "configure"  #line 10365 "configure"
10365  #include "confdefs.h"  #include "confdefs.h"
10366    
10367          #include <stdarg.h>          #include <stdarg.h>
# Line 10371  Line 10375 
10375          }          }
10376          int main() { f (0, 42); return 0; }          int main() { f (0, 42); return 0; }
10377  EOF  EOF
10378  if { (eval echo configure:10375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:10379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10379  then  then
10380    ac_cv___va_copy=yes    ac_cv___va_copy=yes
10381  else  else
# Line 10388  Line 10392 
10392    
10393  echo "$ac_t""$ac_cv___va_copy" 1>&6  echo "$ac_t""$ac_cv___va_copy" 1>&6
10394  echo $ac_n "checking whether va_lists can be copied by value""... $ac_c" 1>&6  echo $ac_n "checking whether va_lists can be copied by value""... $ac_c" 1>&6
10395  echo "configure:10392: checking whether va_lists can be copied by value" >&5  echo "configure:10396: checking whether va_lists can be copied by value" >&5
10396  if eval "test \"`echo '$''{'ac_cv_va_val_copy'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_va_val_copy'+set}'`\" = set"; then
10397    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10398  else  else
# Line 10398  Line 10402 
10402            
10403  else  else
10404    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10405  #line 10402 "configure"  #line 10406 "configure"
10406  #include "confdefs.h"  #include "confdefs.h"
10407    
10408          #include <stdarg.h>          #include <stdarg.h>
# Line 10412  Line 10416 
10416          }          }
10417          int main() { f (0, 42); return 0; }          int main() { f (0, 42); return 0; }
10418  EOF  EOF
10419  if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10420  then  then
10421    ac_cv_va_val_copy=yes    ac_cv_va_val_copy=yes
10422  else  else
# Line 10511  Line 10515 
10515  if test "$GNU_CXX"; then  if test "$GNU_CXX"; then
10516    
10517    echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6    echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6
10518  echo "configure:10515: checking for C++ exceptions flag" >&5  echo "configure:10519: checking for C++ exceptions flag" >&5
10519    
10520      if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then      if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
10521    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10546  Line 10550 
10550  HAVE_GCC3_ABI=  HAVE_GCC3_ABI=
10551  if test "$GNU_CC"; then  if test "$GNU_CC"; then
10552    echo $ac_n "checking for gcc 3.0 ABI""... $ac_c" 1>&6    echo $ac_n "checking for gcc 3.0 ABI""... $ac_c" 1>&6
10553  echo "configure:10550: checking for gcc 3.0 ABI" >&5  echo "configure:10554: checking for gcc 3.0 ABI" >&5
10554  if eval "test \"`echo '$''{'ac_cv_gcc_three_abi'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_gcc_three_abi'+set}'`\" = set"; then
10555    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10556  else  else
10557    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10558  #line 10555 "configure"  #line 10559 "configure"
10559  #include "confdefs.h"  #include "confdefs.h"
10560    
10561  int main() {  int main() {
# Line 10564  Line 10568 
10568                                                
10569  ; return 0; }  ; return 0; }
10570  EOF  EOF
10571  if { (eval echo configure:10568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10572    rm -rf conftest*    rm -rf conftest*
10573    ac_cv_gcc_three_abi="yes"    ac_cv_gcc_three_abi="yes"
10574  else  else
# Line 10588  Line 10592 
10592    
10593    
10594  echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6  echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
10595  echo "configure:10592: checking for C++ \"explicit\" keyword" >&5  echo "configure:10596: checking for C++ \"explicit\" keyword" >&5
10596  if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then
10597    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10598  else  else
10599    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10600  #line 10597 "configure"  #line 10601 "configure"
10601  #include "confdefs.h"  #include "confdefs.h"
10602  class X {  class X {
10603                                 public: explicit X(int i) : i_(i) {}                                 public: explicit X(int i) : i_(i) {}
# Line 10603  Line 10607 
10607  X x(3);  X x(3);
10608  ; return 0; }  ; return 0; }
10609  EOF  EOF
10610  if { (eval echo configure:10607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10611    rm -rf conftest*    rm -rf conftest*
10612    ac_cv_cpp_explicit=yes    ac_cv_cpp_explicit=yes
10613  else  else
# Line 10624  Line 10628 
10628  fi  fi
10629    
10630  echo $ac_n "checking for C++ \"typename\" keyword""... $ac_c" 1>&6  echo $ac_n "checking for C++ \"typename\" keyword""... $ac_c" 1>&6
10631  echo "configure:10628: checking for C++ \"typename\" keyword" >&5  echo "configure:10632: checking for C++ \"typename\" keyword" >&5
10632  if eval "test \"`echo '$''{'ac_cv_cpp_typename'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_typename'+set}'`\" = set"; then
10633    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10634  else  else
10635    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10636  #line 10633 "configure"  #line 10637 "configure"
10637  #include "confdefs.h"  #include "confdefs.h"
10638  class param {  class param {
10639                                 public:                                 public:
# Line 10648  Line 10652 
10652                                 A.foo(0);                                 A.foo(0);
10653  ; return 0; }  ; return 0; }
10654  EOF  EOF
10655  if { (eval echo configure:10652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10656    rm -rf conftest*    rm -rf conftest*
10657    ac_cv_cpp_typename=yes    ac_cv_cpp_typename=yes
10658  else  else
# Line 10669  Line 10673 
10673  fi  fi
10674    
10675  echo $ac_n "checking for modern C++ template specialization syntax support""... $ac_c" 1>&6  echo $ac_n "checking for modern C++ template specialization syntax support""... $ac_c" 1>&6
10676  echo "configure:10673: checking for modern C++ template specialization syntax support" >&5  echo "configure:10677: checking for modern C++ template specialization syntax support" >&5
10677  if eval "test \"`echo '$''{'ac_cv_cpp_modern_specialize_template_syntax'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_modern_specialize_template_syntax'+set}'`\" = set"; then
10678    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10679  else  else
10680    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10681  #line 10678 "configure"  #line 10682 "configure"
10682  #include "confdefs.h"  #include "confdefs.h"
10683  template <class T> struct X { int a; };  template <class T> struct X { int a; };
10684                                 class Y {};                                 class Y {};
# Line 10684  Line 10688 
10688                                 X<Y> y_x;                                 X<Y> y_x;
10689  ; return 0; }  ; return 0; }
10690  EOF  EOF
10691  if { (eval echo configure:10688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10692    rm -rf conftest*    rm -rf conftest*
10693    ac_cv_cpp_modern_specialize_template_syntax=yes    ac_cv_cpp_modern_specialize_template_syntax=yes
10694  else  else
# Line 10706  Line 10710 
10710    
10711    
10712  echo $ac_n "checking whether partial template specialization works""... $ac_c" 1>&6  echo $ac_n "checking whether partial template specialization works""... $ac_c" 1>&6
10713  echo "configure:10710: checking whether partial template specialization works" >&5  echo "configure:10714: checking whether partial template specialization works" >&5
10714  if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then
10715    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10716  else  else
10717    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10718  #line 10715 "configure"  #line 10719 "configure"
10719  #include "confdefs.h"  #include "confdefs.h"
10720  template <class T> class Foo {};  template <class T> class Foo {};
10721                                 template <class T> class Foo<T*> {};                                 template <class T> class Foo<T*> {};
# Line 10719  Line 10723 
10723  return 0;  return 0;
10724  ; return 0; }  ; return 0; }
10725  EOF  EOF
10726  if { (eval echo configure:10723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10727    rm -rf conftest*    rm -rf conftest*
10728    ac_cv_cpp_partial_specialization=yes    ac_cv_cpp_partial_specialization=yes
10729  else  else
# Line 10740  Line 10744 
10744  fi  fi
10745    
10746  echo $ac_n "checking whether operators must be re-defined for templates derived from templates""... $ac_c" 1>&6  echo $ac_n "checking whether operators must be re-defined for templates derived from templates""... $ac_c" 1>&6
10747  echo "configure:10744: checking whether operators must be re-defined for templates derived from templates" >&5  echo "configure:10748: checking whether operators must be re-defined for templates derived from templates" >&5
10748  if eval "test \"`echo '$''{'ac_cv_need_derived_template_operators'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_need_derived_template_operators'+set}'`\" = set"; then
10749    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10750  else  else
10751    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10752  #line 10749 "configure"  #line 10753 "configure"
10753  #include "confdefs.h"  #include "confdefs.h"
10754  template <class T> class Base { };  template <class T> class Base { };
10755                                  template <class T>                                  template <class T>
# Line 10757  Line 10761 
10761                                  return 0;                                  return 0;
10762  ; return 0; }  ; return 0; }
10763  EOF  EOF
10764  if { (eval echo configure:10761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10765    rm -rf conftest*    rm -rf conftest*
10766    ac_cv_need_derived_template_operators=no    ac_cv_need_derived_template_operators=no
10767  else  else
# Line 10779  Line 10783 
10783    
10784    
10785  echo $ac_n "checking whether we need to cast a derived template to pass as its base class""... $ac_c" 1>&6  echo $ac_n "checking whether we need to cast a derived template to pass as its base class""... $ac_c" 1>&6
10786  echo "configure:10783: checking whether we need to cast a derived template to pass as its base class" >&5  echo "configure:10787: checking whether we need to cast a derived template to pass as its base class" >&5
10787  if eval "test \"`echo '$''{'ac_cv_need_cpp_template_cast_to_base'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_need_cpp_template_cast_to_base'+set}'`\" = set"; then
10788    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10789  else  else
10790    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10791  #line 10788 "configure"  #line 10792 "configure"
10792  #include "confdefs.h"  #include "confdefs.h"
10793  template <class T> class Base { };  template <class T> class Base { };
10794                                  template <class T> class Derived : public Base<T> { };                                  template <class T> class Derived : public Base<T> { };
# Line 10793  Line 10797 
10797  Derived<char> bar; return foo(bar);  Derived<char> bar; return foo(bar);
10798  ; return 0; }  ; return 0; }
10799  EOF  EOF
10800  if { (eval echo configure:10797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10801    rm -rf conftest*    rm -rf conftest*
10802    ac_cv_need_cpp_template_cast_to_base=no    ac_cv_need_cpp_template_cast_to_base=no
10803  else  else
# Line 10814  Line 10818 
10818  fi  fi
10819    
10820  echo $ac_n "checking whether the compiler can resolve const ambiguities for templates""... $ac_c" 1>&6  echo $ac_n "checking whether the compiler can resolve const ambiguities for templates""... $ac_c" 1>&6
10821  echo "configure:10818: checking whether the compiler can resolve const ambiguities for templates" >&5  echo "configure:10822: checking whether the compiler can resolve const ambiguities for templates" >&5
10822  if eval "test \"`echo '$''{'ac_cv_can_resolve_const_ambiguity'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_can_resolve_const_ambiguity'+set}'`\" = set"; then
10823    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10824  else  else
10825    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10826  #line 10823 "configure"  #line 10827 "configure"
10827  #include "confdefs.h"  #include "confdefs.h"
10828    
10829                                  template <class T> class ptrClass {                                  template <class T> class ptrClass {
# Line 10840  Line 10844 
10844                                   a(&i);                                   a(&i);
10845  ; return 0; }  ; return 0; }
10846  EOF  EOF
10847  if { (eval echo configure:10844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10848    rm -rf conftest*    rm -rf conftest*
10849    ac_cv_can_resolve_const_ambiguity=yes    ac_cv_can_resolve_const_ambiguity=yes
10850  else  else
# Line 10862  Line 10866 
10866    
10867    
10868  echo $ac_n "checking whether the C++ \"using\" keyword can change access""... $ac_c" 1>&6  echo $ac_n "checking whether the C++ \"using\" keyword can change access""... $ac_c" 1>&6
10869  echo "configure:10866: checking whether the C++ \"using\" keyword can change access" >&5  echo "configure:10870: checking whether the C++ \"using\" keyword can change access" >&5
10870  if eval "test \"`echo '$''{'ac_cv_cpp_access_changing_using2'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_access_changing_using2'+set}'`\" = set"; then
10871    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10872  else  else
10873    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10874  #line 10871 "configure"  #line 10875 "configure"
10875  #include "confdefs.h"  #include "confdefs.h"
10876  class A { protected: int foo() { return 0; } };  class A { protected: int foo() { return 0; } };
10877                     class B : public A { public: using A::foo; };                     class B : public A { public: using A::foo; };
# Line 10875  Line 10879 
10879  B b; return b.foo();  B b; return b.foo();
10880  ; return 0; }  ; return 0; }
10881  EOF  EOF
10882  if { (eval echo configure:10879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10883    rm -rf conftest*    rm -rf conftest*
10884    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10885  #line 10882 "configure"  #line 10886 "configure"
10886  #include "confdefs.h"  #include "confdefs.h"
10887  class A { public: int foo() { return 1; } };  class A { public: int foo() { return 1; } };
10888                         class B : public A { private: using A::foo; };                         class B : public A { private: using A::foo; };
# Line 10886  Line 10890 
10890  B b; return b.foo();  B b; return b.foo();
10891  ; return 0; }  ; return 0; }
10892  EOF  EOF
10893  if { (eval echo configure:10890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10894    rm -rf conftest*    rm -rf conftest*
10895    ac_cv_cpp_access_changing_using2=no    ac_cv_cpp_access_changing_using2=no
10896  else  else
# Line 10914  Line 10918 
10918  fi  fi
10919    
10920  echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6  echo $ac_n "checking whether the C++ \"using\" keyword resolves ambiguity""... $ac_c" 1>&6
10921  echo "configure:10918: checking whether the C++ \"using\" keyword resolves ambiguity" >&5  echo "configure:10922: checking whether the C++ \"using\" keyword resolves ambiguity" >&5
10922  if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_ambiguity_resolving_using'+set}'`\" = set"; then
10923    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10924  else  else
10925    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10926  #line 10923 "configure"  #line 10927 "configure"
10927  #include "confdefs.h"  #include "confdefs.h"
10928  class X {  class X {
10929                                   public: int go(const X&) {return 3;}                                   public: int go(const X&) {return 3;}
# Line 10935  Line 10939 
10939  X x; Y y; y.jo(x);  X x; Y y; y.jo(x);
10940  ; return 0; }  ; return 0; }
10941  EOF  EOF
10942  if { (eval echo configure:10939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10943    rm -rf conftest*    rm -rf conftest*
10944    ac_cv_cpp_ambiguity_resolving_using=yes    ac_cv_cpp_ambiguity_resolving_using=yes
10945  else  else
# Line 10956  Line 10960 
10960  fi  fi
10961    
10962  echo $ac_n "checking for \"std::\" namespace""... $ac_c" 1>&6  echo $ac_n "checking for \"std::\" namespace""... $ac_c" 1>&6
10963  echo "configure:10960: checking for \"std::\" namespace" >&5  echo "configure:10964: checking for \"std::\" namespace" >&5
10964  if eval "test \"`echo '$''{'ac_cv_cpp_namespace_std'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_namespace_std'+set}'`\" = set"; then
10965    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10966  else  else
10967    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10968  #line 10965 "configure"  #line 10969 "configure"
10969  #include "confdefs.h"  #include "confdefs.h"
10970  #include <algorithm>  #include <algorithm>
10971  int main() {  int main() {
10972  return std::min(0, 1);  return std::min(0, 1);
10973  ; return 0; }  ; return 0; }
10974  EOF  EOF
10975  if { (eval echo configure:10972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10976    rm -rf conftest*    rm -rf conftest*
10977    ac_cv_cpp_namespace_std=yes    ac_cv_cpp_namespace_std=yes
10978  else  else
# Line 10989  Line 10993 
10993  fi  fi
10994    
10995  echo $ac_n "checking whether standard template operator!=() is ambiguous""... $ac_c" 1>&6  echo $ac_n "checking whether standard template operator!=() is ambiguous""... $ac_c" 1>&6
10996  echo "configure:10993: checking whether standard template operator!=() is ambiguous" >&5  echo "configure:10997: checking whether standard template operator!=() is ambiguous" >&5
10997  if eval "test \"`echo '$''{'ac_cv_cpp_unambiguous_std_notequal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_unambiguous_std_notequal'+set}'`\" = set"; then
10998    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10999  else  else
11000    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11001  #line 10998 "configure"  #line 11002 "configure"
11002  #include "confdefs.h"  #include "confdefs.h"
11003  #include <algorithm>  #include <algorithm>
11004                                  struct T1 {};                                  struct T1 {};
# Line 11004  Line 11008 
11008  T1 a,b; return a != b;  T1 a,b; return a != b;
11009  ; return 0; }  ; return 0; }
11010  EOF  EOF
11011  if { (eval echo configure:11008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11012    rm -rf conftest*    rm -rf conftest*
11013    ac_cv_cpp_unambiguous_std_notequal=unambiguous    ac_cv_cpp_unambiguous_std_notequal=unambiguous
11014  else  else
# Line 11026  Line 11030 
11030    
11031    
11032  echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6  echo $ac_n "checking for C++ reinterpret_cast""... $ac_c" 1>&6
11033  echo "configure:11030: checking for C++ reinterpret_cast" >&5  echo "configure:11034: checking for C++ reinterpret_cast" >&5
11034  if eval "test \"`echo '$''{'ac_cv_cpp_reinterpret_cast'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_reinterpret_cast'+set}'`\" = set"; then
11035    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11036  else  else
11037    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11038  #line 11035 "configure"  #line 11039 "configure"
11039  #include "confdefs.h"  #include "confdefs.h"
11040  struct X { int i; };  struct X { int i; };
11041                                 struct Y { int i; };                                 struct Y { int i; };
# Line 11039  Line 11043 
11043  X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);  X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);
11044  ; return 0; }  ; return 0; }
11045  EOF  EOF
11046  if { (eval echo configure:11043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11047    rm -rf conftest*    rm -rf conftest*
11048    ac_cv_cpp_reinterpret_cast=yes    ac_cv_cpp_reinterpret_cast=yes
11049  else  else
# Line 11060  Line 11064 
11064  fi  fi
11065    
11066  echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6  echo $ac_n "checking for C++ dynamic_cast to void*""... $ac_c" 1>&6
11067  echo "configure:11064: checking for C++ dynamic_cast to void*" >&5  echo "configure:11068: checking for C++ dynamic_cast to void*" >&5
11068  if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_dynamic_cast_void_ptr'+set}'`\" = set"; then
11069    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11070  else  else
# Line 11068  Line 11072 
11072    ac_cv_cpp_dynamic_cast_void_ptr=no    ac_cv_cpp_dynamic_cast_void_ptr=no
11073  else  else
11074    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11075  #line 11072 "configure"  #line 11076 "configure"
11076  #include "confdefs.h"  #include "confdefs.h"
11077  #ifdef __cplusplus  #ifdef __cplusplus
11078  extern "C" void exit(int);  extern "C" void exit(int);
# Line 11087  Line 11091 
11091                                             ((void*)&mdo == dynamic_cast<void*>(suby))));                                             ((void*)&mdo == dynamic_cast<void*>(suby))));
11092                              }                              }
11093  EOF  EOF
11094  if { (eval echo configure:11091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:11095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11095  then  then
11096    ac_cv_cpp_dynamic_cast_void_ptr=yes    ac_cv_cpp_dynamic_cast_void_ptr=yes
11097  else  else
# Line 11111  Line 11115 
11115    
11116    
11117  echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6  echo $ac_n "checking whether C++ requires implementation of unused virtual methods""... $ac_c" 1>&6
11118  echo "configure:11115: checking whether C++ requires implementation of unused virtual methods" >&5  echo "configure:11119: checking whether C++ requires implementation of unused virtual methods" >&5
11119  if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_unused_required'+set}'`\" = set"; then
11120    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11121  else  else
11122    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11123  #line 11120 "configure"  #line 11124 "configure"
11124  #include "confdefs.h"  #include "confdefs.h"
11125  class X {private: virtual void never_called();};  class X {private: virtual void never_called();};
11126  int main() {  int main() {
11127  X x;  X x;
11128  ; return 0; }  ; return 0; }
11129  EOF  EOF
11130  if { (eval echo configure:11127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:11131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11131    rm -rf conftest*    rm -rf conftest*
11132    ac_cv_cpp_unused_required=no    ac_cv_cpp_unused_required=no
11133  else  else
# Line 11146  Line 11150 
11150    
11151    
11152  echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6  echo $ac_n "checking for trouble comparing to zero near std::operator!=()""... $ac_c" 1>&6
11153  echo "configure:11150: checking for trouble comparing to zero near std::operator!=()" >&5  echo "configure:11154: checking for trouble comparing to zero near std::operator!=()" >&5
11154  if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_trouble_comparing_to_zero'+set}'`\" = set"; then
11155    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11156  else  else
11157    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11158  #line 11155 "configure"  #line 11159 "configure"
11159  #include "confdefs.h"  #include "confdefs.h"
11160  #include <algorithm>  #include <algorithm>
11161                                  template <class T> class Foo {};                                  template <class T> class Foo {};
# Line 11162  Line 11166 
11166  Foo<int> f; return (0 != f);  Foo<int> f; return (0 != f);
11167  ; return 0; }  ; return 0; }
11168  EOF  EOF
11169  if { (eval echo configure:11166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11170    rm -rf conftest*    rm -rf conftest*
11171    ac_cv_trouble_comparing_to_zero=no    ac_cv_trouble_comparing_to_zero=no
11172  else  else
# Line 11194  Line 11198 
11198    
11199    
11200  echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6  echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
11201  echo "configure:11198: checking for LC_MESSAGES" >&5  echo "configure:11202: checking for LC_MESSAGES" >&5
11202  if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_i18n_lc_messages'+set}'`\" = set"; then
11203    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11204  else  else
11205    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11206  #line 11203 "configure"  #line 11207 "configure"
11207  #include "confdefs.h"  #include "confdefs.h"
11208  #include <locale.h>  #include <locale.h>
11209  int main() {  int main() {
11210  int category = LC_MESSAGES;  int category = LC_MESSAGES;
11211  ; return 0; }  ; return 0; }
11212  EOF  EOF
11213  if { (eval echo configure:11210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11214    rm -rf conftest*    rm -rf conftest*
11215    ac_cv_i18n_lc_messages=yes    ac_cv_i18n_lc_messages=yes
11216  else  else
# Line 11308  Line 11312 
11312          # Extract the first word of "nspr-config", so it can be a program name with args.          # Extract the first word of "nspr-config", so it can be a program name with args.
11313  set dummy nspr-config; ac_word=$2  set dummy nspr-config; ac_word=$2
11314  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11315  echo "configure:11312: checking for $ac_word" >&5  echo "configure:11316: checking for $ac_word" >&5
11316  if eval "test \"`echo '$''{'ac_cv_path_NSPR_CONFIG'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_NSPR_CONFIG'+set}'`\" = set"; then
11317    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11318  else  else
# Line 11343  Line 11347 
11347    
11348          min_nspr_version=4.7.0          min_nspr_version=4.7.0
11349          echo $ac_n "checking for NSPR - version >= $min_nspr_version""... $ac_c" 1>&6          echo $ac_n "checking for NSPR - version >= $min_nspr_version""... $ac_c" 1>&6
11350  echo "configure:11347: checking for NSPR - version >= $min_nspr_version" >&5  echo "configure:11351: checking for NSPR - version >= $min_nspr_version" >&5
11351    
11352          no_nspr=""          no_nspr=""
11353          if test "$NSPR_CONFIG" != "no"; then          if test "$NSPR_CONFIG" != "no"; then
# Line 11406  Line 11410 
11410      _SAVE_CFLAGS=$CFLAGS      _SAVE_CFLAGS=$CFLAGS
11411      CFLAGS="$CFLAGS $NSPR_CFLAGS"      CFLAGS="$CFLAGS $NSPR_CFLAGS"
11412      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
11413  #line 11410 "configure"  #line 11414 "configure"
11414  #include "confdefs.h"  #include "confdefs.h"
11415  #include "prlog.h"  #include "prlog.h"
11416  int main() {  int main() {
# Line 11415  Line 11419 
11419                   #endif                   #endif
11420  ; return 0; }  ; return 0; }
11421  EOF  EOF
11422  if { (eval echo configure:11419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11423    rm -rf conftest*    rm -rf conftest*
11424    MOZ_NATIVE_NSPR=1    MOZ_NATIVE_NSPR=1
11425  else  else
# Line 11554  Line 11558 
11558    
11559  if test -n "$MOZ_DEBUG"; then  if test -n "$MOZ_DEBUG"; then
11560      echo $ac_n "checking for valid debug flags""... $ac_c" 1>&6      echo $ac_n "checking for valid debug flags""... $ac_c" 1>&6
11561  echo "configure:11558: checking for valid debug flags" >&5  echo "configure:11562: checking for valid debug flags" >&5
11562      _SAVE_CFLAGS=$CFLAGS      _SAVE_CFLAGS=$CFLAGS
11563      CFLAGS="$CFLAGS $MOZ_DEBUG_FLAGS"      CFLAGS="$CFLAGS $MOZ_DEBUG_FLAGS"
11564      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
11565  #line 11562 "configure"  #line 11566 "configure"
11566  #include "confdefs.h"  #include "confdefs.h"
11567  #include <stdio.h>  #include <stdio.h>
11568  int main() {  int main() {
11569  printf("Hello World\n");  printf("Hello World\n");
11570  ; return 0; }  ; return 0; }
11571  EOF  EOF
11572  if { (eval echo configure:11569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11573    rm -rf conftest*    rm -rf conftest*
11574    _results=yes    _results=yes
11575  else  else
# Line 11606  Line 11610 
11610  if test "$COMPILE_ENVIRONMENT"; then  if test "$COMPILE_ENVIRONMENT"; then
11611  if test -n "$MOZ_OPTIMIZE"; then  if test -n "$MOZ_OPTIMIZE"; then
11612      echo $ac_n "checking for valid optimization flags""... $ac_c" 1>&6      echo $ac_n "checking for valid optimization flags""... $ac_c" 1>&6
11613  echo "configure:11610: checking for valid optimization flags" >&5  echo "configure:11614: checking for valid optimization flags" >&5
11614      _SAVE_CFLAGS=$CFLAGS      _SAVE_CFLAGS=$CFLAGS
11615      CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS"      CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS"
11616      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
11617  #line 11614 "configure"  #line 11618 "configure"
11618  #include "confdefs.h"  #include "confdefs.h"
11619  #include <stdio.h>  #include <stdio.h>
11620  int main() {  int main() {
11621  printf("Hello World\n");  printf("Hello World\n");
11622  ; return 0; }  ; return 0; }
11623  EOF  EOF
11624  if { (eval echo configure:11621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:11625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11625    rm -rf conftest*    rm -rf conftest*
11626    _results=yes    _results=yes
11627  else  else
# Line 11756  Line 11760 
11760      fi      fi
11761    else    else
11762      echo $ac_n "checking size of int *""... $ac_c" 1>&6      echo $ac_n "checking size of int *""... $ac_c" 1>&6
11763  echo "configure:11760: checking size of int *" >&5  echo "configure:11764: checking size of int *" >&5
11764  if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11765    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11766  else  else
# Line 11764  Line 11768 
11768    ac_cv_sizeof_int_p=4    ac_cv_sizeof_int_p=4
11769  else  else
11770    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11771  #line 11768 "configure"  #line 11772 "configure"
11772  #include "confdefs.h"  #include "confdefs.h"
11773  #include <stdio.h>  #include <stdio.h>
11774    #include <sys/types.h>
11775  main()  main()
11776  {  {
11777    FILE *f=fopen("conftestval", "w");    FILE *f=fopen("conftestval", "w");
# Line 11775  Line 11780 
11780    exit(0);    exit(0);
11781  }  }
11782  EOF  EOF
11783  if { (eval echo configure:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:11784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11784  then  then
11785    ac_cv_sizeof_int_p=`cat conftestval`    ac_cv_sizeof_int_p=`cat conftestval`
11786  else  else
# Line 11944  Line 11949 
11949  if test -n "$MOZ_VALGRIND"; then  if test -n "$MOZ_VALGRIND"; then
11950      ac_safe=`echo "valgrind/valgrind.h" | sed 'y%./+-%__p_%'`      ac_safe=`echo "valgrind/valgrind.h" | sed 'y%./+-%__p_%'`
11951  echo $ac_n "checking for valgrind/valgrind.h""... $ac_c" 1>&6  echo $ac_n "checking for valgrind/valgrind.h""... $ac_c" 1>&6
11952  echo "configure:11948: checking for valgrind/valgrind.h" >&5  echo "configure:11953: checking for valgrind/valgrind.h" >&5
11953  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11954    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
11955  else  else
11956    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
11957  #line 11953 "configure"  #line 11958 "configure"
11958  #include "confdefs.h"  #include "confdefs.h"
11959  #include <valgrind/valgrind.h>  #include <valgrind/valgrind.h>
11960  EOF  EOF
11961  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11962  { (eval echo configure:11958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:11963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11963  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11964  if test -z "$ac_err"; then  if test -z "$ac_err"; then
11965    rm -rf conftest*    rm -rf conftest*
# Line 11996  Line 12001 
12001    
12002  if test -n "$_ENABLE_EFENCE"; then  if test -n "$_ENABLE_EFENCE"; then
12003      echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6      echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
12004  echo "configure:12000: checking for malloc in -lefence" >&5  echo "configure:12005: checking for malloc in -lefence" >&5
12005  ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`  ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
12006  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12007    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 12004  Line 12009 
12009    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
12010  LIBS="-lefence  $LIBS"  LIBS="-lefence  $LIBS"
12011  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
12012  #line 12008 "configure"  #line 12013 "configure"
12013  #include "confdefs.h"  #include "confdefs.h"
12014  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
12015  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 12015  Line 12020 
12020  malloc()  malloc()
12021  ; return 0; }  ; return 0; }
12022  EOF  EOF
12023  if { (eval echo configure:12019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:12024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12024    rm -rf conftest*    rm -rf conftest*
12025    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
12026  else  else
# Line 12212  Line 12217 
12217      for ac_func in __builtin_vec_new __builtin_vec_delete __builtin_new __builtin_delete __pure_virtual      for ac_func in __builtin_vec_new __builtin_vec_delete __builtin_new __builtin_delete __pure_virtual
12218  do  do
12219  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12220  echo "configure:12216: checking for $ac_func" >&5  echo "configure:12221: checking for $ac_func" >&5
12221  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12222    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
12223  else  else
12224    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12225  #line 12221 "configure"  #line 12226 "configure"
12226  #include "confdefs.h"  #include "confdefs.h"
12227  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12228      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 12243  Line 12248 
12248    
12249  ; return 0; }  ; return 0; }
12250  EOF  EOF
12251  if { (eval echo configure:12247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:12252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12252    rm -rf conftest*    rm -rf conftest*
12253    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
12254  else  else
# Line 12389  Line 12394 
12394      for ac_func in __cxa_demangle      for ac_func in __cxa_demangle
12395  do  do
12396  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12397  echo "configure:12393: checking for $ac_func" >&5  echo "configure:12398: checking for $ac_func" >&5
12398  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12399    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
12400  else  else
12401    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12402  #line 12398 "configure"  #line 12403 "configure"
12403  #include "confdefs.h"  #include "confdefs.h"
12404  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12405      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 12420  Line 12425 
12425    
12426  ; return 0; }  ; return 0; }
12427  EOF  EOF
12428  if { (eval echo configure:12424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:12429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12429    rm -rf conftest*    rm -rf conftest*
12430    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
12431  else  else
# Line 12468  Line 12473 
12473  if test "$HAVE_GCC3_ABI" && test -z "$SKIP_LIBRARY_CHECKS"; then  if test "$HAVE_GCC3_ABI" && test -z "$SKIP_LIBRARY_CHECKS"; then
12474      ac_safe=`echo "unwind.h" | sed 'y%./+-%__p_%'`      ac_safe=`echo "unwind.h" | sed 'y%./+-%__p_%'`
12475  echo $ac_n "checking for unwind.h""... $ac_c" 1>&6  echo $ac_n "checking for unwind.h""... $ac_c" 1>&6
12476  echo "configure:12472: checking for unwind.h" >&5  echo "configure:12477: checking for unwind.h" >&5
12477  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12478    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
12479  else  else
12480    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12481  #line 12477 "configure"  #line 12482 "configure"
12482  #include "confdefs.h"  #include "confdefs.h"
12483  #include <unwind.h>  #include <unwind.h>
12484  EOF  EOF
12485  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12486  { (eval echo configure:12482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:12487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12487  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12488  if test -z "$ac_err"; then  if test -z "$ac_err"; then
12489    rm -rf conftest*    rm -rf conftest*
# Line 12497  Line 12502 
12502    for ac_func in _Unwind_Backtrace    for ac_func in _Unwind_Backtrace
12503  do  do
12504  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12505  echo "configure:12501: checking for $ac_func" >&5  echo "configure:12506: checking for $ac_func" >&5
12506  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12507    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
12508  else  else
12509    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12510  #line 12506 "configure"  #line 12511 "configure"
12511  #include "confdefs.h"  #include "confdefs.h"
12512  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12513      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 12525  Line 12530 
12530    
12531  ; return 0; }  ; return 0; }
12532  EOF  EOF
12533  if { (eval echo configure:12529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:12534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12534    rm -rf conftest*    rm -rf conftest*
12535    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
12536  else  else
# Line 12574  Line 12579 
12579  # Compiler Options  # Compiler Options
12580    
12581  echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6  echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
12582  echo "configure:12578: checking for gcc -pipe support" >&5  echo "configure:12583: checking for gcc -pipe support" >&5
12583  if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then  if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
12584      echo '#include <stdio.h>' > dummy-hello.c      echo '#include <stdio.h>' > dummy-hello.c
12585      echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c      echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
# Line 12589  Line 12594 
12594          _SAVE_CFLAGS=$CFLAGS          _SAVE_CFLAGS=$CFLAGS
12595          CFLAGS="$CFLAGS -pipe"          CFLAGS="$CFLAGS -pipe"
12596          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
12597  #line 12593 "configure"  #line 12598 "configure"
12598  #include "confdefs.h"  #include "confdefs.h"
12599   #include <stdio.h>   #include <stdio.h>
12600  int main() {  int main() {
12601  printf("Hello World\n");  printf("Hello World\n");
12602  ; return 0; }  ; return 0; }
12603  EOF  EOF
12604  if { (eval echo configure:12600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12605    rm -rf conftest*    rm -rf conftest*
12606    _res_gcc_pipe="yes"    _res_gcc_pipe="yes"
12607  else  else
# Line 12638  Line 12643 
12643       _SAVE_CFLAGS="$CFLAGS"       _SAVE_CFLAGS="$CFLAGS"
12644       CFLAGS="$CFLAGS ${_COMPILER_PREFIX}-Wno-long-long"       CFLAGS="$CFLAGS ${_COMPILER_PREFIX}-Wno-long-long"
12645       echo $ac_n "checking whether compiler supports -Wno-long-long""... $ac_c" 1>&6       echo $ac_n "checking whether compiler supports -Wno-long-long""... $ac_c" 1>&6
12646  echo "configure:12642: checking whether compiler supports -Wno-long-long" >&5  echo "configure:12647: checking whether compiler supports -Wno-long-long" >&5
12647       cat > conftest.$ac_ext <<EOF       cat > conftest.$ac_ext <<EOF
12648  #line 12644 "configure"  #line 12649 "configure"
12649  #include "confdefs.h"  #include "confdefs.h"
12650    
12651  int main() {  int main() {
12652  return(0);  return(0);
12653  ; return 0; }  ; return 0; }
12654  EOF  EOF
12655  if { (eval echo configure:12651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12656    rm -rf conftest*    rm -rf conftest*
12657     _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"     _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
12658            _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"            _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
# Line 12683  Line 12688 
12688  CFLAGS="$CFLAGS -fprofile-generate"  CFLAGS="$CFLAGS -fprofile-generate"
12689    
12690  echo $ac_n "checking whether C compiler supports -fprofile-generate""... $ac_c" 1>&6  echo $ac_n "checking whether C compiler supports -fprofile-generate""... $ac_c" 1>&6
12691  echo "configure:12687: checking whether C compiler supports -fprofile-generate" >&5  echo "configure:12692: checking whether C compiler supports -fprofile-generate" >&5
12692  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
12693  #line 12689 "configure"  #line 12694 "configure"
12694  #include "confdefs.h"  #include "confdefs.h"
12695    
12696  int main() {  int main() {
12697  return 0;  return 0;
12698  ; return 0; }  ; return 0; }
12699  EOF  EOF
12700  if { (eval echo configure:12696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12701    rm -rf conftest*    rm -rf conftest*
12702     PROFILE_GEN_CFLAGS="-fprofile-generate"     PROFILE_GEN_CFLAGS="-fprofile-generate"
12703                   result="yes"                   result="yes"
# Line 12712  Line 12717 
12717  else  else
12718    CFLAGS="$_SAVE_CFLAGS -fprofile-arcs"    CFLAGS="$_SAVE_CFLAGS -fprofile-arcs"
12719    echo $ac_n "checking whether C compiler supports -fprofile-arcs""... $ac_c" 1>&6    echo $ac_n "checking whether C compiler supports -fprofile-arcs""... $ac_c" 1>&6
12720  echo "configure:12716: checking whether C compiler supports -fprofile-arcs" >&5  echo "configure:12721: checking whether C compiler supports -fprofile-arcs" >&5
12721    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12722  #line 12718 "configure"  #line 12723 "configure"
12723  #include "confdefs.h"  #include "confdefs.h"
12724    
12725  int main() {  int main() {
12726  return 0;  return 0;
12727  ; return 0; }  ; return 0; }
12728  EOF  EOF
12729  if { (eval echo configure:12725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12730    rm -rf conftest*    rm -rf conftest*
12731     PROFILE_GEN_CFLAGS="-fprofile-arcs"     PROFILE_GEN_CFLAGS="-fprofile-arcs"
12732                     result="yes"                     result="yes"
# Line 12791  Line 12796 
12796      _SAVE_CXXFLAGS=$CXXFLAGS      _SAVE_CXXFLAGS=$CXXFLAGS
12797      CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"      CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"
12798      echo $ac_n "checking whether C++ compiler has -pedantic long long bug""... $ac_c" 1>&6      echo $ac_n "checking whether C++ compiler has -pedantic long long bug""... $ac_c" 1>&6
12799  echo "configure:12795: checking whether C++ compiler has -pedantic long long bug" >&5  echo "configure:12800: checking whether C++ compiler has -pedantic long long bug" >&5
12800      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
12801  #line 12797 "configure"  #line 12802 "configure"
12802  #include "confdefs.h"  #include "confdefs.h"
12803  $configure_static_assert_macros  $configure_static_assert_macros
12804  int main() {  int main() {
12805  CONFIGURE_STATIC_ASSERT(sizeof(long long) == 8)  CONFIGURE_STATIC_ASSERT(sizeof(long long) == 8)
12806  ; return 0; }  ; return 0; }
12807  EOF  EOF
12808  if { (eval echo configure:12804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12809    rm -rf conftest*    rm -rf conftest*
12810    result="no"    result="no"
12811  else  else
# Line 12825  Line 12830 
12830  fi  fi
12831    
12832  echo $ac_n "checking for correct temporary object destruction order""... $ac_c" 1>&6  echo $ac_n "checking for correct temporary object destruction order""... $ac_c" 1>&6
12833  echo "configure:12829: checking for correct temporary object destruction order" >&5  echo "configure:12834: checking for correct temporary object destruction order" >&5
12834  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
12835    result="maybe"    result="maybe"
12836  else  else
12837    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12838  #line 12834 "configure"  #line 12839 "configure"
12839  #include "confdefs.h"  #include "confdefs.h"
12840  #ifdef __cplusplus  #ifdef __cplusplus
12841  extern "C" void exit(int);  extern "C" void exit(int);
# Line 12853  Line 12858 
12858               }               }
12859                            
12860  EOF  EOF
12861  if { (eval echo configure:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:12862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12862  then  then
12863    result="yes"    result="yes"
12864  else  else
# Line 12874  Line 12879 
12879  _SAVE_CXXFLAGS=$CXXFLAGS  _SAVE_CXXFLAGS=$CXXFLAGS
12880  CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"  CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
12881  echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6  echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6
12882  echo "configure:12878: checking for correct overload resolution with const and templates" >&5  echo "configure:12883: checking for correct overload resolution with const and templates" >&5
12883  if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then
12884    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
12885  else  else
12886    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12887  #line 12883 "configure"  #line 12888 "configure"
12888  #include "confdefs.h"  #include "confdefs.h"
12889    
12890                        template <class T>                        template <class T>
# Line 12909  Line 12914 
12914                                            
12915  ; return 0; }  ; return 0; }
12916  EOF  EOF
12917  if { (eval echo configure:12913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12918    rm -rf conftest*    rm -rf conftest*
12919    ac_nscap_nonconst_opeq_bug="no"    ac_nscap_nonconst_opeq_bug="no"
12920  else  else
# Line 12932  Line 12937 
12937  fi  fi
12938    
12939  echo $ac_n "checking for tm_zone tm_gmtoff in struct tm""... $ac_c" 1>&6  echo $ac_n "checking for tm_zone tm_gmtoff in struct tm""... $ac_c" 1>&6
12940  echo "configure:12936: checking for tm_zone tm_gmtoff in struct tm" >&5  echo "configure:12941: checking for tm_zone tm_gmtoff in struct tm" >&5
12941  if eval "test \"`echo '$''{'ac_cv_struct_tm_zone_tm_gmtoff'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_struct_tm_zone_tm_gmtoff'+set}'`\" = set"; then
12942    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
12943  else  else
12944    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12945  #line 12941 "configure"  #line 12946 "configure"
12946  #include "confdefs.h"  #include "confdefs.h"
12947  #include <time.h>  #include <time.h>
12948  int main() {  int main() {
12949  struct tm tm; tm.tm_zone = 0; tm.tm_gmtoff = 1;  struct tm tm; tm.tm_zone = 0; tm.tm_gmtoff = 1;
12950  ; return 0; }  ; return 0; }
12951  EOF  EOF
12952  if { (eval echo configure:12948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:12953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12953    rm -rf conftest*    rm -rf conftest*
12954    ac_cv_struct_tm_zone_tm_gmtoff="yes"    ac_cv_struct_tm_zone_tm_gmtoff="yes"
12955  else  else
# Line 13136  Line 13141 
13141  if test -z "$SKIP_LIBRARY_CHECKS" -a -z "$NO_EDITLINE"; then  if test -z "$SKIP_LIBRARY_CHECKS" -a -z "$NO_EDITLINE"; then
13142    if test -n "$JS_WANT_READLINE"; then    if test -n "$JS_WANT_READLINE"; then
13143      echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6      echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
13144  echo "configure:13140: checking for readline in -lreadline" >&5  echo "configure:13145: checking for readline in -lreadline" >&5
13145  ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
13146  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13147    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 13144  Line 13149 
13149    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
13150  LIBS="-lreadline  $LIBS"  LIBS="-lreadline  $LIBS"
13151  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
13152  #line 13148 "configure"  #line 13153 "configure"
13153  #include "confdefs.h"  #include "confdefs.h"
13154  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
13155  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 13155  Line 13160 
13160  readline()  readline()
13161  ; return 0; }  ; return 0; }
13162  EOF  EOF
13163  if { (eval echo configure:13159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:13164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13164    rm -rf conftest*    rm -rf conftest*
13165    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
13166  else  else
# Line 13391  Line 13396 
13396                  _SAVE_CFLAGS=$CFLAGS                  _SAVE_CFLAGS=$CFLAGS
13397      CFLAGS="$CFLAGS $XCFLAGS"      CFLAGS="$CFLAGS $XCFLAGS"
13398      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
13399  #line 13395 "configure"  #line 13400 "configure"
13400  #include "confdefs.h"  #include "confdefs.h"
13401    
13402          #include <stdio.h>          #include <stdio.h>
# Line 13409  Line 13414 
13414            
13415  ; return 0; }  ; return 0; }
13416  EOF  EOF
13417  if { (eval echo configure:13413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:13418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13418    :    :
13419  else  else
13420    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 13510  Line 13515 
13515  for ac_func in setlocale  for ac_func in setlocale
13516  do  do
13517  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13518  echo "configure:13514: checking for $ac_func" >&5  echo "configure:13519: checking for $ac_func" >&5
13519  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13520    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
13521  else  else
13522    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
13523  #line 13519 "configure"  #line 13524 "configure"
13524  #include "confdefs.h"  #include "confdefs.h"
13525  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
13526      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 13538  Line 13543 
13543    
13544  ; return 0; }  ; return 0; }
13545  EOF  EOF
13546  if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:13547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13547    rm -rf conftest*    rm -rf conftest*
13548    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
13549  else  else

Legend:
Removed from v.511  
changed lines
  Added in v.535

  ViewVC Help
Powered by ViewVC 1.1.24