Skip to content

Commit

Permalink
remove --with-hoard, it's not really useful anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Oct 11, 2012
1 parent eaba15c commit 23a0f44
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -447,53 +447,6 @@ else
fi
dnl }}}

dnl {{{ --with-hoard
AC_ARG_WITH(hoard,
[AS_HELP_STRING([--with-hoard],[specify Hoard install prefix])
],
[ ],
[with_hoard=no]
)

AC_MSG_CHECKING([if Hoard compiled-in support is enabled])

if test "x$with_hoard" = "xno"; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([Hoard install prefix])

if test "x$with_hoard" = "xyes"; then
for i in `echo "$STANDARD_PREFIXES"`; do
if test -f "$i/include/hoard.h"; then
HOARD_DIR="$i"
break;
fi
done
else
if test -f "$with_hoard/include/hoard.h"; then
HOARD_DIR="$with_hoard"
else
AC_MSG_ERROR([Can't find Hoard headers under $with_hoard directory])
fi
fi

if test "x$HOARD_DIR" = "x"; then
AC_MSG_ERROR([Unable to locate Hoard headers, please use --with-hoard=<DIR>])
fi

AC_MSG_RESULT([$HOARD_DIR])
LDFLAGS="$LDFLAGS -L$HOARD_DIR/$LIBDIR"
LIBS="$LIBS -lhoard"
if test "$PINBA_RPATH" != "no"; then
LDFLAGS="$LDFLAGS $ld_runpath_switch$HOARD_DIR/$LIBDIR"
fi

AC_DEFINE([HAVE_HOARD], [1], [Whether Hoard support is compiled-in])
fi

dnl }}}

dnl {{{ --enable-debug
AC_ARG_ENABLE(debug,
[AS_HELP_STRING([--enable-debug],[enable debugging symbols and compile flags])
Expand Down

0 comments on commit 23a0f44

Please sign in to comment.