remove -isystem stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6181 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-02-17 01:49:10 +00:00
parent 7726ee9097
commit ced5b14359
3 changed files with 6 additions and 16 deletions

View File

@ -1,3 +1,9 @@
2003-02-17 John Levon <levon@movementarian.org>
* config/configure.ac:
* config/configure.in: remove the -isystem fiddling. Let's see
if Solaris people complain...
2003-02-13 Lars Gullik Bjønnes <larsbj@birdstep.com> 2003-02-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
* most source files all over: remove the use of #pragma * most source files all over: remove the use of #pragma

View File

@ -135,14 +135,6 @@ CHECK_WITH_PSPELL
# The real thing. # The real thing.
AC_PATH_XTRA AC_PATH_XTRA
LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lX11 $X_EXTRA_LIBS" 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" CPPFLAGS="$CPPFLAGS $X_CFLAGS"
### check which frontend we want to use ### check which frontend we want to use

View File

@ -138,14 +138,6 @@ CHECK_WITH_PSPELL
# The real thing. # The real thing.
AC_PATH_XTRA AC_PATH_XTRA
LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lX11 $X_EXTRA_LIBS" 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" CPPFLAGS="$CPPFLAGS $X_CFLAGS"
### check which frontend we want to use ### check which frontend we want to use