[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] configure can't find libpisock
From:       Adriaan de Groot <adridg () sci ! kun ! nl>
Date:       2002-01-30 10:33:24
[Download RAW message or body]

On Tue, 29 Jan 2002, Waldo Bastian wrote:
> On Tuesday 29 January 2002 06:24 pm, Mark Hollomon wrote:
> > The kdepim configure doesn't seem to be honoring the --with-extra-includes
> > setting when testing for pi-files.h
> >
> > ./configure --prefix /opt/kde --with-qt-dir=/opt/qt --with-gnu-ld
> > --with-extra-includes=/usr/include/libpisock
>
> Which version of KDE are we talking about? I tried to fix this very problem
> last week in CVS.

There used to be very complicated configure code in there, which broke on
everything but Linux. So I stripped all kinds of stuff out and it now
reads

HAVE_PISOCK=0

kpilot_save_cflags="$CFLAGS"
kpilot_save_ldflags="$LDFLAGS"

CFLAGS="$CFLAGS $all_includes"
LDFLAGS="$LDFLAGS $all_libraries"

AC_CHECK_HEADER(pi-file.h,[HAVE_PISOCK=1], )

Now I suspect that this is the wrong way to save settings -- is there an
AC_SAVE_LANG or somesuch? And probably the wrong way to switch languages
as well (the test should be in C).

One thing I considered was looking for the pi-file.h in various places
myself, just with a for loop and -f. It was like that in KDE 2.1, IIRC.


-- 
+------------------------------+--------------------------------------------+
+ Adriaan de Groot             + Project: FRESCoS                           +
+ adridg@cs.kun.nl             + Private: adridg@sci.kun.nl                 +
+ Kamer A6020 tel. 024 3652272 + http://www.cs.kun.nl/~adridg/frescos/      +

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic