OSDN Git Service

2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2000 22:53:59 +0000 (22:53 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2000 22:53:59 +0000 (22:53 +0000)
* configure.in (CXX): Exit out if mknumeric_limits fails.
* mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
path. Consistency with tests_flags.in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38262 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/configure.in
libstdc++-v3/mknumeric_limits

index 54fd550..194c33f 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
+
+       * configure.in (CXX): Exit out if mknumeric_limits fails.
+       * mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
+       path. Consistency with tests_flags.in.
+
 2000-12-14  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/c/bits/*.h: Remove include_next, replace with include,
index fb3ece4..eba163b 100755 (executable)
@@ -21021,7 +21021,12 @@ $srcdir/mkc++config $blddir $srcdir
 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
 if test ! -f stamp-limits; then
   $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
-  touch stamp-limits
+  if test ! -f include/bits/std_limits.h; then
+    echo "mknumeric_limits failed to execute properly: exiting"
+    exit 1
+  else
+    touch stamp-limits 
+  fi
 fi
 
 
index d8d5b3e..cc25336 100644 (file)
@@ -320,7 +320,12 @@ $srcdir/mkc++config $blddir $srcdir
 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
 if test ! -f stamp-limits; then
   $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
-  touch stamp-limits
+  if test ! -f include/bits/std_limits.h; then
+    echo "mknumeric_limits failed to execute properly: exiting"
+    exit 1
+  else
+    touch stamp-limits 
+  fi
 fi
 
 
index a1ecc96..600d6f1 100755 (executable)
@@ -8,8 +8,6 @@
 
 echo "running mknumeric_limits"
 
-: ${CXX:=g++}
-
 case `uname` in
     CYGWIN*) 
        LDFLAGS='-nodefaultlibs -lcygwin -lc -lkernel32 -lgcc' ;;
@@ -64,6 +62,8 @@ if [ $XCOMPILE -eq 1 ]; then
   exit 0;
 fi   
 
+: ${CXX:="$BUILD_DIR/../../gcc/g++ -B$BUILD_DIR/../../gcc/"}
+
 cat <<EOF > $OUT_H
 // The template and inlines for the -*- C++ -*- numeric_limits classes.