From: Ivan Maidanski Date: Tue, 13 Dec 2011 07:19:46 +0000 (+0400) Subject: Regenerate configure; update ChangeLog X-Git-Tag: gc7_2~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d38ea52b5c3809d2bc00d805992ec3deb9f9070;p=gc Regenerate configure; update ChangeLog --- diff --git a/ChangeLog b/ChangeLog index b6da6990..c817f3dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2011-12-13 Ivan Maidanski + + * configure: Regenerate. + +2011-12-13 Ivan Maidanski + + * configure.ac (ac_is_dgux): Move down to below gc-debug processing + (DG/UX) since it uses "enable_gc_debug" variable; remove FIXME. + +2011-12-13 Ivan Maidanski + + * configure.ac (CFLAGS, CXXFLAGS): Preserve C/C++ flags passed by + client (DG/UX only); remove code duplication (put common flags to + "dgux_spec_opts" variable). + 2011-11-23 Ivan Maidanski (really Bruce Mitchener) * README: Fix typos. diff --git a/configure b/configure index 94f28f54..fc799aff 100755 --- a/configure +++ b/configure @@ -16113,31 +16113,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -# -# Check for AViiON Machines running DGUX -# FIXME: Should this be moved down to below the gc-debug processing? -# -ac_is_dgux=no -ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then : - ac_is_dgux=yes; -fi - - - - ## :GOTCHA: we do not check anything but sys/dg_sys_info.h -if test $ac_is_dgux = yes; then - if test "$enable_gc_debug" = "yes"; then - CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2" - CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2" - else - CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2" - CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2" - fi - - -fi - # Check whether --with-target-subdir was given. if test "${with_target_subdir+set}" = set; then : @@ -16311,6 +16286,28 @@ else fi +# Check for AViiON Machines running DGUX +ac_is_dgux=no +ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then : + ac_is_dgux=yes; +fi + + + + ## :GOTCHA: we do not check anything but sys/dg_sys_info.h +if test $ac_is_dgux = yes; then + dgux_spec_opts="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2" + CFLAGS="$dgux_spec_opts $CFLAGS" + CXXFLAGS="$dgux_spec_opts $CXXFLAGS" + if test "$enable_gc_debug" = "yes"; then + CFLAGS="-g -mstandard $CFLAGS" + CXXFLAGS="-g -mstandard $CXXFLAGS" + fi + + +fi + # Check whether --enable-java-finalization was given. if test "${enable_java_finalization+set}" = set; then : enableval=$enable_java_finalization;