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.31-configure.in...

23 lines
725 B

Index: xlockmore-5.31/configure.in
===================================================================
--- xlockmore-5.31.orig/configure.in
+++ xlockmore-5.31/configure.in
@@ -8,17 +8,7 @@ AC_CANONICAL_HOST
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