[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH] Re: Solaris configure check for gcc w/ --enable-shared
From: Rob Napier <rnapier () employees ! org>
Date: 2001-06-15 17:54:13
[Download RAW message or body]
On Fri, Jun 15, 2001 at 11:28:43AM +0200, Adriaan de Groot wrote:
> The check under Solaris whether gcc has been compiled with --enable-shared
> uses "gcc" as a command instead of $CC or $CXX or $ac_cv_CC, which is a
> small problem if the gcc you use to compile KDE is different from the
> default gcc in your path.
>
> Yes, I know that's a doofy setup, but I'm not an admin on this system, so
> we have /usr/local/gnu/bin/gcc which is ancient and
> /vol/kde/support/bin/gcc, which is gcc 2.96.3 w/ --enable-shared.
Try this:
Index: acinclude.m4.in
===================================================================
RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v
retrieving revision 2.116
diff -u -3 -p -r2.116 acinclude.m4.in
--- acinclude.m4.in 2001/06/15 14:05:24 2.116
+++ acinclude.m4.in 2001/06/15 17:11:49
@@ -2213,7 +2213,7 @@ AC_DEFUN(AC_CHECK_COMPILERS,
*-*-sysv5uw7*) CXXFLAGS="$CXXFLAGS -D_UNIXWARE7";;
*-*-solaris*)
if test "$GXX" = yes; then
- libstdcpp=`gcc -print-file-name=libstdc++.so`
+ libstdcpp=`$CXX -print-file-name=libstdc++.so`
if test ! -f $libstdcpp; then
AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't \
work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so]) \
fi
> > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic