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