1 Index: apr-util-1.3.4/apu-config.in
2 ===================================================================
3 --- apr-util-1.3.4.orig/apu-config.in 2009-01-12 17:08:06.000000000 +0000
4 +++ apr-util-1.3.4/apu-config.in 2009-01-12 17:09:00.000000000 +0000
9 - if test "$location" = "installed"; then
10 flags="$flags -I$includedir $INCLUDES"
11 - elif test "$location" = "source"; then
12 - flags="$flags -I$APU_SOURCE_DIR/include $INCLUDES"
14 - # this is for VPATH builds
15 - flags="$flags -I$APU_BUILD_DIR/include -I$APU_SOURCE_DIR/include $INCLUDES"
19 flags="$flags $LDFLAGS"
24 - if test "$location" = "installed"; then
25 - ### avoid using -L if libdir is a "standard" location like /usr/lib
26 flags="$flags -L$libdir -l$APRUTIL_LIBNAME"
28 - flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME"
32 - # If the LA_FILE exists where we think it should be, use it. If we're
33 - # installed and the LA_FILE does not exist, assume to use -L/-l
34 - # (the LA_FILE may not have been installed). If we're building ourselves,
35 - # we'll assume that at some point the .la file be created.
36 - if test -f "$LA_FILE"; then
37 - flags="$flags $LA_FILE"
38 - elif test "$location" = "installed"; then
39 - ### avoid using -L if libdir is a "standard" location like /usr/lib
40 - # Since the user is specifying they are linking with libtool, we
41 - # *know* that -R will be recognized by libtool.
42 - flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME"
44 - flags="$flags $LA_FILE"
46 + flags="$flags -l$APRUTIL_LIBNAME"
49 if test -f "$LA_FILE"; then