buildconf | 4 ++++ configure.in | 1 - 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/buildconf b/buildconf index f8c4810..730a088 100755 --- a/buildconf +++ b/buildconf @@ -73,6 +73,10 @@ if test "$1" = "1"; then fi if test "$1" = "2"; then $libtoolize --copy --force $verbose + # Wouldn't it just be better to define top_builddir?? + mv build/libtool.m4 build/libtool.m4.$$ + cat build/libtool.m4.$$ | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4 + rm build/libtool.m4.$$ fi # Clean up any leftovers diff --git a/configure.in b/configure.in index 9c20dd7..9a5aca8 100644 --- a/configure.in +++ b/configure.in @@ -10,7 +10,6 @@ AC_INIT(build/apr_common.m4) AC_CONFIG_HEADER(include/arch/unix/apr_private.h) AC_CONFIG_MACRO_DIR(build) AC_CONFIG_AUX_DIR(build) -AC_CONFIG_MACRO_DIR(build) dnl dnl Include our own M4 macros along with those for libtool