Browse Source

Bugfix: configure: More fixing BSD sed syntax for curses header search

Luke Dashjr 12 years ago
parent
commit
a83adccf04
2 changed files with 2 additions and 2 deletions
  1. 1 1
      configure.ac
  2. 1 1
      libblkmaker

+ 1 - 1
configure.ac

@@ -518,7 +518,7 @@ else
 				AC_MSG_CHECKING([for curses header subdirectory])
 				AC_MSG_CHECKING([for curses header subdirectory])
 				barelib="${barelib/6/}"
 				barelib="${barelib/6/}"
 				barelib="${barelib/5/}"
 				barelib="${barelib/5/}"
-				cursesincl=`echo "#include <${barelib}/curses.h>" | ${CPP} -M - 2>/dev/null | tr -d '\\n\\r\\\\' | sed -e 's/^.*[[:space:]:]\(\/[^[:space:]]*\)libusb\.h[[:space:]].*$/\1/' -e t -e d`
+				cursesincl=`echo "#include <${barelib}/curses.h>" | ${CPP} -M - 2>/dev/null | tr -d '\\n\\r\\\\' | sed -e 's/^.*[[:space:]:]\(\/[^[:space:]]*\)curses\.h[[:space:]].*$/\1/' -e t -e d`
 				if test "x$cursesincl" != "x"; then
 				if test "x$cursesincl" != "x"; then
 					NCURSES_CPPFLAGS="-I${cursesincl}"
 					NCURSES_CPPFLAGS="-I${cursesincl}"
 					AC_MSG_RESULT([$cursesincl])
 					AC_MSG_RESULT([$cursesincl])

+ 1 - 1
libblkmaker

@@ -1 +1 @@
-Subproject commit 8f4bb3ee9f43405203fef6f64ca938dc7933a060
+Subproject commit bca8f6f5e56c547e9bbc808fb644152e44f3344d