New header file timeval.h for time-related functionality.
[sliver-openvswitch.git] / configure.ac
index 0cdc593..5fea45f 100644 (file)
@@ -6,6 +6,12 @@ AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_LD
 
+AC_ARG_VAR([PERL], [path to Perl interpreter])
+AC_PATH_PROG([PERL], perl, no)
+if test "$PERL" = no; then
+   AC_MSG_ERROR([Perl interpreter not found in $PATH or $PERL.])
+fi
+
 AC_USE_SYSTEM_EXTENSIONS
 
 AC_PROG_LIBTOOL
@@ -39,7 +45,7 @@ case "${enable_hw_tables}" in # (
     ;;
 esac
 for d in $hw_tables; do
-    mk=datapath/hwtable-$d/Modules.mk
+    mk=datapath/hwtable_$d/Modules.mk
     if test ! -e $srcdir/$mk; then
        AC_MSG_ERROR([--enable-hw-tables=$d specified but $mk is missing])
     fi