bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: CommonC++-1.4.3/posix/ccgnu-config.in accomodation for gcc-3.0


From: Adam J. Richter
Subject: PATCH: CommonC++-1.4.3/posix/ccgnu-config.in accomodation for gcc-3.0
Date: Mon, 25 Jun 2001 22:46:12 -0700

        gcc-3.0, and, therefore, g++-3.0, generally chokes on -I/usr/include
(search for "-I/usr/include" in gcc-3.0/gcc/doc/gcc.texi for details).
The following patch changes to CommonC++/posix/ccgnu-config.in to
accomodate this quirk.

        I think a number of source code changes will also be necessary
to appease gcc-3.0, but this should get things to the point where the
error messages are usually sensible.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
address@hidden     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."
------------------------------CUT HERE---------------------------------
--- CommonC++-1.4.3/posix/ccgnu-config.in       Wed Mar 28 13:26:34 2001
+++ CommonC++/posix/ccgnu-config.in     Mon Jun 25 22:30:14 2001
@@ -7,7 +7,11 @@
 prefix="@prefix@"
 exec_prefix="@exec_prefix@"
 libdir="address@hidden@"
-includedir="address@hidden@"
+if test "@includedir@" = "/usr/include" ; then
+       includedir=""
+else
+       includedir="address@hidden@"
+fi
 
 usage()
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]