Fix detection of OpenFlow extensions submodule.

This commit is contained in:
Ben Pfaff committed 2008-08-29 09:56:01 -07:00
1 parent 7b8b6bac10
commit 27dadb6bc6
1 file changed
+2 -2
+2 -2
View File
@@ -118,7 +118,7 @@ AC_DEFUN([OFP_ENABLE_EXT],
HAVE_EXT=no
;;
(*)
if test -d "$srcdir/ext"; then
if test -e "$srcdir/ext/configure"; then
HAVE_EXT=yes
else
HAVE_EXT=no
@@ -126,7 +126,7 @@ AC_DEFUN([OFP_ENABLE_EXT],
;;
esac
if test $HAVE_EXT = yes; then
if test -d "$srcdir/ext"; then
if test -e "$srcdir/ext/configure"; then
:
else
AC_MSG_ERROR([cannot configure extensions without "ext" directory])