diff options
Diffstat (limited to '')
| -rw-r--r-- | gc/configure | 167 | ||||
| -rw-r--r-- | gc/configure.in | 18 | 
2 files changed, 125 insertions, 60 deletions
| diff --git a/gc/configure b/gc/configure index 1146ce6..e90a858 100644 --- a/gc/configure +++ b/gc/configure @@ -41,6 +41,8 @@ ac_help="$ac_help  ac_help="$ac_help    --with-ecos             enable runtime eCos target support"  ac_help="$ac_help +  --enable-shared[=PKGS]  build shared libraries [default=no]" +ac_help="$ac_help    --enable-full-debug	include full support for pointer backtracing etc."  # Initialize some variables set by options. @@ -601,7 +603,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }  fi  echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:605: checking host system type" >&5 +echo "configure:607: checking host system type" >&5  host_alias=$host  case "$host_alias" in @@ -622,7 +624,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  echo "$ac_t""$host" 1>&6  echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:626: checking target system type" >&5 +echo "configure:628: checking target system type" >&5  target_alias=$target  case "$target_alias" in @@ -640,7 +642,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  echo "$ac_t""$target" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:644: checking build system type" >&5 +echo "configure:646: checking build system type" >&5  build_alias=$build  case "$build_alias" in @@ -675,7 +677,7 @@ test "$host_alias" != "$target_alias" &&  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # ./install, which can be erroneously created by make from ./install.sh.  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:679: checking for a BSD compatible install" >&5 +echo "configure:681: checking for a BSD compatible install" >&5  if test -z "$INSTALL"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -728,7 +730,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:732: checking whether build environment is sane" >&5 +echo "configure:734: checking whether build environment is sane" >&5  # Just in case  sleep 1  echo timestamp > conftestfile @@ -785,7 +787,7 @@ test "$program_suffix" != NONE &&  test "$program_transform_name" = "" && program_transform_name="s,x,x,"  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:789: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:791: checking whether ${MAKE-make} sets \${MAKE}" >&5  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -818,12 +820,12 @@ else  fi  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -echo "configure:822: checking for Cygwin environment" >&5 +echo "configure:824: checking for Cygwin environment" >&5  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 827 "configure" +#line 829 "configure"  #include "confdefs.h"  int main() { @@ -834,7 +836,7 @@ int main() {  return __CYGWIN__;  ; return 0; }  EOF -if { (eval echo configure:838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_cygwin=yes  else @@ -851,19 +853,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6  CYGWIN=  test "$ac_cv_cygwin" = yes && CYGWIN=yes  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 -echo "configure:855: checking for mingw32 environment" >&5 +echo "configure:857: checking for mingw32 environment" >&5  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 860 "configure" +#line 862 "configure"  #include "confdefs.h"  int main() {  return __MINGW32__;  ; return 0; }  EOF -if { (eval echo configure:867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_mingw32=yes  else @@ -951,7 +953,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }  fi  echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:955: checking host system type" >&5 +echo "configure:957: checking host system type" >&5  host_alias=$host  case "$host_alias" in @@ -972,7 +974,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  echo "$ac_t""$host" 1>&6  echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:976: checking target system type" >&5 +echo "configure:978: checking target system type" >&5  target_alias=$target  case "$target_alias" in @@ -990,7 +992,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  echo "$ac_t""$target" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:994: checking build system type" >&5 +echo "configure:996: checking build system type" >&5  build_alias=$build  case "$build_alias" in @@ -1026,7 +1028,7 @@ fi  missing_dir=`cd $ac_aux_dir && pwd`  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:1030: checking for working aclocal" >&5 +echo "configure:1032: checking for working aclocal" >&5  # Run test in a subshell; some versions of sh will print an error if  # an executable is not found, even if stderr is redirected.  # Redirect stdin to placate older versions of autoconf.  Sigh. @@ -1039,7 +1041,7 @@ else  fi  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:1043: checking for working autoconf" >&5 +echo "configure:1045: checking for working autoconf" >&5  # Run test in a subshell; some versions of sh will print an error if  # an executable is not found, even if stderr is redirected.  # Redirect stdin to placate older versions of autoconf.  Sigh. @@ -1052,7 +1054,7 @@ else  fi  echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:1056: checking for working automake" >&5 +echo "configure:1058: checking for working automake" >&5  # Run test in a subshell; some versions of sh will print an error if  # an executable is not found, even if stderr is redirected.  # Redirect stdin to placate older versions of autoconf.  Sigh. @@ -1065,7 +1067,7 @@ else  fi  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:1069: checking for working autoheader" >&5 +echo "configure:1071: checking for working autoheader" >&5  # Run test in a subshell; some versions of sh will print an error if  # an executable is not found, even if stderr is redirected.  # Redirect stdin to placate older versions of autoconf.  Sigh. @@ -1078,7 +1080,7 @@ else  fi  echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:1082: checking for working makeinfo" >&5 +echo "configure:1084: checking for working makeinfo" >&5  # Run test in a subshell; some versions of sh will print an error if  # an executable is not found, even if stderr is redirected.  # Redirect stdin to placate older versions of autoconf.  Sigh. @@ -1104,7 +1106,7 @@ fi  # Extract the first word of "gcc", so it can be a program name with args.  set dummy gcc; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1108: checking for $ac_word" >&5 +echo "configure:1110: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1134,7 +1136,7 @@ if test -z "$CC"; then    # Extract the first word of "cc", so it can be a program name with args.  set dummy cc; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1138: checking for $ac_word" >&5 +echo "configure:1140: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1183,7 +1185,7 @@ fi  fi  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1187: checking whether we are using GNU C" >&5 +echo "configure:1189: checking whether we are using GNU C" >&5  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1192,7 +1194,7 @@ else    yes;  #endif  EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1196: \"$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:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then    ac_cv_prog_gcc=yes  else    ac_cv_prog_gcc=no @@ -1207,7 +1209,7 @@ if test $ac_cv_prog_gcc = yes; then    ac_save_CFLAGS="$CFLAGS"    CFLAGS=    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1211: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1213: checking whether ${CC-cc} accepts -g" >&5  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1244,7 +1246,7 @@ do  # Extract the first word of "$ac_prog", so it can be a program name with args.  set dummy $ac_prog; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1248: checking for $ac_word" >&5 +echo "configure:1250: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1277,7 +1279,7 @@ test -n "$CXX" || CXX="gcc"  test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }  echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 -echo "configure:1281: checking whether we are using GNU C++" >&5 +echo "configure:1283: checking whether we are using GNU C++" >&5  if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1286,7 +1288,7 @@ else    yes;  #endif  EOF -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1290: \"$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:1292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then    ac_cv_prog_gxx=yes  else    ac_cv_prog_gxx=no @@ -1301,7 +1303,7 @@ if test $ac_cv_prog_gxx = yes; then    ac_save_CXXFLAGS="$CXXFLAGS"    CXXFLAGS=    echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 -echo "configure:1305: checking whether ${CXX-g++} accepts -g" >&5 +echo "configure:1307: checking whether ${CXX-g++} accepts -g" >&5  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1334,7 +1336,7 @@ fi  # NEWLIB_CONFIGURE, which doesn't work because that means that it will  # be run before AC_CANONICAL_HOST.  echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:1338: checking build system type" >&5 +echo "configure:1340: checking build system type" >&5  build_alias=$build  case "$build_alias" in @@ -1355,7 +1357,7 @@ echo "$ac_t""$build" 1>&6  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.  set dummy ${ac_tool_prefix}as; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1359: checking for $ac_word" >&5 +echo "configure:1361: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1387,7 +1389,7 @@ fi  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.  set dummy ${ac_tool_prefix}ar; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1391: checking for $ac_word" >&5 +echo "configure:1393: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1419,7 +1421,7 @@ fi  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1423: checking for $ac_word" >&5 +echo "configure:1425: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1451,7 +1453,7 @@ if test -n "$ac_tool_prefix"; then    # Extract the first word of "ranlib", so it can be a program name with args.  set dummy ranlib; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1455: checking for $ac_word" >&5 +echo "configure:1457: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1496,7 +1498,7 @@ fi  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # ./install, which can be erroneously created by make from ./install.sh.  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1500: checking for a BSD compatible install" >&5 +echo "configure:1502: checking for a BSD compatible install" >&5  if test -z "$INSTALL"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -1550,7 +1552,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:1554: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:1556: checking whether to enable maintainer-specific portions of Makefiles" >&5      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.  if test "${enable_maintainer_mode+set}" = set; then    enableval="$enable_maintainer_mode" @@ -1588,7 +1590,7 @@ if false; then  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:1592: checking for executable suffix" >&5 +echo "configure:1594: checking for executable suffix" >&5  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1598,7 +1600,7 @@ else    rm -f conftest*    echo 'int main () { return 0; }' > conftest.$ac_ext    ac_cv_exeext= -  if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then +  if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then      for file in conftest.*; do        case $file in        *.c | *.o | *.obj) ;; @@ -1711,7 +1713,7 @@ fi  # Extract the first word of "ranlib", so it can be a program name with args.  set dummy ranlib; ac_word=$2  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1715: checking for $ac_word" >&5 +echo "configure:1717: checking for $ac_word" >&5  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1750,7 +1752,7 @@ ac_prog=ld  if test "$ac_cv_prog_gcc" = yes; then    # Check if gcc -print-prog-name=ld gives a path.    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 -echo "configure:1754: checking for ld used by GCC" >&5 +echo "configure:1756: checking for ld used by GCC" >&5    ac_prog=`($CC -print-prog-name=ld) 2>&5`    case "$ac_prog" in      # Accept absolute paths. @@ -1774,10 +1776,10 @@ echo "configure:1754: checking for ld used by GCC" >&5    esac  elif test "$with_gnu_ld" = yes; then    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 -echo "configure:1778: checking for GNU ld" >&5 +echo "configure:1780: checking for GNU ld" >&5  else    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 -echo "configure:1781: checking for non-GNU ld" >&5 +echo "configure:1783: checking for non-GNU ld" >&5  fi  if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -1812,7 +1814,7 @@ else  fi  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 -echo "configure:1816: checking if the linker ($LD) is GNU ld" >&5 +echo "configure:1818: checking if the linker ($LD) is GNU ld" >&5  if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1828,7 +1830,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 -echo "configure:1832: checking for BSD-compatible nm" >&5 +echo "configure:1834: checking for BSD-compatible nm" >&5  if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1864,7 +1866,7 @@ NM="$ac_cv_path_NM"  echo "$ac_t""$NM" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1868: checking whether ln -s works" >&5 +echo "configure:1870: checking whether ln -s works" >&5  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -1918,8 +1920,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"  case "$lt_target" in  *-*-irix6*)    # Find out which ABI we are using. -  echo '#line 1922 "configure"' > conftest.$ac_ext -  if { (eval echo configure:1923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +  echo '#line 1924 "configure"' > conftest.$ac_ext +  if { (eval echo configure:1925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then      case "`/usr/bin/file conftest.o`" in      *32-bit*)        LD="${LD-ld} -32" @@ -1940,19 +1942,19 @@ case "$lt_target" in    SAVE_CFLAGS="$CFLAGS"    CFLAGS="$CFLAGS -belf"    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 -echo "configure:1944: checking whether the C compiler needs -belf" >&5 +echo "configure:1946: checking whether the C compiler needs -belf" >&5  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 1949 "configure" +#line 1951 "configure"  #include "confdefs.h"  int main() {  ; return 0; }  EOF -if { (eval echo configure:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    lt_cv_cc_needs_belf=yes  else @@ -2068,7 +2070,7 @@ fi  echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:2072: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:2074: checking whether to enable maintainer-specific portions of Makefiles" >&5      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.  if test "${enable_maintainer_mode+set}" = set; then    enableval="$enable_maintainer_mode" @@ -2101,7 +2103,7 @@ if false; then  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:2105: checking for executable suffix" >&5 +echo "configure:2107: checking for executable suffix" >&5  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2111,7 +2113,7 @@ else    rm -f conftest*    echo 'int main () { return 0; }' > conftest.$ac_ext    ac_cv_exeext= -  if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then +  if { (eval echo configure:2117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then      for file in conftest.*; do        case $file in        *.c | *.o | *.obj) ;; @@ -2134,14 +2136,14 @@ ac_exeext=$EXEEXT  fi  echo $ac_n "checking for threads package to use""... $ac_c" 1>&6 -echo "configure:2138: checking for threads package to use" >&5 +echo "configure:2140: checking for threads package to use" >&5  # Check whether --enable-threads or --disable-threads was given.  if test "${enable_threads+set}" = set; then    enableval="$enable_threads"    THREADS=$enableval  else     echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 -echo "configure:2145: checking for thread model used by GCC" >&5 +echo "configure:2147: checking for thread model used by GCC" >&5      THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`      if test -z "$THREADS"; then        THREADS=no @@ -2227,7 +2229,7 @@ EOF       *-*-freebsd*)  	echo "configure: warning: "FreeBSD does not yet fully support threads with Boehm GC."" 1>&2  	cat >> confdefs.h <<\EOF -#define FREEBSD_THREADS 1 +#define GC_FREEBSD_THREADS 1  EOF  	INCLUDES="$INCLUDES -pthread" @@ -2261,7 +2263,7 @@ esac  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:2265: checking for dlopen in -ldl" >&5 +echo "configure:2267: checking for dlopen in -ldl" >&5  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -2269,7 +2271,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-ldl  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 2273 "configure" +#line 2275 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -2280,7 +2282,7 @@ int main() {  dlopen()  ; return 0; }  EOF -if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -2340,6 +2342,40 @@ case "$host" in  # alpha*-*-*)  #    machdep="alpha_mach_dep.lo"  #    ;; + i?86-*-solaris2.[89]*) +    cat >> confdefs.h <<\EOF +#define SOLARIS25_PROC_VDB_BUG_FIXED 1 +EOF + +    ;; + alpha-*-openbsd*) +    if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then +       echo "configure: warning: OpenBSD/Alpha without dlopen(). Shared library support is disabled" 1>&2 +       # Check whether --enable-shared or --disable-shared was given. +if test "${enable_shared+set}" = set; then +  enableval="$enable_shared" +  p=${PACKAGE-default} +case "$enableval" in +yes) enable_shared=yes ;; +no) enable_shared=no ;; +*) +  enable_shared=no +  # Look at the argument we got.  We use all the common list separators. +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," +  for pkg in $enableval; do +    if test "X$pkg" = "X$p"; then +      enable_shared=yes +    fi +  done +  IFS="$ac_save_ifs" +  ;; +esac +else +  enable_shared=no +fi + +    fi +    ;;   mipstx39-*-elf*)      machdep="mips_ultrix_mach_dep.lo"      cat >> confdefs.h <<\EOF @@ -2367,6 +2403,9 @@ EOF  EOF      ;; + ia64-*-*) +    machdep="mach_dep.lo ia64_save_regs_in_stack.lo" +    ;;  esac  if test x"$machdep" = x; then     machdep="mach_dep.lo" @@ -2458,7 +2497,17 @@ EOF  EOF      case $host in +      ia64-*-linux* ) +	cat >> confdefs.h <<\EOF +#define MAKE_BACK_GRAPH 1 +EOF + +      ;;        x86-*-linux* | i586-*-linux* | i686-*-linux* ) +	cat >> confdefs.h <<\EOF +#define MAKE_BACK_GRAPH 1 +EOF +  	echo "configure: warning: "Client must not use -fomit-frame-pointer."" 1>&2  	cat >> confdefs.h <<\EOF  #define SAVE_CALL_COUNT 8 diff --git a/gc/configure.in b/gc/configure.in index fa3f81a..aef5ebe 100644 --- a/gc/configure.in +++ b/gc/configure.in @@ -96,7 +96,7 @@ case "$THREADS" in  	;;       *-*-freebsd*)  	AC_MSG_WARN("FreeBSD does not yet fully support threads with Boehm GC.") -	AC_DEFINE(FREEBSD_THREADS) +	AC_DEFINE(GC_FREEBSD_THREADS)  	INCLUDES="$INCLUDES -pthread"  	THREADLIBS=-pthread        	;; @@ -157,6 +157,15 @@ case "$host" in  # alpha*-*-*)  #    machdep="alpha_mach_dep.lo"  #    ;; + i?86-*-solaris2.[[89]]*) +    AC_DEFINE(SOLARIS25_PROC_VDB_BUG_FIXED) +    ;; + alpha-*-openbsd*) +    if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then +       AC_MSG_WARN(OpenBSD/Alpha without dlopen(). Shared library support is disabled) +       AM_DISABLE_SHARED +    fi +    ;;   mipstx39-*-elf*)      machdep="mips_ultrix_mach_dep.lo"      AC_DEFINE(STACKBASE, __stackbase) @@ -172,6 +181,9 @@ case "$host" in   sparc-sun-solaris2.3*)      AC_DEFINE(SUNOS53_SHARED_LIB)      ;; + ia64-*-*) +    machdep="mach_dep.lo ia64_save_regs_in_stack.lo" +    ;;  esac  if test x"$machdep" = x; then     machdep="mach_dep.lo" @@ -232,7 +244,11 @@ AC_ARG_ENABLE(full-debug,      AC_DEFINE(KEEP_BACK_PTRS)      AC_DEFINE(DBG_HDRS_ALL)      case $host in +      ia64-*-linux* ) +	AC_DEFINE(MAKE_BACK_GRAPH) +      ;;        x86-*-linux* | i586-*-linux* | i686-*-linux* ) +	AC_DEFINE(MAKE_BACK_GRAPH)  	AC_MSG_WARN("Client must not use -fomit-frame-pointer.")  	AC_DEFINE(SAVE_CALL_COUNT, 8)        ;; | 
