You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/xlockmore/files/xlockmore-5.47-CXX.patch

20 lines
613 B

--- 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} -+"