Commit 2e7e7828 by Benjamin Kosnik Committed by Benjamin Kosnik

configure.in (CXX): Exit out if mknumeric_limits fails.


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.

From-SVN: r38262
parent 2e82aa0f
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,
......
......@@ -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
......
......@@ -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
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment