Wait for a while when switching the RESET_N line
[fw/altos] / configure.ac
index a14c802be86de269557c2a35bdb2ccc88121cebc..3ae805223b42ab8bad7986123efc87c42bd98689 100644 (file)
@@ -30,7 +30,9 @@ AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_RANLIB
+PKG_PROG_PKG_CONFIG
 
+CFLAGS="-g"
 WARN_CFLAGS=""
 if test "x$GCC" = "xyes"; then
        WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
@@ -57,6 +59,8 @@ fi
 AC_MSG_RESULT([$CC_FOR_BUILD])
 AC_SUBST(CC_FOR_BUILD)
 
+PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
+
 AC_MSG_CHECKING([for suffix of executable build tools])
 if test $cross_compiling = yes; then
   cat >conftest.c <<\_______EOF