Allow this to build on 3.x

Respect CXXFLAGS (not from submitter)

PR:		17443
Submitted by:	Dirk Meyer <dirk.meyer@dinoex.sub.org>
This commit is contained in:
Chris Piazza 2000-03-19 02:18:51 +00:00
parent f9236ec24a
commit 0da94c328b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26805
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure.in.orig Tue Feb 22 17:48:11 2000
+++ configure.in Sat Mar 18 18:10:52 2000
@@ -31,7 +31,7 @@
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h unistd.h set.h)
+AC_CHECK_HEADERS(fcntl.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.

View File

@ -0,0 +1,27 @@
--- configure.orig Tue Feb 22 17:48:17 2000
+++ configure Sat Mar 18 18:17:06 2000
@@ -662,15 +662,11 @@
CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
else
- CXXFLAGS="-g"
fi
else
if test "$GXX" = yes; then
- CXXFLAGS="-O2"
else
- CXXFLAGS=
fi
fi
@@ -1122,7 +1118,7 @@
fi
-for ac_hdr in fcntl.h unistd.h set.h
+for ac_hdr in fcntl.h unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6