summaryrefslogtreecommitdiff
blob: 0617c5199d46c6bde2fe7113fcb33bb64421c3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/configure.ac
+++ b/configure.ac
@@ -10,11 +10,11 @@
 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
+dnl if test "$CC" = gcc; then
+dnl   AC_CHECK_PROGS(CXX, $CCC g++ CC C++ c++ cxx cc++ xlC $CC, gcc)
+dnl else
+dnl   AC_CHECK_PROGS(CXX, $CCC CC C++ g++ c++ cxx cc++ xlC $CC, gcc)
+dnl fi
 AC_PROG_CXX
 if test "${CXX}" = "xlC" ; then
   CXXFLAGS="${CXXFLAGS} -+"