Changeset f318e95393f484170ac6b4fc8525560492319efe

Show
Ignore:
Timestamp:
06/18/08 01:14:25 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1213751665 +0000
git-parent:

[39d075686094cb24db6cfdfcb76174e6dba6adc7]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1213751665 +0000
Message:

need to find postgres includes and pass CFLAGS and LDFLAGS to serf's build, refs #32

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.in

    r98535fd rf318e95  
    102102AC_CHECK_LIB(termcap, tputs, , ) 
    103103AC_CHECK_LIB(curses, clear, , ) 
     104CPPFLAGS="$CPPFLAGS `pcre-config --cflags`" 
     105LDFLAGS="$LDFLAGS `pcre-config --libs`" 
    104106AC_CHECK_LIB(pcre, pcre_compile, , 
    105107        [ 
     
    131133 
    132134AC_MSG_CHECKING([libpq includes]) 
     135PQICFLAGS=`pg_config --includedir` 
     136if test -n "$PQICFLAGS" ; then 
     137  CFLAGS="$CFLAGS -I$PQICFLAGS" 
     138fi 
    133139PQICFLAGS=`pg_config --includedir-server` 
    134140if test -n "$PQICFLAGS" ; then 
     
    190196LIBS="$LIBS $XML2LIBS" 
    191197AC_MSG_RESULT([$XML2LIBS]) 
     198 
     199APRPREFIX="`apr-1-config --prefix`" 
     200AC_MSG_CHECKING([libserf cflags]) 
     201AC_SUBST(APRPREFIX) 
     202AC_MSG_RESULT([$APRPREFIX]) 
    192203 
    193204AC_MSG_CHECKING([libserf cflags]) 
  • src/Makefile.in

    rb0c153f rf318e95  
    5151 
    5252serf/.libs/libserf-0.a: 
    53         (cd serf && python serfmake) 
     53        (cd serf && \ 
     54                env \ 
     55                CFLAGS="$(CFLAGS)" \ 
     56                LDFLAGS="$(LDFLAGS)" \ 
     57                python serfmake --with-apr=@APRPREFIX@) 
    5458 
    5559serf/.libs/libserf-0.o: serf/.libs/libserf-0.a