blob: e69999c234978b52243b2c7faaae5bf6087c708e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
http://bugs.gentoo.org/show_bug.cgi?id=285262
--- configure.in
+++ configure.in
@@ -8,17 +8,7 @@
canonical=$host
AC_PROG_CC
-dnl Check if C++ compiler is present. If not set CXX to the C-compiler used
-dnl for the other compilations.
-if test "$CC" = gcc; then
- AC_CHECK_PROGS(CXX, $CCC g++ CC C++ c++ cxx cc++ xlC $CC, gcc)
-else
- AC_CHECK_PROGS(CXX, $CCC CC C++ g++ c++ cxx cc++ xlC $CC, gcc)
-fi
AC_PROG_CXX
-if test "${CXX}" = "xlC" ; then
- CXXFLAGS="${CXXFLAGS} -+"
-fi
dnl If you're using g++-2.95 or later and have old X11 includes, you may need
dnl to use "g++ -fpermissive" in the Makefiles
|