[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix for configure.ac of gui
From: |
Adam Fedor |
Subject: |
Re: Fix for configure.ac of gui |
Date: |
Thu, 24 Jul 2003 09:16:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905 |
Marcus Müller wrote:
Hi,
there's a bug in the current version of configure.ac that prevents
linking on a current FreeBSD 5.1-CURRENT. This issue is probably gcc
3.{23} related and quite simple to understand: /usr/local/include and
/usr/local/lib need to be set explicitly.
Attached find the patch that corrects the issue.
This should be set already (and used) in gnustep-make/config.make
(CONFIG_SYSTEM_INCL and CONFIG_SYSTEM_LIBS), so it shoudn't need to be
set again.
I fixed the incorrect setting in the autofile section, however:
Index: configure.ac
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/gui/configure.ac,v
retrieving revision 1.10
diff -u -r1.10 configure.ac
--- configure.ac 6 Jul 2003 03:19:12 -0000 1.10
+++ configure.ac 24 Jul 2003 15:14:25 -0000
@@ -240,8 +240,8 @@
if test $audio_ok = yes -a $enable_gsnd = yes; then
AC_CHECK_HEADERS(audiofile.h)
ADDITIONAL_DEPENDS="$ADDITIONAL_DEPENDS -laudiofile"
- ADDITIONAL_INCLUDE_DIRS="$GRAPHIC_CFLAGS ${with_audiofile_include}"
- ADDITIONAL_LIB_DIRS="$GRAPHIC_LFLAGS ${with_audiofile_library}"
+ ADDITIONAL_INCLUDE_DIRS="$ADDITIONAL_INCLUDE_DIRS
${with_audiofile_include}"
+ ADDITIONAL_LIB_DIRS="$ADDITIONAL_LIB_DIRS ${with_audiofile_library}"
BUILD_GSND=gsnd
fi
AC_SUBST(BUILD_GSND)