Skip to content

Commit

Permalink
fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Sep 12, 2015
1 parent 579b3df commit e198cfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.m4
Expand Up @@ -24,14 +24,13 @@ if test "$PHP_HDRHISTOGRAM" != "no"; then
fi

PHP_ADD_INCLUDE($HDRHISTOGRAM_PATH/include)
PHP_ADD_LIBRARY("hdr_histogram")

LIBNAME=hdr_histogram
LIBSYMBOL=hdr_init

PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL,
[
PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $HDRHISTOGRAM_PATH/lib, HDRHISTOGRAM_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $HDRHISTOGRAM_PATH/$PHP_LIB, HDRHISTOGRAM_SHARED_LIBADD)
AC_DEFINE(HAVE_HDRHISTOGRAM,1,[ ])
],[
AC_MSG_ERROR([wrong hdrhistogram lib version or lib not found])
Expand Down

0 comments on commit e198cfa

Please sign in to comment.