Comments ? see :

http://bugzilla.lyx.org/show_bug.cgi?id=555


Index: config/configure.ac
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/configure.ac,v
retrieving revision 1.27
diff -u -r1.27 configure.ac
--- config/configure.ac 10 Feb 2003 16:31:38 -0000      1.27
+++ config/configure.ac 15 Feb 2003 20:25:04 -0000
@@ -135,14 +135,6 @@
 # The real thing.
 AC_PATH_XTRA
 LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
-# Since solaris X headers use int as implicit return type and modern
-# gcc's do not like that, let's use -isystem instead of -I.
-# We should test for gcc version and see whether it supports -isystem,
-# but since at least gcc 2.6.x supports it and it is still too old for
-# us, it seems we are safe.
-if test -n "$GXX" ; then
-  X_CFLAGS=`echo ${X_CFLAGS} | sed -e 's/-I/-isystem /'`
-fi
 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
 ### check which frontend we want to use
Index: config/configure.in
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/configure.in,v
retrieving revision 1.20
diff -u -r1.20 configure.in
--- config/configure.in 10 Feb 2003 16:31:38 -0000      1.20
+++ config/configure.in 15 Feb 2003 20:25:04 -0000
@@ -138,14 +138,6 @@
 # The real thing.
 AC_PATH_XTRA
 LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
-# Since solaris X headers use int as implicit return type and modern
-# gcc's do not like that, let's use -isystem instead of -I.
-# We should test for gcc version and see whether it supports -isystem,
-# but since at least gcc 2.6.x supports it and it is still too old for
-# us, it seems we are safe.
-if test -n "$GXX" ; then
-  X_CFLAGS=`echo ${X_CFLAGS} | sed -e 's/-I/-isystem /'`
-fi
 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
 ### check which frontend we want to use

Reply via email to