[svn-r10787] Purpose:

Bug fix

Description:
    Accommodate the GNU C++ compiler.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/CC=g++
    Not tested by h5committest
This commit is contained in:
Quincey Koziol 2005-05-23 15:39:54 -05:00
parent 5e6b5f30cf
commit 7a9cd4ac49

View File

@ -13,7 +13,10 @@ fi
# Add "_XOPEN_SOURCE" define to cpp flags, to quiet warnings
# from /usr/include/sys/cdefs.h
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600"
# (Unless we are using g++ as a C compiler)
if test "X-g++" != "X-$CC"; then
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600"
fi
# Figure out C compiler flags
. $srcdir/config/gnu-flags