Permalink
Browse files

Fixed Boost libraries search

  • Loading branch information...
toshic committed Sep 19, 2011
1 parent 52e29a8 commit a1e9d58a191cd282518db6ff32a0efce125b5fbf
Showing with 4 additions and 1 deletion.
  1. +3 −0 config/ax_boost_lib.m4
  2. +1 −1 library/Makefile.am
View
@@ -18,6 +18,9 @@ AC_DEFUN([AX_BOOST_LIB],
if test -f "$ax_boost_prefix/lib/lib$ax_check.so"; then
ax_library="$ax_check"
fi
+ if test -f "$ac_boost_lib_path/lib$ax_check.so"; then
+ ax_library="$ax_check"
+ fi
$1="$ax_library"
AC_MSG_RESULT([$ax_library])
])
View
@@ -8,4 +8,4 @@ libfastcgi_daemon2_la_SOURCES = component.cpp config.cpp cookie.cpp except.cpp \
AM_CPPFLAGS = -I../include -I../config @xml_CFLAGS@
AM_CXXFLAGS = -pthread
-AM_LDFLAGS = -lpthread -ldl -lfcgi -lfcgi++ -lssl @BOOST_THREAD_LDFLAGS@ @BOOST_REGEX_LDFLAGS@ @xml_LIBS@
+AM_LDFLAGS = -lpthread -ldl -lfcgi -lfcgi++ -lssl @BOOST_LDFLAGS@ @BOOST_THREAD_LDFLAGS@ @BOOST_REGEX_LDFLAGS@ @xml_LIBS@

0 comments on commit a1e9d58

Please sign in to comment.