Commits

Qian Zhu committed ddc7840

Fixed configure.ac bug created by 9b9c1e5
configure now works for Ubuntu with system-wide install of Boost

  • Participants
  • Parent commits 69f68fd

Comments (0)

Files changed (1)

File configure.ac

          fi
         ],
         [boost_state=check])
+prev_boost_state=$boost_state
 AC_LANG_PUSH([C++])
 LOCAL_CHECK_LIB([boost_graph], [boost],
 		[using namespace boost; typedef adjacency_list< vecS, vecS, directedS, property< vertex_color_t, default_color_type >, property< edge_weight_t, double > > Graph],
 AC_LANG_POP
 
 if test "x$boost_state" = "xok"; then
-boost_state=try
+boost_state=$prev_boost_state
 AC_LANG_PUSH([C++])
 LOCAL_CHECK_LIB([boost_regex], [boost], 
 		[boost::regex e("(\\d{4}[- ]){3}\\d{4}")],