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

Diff of /trunk/js/configure

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

revision 507 by siliconforks, Sun Jan 10 07:23:34 2010 UTC revision 511 by siliconforks, Mon Jan 11 05:17:18 2010 UTC
# Line 822  Line 822 
822  MSMANIFEST_TOOL=  MSMANIFEST_TOOL=
823    
824  MISSING_X=  MISSING_X=
825  for ac_prog in gawk mawk nawk awk  for ac_prog in mawk gawk nawk awk
826  do  do
827  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
828  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 1637  Line 1637 
1637    fi    fi
1638  fi  fi
1639    
 for ac_declaration in \  
    ''\  
    '#include <stdlib.h>' \  
    'extern "C" void std::exit (int) throw (); using std::exit;' \  
    'extern "C" void std::exit (int); using std::exit;' \  
    'extern "C" void exit (int) throw ();' \  
    'extern "C" void exit (int);' \  
    'void exit (int);'  
 do  
   cat > conftest.$ac_ext <<EOF  
 #line 1651 "configure"  
 #include "confdefs.h"  
 #include <stdlib.h>  
 $ac_declaration  
 int main() {  
 exit (42);  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   :  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   continue  
 fi  
 rm -f conftest*  
   cat > conftest.$ac_ext <<EOF  
 #line 1669 "configure"  
 #include "confdefs.h"  
 $ac_declaration  
 int main() {  
 exit (42);  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   break  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest*  
 done  
 if test -n "$ac_declaration"; then  
   echo '#ifdef __cplusplus' >>confdefs.h  
   echo $ac_declaration      >>confdefs.h  
   echo '#endif'             >>confdefs.h  
 fi  
   
   
1640    
1641      case "$build:$target" in      case "$build:$target" in
1642        powerpc-apple-darwin8*:i?86-apple-darwin*)        powerpc-apple-darwin8*:i?86-apple-darwin*)
# Line 1701  Line 1650 
1650  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1651  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1652  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1653  echo "configure:1705: checking for $ac_word" >&5  echo "configure:1654: checking for $ac_word" >&5
1654  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1655    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1656  else  else
# Line 1736  Line 1685 
1685  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1686  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1687  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1688  echo "configure:1740: checking for $ac_word" >&5  echo "configure:1689: checking for $ac_word" >&5
1689  if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1690    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1691  else  else
# Line 1771  Line 1720 
1720  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1721  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1722  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1723  echo "configure:1775: checking for $ac_word" >&5  echo "configure:1724: checking for $ac_word" >&5
1724  if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
1725    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1726  else  else
# Line 1825  Line 1774 
1774  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1775  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1776  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1777  echo "configure:1829: checking for $ac_word" >&5  echo "configure:1778: checking for $ac_word" >&5
1778  if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1779    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1780  else  else
# Line 1860  Line 1809 
1809  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1810  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1811  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1812  echo "configure:1864: checking for $ac_word" >&5  echo "configure:1813: checking for $ac_word" >&5
1813  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1814    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1815  else  else
# Line 1895  Line 1844 
1844  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
1845  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1846  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1847  echo "configure:1899: checking for $ac_word" >&5  echo "configure:1848: checking for $ac_word" >&5
1848  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
1849    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1850  else  else
# Line 1935  Line 1884 
1884      # Extract the first word of "gcc", so it can be a program name with args.      # Extract the first word of "gcc", so it can be a program name with args.
1885  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1886  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1887  echo "configure:1939: checking for $ac_word" >&5  echo "configure:1888: checking for $ac_word" >&5
1888  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1889    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1890  else  else
# Line 1965  Line 1914 
1914    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1915  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1916  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1917  echo "configure:1969: checking for $ac_word" >&5  echo "configure:1918: checking for $ac_word" >&5
1918  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1919    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1920  else  else
# Line 2016  Line 1965 
1965        # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
1966  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1967  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1968  echo "configure:2020: checking for $ac_word" >&5  echo "configure:1969: checking for $ac_word" >&5
1969  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1970    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1971  else  else
# Line 2048  Line 1997 
1997  fi  fi
1998    
1999  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2000  echo "configure:2052: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:2001: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2001    
2002  ac_ext=c  ac_ext=c
2003  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 2059  Line 2008 
2008    
2009  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
2010    
2011  #line 2063 "configure"  #line 2012 "configure"
2012  #include "confdefs.h"  #include "confdefs.h"
2013    
2014  main(){return(0);}  main(){return(0);}
2015  EOF  EOF
2016  if { (eval echo configure:2068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2017    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
2018    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
2019    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 2090  Line 2039 
2039    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2040  fi  fi
2041  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2042  echo "configure:2094: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:2043: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2043  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2044  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
2045    
2046  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2047  echo "configure:2099: checking whether we are using GNU C" >&5  echo "configure:2048: checking whether we are using GNU C" >&5
2048  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2049    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2050  else  else
# Line 2104  Line 2053 
2053    yes;    yes;
2054  #endif  #endif
2055  EOF  EOF
2056  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2057    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
2058  else  else
2059    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 2123  Line 2072 
2072  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
2073  CFLAGS=  CFLAGS=
2074  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2075  echo "configure:2127: checking whether ${CC-cc} accepts -g" >&5  echo "configure:2076: checking whether ${CC-cc} accepts -g" >&5
2076  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
2077    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2078  else  else
# Line 2159  Line 2108 
2108  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
2109  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2110  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2111  echo "configure:2163: checking for $ac_word" >&5  echo "configure:2112: checking for $ac_word" >&5
2112  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
2113    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2114  else  else
# Line 2191  Line 2140 
2140    
2141    
2142  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2143  echo "configure:2195: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5  echo "configure:2144: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
2144    
2145  ac_ext=C  ac_ext=C
2146  # 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 2202  Line 2151 
2151    
2152  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
2153    
2154  #line 2206 "configure"  #line 2155 "configure"
2155  #include "confdefs.h"  #include "confdefs.h"
2156    
2157  int main(){return(0);}  int main(){return(0);}
2158  EOF  EOF
2159  if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2160    ac_cv_prog_cxx_works=yes    ac_cv_prog_cxx_works=yes
2161    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
2162    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 2233  Line 2182 
2182    { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
2183  fi  fi
2184  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2185  echo "configure:2237: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:2186: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
2186  echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
2187  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
2188    
2189  echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
2190  echo "configure:2242: checking whether we are using GNU C++" >&5  echo "configure:2191: checking whether we are using GNU C++" >&5
2191  if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
2192    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2193  else  else
# Line 2247  Line 2196 
2196    yes;    yes;
2197  #endif  #endif
2198  EOF  EOF
2199  if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2200    ac_cv_prog_gxx=yes    ac_cv_prog_gxx=yes
2201  else  else
2202    ac_cv_prog_gxx=no    ac_cv_prog_gxx=no
# Line 2266  Line 2215 
2215  ac_save_CXXFLAGS="$CXXFLAGS"  ac_save_CXXFLAGS="$CXXFLAGS"
2216  CXXFLAGS=  CXXFLAGS=
2217  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
2218  echo "configure:2270: checking whether ${CXX-g++} accepts -g" >&5  echo "configure:2219: checking whether ${CXX-g++} accepts -g" >&5
2219  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
2220    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2221  else  else
# Line 2297  Line 2246 
2246    fi    fi
2247  fi  fi
2248    
 for ac_declaration in \  
    ''\  
    '#include <stdlib.h>' \  
    'extern "C" void std::exit (int) throw (); using std::exit;' \  
    'extern "C" void std::exit (int); using std::exit;' \  
    'extern "C" void exit (int) throw ();' \  
    'extern "C" void exit (int);' \  
    'void exit (int);'  
 do  
   cat > conftest.$ac_ext <<EOF  
 #line 2311 "configure"  
 #include "confdefs.h"  
 #include <stdlib.h>  
 $ac_declaration  
 int main() {  
 exit (42);  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   :  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   continue  
 fi  
 rm -f conftest*  
   cat > conftest.$ac_ext <<EOF  
 #line 2329 "configure"  
 #include "confdefs.h"  
 $ac_declaration  
 int main() {  
 exit (42);  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   break  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest*  
 done  
 if test -n "$ac_declaration"; then  
   echo '#ifdef __cplusplus' >>confdefs.h  
   echo $ac_declaration      >>confdefs.h  
   echo '#endif'             >>confdefs.h  
 fi  
   
   
2249      # Extract the first word of "ranlib", so it can be a program name with args.      # Extract the first word of "ranlib", so it can be a program name with args.
2250  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2251  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2252  echo "configure:2355: checking for $ac_word" >&5  echo "configure:2253: checking for $ac_word" >&5
2253  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2254    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2255  else  else
# Line 2383  Line 2281 
2281  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
2282  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2283  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2284  echo "configure:2387: checking for $ac_word" >&5  echo "configure:2285: checking for $ac_word" >&5
2285  if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
2286    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2287  else  else
# Line 2437  Line 2335 
2335  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
2336  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2337  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2338  echo "configure:2441: checking for $ac_word" >&5  echo "configure:2339: checking for $ac_word" >&5
2339  if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
2340    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2341  else  else
# Line 2472  Line 2370 
2370  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
2371  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2372  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2373  echo "configure:2476: checking for $ac_word" >&5  echo "configure:2374: checking for $ac_word" >&5
2374  if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
2375    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2376  else  else
# Line 2507  Line 2405 
2405  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
2406  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2407  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2408  echo "configure:2511: checking for $ac_word" >&5  echo "configure:2409: checking for $ac_word" >&5
2409  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2410    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2411  else  else
# Line 2542  Line 2440 
2440  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
2441  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2442  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2443  echo "configure:2546: checking for $ac_word" >&5  echo "configure:2444: checking for $ac_word" >&5
2444  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
2445    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2446  else  else
# Line 2666  Line 2564 
2564  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
2565    
2566          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2567  #line 2670 "configure"  #line 2568 "configure"
2568  #include "confdefs.h"  #include "confdefs.h"
2569  #include <stdio.h>  #include <stdio.h>
2570  int main() {  int main() {
2571   printf("Hello World\n");   printf("Hello World\n");
2572  ; return 0; }  ; return 0; }
2573  EOF  EOF
2574  if { (eval echo configure:2677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2575    :    :
2576  else  else
2577    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 2691  Line 2589 
2589  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
2590    
2591          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2592  #line 2695 "configure"  #line 2593 "configure"
2593  #include "confdefs.h"  #include "confdefs.h"
2594  #include <new.h>  #include <new.h>
2595  int main() {  int main() {
2596   unsigned *test = new unsigned(42);   unsigned *test = new unsigned(42);
2597  ; return 0; }  ; return 0; }
2598  EOF  EOF
2599  if { (eval echo configure:2702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2600    :    :
2601  else  else
2602    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 2812  Line 2710 
2710          _W32API_MAJOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $1 }'`          _W32API_MAJOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $1 }'`
2711          _W32API_MINOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $2 }'`          _W32API_MINOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $2 }'`
2712          echo $ac_n "checking for w32api version >= $W32API_VERSION""... $ac_c" 1>&6          echo $ac_n "checking for w32api version >= $W32API_VERSION""... $ac_c" 1>&6
2713  echo "configure:2816: checking for w32api version >= $W32API_VERSION" >&5  echo "configure:2714: checking for w32api version >= $W32API_VERSION" >&5
2714          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
2715  #line 2818 "configure"  #line 2716 "configure"
2716  #include "confdefs.h"  #include "confdefs.h"
2717  #include <w32api.h>  #include <w32api.h>
2718  int main() {  int main() {
# Line 2826  Line 2724 
2724                            
2725  ; return 0; }  ; return 0; }
2726  EOF  EOF
2727  if { (eval echo configure:2830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2728    rm -rf conftest*    rm -rf conftest*
2729     res=yes     res=yes
2730  else  else
# Line 2842  Line 2740 
2740          fi          fi
2741          # Check windres version          # Check windres version
2742          echo $ac_n "checking for windres version >= $WINDRES_VERSION""... $ac_c" 1>&6          echo $ac_n "checking for windres version >= $WINDRES_VERSION""... $ac_c" 1>&6
2743  echo "configure:2846: checking for windres version >= $WINDRES_VERSION" >&5  echo "configure:2744: checking for windres version >= $WINDRES_VERSION" >&5
2744          _WINDRES_VERSION=`${WINDRES} --version 2>&1 | grep -i windres 2>/dev/null | $AWK '{ print $3 }'`          _WINDRES_VERSION=`${WINDRES} --version 2>&1 | grep -i windres 2>/dev/null | $AWK '{ print $3 }'`
2745          echo "$ac_t""$_WINDRES_VERSION" 1>&6          echo "$ac_t""$_WINDRES_VERSION" 1>&6
2746          _WINDRES_MAJOR_VERSION=`echo $_WINDRES_VERSION | $AWK -F\. '{ print $1 }'`          _WINDRES_MAJOR_VERSION=`echo $_WINDRES_VERSION | $AWK -F\. '{ print $1 }'`
# Line 2881  Line 2779 
2779  if test "$CC" != "icc" -a -z "$_WIN32_MSVC"; then  if test "$CC" != "icc" -a -z "$_WIN32_MSVC"; then
2780      if test "x$CC" != xcc; then      if test "x$CC" != xcc; then
2781    echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6    echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
2782  echo "configure:2885: checking whether $CC and cc understand -c and -o together" >&5  echo "configure:2783: checking whether $CC and cc understand -c and -o together" >&5
2783  else  else
2784    echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6    echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
2785  echo "configure:2888: checking whether cc understands -c and -o together" >&5  echo "configure:2786: checking whether cc understands -c and -o together" >&5
2786  fi  fi
2787  set dummy $CC; ac_cc="`echo $2 |  set dummy $CC; ac_cc="`echo $2 |
2788                         sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"                         sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
# Line 2896  Line 2794 
2794  # We do the test twice because some compilers refuse to overwrite an  # We do the test twice because some compilers refuse to overwrite an
2795  # existing .o file with -o, though they will create one.  # existing .o file with -o, though they will create one.
2796  ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'  ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
2797  if { (eval echo configure:2900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&  if { (eval echo configure:2798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
2798     test -f conftest.o && { (eval echo configure:2901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };     test -f conftest.o && { (eval echo configure:2799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
2799  then  then
2800    eval ac_cv_prog_cc_${ac_cc}_c_o=yes    eval ac_cv_prog_cc_${ac_cc}_c_o=yes
2801    if test "x$CC" != xcc; then    if test "x$CC" != xcc; then
2802      # Test first that cc exists at all.      # Test first that cc exists at all.
2803      if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:2906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then      if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:2804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
2804        ac_try='cc -c conftest.c -o conftest.o 1>&5'        ac_try='cc -c conftest.c -o conftest.o 1>&5'
2805        if { (eval echo configure:2908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&        if { (eval echo configure:2806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
2806           test -f conftest.o && { (eval echo configure:2909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };           test -f conftest.o && { (eval echo configure:2807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
2807        then        then
2808          # cc works too.          # cc works too.
2809          :          :
# Line 2941  Line 2839 
2839  fi  fi
2840    
2841  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2842  echo "configure:2945: checking how to run the C preprocessor" >&5  echo "configure:2843: checking how to run the C preprocessor" >&5
2843  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2844  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
2845    CPP=    CPP=
# Line 2956  Line 2854 
2854    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
2855    # not just through cpp.    # not just through cpp.
2856    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2857  #line 2960 "configure"  #line 2858 "configure"
2858  #include "confdefs.h"  #include "confdefs.h"
2859  #include <assert.h>  #include <assert.h>
2860  Syntax Error  Syntax Error
2861  EOF  EOF
2862  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2863  { (eval echo configure:2966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2864  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2865  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2866    :    :
# Line 2973  Line 2871 
2871    rm -rf conftest*    rm -rf conftest*
2872    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
2873    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2874  #line 2977 "configure"  #line 2875 "configure"
2875  #include "confdefs.h"  #include "confdefs.h"
2876  #include <assert.h>  #include <assert.h>
2877  Syntax Error  Syntax Error
2878  EOF  EOF
2879  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2880  { (eval echo configure:2983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2881  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2882  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2883    :    :
# Line 2990  Line 2888 
2888    rm -rf conftest*    rm -rf conftest*
2889    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
2890    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2891  #line 2994 "configure"  #line 2892 "configure"
2892  #include "confdefs.h"  #include "confdefs.h"
2893  #include <assert.h>  #include <assert.h>
2894  Syntax Error  Syntax Error
2895  EOF  EOF
2896  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2897  { (eval echo configure:3000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2898  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2899  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2900    :    :
# Line 3021  Line 2919 
2919  echo "$ac_t""$CPP" 1>&6  echo "$ac_t""$CPP" 1>&6
2920    
2921  echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2922  echo "configure:3025: checking how to run the C++ preprocessor" >&5  echo "configure:2923: checking how to run the C++ preprocessor" >&5
2923  if test -z "$CXXCPP"; then  if test -z "$CXXCPP"; then
2924  if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2925    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3034  Line 2932 
2932  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
2933    CXXCPP="${CXX-g++} -E"    CXXCPP="${CXX-g++} -E"
2934    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2935  #line 3038 "configure"  #line 2936 "configure"
2936  #include "confdefs.h"  #include "confdefs.h"
2937  #include <stdlib.h>  #include <stdlib.h>
2938  EOF  EOF
2939  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2940  { (eval echo configure:3043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2941  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2942  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2943    :    :
# Line 3139  Line 3037 
3037  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3038  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3039  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3040  echo "configure:3143: checking for a BSD compatible install" >&5  echo "configure:3041: checking for a BSD compatible install" >&5
3041  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
3042  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3043    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3192  Line 3090 
3090  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3091    
3092  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
3093  echo "configure:3196: checking whether ln -s works" >&5  echo "configure:3094: checking whether ln -s works" >&5
3094  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
3095    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3096  else  else
# Line 3217  Line 3115 
3115  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3116  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3117  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3118  echo "configure:3221: checking for $ac_word" >&5  echo "configure:3119: checking for $ac_word" >&5
3119  if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
3120    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3121  else  else
# Line 3271  Line 3169 
3169    
3170  if test -z "$TINDERBOX_SKIP_PERL_VERSION_CHECK"; then  if test -z "$TINDERBOX_SKIP_PERL_VERSION_CHECK"; then
3171  echo $ac_n "checking for minimum required perl version >= $PERL_VERSION""... $ac_c" 1>&6  echo $ac_n "checking for minimum required perl version >= $PERL_VERSION""... $ac_c" 1>&6
3172  echo "configure:3275: checking for minimum required perl version >= $PERL_VERSION" >&5  echo "configure:3173: checking for minimum required perl version >= $PERL_VERSION" >&5
3173  _perl_version=`PERL_VERSION=$PERL_VERSION $PERL -e 'print "$]"; if ($] >= $ENV{PERL_VERSION}) { exit(0); } else { exit(1); }' 2>&5`  _perl_version=`PERL_VERSION=$PERL_VERSION $PERL -e 'print "$]"; if ($] >= $ENV{PERL_VERSION}) { exit(0); } else { exit(1); }' 2>&5`
3174  _perl_res=$?  _perl_res=$?
3175  echo "$ac_t""$_perl_version" 1>&6  echo "$ac_t""$_perl_version" 1>&6
# Line 3282  Line 3180 
3180  fi  fi
3181    
3182  echo $ac_n "checking for full perl installation""... $ac_c" 1>&6  echo $ac_n "checking for full perl installation""... $ac_c" 1>&6
3183  echo "configure:3286: checking for full perl installation" >&5  echo "configure:3184: checking for full perl installation" >&5
3184  _perl_archlib=`$PERL -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }' 2>&5`  _perl_archlib=`$PERL -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }' 2>&5`
3185  _perl_res=$?  _perl_res=$?
3186  if test "$_perl_res" != 0; then  if test "$_perl_res" != 0; then
# Line 3297  Line 3195 
3195  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3196  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3197  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3198  echo "configure:3301: checking for $ac_word" >&5  echo "configure:3199: checking for $ac_word" >&5
3199  if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
3200    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3201  else  else
# Line 3357  Line 3255 
3255   # Extract the first word of "doxygen", so it can be a program name with args.   # Extract the first word of "doxygen", so it can be a program name with args.
3256  set dummy doxygen; ac_word=$2  set dummy doxygen; ac_word=$2
3257  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3258  echo "configure:3361: checking for $ac_word" >&5  echo "configure:3259: checking for $ac_word" >&5
3259  if eval "test \"`echo '$''{'ac_cv_path_DOXYGEN'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_DOXYGEN'+set}'`\" = set"; then
3260    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3261  else  else
# Line 3406  Line 3304 
3304   # Extract the first word of "whoami", so it can be a program name with args.   # Extract the first word of "whoami", so it can be a program name with args.
3305  set dummy whoami; ac_word=$2  set dummy whoami; ac_word=$2
3306  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3307  echo "configure:3410: checking for $ac_word" >&5  echo "configure:3308: checking for $ac_word" >&5
3308  if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then
3309    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3310  else  else
# Line 3455  Line 3353 
3353   # Extract the first word of "autoconf", so it can be a program name with args.   # Extract the first word of "autoconf", so it can be a program name with args.
3354  set dummy autoconf; ac_word=$2  set dummy autoconf; ac_word=$2
3355  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3356  echo "configure:3459: checking for $ac_word" >&5  echo "configure:3357: checking for $ac_word" >&5
3357  if eval "test \"`echo '$''{'ac_cv_path_AUTOCONF'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_AUTOCONF'+set}'`\" = set"; then
3358    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3359  else  else
# Line 3504  Line 3402 
3402   # Extract the first word of "unzip", so it can be a program name with args.   # Extract the first word of "unzip", so it can be a program name with args.
3403  set dummy unzip; ac_word=$2  set dummy unzip; ac_word=$2
3404  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3405  echo "configure:3508: checking for $ac_word" >&5  echo "configure:3406: checking for $ac_word" >&5
3406  if eval "test \"`echo '$''{'ac_cv_path_UNZIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_UNZIP'+set}'`\" = set"; then
3407    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3408  else  else
# Line 3555  Line 3453 
3453  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3454  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3455  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3456  echo "configure:3559: checking for $ac_word" >&5  echo "configure:3457: checking for $ac_word" >&5
3457  if eval "test \"`echo '$''{'ac_cv_path_ZIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_ZIP'+set}'`\" = set"; then
3458    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3459  else  else
# Line 3609  Line 3507 
3507   # Extract the first word of "makedepend", so it can be a program name with args.   # Extract the first word of "makedepend", so it can be a program name with args.
3508  set dummy makedepend; ac_word=$2  set dummy makedepend; ac_word=$2
3509  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3510  echo "configure:3613: checking for $ac_word" >&5  echo "configure:3511: checking for $ac_word" >&5
3511  if eval "test \"`echo '$''{'ac_cv_path_SYSTEM_MAKEDEPEND'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_SYSTEM_MAKEDEPEND'+set}'`\" = set"; then
3512    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3513  else  else
# Line 3657  Line 3555 
3555   # Extract the first word of "xargs", so it can be a program name with args.   # Extract the first word of "xargs", so it can be a program name with args.
3556  set dummy xargs; ac_word=$2  set dummy xargs; ac_word=$2
3557  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3558  echo "configure:3661: checking for $ac_word" >&5  echo "configure:3559: checking for $ac_word" >&5
3559  if eval "test \"`echo '$''{'ac_cv_path_XARGS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_XARGS'+set}'`\" = set"; then
3560    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3561  else  else
# Line 3731  Line 3629 
3629  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3630  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3631  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3632  echo "configure:3735: checking for $ac_word" >&5  echo "configure:3633: checking for $ac_word" >&5
3633  if eval "test \"`echo '$''{'ac_cv_path_PBBUILD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_PBBUILD'+set}'`\" = set"; then
3634    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3635  else  else
# Line 3794  Line 3692 
3692               # Extract the first word of "sdp", so it can be a program name with args.               # Extract the first word of "sdp", so it can be a program name with args.
3693  set dummy sdp; ac_word=$2  set dummy sdp; ac_word=$2
3694  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3695  echo "configure:3798: checking for $ac_word" >&5  echo "configure:3696: checking for $ac_word" >&5
3696  if eval "test \"`echo '$''{'ac_cv_path_SDP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_SDP'+set}'`\" = set"; then
3697    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3698  else  else
# Line 3910  Line 3808 
3808    
3809        
3810    echo $ac_n "checking for valid compiler/Mac OS X SDK combination""... $ac_c" 1>&6    echo $ac_n "checking for valid compiler/Mac OS X SDK combination""... $ac_c" 1>&6
3811  echo "configure:3914: checking for valid compiler/Mac OS X SDK combination" >&5  echo "configure:3812: checking for valid compiler/Mac OS X SDK combination" >&5
3812    ac_ext=C    ac_ext=C
3813  # 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.
3814  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
# Line 3919  Line 3817 
3817  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
3818    
3819    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3820  #line 3923 "configure"  #line 3821 "configure"
3821  #include "confdefs.h"  #include "confdefs.h"
3822  #include <new>  #include <new>
3823                   int main() { return 0; }                   int main() { return 0; }
# Line 3927  Line 3825 
3825  result=yes  result=yes
3826  ; return 0; }  ; return 0; }
3827  EOF  EOF
3828  if { (eval echo configure:3931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3829    rm -rf conftest*    rm -rf conftest*
3830    result=no    result=no
3831  else  else
# Line 3953  Line 3851 
3851    
3852  case "$host_os" in  case "$host_os" in
3853  cygwin*|mingw*|mks*|msvc*)  cygwin*|mingw*|mks*|msvc*)
3854        for ac_prog in $MAKE make gmake      for ac_prog in $MAKE make gmake
3855  do  do
3856  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3857  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3858  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3859  echo "configure:3962: checking for $ac_word" >&5  echo "configure:3860: checking for $ac_word" >&5
3860  if eval "test \"`echo '$''{'ac_cv_path_MAKE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_MAKE'+set}'`\" = set"; then
3861    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3862  else  else
# Line 3994  Line 3892 
3892  done  done
3893  test -n "$MAKE" || MAKE=":"  test -n "$MAKE" || MAKE=":"
3894    
   if test "$msyshost"; then  
     case "$MAKE" in  
     /*)  
       tmp_DIRNAME=`dirname "$MAKE"`  
       tmp_BASENAME=`basename "$MAKE"`  
       tmp_PWD=`cd "$tmp_DIRNAME" && pwd -W`  
       MAKE="$tmp_PWD/$tmp_BASENAME"  
       if test -e "$MAKE.exe"; then  
         MAKE="$MAKE.exe"  
       fi  
     esac  
   fi  
   
3895      ;;      ;;
3896  *)  *)
3897        for ac_prog in $MAKE gmake make        for ac_prog in $MAKE gmake make
# Line 4014  Line 3899 
3899  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3900  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3901  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3902  echo "configure:4018: checking for $ac_word" >&5  echo "configure:3903: checking for $ac_word" >&5
3903  if eval "test \"`echo '$''{'ac_cv_path_MAKE'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_MAKE'+set}'`\" = set"; then
3904    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3905  else  else
# Line 4073  Line 3958 
3958  # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
3959  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
3960  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
3961  echo "configure:4077: checking for X" >&5  echo "configure:3962: checking for X" >&5
3962    
3963  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
3964  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 4135  Line 4020 
4020    
4021    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
4022  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4023  #line 4139 "configure"  #line 4024 "configure"
4024  #include "confdefs.h"  #include "confdefs.h"
4025  #include <$x_direct_test_include>  #include <$x_direct_test_include>
4026  EOF  EOF
4027  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4028  { (eval echo configure:4144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4029  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4030  if test -z "$ac_err"; then  if test -z "$ac_err"; then
4031    rm -rf conftest*    rm -rf conftest*
# Line 4209  Line 4094 
4094    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4095    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
4096  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4097  #line 4213 "configure"  #line 4098 "configure"
4098  #include "confdefs.h"  #include "confdefs.h"
4099    
4100  int main() {  int main() {
4101  ${x_direct_test_function}()  ${x_direct_test_function}()
4102  ; return 0; }  ; return 0; }
4103  EOF  EOF
4104  if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4105    rm -rf conftest*    rm -rf conftest*
4106    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
4107  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 4322  Line 4207 
4207      case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
4208      "SunOS 5"*)      "SunOS 5"*)
4209        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4210  echo "configure:4326: checking whether -R must be followed by a space" >&5  echo "configure:4211: checking whether -R must be followed by a space" >&5
4211        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4212        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
4213  #line 4329 "configure"  #line 4214 "configure"
4214  #include "confdefs.h"  #include "confdefs.h"
4215    
4216  int main() {  int main() {
4217    
4218  ; return 0; }  ; return 0; }
4219  EOF  EOF
4220  if { (eval echo configure:4336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4221    rm -rf conftest*    rm -rf conftest*
4222    ac_R_nospace=yes    ac_R_nospace=yes
4223  else  else
# Line 4348  Line 4233 
4233        else        else
4234          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
4235          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
4236  #line 4352 "configure"  #line 4237 "configure"
4237  #include "confdefs.h"  #include "confdefs.h"
4238    
4239  int main() {  int main() {
4240    
4241  ; return 0; }  ; return 0; }
4242  EOF  EOF
4243  if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4244    rm -rf conftest*    rm -rf conftest*
4245    ac_R_space=yes    ac_R_space=yes
4246  else  else
# Line 4387  Line 4272 
4272      # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
4273      # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
4274      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4275  echo "configure:4391: checking for dnet_ntoa in -ldnet" >&5  echo "configure:4276: checking for dnet_ntoa in -ldnet" >&5
4276  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4277  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
4278    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4395  Line 4280 
4280    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4281  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
4282  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4283  #line 4399 "configure"  #line 4284 "configure"
4284  #include "confdefs.h"  #include "confdefs.h"
4285  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4286  /* 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 4406  Line 4291 
4291  dnet_ntoa()  dnet_ntoa()
4292  ; return 0; }  ; return 0; }
4293  EOF  EOF
4294  if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4295    rm -rf conftest*    rm -rf conftest*
4296    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4297  else  else
# Line 4428  Line 4313 
4313    
4314      if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4315        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
4316  echo "configure:4432: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:4317: checking for dnet_ntoa in -ldnet_stub" >&5
4317  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4318  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
4319    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4436  Line 4321 
4321    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4322  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
4323  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4324  #line 4440 "configure"  #line 4325 "configure"
4325  #include "confdefs.h"  #include "confdefs.h"
4326  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4327  /* 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 4447  Line 4332 
4332  dnet_ntoa()  dnet_ntoa()
4333  ; return 0; }  ; return 0; }
4334  EOF  EOF
4335  if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4336    rm -rf conftest*    rm -rf conftest*
4337    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4338  else  else
# Line 4476  Line 4361 
4361      # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
4362      # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
4363      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4364  echo "configure:4480: checking for gethostbyname" >&5  echo "configure:4365: checking for gethostbyname" >&5
4365  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
4366    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4367  else  else
4368    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4369  #line 4485 "configure"  #line 4370 "configure"
4370  #include "confdefs.h"  #include "confdefs.h"
4371  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4372      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 4504  Line 4389 
4389    
4390  ; return 0; }  ; return 0; }
4391  EOF  EOF
4392  if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4393    rm -rf conftest*    rm -rf conftest*
4394    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
4395  else  else
# Line 4525  Line 4410 
4410    
4411      if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
4412        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
4413  echo "configure:4529: checking for gethostbyname in -lnsl" >&5  echo "configure:4414: checking for gethostbyname in -lnsl" >&5
4414  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
4415  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
4416    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4533  Line 4418 
4418    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4419  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
4420  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4421  #line 4537 "configure"  #line 4422 "configure"
4422  #include "confdefs.h"  #include "confdefs.h"
4423  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4424  /* 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 4544  Line 4429 
4429  gethostbyname()  gethostbyname()
4430  ; return 0; }  ; return 0; }
4431  EOF  EOF
4432  if { (eval echo configure:4548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4433    rm -rf conftest*    rm -rf conftest*
4434    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4435  else  else
# Line 4574  Line 4459 
4459      # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
4460      # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
4461      echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
4462  echo "configure:4578: checking for connect" >&5  echo "configure:4463: checking for connect" >&5
4463  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
4464    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4465  else  else
4466    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4467  #line 4583 "configure"  #line 4468 "configure"
4468  #include "confdefs.h"  #include "confdefs.h"
4469  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4470      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 4602  Line 4487 
4487    
4488  ; return 0; }  ; return 0; }
4489  EOF  EOF
4490  if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4491    rm -rf conftest*    rm -rf conftest*
4492    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
4493  else  else
# Line 4623  Line 4508 
4508    
4509      if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
4510        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
4511  echo "configure:4627: checking for connect in -lsocket" >&5  echo "configure:4512: checking for connect in -lsocket" >&5
4512  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
4513  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
4514    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4631  Line 4516 
4516    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4517  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4518  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4519  #line 4635 "configure"  #line 4520 "configure"
4520  #include "confdefs.h"  #include "confdefs.h"
4521  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4522  /* 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 4642  Line 4527 
4527  connect()  connect()
4528  ; return 0; }  ; return 0; }
4529  EOF  EOF
4530  if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4531    rm -rf conftest*    rm -rf conftest*
4532    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4533  else  else
# Line 4666  Line 4551 
4551    
4552      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
4553      echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
4554  echo "configure:4670: checking for remove" >&5  echo "configure:4555: checking for remove" >&5
4555  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
4556    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4557  else  else
4558    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4559  #line 4675 "configure"  #line 4560 "configure"
4560  #include "confdefs.h"  #include "confdefs.h"
4561  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4562      which can conflict with char remove(); below.  */      which can conflict with char remove(); below.  */
# Line 4694  Line 4579 
4579    
4580  ; return 0; }  ; return 0; }
4581  EOF  EOF
4582  if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4583    rm -rf conftest*    rm -rf conftest*
4584    eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
4585  else  else
# Line 4715  Line 4600 
4600    
4601      if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
4602        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
4603  echo "configure:4719: checking for remove in -lposix" >&5  echo "configure:4604: checking for remove in -lposix" >&5
4604  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
4605  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
4606    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4723  Line 4608 
4608    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4609  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
4610  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4611  #line 4727 "configure"  #line 4612 "configure"
4612  #include "confdefs.h"  #include "confdefs.h"
4613  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4614  /* 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 4734  Line 4619 
4619  remove()  remove()
4620  ; return 0; }  ; return 0; }
4621  EOF  EOF
4622  if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4623    rm -rf conftest*    rm -rf conftest*
4624    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4625  else  else
# Line 4758  Line 4643 
4643    
4644      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4645      echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
4646  echo "configure:4762: checking for shmat" >&5  echo "configure:4647: checking for shmat" >&5
4647  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
4648    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4649  else  else
4650    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4651  #line 4767 "configure"  #line 4652 "configure"
4652  #include "confdefs.h"  #include "confdefs.h"
4653  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4654      which can conflict with char shmat(); below.  */      which can conflict with char shmat(); below.  */
# Line 4786  Line 4671 
4671    
4672  ; return 0; }  ; return 0; }
4673  EOF  EOF
4674  if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4675    rm -rf conftest*    rm -rf conftest*
4676    eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
4677  else  else
# Line 4807  Line 4692 
4692    
4693      if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
4694        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
4695  echo "configure:4811: checking for shmat in -lipc" >&5  echo "configure:4696: checking for shmat in -lipc" >&5
4696  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
4697  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
4698    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4815  Line 4700 
4700    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4701  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
4702  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4703  #line 4819 "configure"  #line 4704 "configure"
4704  #include "confdefs.h"  #include "confdefs.h"
4705  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4706  /* 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 4826  Line 4711 
4711  shmat()  shmat()
4712  ; return 0; }  ; return 0; }
4713  EOF  EOF
4714  if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4715    rm -rf conftest*    rm -rf conftest*
4716    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4717  else  else
# Line 4859  Line 4744 
4744    # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
4745    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
4746    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
4747  echo "configure:4863: checking for IceConnectionNumber in -lICE" >&5  echo "configure:4748: checking for IceConnectionNumber in -lICE" >&5
4748  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
4749  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
4750    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4867  Line 4752 
4752    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4753  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4754  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4755  #line 4871 "configure"  #line 4756 "configure"
4756  #include "confdefs.h"  #include "confdefs.h"
4757  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4758  /* 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 4878  Line 4763 
4763  IceConnectionNumber()  IceConnectionNumber()
4764  ; return 0; }  ; return 0; }
4765  EOF  EOF
4766  if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4767    rm -rf conftest*    rm -rf conftest*
4768    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4769  else  else
# Line 5339  Line 5224 
5224      _USE_CPP_INCLUDE_FLAG=1      _USE_CPP_INCLUDE_FLAG=1
5225    
5226      echo $ac_n "checking whether the compiler supports -Wno-invalid-offsetof""... $ac_c" 1>&6      echo $ac_n "checking whether the compiler supports -Wno-invalid-offsetof""... $ac_c" 1>&6
5227  echo "configure:5343: checking whether the compiler supports -Wno-invalid-offsetof" >&5  echo "configure:5228: checking whether the compiler supports -Wno-invalid-offsetof" >&5
5228  if eval "test \"`echo '$''{'ac_has_wno_invalid_offsetof'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_has_wno_invalid_offsetof'+set}'`\" = set"; then
5229    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5230  else  else
# Line 5355  Line 5240 
5240              _SAVE_CXXFLAGS="$CXXFLAGS"              _SAVE_CXXFLAGS="$CXXFLAGS"
5241              CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-invalid-offsetof"              CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-invalid-offsetof"
5242              cat > conftest.$ac_ext <<EOF              cat > conftest.$ac_ext <<EOF
5243  #line 5359 "configure"  #line 5244 "configure"
5244  #include "confdefs.h"  #include "confdefs.h"
5245    
5246  int main() {  int main() {
5247  return(0);  return(0);
5248  ; return 0; }  ; return 0; }
5249  EOF  EOF
5250  if { (eval echo configure:5366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5251    rm -rf conftest*    rm -rf conftest*
5252    ac_has_wno_invalid_offsetof="yes"    ac_has_wno_invalid_offsetof="yes"
5253  else  else
# Line 5389  Line 5274 
5274      fi      fi
5275    
5276      echo $ac_n "checking whether the compiler supports -Wno-variadic-macros""... $ac_c" 1>&6      echo $ac_n "checking whether the compiler supports -Wno-variadic-macros""... $ac_c" 1>&6
5277  echo "configure:5393: checking whether the compiler supports -Wno-variadic-macros" >&5  echo "configure:5278: checking whether the compiler supports -Wno-variadic-macros" >&5
5278  if eval "test \"`echo '$''{'ac_has_wno_variadic_macros'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_has_wno_variadic_macros'+set}'`\" = set"; then
5279    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5280  else  else
# Line 5405  Line 5290 
5290              _SAVE_CXXFLAGS="$CXXFLAGS"              _SAVE_CXXFLAGS="$CXXFLAGS"
5291              CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-variadic-macros"              CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-variadic-macros"
5292              cat > conftest.$ac_ext <<EOF              cat > conftest.$ac_ext <<EOF
5293  #line 5409 "configure"  #line 5294 "configure"
5294  #include "confdefs.h"  #include "confdefs.h"
5295    
5296  int main() {  int main() {
5297  return(0);  return(0);
5298  ; return 0; }  ; return 0; }
5299  EOF  EOF
5300  if { (eval echo configure:5416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5301    rm -rf conftest*    rm -rf conftest*
5302    ac_has_wno_variadic_macros="yes"    ac_has_wno_variadic_macros="yes"
5303  else  else
# Line 5447  Line 5332 
5332  if test "$COMPILE_ENVIRONMENT"; then  if test "$COMPILE_ENVIRONMENT"; then
5333  if test "$GNU_CC"; then  if test "$GNU_CC"; then
5334    echo $ac_n "checking whether ld has archive extraction flags""... $ac_c" 1>&6    echo $ac_n "checking whether ld has archive extraction flags""... $ac_c" 1>&6
5335  echo "configure:5451: checking whether ld has archive extraction flags" >&5  echo "configure:5336: checking whether ld has archive extraction flags" >&5
5336    if eval "test \"`echo '$''{'ac_cv_mkshlib_force_and_unforce'+set}'`\" = set"; then    if eval "test \"`echo '$''{'ac_cv_mkshlib_force_and_unforce'+set}'`\" = set"; then
5337    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5338  else  else
# Line 5464  Line 5349 
5349        LDFLAGS=$force        LDFLAGS=$force
5350        LIBS=$unforce        LIBS=$unforce
5351        cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
5352  #line 5468 "configure"  #line 5353 "configure"
5353  #include "confdefs.h"  #include "confdefs.h"
5354    
5355  int main() {  int main() {
5356    
5357  ; return 0; }  ; return 0; }
5358  EOF  EOF
5359  if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5360    rm -rf conftest*    rm -rf conftest*
5361    ac_cv_mkshlib_force_and_unforce=$line; break    ac_cv_mkshlib_force_and_unforce=$line; break
5362  else  else
# Line 5504  Line 5389 
5389  '  '
5390    
5391  echo $ac_n "checking that static assertion macros used in autoconf tests work""... $ac_c" 1>&6  echo $ac_n "checking that static assertion macros used in autoconf tests work""... $ac_c" 1>&6
5392  echo "configure:5508: checking that static assertion macros used in autoconf tests work" >&5  echo "configure:5393: checking that static assertion macros used in autoconf tests work" >&5
5393  if eval "test \"`echo '$''{'ac_cv_static_assertion_macros_work'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_static_assertion_macros_work'+set}'`\" = set"; then
5394    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5395  else  else
# Line 5518  Line 5403 
5403    
5404    ac_cv_static_assertion_macros_work="yes"    ac_cv_static_assertion_macros_work="yes"
5405    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5406  #line 5522 "configure"  #line 5407 "configure"
5407  #include "confdefs.h"  #include "confdefs.h"
5408  $configure_static_assert_macros  $configure_static_assert_macros
5409  int main() {  int main() {
5410  CONFIGURE_STATIC_ASSERT(1)  CONFIGURE_STATIC_ASSERT(1)
5411  ; return 0; }  ; return 0; }
5412  EOF  EOF
5413  if { (eval echo configure:5529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5414    :    :
5415  else  else
5416    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 5535  Line 5420 
5420  fi  fi
5421  rm -f conftest*  rm -f conftest*
5422    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5423  #line 5539 "configure"  #line 5424 "configure"
5424  #include "confdefs.h"  #include "confdefs.h"
5425  $configure_static_assert_macros  $configure_static_assert_macros
5426  int main() {  int main() {
5427  CONFIGURE_STATIC_ASSERT(0)  CONFIGURE_STATIC_ASSERT(0)
5428  ; return 0; }  ; return 0; }
5429  EOF  EOF
5430  if { (eval echo configure:5546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5431    rm -rf conftest*    rm -rf conftest*
5432    ac_cv_static_assertion_macros_work="no"    ac_cv_static_assertion_macros_work="no"
5433  else  else
# Line 5558  Line 5443 
5443  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
5444    
5445    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5446  #line 5562 "configure"  #line 5447 "configure"
5447  #include "confdefs.h"  #include "confdefs.h"
5448  $configure_static_assert_macros  $configure_static_assert_macros
5449  int main() {  int main() {
5450  CONFIGURE_STATIC_ASSERT(1)  CONFIGURE_STATIC_ASSERT(1)
5451  ; return 0; }  ; return 0; }
5452  EOF  EOF
5453  if { (eval echo configure:5569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5454    :    :
5455  else  else
5456    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 5575  Line 5460 
5460  fi  fi
5461  rm -f conftest*  rm -f conftest*
5462    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5463  #line 5579 "configure"  #line 5464 "configure"
5464  #include "confdefs.h"  #include "confdefs.h"
5465  $configure_static_assert_macros  $configure_static_assert_macros
5466  int main() {  int main() {
5467  CONFIGURE_STATIC_ASSERT(0)  CONFIGURE_STATIC_ASSERT(0)
5468  ; return 0; }  ; return 0; }
5469  EOF  EOF
5470  if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5471    rm -rf conftest*    rm -rf conftest*
5472    ac_cv_static_assertion_macros_work="no"    ac_cv_static_assertion_macros_work="no"
5473  else  else
# Line 5616  Line 5501 
5501  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
5502    
5503  echo $ac_n "checking for 64-bit OS""... $ac_c" 1>&6  echo $ac_n "checking for 64-bit OS""... $ac_c" 1>&6
5504  echo "configure:5620: checking for 64-bit OS" >&5  echo "configure:5505: checking for 64-bit OS" >&5
5505  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5506  #line 5622 "configure"  #line 5507 "configure"
5507  #include "confdefs.h"  #include "confdefs.h"
5508  $configure_static_assert_macros  $configure_static_assert_macros
5509  int main() {  int main() {
5510  CONFIGURE_STATIC_ASSERT(sizeof(long) == 8)  CONFIGURE_STATIC_ASSERT(sizeof(long) == 8)
5511  ; return 0; }  ; return 0; }
5512  EOF  EOF
5513  if { (eval echo configure:5629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5514    rm -rf conftest*    rm -rf conftest*
5515    result="yes"    result="yes"
5516  else  else
# Line 5782  Line 5667 
5667  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
5668    
5669              echo $ac_n "checking for VisualAge C++ compiler version >= 6.0.0.3""... $ac_c" 1>&6              echo $ac_n "checking for VisualAge C++ compiler version >= 6.0.0.3""... $ac_c" 1>&6
5670  echo "configure:5786: checking for VisualAge C++ compiler version >= 6.0.0.3" >&5  echo "configure:5671: checking for VisualAge C++ compiler version >= 6.0.0.3" >&5
5671              cat > conftest.$ac_ext <<EOF              cat > conftest.$ac_ext <<EOF
5672  #line 5788 "configure"  #line 5673 "configure"
5673  #include "confdefs.h"  #include "confdefs.h"
5674    
5675  int main() {  int main() {
# Line 5793  Line 5678 
5678                   #endif                   #endif
5679  ; return 0; }  ; return 0; }
5680  EOF  EOF
5681  if { (eval echo configure:5797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5682    rm -rf conftest*    rm -rf conftest*
5683    _BAD_COMPILER=    _BAD_COMPILER=
5684  else  else
# Line 5831  Line 5716 
5716  do  do
5717  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5718  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5719  echo "configure:5835: checking for $ac_hdr" >&5  echo "configure:5720: checking for $ac_hdr" >&5
5720  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5721    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5722  else  else
5723    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5724  #line 5840 "configure"  #line 5725 "configure"
5725  #include "confdefs.h"  #include "confdefs.h"
5726  #include <$ac_hdr>  #include <$ac_hdr>
5727  EOF  EOF
5728  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5729  { (eval echo configure:5845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5730  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5731  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5732    rm -rf conftest*    rm -rf conftest*
# Line 5883  Line 5768 
5768      LIBS="$LIBS -lbe"      LIBS="$LIBS -lbe"
5769      if test "$COMPILE_ENVIRONMENT"; then      if test "$COMPILE_ENVIRONMENT"; then
5770          echo $ac_n "checking for main in -lbind""... $ac_c" 1>&6          echo $ac_n "checking for main in -lbind""... $ac_c" 1>&6
5771  echo "configure:5887: checking for main in -lbind" >&5  echo "configure:5772: checking for main in -lbind" >&5
5772  ac_lib_var=`echo bind'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo bind'_'main | sed 'y%./+-%__p_%'`
5773  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
5774    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5891  Line 5776 
5776    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5777  LIBS="-lbind  $LIBS"  LIBS="-lbind  $LIBS"
5778  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5779  #line 5895 "configure"  #line 5780 "configure"
5780  #include "confdefs.h"  #include "confdefs.h"
5781    
5782  int main() {  int main() {
5783  main()  main()
5784  ; return 0; }  ; return 0; }
5785  EOF  EOF
5786  if { (eval echo configure:5902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5787    rm -rf conftest*    rm -rf conftest*
5788    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5789  else  else
# Line 5919  Line 5804 
5804  fi  fi
5805    
5806          echo $ac_n "checking for main in -lzeta""... $ac_c" 1>&6          echo $ac_n "checking for main in -lzeta""... $ac_c" 1>&6
5807  echo "configure:5923: checking for main in -lzeta" >&5  echo "configure:5808: checking for main in -lzeta" >&5
5808  ac_lib_var=`echo zeta'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo zeta'_'main | sed 'y%./+-%__p_%'`
5809  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
5810    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5927  Line 5812 
5812    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5813  LIBS="-lzeta  $LIBS"  LIBS="-lzeta  $LIBS"
5814  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5815  #line 5931 "configure"  #line 5816 "configure"
5816  #include "confdefs.h"  #include "confdefs.h"
5817    
5818  int main() {  int main() {
5819  main()  main()
5820  ; return 0; }  ; return 0; }
5821  EOF  EOF
5822  if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5823    rm -rf conftest*    rm -rf conftest*
5824    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5825  else  else
# Line 6006  Line 5891 
5891          echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."          echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."
5892      else      else
5893                  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
5894  echo "configure:6010: checking for -dead_strip option to ld" >&5  echo "configure:5895: checking for -dead_strip option to ld" >&5
5895          _SAVE_LDFLAGS=$LDFLAGS          _SAVE_LDFLAGS=$LDFLAGS
5896          LDFLAGS="$LDFLAGS -Wl,-dead_strip"          LDFLAGS="$LDFLAGS -Wl,-dead_strip"
5897          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
5898  #line 6014 "configure"  #line 5899 "configure"
5899  #include "confdefs.h"  #include "confdefs.h"
5900    
5901  int main() {  int main() {
5902  return 0;  return 0;
5903  ; return 0; }  ; return 0; }
5904  EOF  EOF
5905  if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5906    rm -rf conftest*    rm -rf conftest*
5907    _HAVE_DEAD_STRIP=1    _HAVE_DEAD_STRIP=1
5908  else  else
# Line 6545  Line 6430 
6430  do  do
6431  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6432  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6433  echo "configure:6549: checking for $ac_hdr" >&5  echo "configure:6434: checking for $ac_hdr" >&5
6434  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6435    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6436  else  else
6437    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6438  #line 6554 "configure"  #line 6439 "configure"
6439  #include "confdefs.h"  #include "confdefs.h"
6440  #include <$ac_hdr>  #include <$ac_hdr>
6441  EOF  EOF
6442  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6443  { (eval echo configure:6559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6444  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6445  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6446    rm -rf conftest*    rm -rf conftest*
# Line 6594  Line 6479 
6479  do  do
6480  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6481  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6482  echo "configure:6598: checking for $ac_hdr" >&5  echo "configure:6483: checking for $ac_hdr" >&5
6483  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6484    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6485  else  else
6486    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6487  #line 6603 "configure"  #line 6488 "configure"
6488  #include "confdefs.h"  #include "confdefs.h"
6489  #include <$ac_hdr>  #include <$ac_hdr>
6490  EOF  EOF
6491  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6492  { (eval echo configure:6608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6493  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6494  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6495    rm -rf conftest*    rm -rf conftest*
# Line 6838  Line 6723 
6723      _DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"      _DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"
6724    
6725      echo $ac_n "checking for __declspec(dllexport)""... $ac_c" 1>&6      echo $ac_n "checking for __declspec(dllexport)""... $ac_c" 1>&6
6726  echo "configure:6842: checking for __declspec(dllexport)" >&5  echo "configure:6727: checking for __declspec(dllexport)" >&5
6727  if eval "test \"`echo '$''{'ac_os2_declspec'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_os2_declspec'+set}'`\" = set"; then
6728    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6729  else  else
6730    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6731  #line 6847 "configure"  #line 6732 "configure"
6732  #include "confdefs.h"  #include "confdefs.h"
6733  __declspec(dllexport) void ac_os2_declspec(void) {}  __declspec(dllexport) void ac_os2_declspec(void) {}
6734  int main() {  int main() {
6735  return 0;  return 0;
6736  ; return 0; }  ; return 0; }
6737  EOF  EOF
6738  if { (eval echo configure:6854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6739    rm -rf conftest*    rm -rf conftest*
6740    ac_os2_declspec="yes"    ac_os2_declspec="yes"
6741  else  else
# Line 6970  Line 6855 
6855             _SAVE_LDFLAGS=$LDFLAGS             _SAVE_LDFLAGS=$LDFLAGS
6856             LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"             LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"
6857             cat > conftest.$ac_ext <<EOF             cat > conftest.$ac_ext <<EOF
6858  #line 6974 "configure"  #line 6859 "configure"
6859  #include "confdefs.h"  #include "confdefs.h"
6860  #include <stdio.h>  #include <stdio.h>
6861  int main() {  int main() {
6862  printf("Hello World\n");  printf("Hello World\n");
6863  ; return 0; }  ; return 0; }
6864  EOF  EOF
6865  if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6866    :    :
6867  else  else
6868    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 7006  Line 6891 
6891         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 }'`
6892         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 }'`
6893         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
6894  echo "configure:7010: checking for Sun C++ compiler version >= 5.9" >&5  echo "configure:6895: checking for Sun C++ compiler version >= 5.9" >&5
6895                
6896         ac_ext=C         ac_ext=C
6897  # 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 7016  Line 6901 
6901  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
6902    
6903         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
6904  #line 7020 "configure"  #line 6905 "configure"
6905  #include "confdefs.h"  #include "confdefs.h"
6906    
6907  int main() {  int main() {
# Line 7025  Line 6910 
6910             #endif             #endif
6911  ; return 0; }  ; return 0; }
6912  EOF  EOF
6913  if { (eval echo configure:7029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6914    rm -rf conftest*    rm -rf conftest*
6915    _BAD_COMPILER=    _BAD_COMPILER=
6916  else  else
# Line 7288  Line 7173 
7173  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
7174    
7175  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
7176  echo "configure:7292: checking for ANSI C header files" >&5  echo "configure:7177: checking for ANSI C header files" >&5
7177  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7178    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7179  else  else
7180    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7181  #line 7297 "configure"  #line 7182 "configure"
7182  #include "confdefs.h"  #include "confdefs.h"
7183  #include <stdlib.h>  #include <stdlib.h>
7184  #include <stdarg.h>  #include <stdarg.h>
# Line 7301  Line 7186 
7186  #include <float.h>  #include <float.h>
7187  EOF  EOF
7188  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7189  { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:7190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7190  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7191  if test -z "$ac_err"; then  if test -z "$ac_err"; then
7192    rm -rf conftest*    rm -rf conftest*
# Line 7318  Line 7203 
7203  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
7204    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7205  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7206  #line 7322 "configure"  #line 7207 "configure"
7207  #include "confdefs.h"  #include "confdefs.h"
7208  #include <string.h>  #include <string.h>
7209  EOF  EOF
# Line 7336  Line 7221 
7221  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
7222    # 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.
7223  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7224  #line 7340 "configure"  #line 7225 "configure"
7225  #include "confdefs.h"  #include "confdefs.h"
7226  #include <stdlib.h>  #include <stdlib.h>
7227  EOF  EOF
# Line 7357  Line 7242 
7242    :    :
7243  else  else
7244    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7245  #line 7361 "configure"  #line 7246 "configure"
7246  #include "confdefs.h"  #include "confdefs.h"
7247  #include <ctype.h>  #include <ctype.h>
7248  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 7368  Line 7253 
7253  exit (0); }  exit (0); }
7254    
7255  EOF  EOF
7256  if { (eval echo configure:7372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7257  then  then
7258    :    :
7259  else  else
# Line 7392  Line 7277 
7277  fi  fi
7278    
7279  echo $ac_n "checking for working const""... $ac_c" 1>&6  echo $ac_n "checking for working const""... $ac_c" 1>&6
7280  echo "configure:7396: checking for working const" >&5  echo "configure:7281: checking for working const" >&5
7281  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7282    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7283  else  else
7284    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7285  #line 7401 "configure"  #line 7286 "configure"
7286  #include "confdefs.h"  #include "confdefs.h"
7287    
7288  int main() {  int main() {
# Line 7446  Line 7331 
7331    
7332  ; return 0; }  ; return 0; }
7333  EOF  EOF
7334  if { (eval echo configure:7450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7335    rm -rf conftest*    rm -rf conftest*
7336    ac_cv_c_const=yes    ac_cv_c_const=yes
7337  else  else
# Line 7467  Line 7352 
7352  fi  fi
7353    
7354  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
7355  echo "configure:7471: checking for mode_t" >&5  echo "configure:7356: checking for mode_t" >&5
7356  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
7357    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7358  else  else
7359    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7360  #line 7476 "configure"  #line 7361 "configure"
7361  #include "confdefs.h"  #include "confdefs.h"
7362  #include <sys/types.h>  #include <sys/types.h>
7363  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7500  Line 7385 
7385  fi  fi
7386    
7387  echo $ac_n "checking for off_t""... $ac_c" 1>&6  echo $ac_n "checking for off_t""... $ac_c" 1>&6
7388  echo "configure:7504: checking for off_t" >&5  echo "configure:7389: checking for off_t" >&5
7389  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
7390    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7391  else  else
7392    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7393  #line 7509 "configure"  #line 7394 "configure"
7394  #include "confdefs.h"  #include "confdefs.h"
7395  #include <sys/types.h>  #include <sys/types.h>
7396  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7533  Line 7418 
7418  fi  fi
7419    
7420  echo $ac_n "checking for pid_t""... $ac_c" 1>&6  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7421  echo "configure:7537: checking for pid_t" >&5  echo "configure:7422: checking for pid_t" >&5
7422  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7423    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7424  else  else
7425    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7426  #line 7542 "configure"  #line 7427 "configure"
7427  #include "confdefs.h"  #include "confdefs.h"
7428  #include <sys/types.h>  #include <sys/types.h>
7429  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7566  Line 7451 
7451  fi  fi
7452    
7453  echo $ac_n "checking for size_t""... $ac_c" 1>&6  echo $ac_n "checking for size_t""... $ac_c" 1>&6
7454  echo "configure:7570: checking for size_t" >&5  echo "configure:7455: checking for size_t" >&5
7455  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
7456    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7457  else  else
7458    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7459  #line 7575 "configure"  #line 7460 "configure"
7460  #include "confdefs.h"  #include "confdefs.h"
7461  #include <sys/types.h>  #include <sys/types.h>
7462  #if STDC_HEADERS  #if STDC_HEADERS
# Line 7599  Line 7484 
7484  fi  fi
7485    
7486  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
7487  echo "configure:7603: checking for st_blksize in struct stat" >&5  echo "configure:7488: checking for st_blksize in struct stat" >&5
7488  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
7489    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7490  else  else
7491    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7492  #line 7608 "configure"  #line 7493 "configure"
7493  #include "confdefs.h"  #include "confdefs.h"
7494  #include <sys/types.h>  #include <sys/types.h>
7495  #include <sys/stat.h>  #include <sys/stat.h>
# Line 7612  Line 7497 
7497  struct stat s; s.st_blksize;  struct stat s; s.st_blksize;
7498  ; return 0; }  ; return 0; }
7499  EOF  EOF
7500  if { (eval echo configure:7616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7501    rm -rf conftest*    rm -rf conftest*
7502    ac_cv_struct_st_blksize=yes    ac_cv_struct_st_blksize=yes
7503  else  else
# Line 7633  Line 7518 
7518  fi  fi
7519    
7520  echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6  echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6
7521  echo "configure:7637: checking for siginfo_t" >&5  echo "configure:7522: checking for siginfo_t" >&5
7522  if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then
7523    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7524  else  else
7525    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7526  #line 7642 "configure"  #line 7527 "configure"
7527  #include "confdefs.h"  #include "confdefs.h"
7528  #define _POSIX_C_SOURCE 199506L  #define _POSIX_C_SOURCE 199506L
7529                    #include <signal.h>                    #include <signal.h>
# Line 7646  Line 7531 
7531  siginfo_t* info;  siginfo_t* info;
7532  ; return 0; }  ; return 0; }
7533  EOF  EOF
7534  if { (eval echo configure:7650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7535    rm -rf conftest*    rm -rf conftest*
7536    ac_cv_siginfo_t=true    ac_cv_siginfo_t=true
7537  else  else
# Line 7671  Line 7556 
7556    
7557  ac_safe=`echo "stdint.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "stdint.h" | sed 'y%./+-%__p_%'`
7558  echo $ac_n "checking for stdint.h""... $ac_c" 1>&6  echo $ac_n "checking for stdint.h""... $ac_c" 1>&6
7559  echo "configure:7675: checking for stdint.h" >&5  echo "configure:7560: checking for stdint.h" >&5
7560  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7561    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7562  else  else
7563    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7564  #line 7680 "configure"  #line 7565 "configure"
7565  #include "confdefs.h"  #include "confdefs.h"
7566  #include <stdint.h>  #include <stdint.h>
7567  EOF  EOF
7568  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7569  { (eval echo configure:7685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:7570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7570  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7571  if test -z "$ac_err"; then  if test -z "$ac_err"; then
7572    rm -rf conftest*    rm -rf conftest*
# Line 7710  Line 7595 
7595  else  else
7596                                            
7597  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
7598  echo "configure:7714: checking for a 1-byte type" >&5  echo "configure:7599: checking for a 1-byte type" >&5
7599  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
7600    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7601  else  else
# Line 7718  Line 7603 
7603    moz_cv_n_byte_type_JS_INT8_TYPE=    moz_cv_n_byte_type_JS_INT8_TYPE=
7604    for type in char; do    for type in char; do
7605      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7606  #line 7722 "configure"  #line 7607 "configure"
7607  #include "confdefs.h"  #include "confdefs.h"
7608    
7609  int main() {  int main() {
# Line 7728  Line 7613 
7613                                        
7614  ; return 0; }  ; return 0; }
7615  EOF  EOF
7616  if { (eval echo configure:7732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7617    rm -rf conftest*    rm -rf conftest*
7618    moz_cv_n_byte_type_JS_INT8_TYPE=$type; break    moz_cv_n_byte_type_JS_INT8_TYPE=$type; break
7619  else  else
# Line 7751  Line 7636 
7636    
7637            
7638  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
7639  echo "configure:7755: checking for a 2-byte type" >&5  echo "configure:7640: checking for a 2-byte type" >&5
7640  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
7641    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7642  else  else
# Line 7759  Line 7644 
7644    moz_cv_n_byte_type_JS_INT16_TYPE=    moz_cv_n_byte_type_JS_INT16_TYPE=
7645    for type in short int long; do    for type in short int long; do
7646      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7647  #line 7763 "configure"  #line 7648 "configure"
7648  #include "confdefs.h"  #include "confdefs.h"
7649    
7650  int main() {  int main() {
# Line 7769  Line 7654 
7654                                        
7655  ; return 0; }  ; return 0; }
7656  EOF  EOF
7657  if { (eval echo configure:7773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7658    rm -rf conftest*    rm -rf conftest*
7659    moz_cv_n_byte_type_JS_INT16_TYPE=$type; break    moz_cv_n_byte_type_JS_INT16_TYPE=$type; break
7660  else  else
# Line 7792  Line 7677 
7677    
7678            
7679  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
7680  echo "configure:7796: checking for a 4-byte type" >&5  echo "configure:7681: checking for a 4-byte type" >&5
7681  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
7682    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7683  else  else
# Line 7800  Line 7685 
7685    moz_cv_n_byte_type_JS_INT32_TYPE=    moz_cv_n_byte_type_JS_INT32_TYPE=
7686    for type in int long 'long long' short; do    for type in int long 'long long' short; do
7687      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7688  #line 7804 "configure"  #line 7689 "configure"
7689  #include "confdefs.h"  #include "confdefs.h"
7690    
7691  int main() {  int main() {
# Line 7810  Line 7695 
7695                                        
7696  ; return 0; }  ; return 0; }
7697  EOF  EOF
7698  if { (eval echo configure:7814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7699    rm -rf conftest*    rm -rf conftest*
7700    moz_cv_n_byte_type_JS_INT32_TYPE=$type; break    moz_cv_n_byte_type_JS_INT32_TYPE=$type; break
7701  else  else
# Line 7833  Line 7718 
7718    
7719            
7720  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
7721  echo "configure:7837: checking for a 8-byte type" >&5  echo "configure:7722: checking for a 8-byte type" >&5
7722  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
7723    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7724  else  else
# Line 7841  Line 7726 
7726    moz_cv_n_byte_type_JS_INT64_TYPE=    moz_cv_n_byte_type_JS_INT64_TYPE=
7727    for type in int long 'long long'; do    for type in int long 'long long'; do
7728      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7729  #line 7845 "configure"  #line 7730 "configure"
7730  #include "confdefs.h"  #include "confdefs.h"
7731    
7732  int main() {  int main() {
# Line 7851  Line 7736 
7736                                        
7737  ; return 0; }  ; return 0; }
7738  EOF  EOF
7739  if { (eval echo configure:7855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7740    rm -rf conftest*    rm -rf conftest*
7741    moz_cv_n_byte_type_JS_INT64_TYPE=$type; break    moz_cv_n_byte_type_JS_INT64_TYPE=$type; break
7742  else  else
# Line 7874  Line 7759 
7759    
7760            
7761  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
7762  echo "configure:7878: checking for a sizeof (void *)-byte type" >&5  echo "configure:7763: checking for a sizeof (void *)-byte type" >&5
7763  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
7764    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7765  else  else
# Line 7882  Line 7767 
7767    moz_cv_n_byte_type_JS_INTPTR_TYPE=    moz_cv_n_byte_type_JS_INTPTR_TYPE=
7768    for type in int long 'long long' short; do    for type in int long 'long long' short; do
7769      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7770  #line 7886 "configure"  #line 7771 "configure"
7771  #include "confdefs.h"  #include "confdefs.h"
7772    
7773  int main() {  int main() {
# Line 7892  Line 7777 
7777                                        
7778  ; return 0; }  ; return 0; }
7779  EOF  EOF
7780  if { (eval echo configure:7896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7781    rm -rf conftest*    rm -rf conftest*
7782    moz_cv_n_byte_type_JS_INTPTR_TYPE=$type; break    moz_cv_n_byte_type_JS_INTPTR_TYPE=$type; break
7783  else  else
# Line 7917  Line 7802 
7802    
7803    
7804  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
7805  echo "configure:7921: checking for the size of void*" >&5  echo "configure:7806: checking for the size of void*" >&5
7806  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
7807    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7808  else  else
# Line 7925  Line 7810 
7810    moz_cv_size_of_JS_BYTES_PER_WORD=    moz_cv_size_of_JS_BYTES_PER_WORD=
7811    for size in 4 8; do    for size in 4 8; do
7812      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7813  #line 7929 "configure"  #line 7814 "configure"
7814  #include "confdefs.h"  #include "confdefs.h"
7815    
7816  int main() {  int main() {
# Line 7935  Line 7820 
7820                                        
7821  ; return 0; }  ; return 0; }
7822  EOF  EOF
7823  if { (eval echo configure:7939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7824    rm -rf conftest*    rm -rf conftest*
7825    moz_cv_size_of_JS_BYTES_PER_WORD=$size; break    moz_cv_size_of_JS_BYTES_PER_WORD=$size; break
7826  else  else
# Line 7972  Line 7857 
7857    
7858    
7859  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
7860  echo "configure:7976: checking for the alignment of void*" >&5  echo "configure:7861: checking for the alignment of void*" >&5
7861  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
7862    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7863  else  else
# Line 7980  Line 7865 
7865    moz_cv_align_of_JS_ALIGN_OF_POINTER=    moz_cv_align_of_JS_ALIGN_OF_POINTER=
7866    for align in 2 4 8 16; do    for align in 2 4 8 16; do
7867      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7868  #line 7984 "configure"  #line 7869 "configure"
7869  #include "confdefs.h"  #include "confdefs.h"
7870    
7871                       #include <stddef.h>                       #include <stddef.h>
# Line 7993  Line 7878 
7878                                        
7879  ; return 0; }  ; return 0; }
7880  EOF  EOF
7881  if { (eval echo configure:7997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7882    rm -rf conftest*    rm -rf conftest*
7883    moz_cv_align_of_JS_ALIGN_OF_POINTER=$align; break    moz_cv_align_of_JS_ALIGN_OF_POINTER=$align; break
7884  else  else
# Line 8016  Line 7901 
7901    
7902    
7903  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
7904  echo "configure:8020: checking for the size of double" >&5  echo "configure:7905: checking for the size of double" >&5
7905  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
7906    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7907  else  else
# Line 8024  Line 7909 
7909    moz_cv_size_of_JS_BYTES_PER_DOUBLE=    moz_cv_size_of_JS_BYTES_PER_DOUBLE=
7910    for size in 6 8 10 12 14; do    for size in 6 8 10 12 14; do
7911      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
7912  #line 8028 "configure"  #line 7913 "configure"
7913  #include "confdefs.h"  #include "confdefs.h"
7914    
7915  int main() {  int main() {
# Line 8034  Line 7919 
7919                                        
7920  ; return 0; }  ; return 0; }
7921  EOF  EOF
7922  if { (eval echo configure:8038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7923    rm -rf conftest*    rm -rf conftest*
7924    moz_cv_size_of_JS_BYTES_PER_DOUBLE=$size; break    moz_cv_size_of_JS_BYTES_PER_DOUBLE=$size; break
7925  else  else
# Line 8057  Line 7942 
7942    
7943    
7944  echo $ac_n "checking for int16_t""... $ac_c" 1>&6  echo $ac_n "checking for int16_t""... $ac_c" 1>&6
7945  echo "configure:8061: checking for int16_t" >&5  echo "configure:7946: checking for int16_t" >&5
7946  if eval "test \"`echo '$''{'ac_cv_int16_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int16_t'+set}'`\" = set"; then
7947    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7948  else  else
7949    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7950  #line 8066 "configure"  #line 7951 "configure"
7951  #include "confdefs.h"  #include "confdefs.h"
7952  #include <stdio.h>  #include <stdio.h>
7953                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8070  Line 7955 
7955  int16_t foo = 0;  int16_t foo = 0;
7956  ; return 0; }  ; return 0; }
7957  EOF  EOF
7958  if { (eval echo configure:8074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7959    rm -rf conftest*    rm -rf conftest*
7960    ac_cv_int16_t=true    ac_cv_int16_t=true
7961  else  else
# Line 8092  Line 7977 
7977    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
7978  fi  fi
7979  echo $ac_n "checking for int32_t""... $ac_c" 1>&6  echo $ac_n "checking for int32_t""... $ac_c" 1>&6
7980  echo "configure:8096: checking for int32_t" >&5  echo "configure:7981: checking for int32_t" >&5
7981  if eval "test \"`echo '$''{'ac_cv_int32_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int32_t'+set}'`\" = set"; then
7982    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7983  else  else
7984    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
7985  #line 8101 "configure"  #line 7986 "configure"
7986  #include "confdefs.h"  #include "confdefs.h"
7987  #include <stdio.h>  #include <stdio.h>
7988                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8105  Line 7990 
7990  int32_t foo = 0;  int32_t foo = 0;
7991  ; return 0; }  ; return 0; }
7992  EOF  EOF
7993  if { (eval echo configure:8109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:7994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7994    rm -rf conftest*    rm -rf conftest*
7995    ac_cv_int32_t=true    ac_cv_int32_t=true
7996  else  else
# Line 8127  Line 8012 
8012    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8013  fi  fi
8014  echo $ac_n "checking for int64_t""... $ac_c" 1>&6  echo $ac_n "checking for int64_t""... $ac_c" 1>&6
8015  echo "configure:8131: checking for int64_t" >&5  echo "configure:8016: checking for int64_t" >&5
8016  if eval "test \"`echo '$''{'ac_cv_int64_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int64_t'+set}'`\" = set"; then
8017    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8018  else  else
8019    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8020  #line 8136 "configure"  #line 8021 "configure"
8021  #include "confdefs.h"  #include "confdefs.h"
8022  #include <stdio.h>  #include <stdio.h>
8023                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8140  Line 8025 
8025  int64_t foo = 0;  int64_t foo = 0;
8026  ; return 0; }  ; return 0; }
8027  EOF  EOF
8028  if { (eval echo configure:8144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8029    rm -rf conftest*    rm -rf conftest*
8030    ac_cv_int64_t=true    ac_cv_int64_t=true
8031  else  else
# Line 8162  Line 8047 
8047    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8048  fi  fi
8049  echo $ac_n "checking for int64""... $ac_c" 1>&6  echo $ac_n "checking for int64""... $ac_c" 1>&6
8050  echo "configure:8166: checking for int64" >&5  echo "configure:8051: checking for int64" >&5
8051  if eval "test \"`echo '$''{'ac_cv_int64'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_int64'+set}'`\" = set"; then
8052    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8053  else  else
8054    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8055  #line 8171 "configure"  #line 8056 "configure"
8056  #include "confdefs.h"  #include "confdefs.h"
8057  #include <stdio.h>  #include <stdio.h>
8058                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8175  Line 8060 
8060  int64 foo = 0;  int64 foo = 0;
8061  ; return 0; }  ; return 0; }
8062  EOF  EOF
8063  if { (eval echo configure:8179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8064    rm -rf conftest*    rm -rf conftest*
8065    ac_cv_int64=true    ac_cv_int64=true
8066  else  else
# Line 8197  Line 8082 
8082    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8083  fi  fi
8084  echo $ac_n "checking for uint""... $ac_c" 1>&6  echo $ac_n "checking for uint""... $ac_c" 1>&6
8085  echo "configure:8201: checking for uint" >&5  echo "configure:8086: checking for uint" >&5
8086  if eval "test \"`echo '$''{'ac_cv_uint'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_uint'+set}'`\" = set"; then
8087    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8088  else  else
8089    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8090  #line 8206 "configure"  #line 8091 "configure"
8091  #include "confdefs.h"  #include "confdefs.h"
8092  #include <stdio.h>  #include <stdio.h>
8093                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8210  Line 8095 
8095  uint foo = 0;  uint foo = 0;
8096  ; return 0; }  ; return 0; }
8097  EOF  EOF
8098  if { (eval echo configure:8214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8099    rm -rf conftest*    rm -rf conftest*
8100    ac_cv_uint=true    ac_cv_uint=true
8101  else  else
# Line 8232  Line 8117 
8117    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8118  fi  fi
8119  echo $ac_n "checking for uint_t""... $ac_c" 1>&6  echo $ac_n "checking for uint_t""... $ac_c" 1>&6
8120  echo "configure:8236: checking for uint_t" >&5  echo "configure:8121: checking for uint_t" >&5
8121  if eval "test \"`echo '$''{'ac_cv_uint_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_uint_t'+set}'`\" = set"; then
8122    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8123  else  else
8124    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8125  #line 8241 "configure"  #line 8126 "configure"
8126  #include "confdefs.h"  #include "confdefs.h"
8127  #include <stdio.h>  #include <stdio.h>
8128                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8245  Line 8130 
8130  uint_t foo = 0;  uint_t foo = 0;
8131  ; return 0; }  ; return 0; }
8132  EOF  EOF
8133  if { (eval echo configure:8249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8134    rm -rf conftest*    rm -rf conftest*
8135    ac_cv_uint_t=true    ac_cv_uint_t=true
8136  else  else
# Line 8267  Line 8152 
8152    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
8153  fi  fi
8154  echo $ac_n "checking for uint16_t""... $ac_c" 1>&6  echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
8155  echo "configure:8271: checking for uint16_t" >&5  echo "configure:8156: checking for uint16_t" >&5
8156  if eval "test \"`echo '$''{'ac_cv_uint16_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_uint16_t'+set}'`\" = set"; then
8157    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8158  else  else
8159    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8160  #line 8276 "configure"  #line 8161 "configure"
8161  #include "confdefs.h"  #include "confdefs.h"
8162  #include <stdio.h>  #include <stdio.h>
8163                    #include <sys/types.h>                    #include <sys/types.h>
# Line 8280  Line 8165 
8165  uint16_t foo = 0;  uint16_t foo = 0;
8166  ; return 0; }  ; return 0; }
8167  EOF  EOF
8168  if { (eval echo configure:8284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8169    rm -rf conftest*    rm -rf conftest*
8170    ac_cv_uint16_t=true    ac_cv_uint16_t=true
8171  else  else
# Line 8311  Line 8196 
8196    
8197    
8198  echo $ac_n "checking for uname.domainname""... $ac_c" 1>&6  echo $ac_n "checking for uname.domainname""... $ac_c" 1>&6
8199  echo "configure:8315: checking for uname.domainname" >&5  echo "configure:8200: checking for uname.domainname" >&5
8200  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
8201    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8202  else  else
8203    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8204  #line 8320 "configure"  #line 8205 "configure"
8205  #include "confdefs.h"  #include "confdefs.h"
8206  #include <sys/utsname.h>  #include <sys/utsname.h>
8207  int main() {  int main() {
# Line 8324  Line 8209 
8209              (void)uname(res);  if (res != 0) { domain = res->domainname; }              (void)uname(res);  if (res != 0) { domain = res->domainname; }
8210  ; return 0; }  ; return 0; }
8211  EOF  EOF
8212  if { (eval echo configure:8328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8213    rm -rf conftest*    rm -rf conftest*
8214    ac_cv_have_uname_domainname_field=true    ac_cv_have_uname_domainname_field=true
8215  else  else
# Line 8348  Line 8233 
8233  fi  fi
8234    
8235  echo $ac_n "checking for uname.__domainname""... $ac_c" 1>&6  echo $ac_n "checking for uname.__domainname""... $ac_c" 1>&6
8236  echo "configure:8352: checking for uname.__domainname" >&5  echo "configure:8237: checking for uname.__domainname" >&5
8237  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
8238    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8239  else  else
8240    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8241  #line 8357 "configure"  #line 8242 "configure"
8242  #include "confdefs.h"  #include "confdefs.h"
8243  #include <sys/utsname.h>  #include <sys/utsname.h>
8244  int main() {  int main() {
# Line 8361  Line 8246 
8246              (void)uname(res);  if (res != 0) { domain = res->__domainname; }              (void)uname(res);  if (res != 0) { domain = res->__domainname; }
8247  ; return 0; }  ; return 0; }
8248  EOF  EOF
8249  if { (eval echo configure:8365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8250    rm -rf conftest*    rm -rf conftest*
8251    ac_cv_have_uname_us_domainname_field=true    ac_cv_have_uname_us_domainname_field=true
8252  else  else
# Line 8394  Line 8279 
8279    
8280  if test "$GNU_CC"; then  if test "$GNU_CC"; then
8281    echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6    echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
8282  echo "configure:8398: checking for visibility(hidden) attribute" >&5  echo "configure:8283: checking for visibility(hidden) attribute" >&5
8283  if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
8284    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8285  else  else
# Line 8419  Line 8304 
8304    
8305    
8306      echo $ac_n "checking for visibility(default) attribute""... $ac_c" 1>&6      echo $ac_n "checking for visibility(default) attribute""... $ac_c" 1>&6
8307  echo "configure:8423: checking for visibility(default) attribute" >&5  echo "configure:8308: checking for visibility(default) attribute" >&5
8308  if eval "test \"`echo '$''{'ac_cv_visibility_default'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_visibility_default'+set}'`\" = set"; then
8309    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8310  else  else
# Line 8444  Line 8329 
8329    
8330    
8331        echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6        echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
8332  echo "configure:8448: checking for visibility pragma support" >&5  echo "configure:8333: checking for visibility pragma support" >&5
8333  if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
8334    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8335  else  else
# Line 8469  Line 8354 
8354  echo "$ac_t""$ac_cv_visibility_pragma" 1>&6  echo "$ac_t""$ac_cv_visibility_pragma" 1>&6
8355        if test "$ac_cv_visibility_pragma" = "yes"; then        if test "$ac_cv_visibility_pragma" = "yes"; then
8356          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
8357  echo "configure:8473: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5  echo "configure:8358: checking For gcc visibility bug with class-level attributes (GCC bug 26905)" >&5
8358  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
8359    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8360  else  else
# Line 8497  Line 8382 
8382  echo "$ac_t""$ac_cv_have_visibility_class_bug" 1>&6  echo "$ac_t""$ac_cv_have_visibility_class_bug" 1>&6
8383    
8384          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
8385  echo "configure:8501: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5  echo "configure:8386: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)" >&5
8386  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
8387    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8388  else  else
# Line 8550  Line 8435 
8435  do  do
8436  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8437  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
8438  echo "configure:8554: checking for $ac_hdr that defines DIR" >&5  echo "configure:8439: checking for $ac_hdr that defines DIR" >&5
8439  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
8440    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8441  else  else
8442    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8443  #line 8559 "configure"  #line 8444 "configure"
8444  #include "confdefs.h"  #include "confdefs.h"
8445  #include <sys/types.h>  #include <sys/types.h>
8446  #include <$ac_hdr>  #include <$ac_hdr>
# Line 8563  Line 8448 
8448  DIR *dirp = 0;  DIR *dirp = 0;
8449  ; return 0; }  ; return 0; }
8450  EOF  EOF
8451  if { (eval echo configure:8567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:8452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8452    rm -rf conftest*    rm -rf conftest*
8453    eval "ac_cv_header_dirent_$ac_safe=yes"    eval "ac_cv_header_dirent_$ac_safe=yes"
8454  else  else
# Line 8588  Line 8473 
8473  # 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.
8474  if test $ac_header_dirent = dirent.h; then  if test $ac_header_dirent = dirent.h; then
8475  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
8476  echo "configure:8592: checking for opendir in -ldir" >&5  echo "configure:8477: checking for opendir in -ldir" >&5
8477  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
8478  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
8479    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8596  Line 8481 
8481    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
8482  LIBS="-ldir  $LIBS"  LIBS="-ldir  $LIBS"
8483  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
8484  #line 8600 "configure"  #line 8485 "configure"
8485  #include "confdefs.h"  #include "confdefs.h"
8486  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8487  /* 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 8607  Line 8492 
8492  opendir()  opendir()
8493  ; return 0; }  ; return 0; }
8494  EOF  EOF
8495  if { (eval echo configure:8611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8496    rm -rf conftest*    rm -rf conftest*
8497    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
8498  else  else
# Line 8629  Line 8514 
8514    
8515  else  else
8516  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
8517  echo "configure:8633: checking for opendir in -lx" >&5  echo "configure:8518: checking for opendir in -lx" >&5
8518  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
8519  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
8520    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 8637  Line 8522 
8522    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
8523  LIBS="-lx  $LIBS"  LIBS="-lx  $LIBS"
8524  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
8525  #line 8641 "configure"  #line 8526 "configure"
8526  #include "confdefs.h"  #include "confdefs.h"
8527  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8528  /* 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 8648  Line 8533 
8533  opendir()  opendir()
8534  ; return 0; }  ; return 0; }
8535  EOF  EOF
8536  if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:8537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8537    rm -rf conftest*    rm -rf conftest*
8538    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
8539  else  else
# Line 8680  Line 8565 
8565  do  do
8566  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8567  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8568  echo "configure:8684: checking for $ac_hdr" >&5  echo "configure:8569: checking for $ac_hdr" >&5
8569  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8570    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8571  else  else
8572    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8573  #line 8689 "configure"  #line 8574 "configure"
8574  #include "confdefs.h"  #include "confdefs.h"
8575  #include <$ac_hdr>  #include <$ac_hdr>
8576  EOF  EOF
8577  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8578  { (eval echo configure:8694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8579  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8580  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8581    rm -rf conftest*    rm -rf conftest*
# Line 8720  Line 8605 
8605  do  do
8606  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8607  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8608  echo "configure:8724: checking for $ac_hdr" >&5  echo "configure:8609: checking for $ac_hdr" >&5
8609  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8610    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8611  else  else
8612    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8613  #line 8729 "configure"  #line 8614 "configure"
8614  #include "confdefs.h"  #include "confdefs.h"
8615  #include <$ac_hdr>  #include <$ac_hdr>
8616  EOF  EOF
8617  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8618  { (eval echo configure:8734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8619  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8620  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8621    rm -rf conftest*    rm -rf conftest*
# Line 8760  Line 8645 
8645  do  do
8646  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8647  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8648  echo "configure:8764: checking for $ac_hdr" >&5  echo "configure:8649: checking for $ac_hdr" >&5
8649  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8650    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8651  else  else
8652    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8653  #line 8769 "configure"  #line 8654 "configure"
8654  #include "confdefs.h"  #include "confdefs.h"
8655  #include <$ac_hdr>  #include <$ac_hdr>
8656  EOF  EOF
8657  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8658  { (eval echo configure:8774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8659  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8660  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8661    rm -rf conftest*    rm -rf conftest*
# Line 8800  Line 8685 
8685  do  do
8686  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8687  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8688  echo "configure:8804: checking for $ac_hdr" >&5  echo "configure:8689: checking for $ac_hdr" >&5
8689  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8690    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8691  else  else
8692    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8693  #line 8809 "configure"  #line 8694 "configure"
8694  #include "confdefs.h"  #include "confdefs.h"
8695  #include <$ac_hdr>  #include <$ac_hdr>
8696  EOF  EOF
8697  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8698  { (eval echo configure:8814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8699  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8700  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8701    rm -rf conftest*    rm -rf conftest*
# Line 8840  Line 8725 
8725  do  do
8726  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8727  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8728  echo "configure:8844: checking for $ac_hdr" >&5  echo "configure:8729: checking for $ac_hdr" >&5
8729  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8730    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8731  else  else
8732    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8733  #line 8849 "configure"  #line 8734 "configure"
8734  #include "confdefs.h"  #include "confdefs.h"
8735  #include <$ac_hdr>  #include <$ac_hdr>
8736  EOF  EOF
8737  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8738  { (eval echo configure:8854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8739  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8740  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8741    rm -rf conftest*    rm -rf conftest*
# Line 8881  Line 8766 
8766  do  do
8767  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8768  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8769  echo "configure:8885: checking for $ac_hdr" >&5  echo "configure:8770: checking for $ac_hdr" >&5
8770  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8771    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8772  else  else
8773    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8774  #line 8890 "configure"  #line 8775 "configure"
8775  #include "confdefs.h"  #include "confdefs.h"
8776  #include <$ac_hdr>  #include <$ac_hdr>
8777  EOF  EOF
8778  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8779  { (eval echo configure:8895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8780  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8781  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8782    rm -rf conftest*    rm -rf conftest*
# Line 8922  Line 8807 
8807  do  do
8808  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8809  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8810  echo "configure:8926: checking for $ac_hdr" >&5  echo "configure:8811: checking for $ac_hdr" >&5
8811  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8812    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8813  else  else
8814    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8815  #line 8931 "configure"  #line 8816 "configure"
8816  #include "confdefs.h"  #include "confdefs.h"
8817  #include <$ac_hdr>  #include <$ac_hdr>
8818  EOF  EOF
8819  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8820  { (eval echo configure:8936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8821  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8822  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8823    rm -rf conftest*    rm -rf conftest*
# Line 8969  Line 8854 
8854  NEW_H=new.h  NEW_H=new.h
8855  ac_safe=`echo "new" | sed 'y%./+-%__p_%'`  ac_safe=`echo "new" | sed 'y%./+-%__p_%'`
8856  echo $ac_n "checking for new""... $ac_c" 1>&6  echo $ac_n "checking for new""... $ac_c" 1>&6
8857  echo "configure:8973: checking for new" >&5  echo "configure:8858: checking for new" >&5
8858  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8859    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8860  else  else
8861    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8862  #line 8978 "configure"  #line 8863 "configure"
8863  #include "confdefs.h"  #include "confdefs.h"
8864  #include <new>  #include <new>
8865  EOF  EOF
8866  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8867  { (eval echo configure:8983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8868  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8869  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8870    rm -rf conftest*    rm -rf conftest*
# Line 9021  Line 8906 
8906  if test "x$enable_dtrace" = "xyes"; then  if test "x$enable_dtrace" = "xyes"; then
8907    ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "sys/sdt.h" | sed 'y%./+-%__p_%'`
8908  echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6  echo $ac_n "checking for sys/sdt.h""... $ac_c" 1>&6
8909  echo "configure:9025: checking for sys/sdt.h" >&5  echo "configure:8910: checking for sys/sdt.h" >&5
8910  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8911    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8912  else  else
8913    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8914  #line 9030 "configure"  #line 8915 "configure"
8915  #include "confdefs.h"  #include "confdefs.h"
8916  #include <sys/sdt.h>  #include <sys/sdt.h>
8917  EOF  EOF
8918  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8919  { (eval echo configure:9035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8920  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8921  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8922    rm -rf conftest*    rm -rf conftest*
# Line 9071  Line 8956 
8956  do  do
8957  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8958  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8959  echo "configure:9075: checking for $ac_hdr" >&5  echo "configure:8960: checking for $ac_hdr" >&5
8960  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8961    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
8962  else  else
8963    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8964  #line 9080 "configure"  #line 8965 "configure"
8965  #include "confdefs.h"  #include "confdefs.h"
8966  #include <$ac_hdr>  #include <$ac_hdr>
8967  EOF  EOF
8968  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8969  { (eval echo configure:9085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:8970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8970  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8971  if test -z "$ac_err"; then  if test -z "$ac_err"; then
8972    rm -rf conftest*    rm -rf conftest*
# Line 9115  Line 9000 
9000          ;;          ;;
9001  *)  *)
9002          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
9003  echo "configure:9119: checking for gethostbyname_r in -lc_r" >&5  echo "configure:9004: checking for gethostbyname_r in -lc_r" >&5
9004  ac_lib_var=`echo c_r'_'gethostbyname_r | sed 'y%./+-%__p_%'`  ac_lib_var=`echo c_r'_'gethostbyname_r | sed 'y%./+-%__p_%'`
9005  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
9006    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9123  Line 9008 
9008    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9009  LIBS="-lc_r  $LIBS"  LIBS="-lc_r  $LIBS"
9010  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9011  #line 9127 "configure"  #line 9012 "configure"
9012  #include "confdefs.h"  #include "confdefs.h"
9013  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9014  /* 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 9134  Line 9019 
9019  gethostbyname_r()  gethostbyname_r()
9020  ; return 0; }  ; return 0; }
9021  EOF  EOF
9022  if { (eval echo configure:9138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9023    rm -rf conftest*    rm -rf conftest*
9024    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9025  else  else
# Line 9171  Line 9056 
9056      ;;      ;;
9057  *)  *)
9058      echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6      echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6
9059  echo "configure:9175: checking for atan in -lm" >&5  echo "configure:9060: checking for atan in -lm" >&5
9060  ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'`
9061  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
9062    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9179  Line 9064 
9064    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9065  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
9066  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9067  #line 9183 "configure"  #line 9068 "configure"
9068  #include "confdefs.h"  #include "confdefs.h"
9069  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9070  /* 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 9190  Line 9075 
9075  atan()  atan()
9076  ; return 0; }  ; return 0; }
9077  EOF  EOF
9078  if { (eval echo configure:9194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9079    rm -rf conftest*    rm -rf conftest*
9080    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9081  else  else
# Line 9218  Line 9103 
9103  fi  fi
9104    
9105      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
9106  echo "configure:9222: checking for dlopen in -ldl" >&5  echo "configure:9107: checking for dlopen in -ldl" >&5
9107  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
9108  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
9109    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9226  Line 9111 
9111    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9112  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
9113  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9114  #line 9230 "configure"  #line 9115 "configure"
9115  #include "confdefs.h"  #include "confdefs.h"
9116  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9117  /* 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 9237  Line 9122 
9122  dlopen()  dlopen()
9123  ; return 0; }  ; return 0; }
9124  EOF  EOF
9125  if { (eval echo configure:9241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9126    rm -rf conftest*    rm -rf conftest*
9127    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9128  else  else
# Line 9254  Line 9139 
9139    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
9140    ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
9141  echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6  echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
9142  echo "configure:9258: checking for dlfcn.h" >&5  echo "configure:9143: checking for dlfcn.h" >&5
9143  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9144    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9145  else  else
9146    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9147  #line 9263 "configure"  #line 9148 "configure"
9148  #include "confdefs.h"  #include "confdefs.h"
9149  #include <dlfcn.h>  #include <dlfcn.h>
9150  EOF  EOF
9151  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9152  { (eval echo configure:9268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:9153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9153  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9154  if test -z "$ac_err"; then  if test -z "$ac_err"; then
9155    rm -rf conftest*    rm -rf conftest*
# Line 9301  Line 9186 
9186  for ac_func in dladdr  for ac_func in dladdr
9187  do  do
9188  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9189  echo "configure:9305: checking for $ac_func" >&5  echo "configure:9190: checking for $ac_func" >&5
9190  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9191    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9192  else  else
9193    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9194  #line 9310 "configure"  #line 9195 "configure"
9195  #include "confdefs.h"  #include "confdefs.h"
9196  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9197      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 9329  Line 9214 
9214    
9215  ; return 0; }  ; return 0; }
9216  EOF  EOF
9217  if { (eval echo configure:9333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9218    rm -rf conftest*    rm -rf conftest*
9219    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
9220  else  else
# Line 9360  Line 9245 
9245      case $target in      case $target in
9246      *-aix*)      *-aix*)
9247          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
9248  echo "configure:9364: checking for demangle in -lC_r" >&5  echo "configure:9249: checking for demangle in -lC_r" >&5
9249  ac_lib_var=`echo C_r'_'demangle | sed 'y%./+-%__p_%'`  ac_lib_var=`echo C_r'_'demangle | sed 'y%./+-%__p_%'`
9250  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
9251    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9368  Line 9253 
9253    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9254  LIBS="-lC_r  $LIBS"  LIBS="-lC_r  $LIBS"
9255  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9256  #line 9372 "configure"  #line 9257 "configure"
9257  #include "confdefs.h"  #include "confdefs.h"
9258  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9259  /* 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 9379  Line 9264 
9264  demangle()  demangle()
9265  ; return 0; }  ; return 0; }
9266  EOF  EOF
9267  if { (eval echo configure:9383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9268    rm -rf conftest*    rm -rf conftest*
9269    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9270  else  else
# Line 9409  Line 9294 
9294          ;;          ;;
9295       *)       *)
9296          echo $ac_n "checking for demangle in -lC""... $ac_c" 1>&6          echo $ac_n "checking for demangle in -lC""... $ac_c" 1>&6
9297  echo "configure:9413: checking for demangle in -lC" >&5  echo "configure:9298: checking for demangle in -lC" >&5
9298  ac_lib_var=`echo C'_'demangle | sed 'y%./+-%__p_%'`  ac_lib_var=`echo C'_'demangle | sed 'y%./+-%__p_%'`
9299  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
9300    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9417  Line 9302 
9302    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9303  LIBS="-lC  $LIBS"  LIBS="-lC  $LIBS"
9304  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9305  #line 9421 "configure"  #line 9306 "configure"
9306  #include "confdefs.h"  #include "confdefs.h"
9307  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9308  /* 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 9428  Line 9313 
9313  demangle()  demangle()
9314  ; return 0; }  ; return 0; }
9315  EOF  EOF
9316  if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9317    rm -rf conftest*    rm -rf conftest*
9318    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9319  else  else
# Line 9459  Line 9344 
9344       esac       esac
9345  fi  fi
9346  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
9347  echo "configure:9463: checking for socket in -lsocket" >&5  echo "configure:9348: checking for socket in -lsocket" >&5
9348  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
9349  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
9350    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 9467  Line 9352 
9352    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
9353  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
9354  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9355  #line 9471 "configure"  #line 9356 "configure"
9356  #include "confdefs.h"  #include "confdefs.h"
9357  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
9358  /* 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 9478  Line 9363 
9363  socket()  socket()
9364  ; return 0; }  ; return 0; }
9365  EOF  EOF
9366  if { (eval echo configure:9482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9367    rm -rf conftest*    rm -rf conftest*
9368    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
9369  else  else
# Line 9513  Line 9398 
9398  *)  *)
9399            
9400  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
9401  echo "configure:9517: checking for pthread_create in -lpthreads" >&5  echo "configure:9402: checking for pthread_create in -lpthreads" >&5
9402  echo "  echo "
9403      #include <pthread.h>      #include <pthread.h>
9404      #include <stdlib.h>      #include <stdlib.h>
# Line 9536  Line 9421 
9421          echo "$ac_t""no" 1>&6          echo "$ac_t""no" 1>&6
9422                    
9423  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
9424  echo "configure:9540: checking for pthread_create in -lpthread" >&5  echo "configure:9425: checking for pthread_create in -lpthread" >&5
9425  echo "  echo "
9426      #include <pthread.h>      #include <pthread.h>
9427      #include <stdlib.h>      #include <stdlib.h>
# Line 9559  Line 9444 
9444          echo "$ac_t""no" 1>&6          echo "$ac_t""no" 1>&6
9445                    
9446  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
9447  echo "configure:9563: checking for pthread_create in -lc_r" >&5  echo "configure:9448: checking for pthread_create in -lc_r" >&5
9448  echo "  echo "
9449      #include <pthread.h>      #include <pthread.h>
9450      #include <stdlib.h>      #include <stdlib.h>
# Line 9582  Line 9467 
9467          echo "$ac_t""no" 1>&6          echo "$ac_t""no" 1>&6
9468                    
9469  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
9470  echo "configure:9586: checking for pthread_create in -lc" >&5  echo "configure:9471: checking for pthread_create in -lc" >&5
9471  echo "  echo "
9472      #include <pthread.h>      #include <pthread.h>
9473      #include <stdlib.h>      #include <stdlib.h>
# Line 9641  Line 9526 
9526                                  rm -f conftest*                                  rm -f conftest*
9527          ac_cv_have_dash_pthread=no          ac_cv_have_dash_pthread=no
9528          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
9529  echo "configure:9645: checking whether ${CC-cc} accepts -pthread" >&5  echo "configure:9530: checking whether ${CC-cc} accepts -pthread" >&5
9530          echo 'int main() { return 0; }' | cat > conftest.c          echo 'int main() { return 0; }' | cat > conftest.c
9531          ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1          ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
9532          if test $? -eq 0; then          if test $? -eq 0; then
# Line 9664  Line 9549 
9549                              ac_cv_have_dash_pthreads=no                              ac_cv_have_dash_pthreads=no
9550      if test "$ac_cv_have_dash_pthread" = "no"; then      if test "$ac_cv_have_dash_pthread" = "no"; then
9551              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
9552  echo "configure:9668: checking whether ${CC-cc} accepts -pthreads" >&5  echo "configure:9553: checking whether ${CC-cc} accepts -pthreads" >&5
9553          echo 'int main() { return 0; }' | cat > conftest.c          echo 'int main() { return 0; }' | cat > conftest.c
9554              ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1              ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
9555          if test $? -eq 0; then          if test $? -eq 0; then
# Line 9759  Line 9644 
9644  fi  fi
9645    
9646  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
9647  echo "configure:9763: checking whether mmap() sees write()s" >&5  echo "configure:9648: checking whether mmap() sees write()s" >&5
9648    
9649    
9650  mmap_test_prog='  mmap_test_prog='
# Line 9798  Line 9683 
9683    result="yes"    result="yes"
9684  else  else
9685    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9686  #line 9802 "configure"  #line 9687 "configure"
9687  #include "confdefs.h"  #include "confdefs.h"
9688  $mmap_test_prog  $mmap_test_prog
9689  EOF  EOF
9690  if { (eval echo configure:9806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:9691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9691  then  then
9692    result="yes"    result="yes"
9693  else  else
# Line 9827  Line 9712 
9712    
9713  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
9714      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
9715  echo "configure:9831: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:9716: checking whether ${CC-cc} needs -traditional" >&5
9716  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9717    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9718  else  else
9719      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
9720    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9721  #line 9837 "configure"  #line 9722 "configure"
9722  #include "confdefs.h"  #include "confdefs.h"
9723  #include <sgtty.h>  #include <sgtty.h>
9724  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 9851  Line 9736 
9736    
9737    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
9738      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
9739  #line 9855 "configure"  #line 9740 "configure"
9740  #include "confdefs.h"  #include "confdefs.h"
9741  #include <termio.h>  #include <termio.h>
9742  Autoconf TCGETA  Autoconf TCGETA
# Line 9873  Line 9758 
9758  fi  fi
9759    
9760  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
9761  echo "configure:9877: checking for 8-bit clean memcmp" >&5  echo "configure:9762: checking for 8-bit clean memcmp" >&5
9762  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
9763    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9764  else  else
# Line 9881  Line 9766 
9766    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
9767  else  else
9768    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9769  #line 9885 "configure"  #line 9770 "configure"
9770  #include "confdefs.h"  #include "confdefs.h"
9771    
9772  main()  main()
# Line 9891  Line 9776 
9776  }  }
9777    
9778  EOF  EOF
9779  if { (eval echo configure:9895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:9780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9780  then  then
9781    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
9782  else  else
# Line 9914  Line 9799 
9799                  stat64 statvfs statvfs64 strerror strtok_r truncate64                  stat64 statvfs statvfs64 strerror strtok_r truncate64
9800  do  do
9801  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9802  echo "configure:9918: checking for $ac_func" >&5  echo "configure:9803: checking for $ac_func" >&5
9803  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9804    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9805  else  else
9806    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9807  #line 9923 "configure"  #line 9808 "configure"
9808  #include "confdefs.h"  #include "confdefs.h"
9809  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9810      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 9942  Line 9827 
9827    
9828  ; return 0; }  ; return 0; }
9829  EOF  EOF
9830  if { (eval echo configure:9946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9831    rm -rf conftest*    rm -rf conftest*
9832    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
9833  else  else
# Line 9968  Line 9853 
9853    
9854    
9855  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9856  #line 9972 "configure"  #line 9857 "configure"
9857  #include "confdefs.h"  #include "confdefs.h"
9858  #include <windows.h>  #include <windows.h>
9859  int main() {  int main() {
9860  SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);  SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);
9861  ; return 0; }  ; return 0; }
9862  EOF  EOF
9863  if { (eval echo configure:9979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9864    rm -rf conftest*    rm -rf conftest*
9865    ac_cv_have_systemtimetofiletime="yes"    ac_cv_have_systemtimetofiletime="yes"
9866  else  else
# Line 9992  Line 9877 
9877    
9878  fi  fi
9879  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
9880  #line 9996 "configure"  #line 9881 "configure"
9881  #include "confdefs.h"  #include "confdefs.h"
9882  #include <windows.h>  #include <windows.h>
9883  int main() {  int main() {
9884  FILETIME ft;GetSystemTimeAsFileTime(&ft);  FILETIME ft;GetSystemTimeAsFileTime(&ft);
9885  ; return 0; }  ; return 0; }
9886  EOF  EOF
9887  if { (eval echo configure:10003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9888    rm -rf conftest*    rm -rf conftest*
9889    ac_cv_have_getsystemtimeasfiletime="yes"    ac_cv_have_getsystemtimeasfiletime="yes"
9890  else  else
# Line 10026  Line 9911 
9911  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
9912    
9913  echo $ac_n "checking for wcrtomb""... $ac_c" 1>&6  echo $ac_n "checking for wcrtomb""... $ac_c" 1>&6
9914  echo "configure:10030: checking for wcrtomb" >&5  echo "configure:9915: checking for wcrtomb" >&5
9915  if eval "test \"`echo '$''{'ac_cv_have_wcrtomb'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_wcrtomb'+set}'`\" = set"; then
9916    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9917  else  else
9918    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9919  #line 10035 "configure"  #line 9920 "configure"
9920  #include "confdefs.h"  #include "confdefs.h"
9921  #include <wchar.h>  #include <wchar.h>
9922  int main() {  int main() {
9923  mbstate_t ps={0};wcrtomb(0,'f',&ps);  mbstate_t ps={0};wcrtomb(0,'f',&ps);
9924  ; return 0; }  ; return 0; }
9925  EOF  EOF
9926  if { (eval echo configure:10042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9927    rm -rf conftest*    rm -rf conftest*
9928    ac_cv_have_wcrtomb="yes"    ac_cv_have_wcrtomb="yes"
9929  else  else
# Line 10058  Line 9943 
9943    
9944  fi  fi
9945  echo $ac_n "checking for mbrtowc""... $ac_c" 1>&6  echo $ac_n "checking for mbrtowc""... $ac_c" 1>&6
9946  echo "configure:10062: checking for mbrtowc" >&5  echo "configure:9947: checking for mbrtowc" >&5
9947  if eval "test \"`echo '$''{'ac_cv_have_mbrtowc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_have_mbrtowc'+set}'`\" = set"; then
9948    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9949  else  else
9950    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9951  #line 10067 "configure"  #line 9952 "configure"
9952  #include "confdefs.h"  #include "confdefs.h"
9953  #include <wchar.h>  #include <wchar.h>
9954  int main() {  int main() {
9955  mbstate_t ps={0};mbrtowc(0,0,0,&ps);  mbstate_t ps={0};mbrtowc(0,0,0,&ps);
9956  ; return 0; }  ; return 0; }
9957  EOF  EOF
9958  if { (eval echo configure:10074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9959    rm -rf conftest*    rm -rf conftest*
9960    ac_cv_have_mbrtowc="yes"    ac_cv_have_mbrtowc="yes"
9961  else  else
# Line 10099  Line 9984 
9984  fi  fi
9985    
9986  echo $ac_n "checking for res_ninit()""... $ac_c" 1>&6  echo $ac_n "checking for res_ninit()""... $ac_c" 1>&6
9987  echo "configure:10103: checking for res_ninit()" >&5  echo "configure:9988: checking for res_ninit()" >&5
9988  if eval "test \"`echo '$''{'ac_cv_func_res_ninit'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_res_ninit'+set}'`\" = set"; then
9989    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
9990  else  else
9991    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9992  #line 10108 "configure"  #line 9993 "configure"
9993  #include "confdefs.h"  #include "confdefs.h"
9994    
9995          #ifdef linux          #ifdef linux
# Line 10116  Line 10001 
10001  int foo = res_ninit(&_res);  int foo = res_ninit(&_res);
10002  ; return 0; }  ; return 0; }
10003  EOF  EOF
10004  if { (eval echo configure:10120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10005    rm -rf conftest*    rm -rf conftest*
10006    ac_cv_func_res_ninit=yes    ac_cv_func_res_ninit=yes
10007  else  else
# Line 10146  Line 10031 
10031  cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
10032    
10033  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
10034  echo "configure:10150: checking for gnu_get_libc_version()" >&5  echo "configure:10035: checking for gnu_get_libc_version()" >&5
10035  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
10036    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10037  else  else
10038    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10039  #line 10155 "configure"  #line 10040 "configure"
10040  #include "confdefs.h"  #include "confdefs.h"
10041    
10042          #ifdef HAVE_GNU_LIBC_VERSION_H          #ifdef HAVE_GNU_LIBC_VERSION_H
# Line 10162  Line 10047 
10047  const char *glibc_version = gnu_get_libc_version();  const char *glibc_version = gnu_get_libc_version();
10048  ; return 0; }  ; return 0; }
10049  EOF  EOF
10050  if { (eval echo configure:10166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10051    rm -rf conftest*    rm -rf conftest*
10052    ac_cv_func_gnu_get_libc_version=yes    ac_cv_func_gnu_get_libc_version=yes
10053  else  else
# Line 10191  Line 10076 
10076      *)      *)
10077            
10078  echo $ac_n "checking for iconv in -lc""... $ac_c" 1>&6  echo $ac_n "checking for iconv in -lc""... $ac_c" 1>&6
10079  echo "configure:10195: checking for iconv in -lc" >&5  echo "configure:10080: checking for iconv in -lc" >&5
10080  ac_lib_var=`echo c'_'iconv | sed 'y%./+-%__p_%'`  ac_lib_var=`echo c'_'iconv | sed 'y%./+-%__p_%'`
10081  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
10082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10199  Line 10084 
10084    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
10085  LIBS="-lc  $LIBS"  LIBS="-lc  $LIBS"
10086  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
10087  #line 10203 "configure"  #line 10088 "configure"
10088  #include "confdefs.h"  #include "confdefs.h"
10089  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
10090  #ifdef __cplusplus  #ifdef __cplusplus
# Line 10213  Line 10098 
10098  iconv()  iconv()
10099  ; return 0; }  ; return 0; }
10100  EOF  EOF
10101  if { (eval echo configure:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10102    rm -rf conftest*    rm -rf conftest*
10103    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
10104  else  else
# Line 10232  Line 10117 
10117  else  else
10118    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
10119  echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6  echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
10120  echo "configure:10236: checking for iconv in -liconv" >&5  echo "configure:10121: checking for iconv in -liconv" >&5
10121  ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`  ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
10122  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
10123    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10240  Line 10125 
10125    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
10126  LIBS="-liconv  $LIBS"  LIBS="-liconv  $LIBS"
10127  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
10128  #line 10244 "configure"  #line 10129 "configure"
10129  #include "confdefs.h"  #include "confdefs.h"
10130  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
10131  #ifdef __cplusplus  #ifdef __cplusplus
# Line 10254  Line 10139 
10139  iconv()  iconv()
10140  ; return 0; }  ; return 0; }
10141  EOF  EOF
10142  if { (eval echo configure:10258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10143    rm -rf conftest*    rm -rf conftest*
10144    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
10145  else  else
# Line 10273  Line 10158 
10158  else  else
10159    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
10160  echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6  echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
10161  echo "configure:10277: checking for libiconv in -liconv" >&5  echo "configure:10162: checking for libiconv in -liconv" >&5
10162  ac_lib_var=`echo iconv'_'libiconv | sed 'y%./+-%__p_%'`  ac_lib_var=`echo iconv'_'libiconv | sed 'y%./+-%__p_%'`
10163  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
10164    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10281  Line 10166 
10166    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
10167  LIBS="-liconv  $LIBS"  LIBS="-liconv  $LIBS"
10168  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
10169  #line 10285 "configure"  #line 10170 "configure"
10170  #include "confdefs.h"  #include "confdefs.h"
10171  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
10172  #ifdef __cplusplus  #ifdef __cplusplus
# Line 10295  Line 10180 
10180  libiconv()  libiconv()
10181  ; return 0; }  ; return 0; }
10182  EOF  EOF
10183  if { (eval echo configure:10299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10184    rm -rf conftest*    rm -rf conftest*
10185    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
10186  else  else
# Line 10322  Line 10207 
10207  _SAVE_LIBS=$LIBS  _SAVE_LIBS=$LIBS
10208  LIBS="$LIBS $_ICONV_LIBS"  LIBS="$LIBS $_ICONV_LIBS"
10209  echo $ac_n "checking for iconv()""... $ac_c" 1>&6  echo $ac_n "checking for iconv()""... $ac_c" 1>&6
10210  echo "configure:10326: checking for iconv()" >&5  echo "configure:10211: checking for iconv()" >&5
10211  if eval "test \"`echo '$''{'ac_cv_func_iconv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_iconv'+set}'`\" = set"; then
10212    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10213  else  else
10214    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10215  #line 10331 "configure"  #line 10216 "configure"
10216  #include "confdefs.h"  #include "confdefs.h"
10217    
10218          #include <stdlib.h>          #include <stdlib.h>
# Line 10341  Line 10226 
10226                    
10227  ; return 0; }  ; return 0; }
10228  EOF  EOF
10229  if { (eval echo configure:10345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:10230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10230    rm -rf conftest*    rm -rf conftest*
10231    ac_cv_func_iconv=yes    ac_cv_func_iconv=yes
10232  else  else
# Line 10365  Line 10250 
10250      LIBXUL_LIBS="$LIBXUL_LIBS $_ICONV_LIBS"      LIBXUL_LIBS="$LIBXUL_LIBS $_ICONV_LIBS"
10251      LIBICONV="$_ICONV_LIBS"      LIBICONV="$_ICONV_LIBS"
10252      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
10253  echo "configure:10369: checking for iconv() with const input" >&5  echo "configure:10254: checking for iconv() with const input" >&5
10254  if eval "test \"`echo '$''{'ac_cv_func_const_iconv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_const_iconv'+set}'`\" = set"; then
10255    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10256  else  else
10257    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10258  #line 10374 "configure"  #line 10259 "configure"
10259  #include "confdefs.h"  #include "confdefs.h"
10260    
10261              #include <stdlib.h>              #include <stdlib.h>
# Line 10385  Line 10270 
10270                            
10271  ; return 0; }  ; return 0; }
10272  EOF  EOF
10273  if { (eval echo configure:10389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10274    rm -rf conftest*    rm -rf conftest*
10275    ac_cv_func_const_iconv=yes    ac_cv_func_const_iconv=yes
10276  else  else
# Line 10421  Line 10306 
10306    
10307    
10308  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
10309  echo "configure:10425: checking for an implementation of va_copy()" >&5  echo "configure:10310: checking for an implementation of va_copy()" >&5
10310  if eval "test \"`echo '$''{'ac_cv_va_copy'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_va_copy'+set}'`\" = set"; then
10311    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10312  else  else
# Line 10431  Line 10316 
10316            
10317  else  else
10318    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10319  #line 10435 "configure"  #line 10320 "configure"
10320  #include "confdefs.h"  #include "confdefs.h"
10321    
10322          #include <stdarg.h>          #include <stdarg.h>
# Line 10445  Line 10330 
10330          }          }
10331          int main() { f (0, 42); return 0; }          int main() { f (0, 42); return 0; }
10332  EOF  EOF
10333  if { (eval echo configure:10449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10334  then  then
10335    ac_cv_va_copy=yes    ac_cv_va_copy=yes
10336  else  else
# Line 10462  Line 10347 
10347    
10348  echo "$ac_t""$ac_cv_va_copy" 1>&6  echo "$ac_t""$ac_cv_va_copy" 1>&6
10349  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
10350  echo "configure:10466: checking for an implementation of __va_copy()" >&5  echo "configure:10351: checking for an implementation of __va_copy()" >&5
10351  if eval "test \"`echo '$''{'ac_cv___va_copy'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv___va_copy'+set}'`\" = set"; then
10352    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10353  else  else
# Line 10472  Line 10357 
10357            
10358  else  else
10359    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10360  #line 10476 "configure"  #line 10361 "configure"
10361  #include "confdefs.h"  #include "confdefs.h"
10362    
10363          #include <stdarg.h>          #include <stdarg.h>
# Line 10486  Line 10371 
10371          }          }
10372          int main() { f (0, 42); return 0; }          int main() { f (0, 42); return 0; }
10373  EOF  EOF
10374  if { (eval echo configure:10490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:10375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10375  then  then
10376    ac_cv___va_copy=yes    ac_cv___va_copy=yes
10377  else  else
# Line 10503  Line 10388 
10388    
10389  echo "$ac_t""$ac_cv___va_copy" 1>&6  echo "$ac_t""$ac_cv___va_copy" 1>&6
10390  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
10391  echo "configure:10507: checking whether va_lists can be copied by value" >&5  echo "configure:10392: checking whether va_lists can be copied by value" >&5
10392  if eval "test \"`echo '$''{'ac_cv_va_val_copy'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_va_val_copy'+set}'`\" = set"; then
10393    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10394  else  else
# Line 10513  Line 10398 
10398            
10399  else  else
10400    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10401  #line 10517 "configure"  #line 10402 "configure"
10402  #include "confdefs.h"  #include "confdefs.h"
10403    
10404          #include <stdarg.h>          #include <stdarg.h>
# Line 10527  Line 10412 
10412          }          }
10413          int main() { f (0, 42); return 0; }          int main() { f (0, 42); return 0; }
10414  EOF  EOF
10415  if { (eval echo configure:10531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10416  then  then
10417    ac_cv_va_val_copy=yes    ac_cv_va_val_copy=yes
10418  else  else
# Line 10626  Line 10511 
10511  if test "$GNU_CXX"; then  if test "$GNU_CXX"; then
10512    
10513    echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6    echo $ac_n "checking for C++ exceptions flag""... $ac_c" 1>&6
10514  echo "configure:10630: checking for C++ exceptions flag" >&5  echo "configure:10515: checking for C++ exceptions flag" >&5
10515    
10516      if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then      if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
10517    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 10661  Line 10546 
10546  HAVE_GCC3_ABI=  HAVE_GCC3_ABI=
10547  if test "$GNU_CC"; then  if test "$GNU_CC"; then
10548    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
10549  echo "configure:10665: checking for gcc 3.0 ABI" >&5  echo "configure:10550: checking for gcc 3.0 ABI" >&5
10550  if eval "test \"`echo '$''{'ac_cv_gcc_three_abi'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_gcc_three_abi'+set}'`\" = set"; then
10551    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10552  else  else
10553    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10554  #line 10670 "configure"  #line 10555 "configure"
10555  #include "confdefs.h"  #include "confdefs.h"
10556    
10557  int main() {  int main() {
# Line 10679  Line 10564 
10564                                                
10565  ; return 0; }  ; return 0; }
10566  EOF  EOF
10567  if { (eval echo configure:10683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10568    rm -rf conftest*    rm -rf conftest*
10569    ac_cv_gcc_three_abi="yes"    ac_cv_gcc_three_abi="yes"
10570  else  else
# Line 10703  Line 10588 
10588    
10589    
10590  echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6  echo $ac_n "checking for C++ \"explicit\" keyword""... $ac_c" 1>&6
10591  echo "configure:10707: checking for C++ \"explicit\" keyword" >&5  echo "configure:10592: checking for C++ \"explicit\" keyword" >&5
10592  if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_explicit'+set}'`\" = set"; then
10593    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10594  else  else
10595    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10596  #line 10712 "configure"  #line 10597 "configure"
10597  #include "confdefs.h"  #include "confdefs.h"
10598  class X {  class X {
10599                                 public: explicit X(int i) : i_(i) {}                                 public: explicit X(int i) : i_(i) {}
# Line 10718  Line 10603 
10603  X x(3);  X x(3);
10604  ; return 0; }  ; return 0; }
10605  EOF  EOF
10606  if { (eval echo configure:10722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10607    rm -rf conftest*    rm -rf conftest*
10608    ac_cv_cpp_explicit=yes    ac_cv_cpp_explicit=yes
10609  else  else
# Line 10739  Line 10624 
10624  fi  fi
10625    
10626  echo $ac_n "checking for C++ \"typename\" keyword""... $ac_c" 1>&6  echo $ac_n "checking for C++ \"typename\" keyword""... $ac_c" 1>&6
10627  echo "configure:10743: checking for C++ \"typename\" keyword" >&5  echo "configure:10628: checking for C++ \"typename\" keyword" >&5
10628  if eval "test \"`echo '$''{'ac_cv_cpp_typename'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_typename'+set}'`\" = set"; then
10629    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10630  else  else
10631    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10632  #line 10748 "configure"  #line 10633 "configure"
10633  #include "confdefs.h"  #include "confdefs.h"
10634  class param {  class param {
10635                                 public:                                 public:
# Line 10763  Line 10648 
10648                                 A.foo(0);                                 A.foo(0);
10649  ; return 0; }  ; return 0; }
10650  EOF  EOF
10651  if { (eval echo configure:10767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10652    rm -rf conftest*    rm -rf conftest*
10653    ac_cv_cpp_typename=yes    ac_cv_cpp_typename=yes
10654  else  else
# Line 10784  Line 10669 
10669  fi  fi
10670    
10671  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
10672  echo "configure:10788: checking for modern C++ template specialization syntax support" >&5  echo "configure:10673: checking for modern C++ template specialization syntax support" >&5
10673  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
10674    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10675  else  else
10676    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10677  #line 10793 "configure"  #line 10678 "configure"
10678  #include "confdefs.h"  #include "confdefs.h"
10679  template <class T> struct X { int a; };  template <class T> struct X { int a; };
10680                                 class Y {};                                 class Y {};
# Line 10799  Line 10684 
10684                                 X<Y> y_x;                                 X<Y> y_x;
10685  ; return 0; }  ; return 0; }
10686  EOF  EOF
10687  if { (eval echo configure:10803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10688    rm -rf conftest*    rm -rf conftest*
10689    ac_cv_cpp_modern_specialize_template_syntax=yes    ac_cv_cpp_modern_specialize_template_syntax=yes
10690  else  else
# Line 10821  Line 10706 
10706    
10707    
10708  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
10709  echo "configure:10825: checking whether partial template specialization works" >&5  echo "configure:10710: checking whether partial template specialization works" >&5
10710  if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cpp_partial_specialization'+set}'`\" = set"; then
10711    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10712  else  else
10713    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10714  #line 10830 "configure"  #line 10715 "configure"
10715  #include "confdefs.h"  #include "confdefs.h"
10716  template <class T> class Foo {};  template <class T> class Foo {};
10717                                 template <class T> class Foo<T*> {};                                 template <class T> class Foo<T*> {};
# Line 10834  Line 10719 
10719  return 0;  return 0;
10720  ; return 0; }  ; return 0; }
10721  EOF  EOF
10722  if { (eval echo configure:10838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10723    rm -rf conftest*    rm -rf conftest*
10724    ac_cv_cpp_partial_specialization=yes    ac_cv_cpp_partial_specialization=yes
10725  else  else
# Line 10855  Line 10740 
10740  fi  fi
10741    
10742  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
10743  echo "configure:10859: checking whether operators must be re-defined for templates derived from templates" >&5  echo "configure:10744: checking whether operators must be re-defined for templates derived from templates" >&5
10744  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
10745    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10746  else  else
10747    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10748  #line 10864 "configure"  #line 10749 "configure"
10749  #include "confdefs.h"  #include "confdefs.h"
10750  template <class T> class Base { };  template <class T> class Base { };
10751                                  template <class T>                                  template <class T>
# Line 10872  Line 10757 
10757                                  return 0;                                  return 0;
10758  ; return 0; }  ; return 0; }
10759  EOF  EOF
10760  if { (eval echo configure:10876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10761    rm -rf conftest*    rm -rf conftest*
10762    ac_cv_need_derived_template_operators=no    ac_cv_need_derived_template_operators=no
10763  else  else
# Line 10894  Line 10779 
10779    
10780    
10781  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
10782  echo "configure:10898: checking whether we need to cast a derived template to pass as its base class" >&5  echo "configure:10783: checking whether we need to cast a derived template to pass as its base class" >&5
10783  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
10784    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10785  else  else
10786    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10787  #line 10903 "configure"  #line 10788 "configure"
10788  #include "confdefs.h"  #include "confdefs.h"
10789  template <class T> class Base { };  template <class T> class Base { };
10790                                  template <class T> class Derived : public Base<T> { };                                  template <class T> class Derived : public Base<T> { };
# Line 10908  Line 10793 
10793  Derived<char> bar; return foo(bar);  Derived<char> bar; return foo(bar);
10794  ; return 0; }  ; return 0; }
10795  EOF  EOF
10796  if { (eval echo configure:10912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10797    rm -rf conftest*    rm -rf conftest*
10798    ac_cv_need_cpp_template_cast_to_base=no    ac_cv_need_cpp_template_cast_to_base=no
10799  else  else
# Line 10929  Line 10814 
10814  fi  fi
10815    
10816  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
10817  echo "configure:10933: checking whether the compiler can resolve const ambiguities for templates" >&5  echo "configure:10818: checking whether the compiler can resolve const ambiguities for templates" >&5
10818  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
10819    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10820  else  else
10821    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10822  #line 10938 "configure"  #line 10823 "configure"
10823  #include "confdefs.h"  #include "confdefs.h"
10824    
10825                                  template <class T> class ptrClass {                                  template <class T> class ptrClass {
# Line 10955  Line 10840 
10840                                   a(&i);                                   a(&i);
10841  ; return 0; }  ; return 0; }
10842  EOF  EOF
10843  if { (eval echo configure:10959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10844    rm -rf conftest*    rm -rf conftest*
10845    ac_cv_can_resolve_const_ambiguity=yes    ac_cv_can_resolve_const_ambiguity=yes
10846  else  else
# Line 10977  Line 10862 
10862    
10863    
10864  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
10865  echo "configure:10981: checking whether the C++ \"using\" keyword can change access" >&5  echo "configure:10866: checking whether the C++ \"using\" keyword can change access" >&5
10866  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
10867    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
10868  else  else
10869    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10870  #line 10986 "configure"  #line 10871 "configure"
10871  #include "confdefs.h"  #include "confdefs.h"
10872  class A { protected: int foo() { return 0; } };  class A { protected: int foo() { return 0; } };
10873                     class B : public A { public: using A::foo; };                     class B : public A { public: using A::foo; };
# Line 10990  Line 10875 
10875  B b; return b.foo();  B b; return b.foo();
10876  ; return 0; }  ; return 0; }
10877  EOF  EOF
10878  if { (eval echo configure:10994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10879    rm -rf conftest*    rm -rf conftest*
10880    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
10881  #line 10997 "configure"  #line 10882 "configure"
10882  #include "confdefs.h"  #include "confdefs.h"
10883  class A { public: int foo() { return 1; } };  class A { public: int foo() { return 1; } };
10884                         class B : public A { private: using A::foo; };                         class B : public A { private: using A::foo; };
# Line 11001  Line 10886 
10886  B b; return b.foo();  B b; return b.foo();
10887  ; return 0; }  ; return 0; }
10888  EOF  EOF
10889  if { (eval echo configure:11005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:10890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10890    rm -rf conftest*    rm -rf conftest*
10891    ac_cv_cpp_access_changing_using2=no    ac_cv_cpp_access_changing_using2=no
10892  else  else
# Line 11029  Line 10914 
10914  fi  fi
10915