X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=configure.ac;h=516657ea3b95d186c7c722a570abd9a8fe21b815;hp=6182d71cfab7446bf73c55891b075a2a9eded19f;hb=7b7617e376afe0df1d505375b76198358330370c;hpb=30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb diff --git a/configure.ac b/configure.ac index 6182d71c..516657ea 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 @@ -92,4 +96,6 @@ AC_OUTPUT([ Makefile lib/Makefile ccload/Makefile +s51/Makefile +ccmanual/Makefile ])