X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.ac;h=1d4720a600b543a1944e55f85c1d25270a25dea0;hb=837c620f07b63efc171be3ac14c78bc99adf7592;hp=a14c802be86de269557c2a35bdb2ccc88121cebc;hpb=4c4093c3fdd309123fdd068c0e1ff4947104492d;p=fw%2Faltos diff --git a/configure.ac b/configure.ac index a14c802b..1d4720a6 100644 --- a/configure.ac +++ b/configure.ac @@ -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 @@ -93,4 +97,6 @@ Makefile lib/Makefile ccload/Makefile s51/Makefile +ccmanual/Makefile +ccdump/Makefile ])