git.samba.org
/
jelmer
/
fast-export.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc98d2c
)
Use apr-config utility to find right compilation flags and includes
master
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 12 Mar 2008 19:54:12 +0000
(20:54 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 12 Mar 2008 19:54:12 +0000
(20:54 +0100)
for APR.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 8a4efd9bf38d2aa8a9ab8e6154106710e8961542..2a1b406e17ec19e7d0d67d77f4f9224ef228a3a4 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,5
@@
SVN ?= /usr/local/svn
-APR_INCLUDES ?= /usr/include/apr-1.0
-CFLAGS += -I${APR_INCLUDES} -I${SVN}/include/subversion-1 -pipe -O2 -std=c99
+CFLAGS += `apr-config --cppflags --cflags --includes` -I${SVN}/include/subversion-1 -pipe -O2 -std=c99
LDFLAGS += -L${SVN}/lib -lsvn_fs-1 -lsvn_repos-1
all: svn-fast-export svn-archive