paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] Bug in CVS sigc++ setup


From: Teunis Peters
Subject: [paragui-users] Bug in CVS sigc++ setup
Date: Tue, 25 Jun 2002 20:02:08 -0700 (PDT)

If you want sigc++ to work with newer systems - or probably most systems
that have sigc++ to begin with *g* try this patch!

Actually I'm curious if this -doesn't- work.  sigc++ works for me with
this.  (but not without)

also in test/Makefile.am: (line 41) add in this to make it work with a
seperate compile directory *g*
        -I../include \
        -I$(top_srcdir)/include


--- configure.in        Tue Jun 25 14:31:57 2002
+++ configure.in        Tue Jun 25 19:48:39 2002
@@ -479,10 +535,12 @@
 AC_CHECK_FUNCS(vsnprintf)
 AC_CHECK_FUNCS(strsep)

-SIGC_CFLAGS="-I$prefix/include/sigc++-1.2 -I$prefix/lib/sigc++-1.2/include"
+SIGC_CFLAGS=`pkg-config sigc++-1.2 --cflags`
+dnl SIGC_CFLAGS="-I$prefix/include/sigc++-1.2 -I$prefix/lib/sigc++-1.2/include"
 AC_SUBST(SIGC_CFLAGS)

-SIGC_LIBS="-lsigc-1.1"
+SIGC_LIBS=`pkg-config sigc++-1.2 --libs`
+dnl SIGC_LIBS="-lsigc-1.1"
 AC_SUBST(SIGC_LIBS)

 PARAGUI_CFLAGS="$STL_CFLAGS $SIGC_CFLAGS $FREETYPE_CFLAGS $SDL_CFLAGS 
$RTTI_FLAGS $EXTRA_FLAGS"





reply via email to

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