mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-16 18:25:11 -06:00
Fix some problems with the gcc 3.x cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7508 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
873b37153b
commit
3f318a6325
@ -1,3 +1,9 @@
|
||||
2002-11-18 David Hampton <hampton@employees.org>
|
||||
|
||||
* configure.in: Fix problems with gtkhtml 1.1.
|
||||
|
||||
* macros/as-scrub-include.m4: Fix problems with gcc 2.x.
|
||||
|
||||
2002-11-18 Chris Lyttle <chris@wilddev.net>
|
||||
|
||||
* NEWS: update to new version 1.7.3
|
||||
|
@ -789,6 +789,7 @@ then
|
||||
GUPPI_LIBS=`$GNOME_CONFIG --libs libguppi`
|
||||
GUPPI_CFLAGS=`$GNOME_CONFIG --cflags libguppi`
|
||||
LIBGUPPI_CHECK
|
||||
AS_SCRUB_INCLUDE(LIBGUPPI_CFLAGS)
|
||||
AS_SCRUB_INCLUDE(GUPPI_CFLAGS)
|
||||
AC_SUBST(GUPPI_LIBS)
|
||||
AC_SUBST(GUPPI_CFLAGS)
|
||||
|
@ -26,8 +26,7 @@ AC_DEFUN(AS_SCRUB_INCLUDE,
|
||||
dnl line
|
||||
INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
|
||||
for dir in $INCLUDE_DIRS; do
|
||||
command="sed -e s#-I$dir##"
|
||||
GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | $command`
|
||||
GIVEN_CFLAGS=$(echo $GIVEN_CFLAGS | sed -e "s;-I$dir ;;" | sed -e "s;-I$dir$;;")
|
||||
done
|
||||
[$1]=$GIVEN_CFLAGS
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user