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