pcp
[Top] [All Lists]

pcp updates - build/configure issues

To: pcp@xxxxxxxxxxx
Subject: pcp updates - build/configure issues
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 08 May 2013 10:27:21 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 build/rpm/GNUmakefile    |    1 +
 build/rpm/pcp.spec.in    |   11 ++++++++---
 configure                |    2 ++
 configure.in             |    6 ++++++
 debian/pcp.postinst.tail |    4 ++--
 debian/pcp.postrm        |    2 +-
 debian/pcp.prerm         |    4 ++--
 7 files changed, 22 insertions(+), 8 deletions(-)

commit 6dae1ff43b697d7becc3038277a43d87cbd8bd69
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed May 8 09:49:57 2013 +1000

    dpkg builds for missing libmicrohttpd package
    
    Need some pre/post script changes for the case where the
    libmicrohttpd package is not installed in the build
    environment.

commit c8c9420c5a943922e008509a1cf6521667b90898
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed May 8 09:08:53 2013 +1000

    configure.in - more CFLAGS tweaks
    
    When I move the optimization flags out from $CFLAGS to $CFLAGS_OPT
    in the build infrastructure (so I can build/debug code with no
    optimization in place), there is a messy cross-dependency between
    $CFLAGS use in configure.in and in builddefs.
    
    I missed the fact that -D_FORTIFY_SOURCE=2 _requires_ -O (at least
    for some toolchains), and this was causing some malconfiguration
    in the cc tests run from configure, specifically the test for the
    const (or not) struct dirent parameter to scandir().
    
    This commit fixes that.

commit 7bb73a6a73c6d03177080b4036e95574331d4ebb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed May 8 08:09:11 2013 +1000

    rpm builds for missing libmicrohttpd package
    
    Make RPM packaging (specifically the package dependencies) work
    again if the libmicrohttpd package is not installed in the build
    environment.
    
    Thanks Nathan.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - build/configure issues, Ken McDonell <=