mirror of
https://github.com/sharkcz/rkdeveloptool.git
synced 2024-11-22 14:06:47 +01:00
46bb4c0736
1.support to upgrade 356x loader Signed-off-by: liuyi <liuyi@rock-chips.com>
39 lines
734 B
Plaintext
39 lines
734 B
Plaintext
dnl Copyright (C) 2017 Trevor Woerner <twoerner@gmail.com>
|
|
|
|
AC_INIT([Rockchip rkdeveloptool], 1.32, [Eddie Cai <eddie.cai.linux@gmail.com>], rkdeveloptool)
|
|
AC_PREREQ([2.68])
|
|
AC_CONFIG_SRCDIR(main.cpp)
|
|
AC_CONFIG_AUX_DIR(cfg)
|
|
AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-bzip2 1.9])
|
|
AM_CONFIG_HEADER(cfg/config.h)
|
|
|
|
SUBDIRS=""
|
|
|
|
AC_PROG_CPP
|
|
AC_PROG_CXX
|
|
AC_PROG_CXXCPP
|
|
AC_PROG_MAKE_SET
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
|
|
AC_CANONICAL_HOST
|
|
case "$host_os" in
|
|
freebsd*)
|
|
CPPFLAGS="$CFLAGS -I/usr/local/include"
|
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
;;
|
|
openbsd*)
|
|
CPPFLAGS="$CFLAGS -I/usr/local/include"
|
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
|
|
PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_OUTPUT
|