Changeset f318e95393f484170ac6b4fc8525560492319efe
- Timestamp:
- 06/18/08 01:14:25
(5 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
| r98535fd |
rf318e95 |
|
| 102 | 102 | AC_CHECK_LIB(termcap, tputs, , ) |
|---|
| 103 | 103 | AC_CHECK_LIB(curses, clear, , ) |
|---|
| | 104 | CPPFLAGS="$CPPFLAGS `pcre-config --cflags`" |
|---|
| | 105 | LDFLAGS="$LDFLAGS `pcre-config --libs`" |
|---|
| 104 | 106 | AC_CHECK_LIB(pcre, pcre_compile, , |
|---|
| 105 | 107 | [ |
|---|
| … | … | |
| 131 | 133 | |
|---|
| 132 | 134 | AC_MSG_CHECKING([libpq includes]) |
|---|
| | 135 | PQICFLAGS=`pg_config --includedir` |
|---|
| | 136 | if test -n "$PQICFLAGS" ; then |
|---|
| | 137 | CFLAGS="$CFLAGS -I$PQICFLAGS" |
|---|
| | 138 | fi |
|---|
| 133 | 139 | PQICFLAGS=`pg_config --includedir-server` |
|---|
| 134 | 140 | if test -n "$PQICFLAGS" ; then |
|---|
| … | … | |
| 190 | 196 | LIBS="$LIBS $XML2LIBS" |
|---|
| 191 | 197 | AC_MSG_RESULT([$XML2LIBS]) |
|---|
| | 198 | |
|---|
| | 199 | APRPREFIX="`apr-1-config --prefix`" |
|---|
| | 200 | AC_MSG_CHECKING([libserf cflags]) |
|---|
| | 201 | AC_SUBST(APRPREFIX) |
|---|
| | 202 | AC_MSG_RESULT([$APRPREFIX]) |
|---|
| 192 | 203 | |
|---|
| 193 | 204 | AC_MSG_CHECKING([libserf cflags]) |
|---|
| rb0c153f |
rf318e95 |
|
| 51 | 51 | |
|---|
| 52 | 52 | serf/.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@) |
|---|
| 54 | 58 | |
|---|
| 55 | 59 | serf/.libs/libserf-0.o: serf/.libs/libserf-0.a |
|---|