15b7562f2STrevor Woernerdnl Copyright (C) 2017 Trevor Woerner <twoerner@gmail.com> 25b7562f2STrevor Woerner 3081d237aSliuyiAC_INIT([Rockchip rkdeveloptool], 1.3, [Eddie Cai <eddie.cai.linux@gmail.com>], rkdeveloptool) 45b7562f2STrevor WoernerAC_PREREQ([2.68]) 55b7562f2STrevor WoernerAC_CONFIG_SRCDIR(main.cpp) 65b7562f2STrevor WoernerAC_CONFIG_AUX_DIR(cfg) 75b7562f2STrevor WoernerAM_INIT_AUTOMAKE([foreign no-dist-gzip dist-bzip2 1.9]) 85b7562f2STrevor WoernerAM_CONFIG_HEADER(cfg/config.h) 95b7562f2STrevor Woerner 105b7562f2STrevor WoernerSUBDIRS="" 115b7562f2STrevor Woerner 125b7562f2STrevor WoernerAC_PROG_CPP 135b7562f2STrevor WoernerAC_PROG_CXX 145b7562f2STrevor WoernerAC_PROG_CXXCPP 155b7562f2STrevor WoernerAC_PROG_MAKE_SET 165b7562f2STrevor WoernerAC_PROG_INSTALL 175b7562f2STrevor WoernerAC_PROG_LN_S 185b7562f2STrevor Woerner 19a39ebddeSKlaus GogerAC_CANONICAL_HOST 20a39ebddeSKlaus Gogercase "$host_os" in 21*610bb714SOleksandr Tymoshenko freebsd*) 22*610bb714SOleksandr Tymoshenko CPPFLAGS="$CFLAGS -I/usr/local/include" 23*610bb714SOleksandr Tymoshenko LDFLAGS="$LDFLAGS -L/usr/local/lib -liconv" 24*610bb714SOleksandr Tymoshenko ;; 25a39ebddeSKlaus Goger openbsd*) 26a39ebddeSKlaus Goger CPPFLAGS="$CFLAGS -I/usr/local/include" 27a39ebddeSKlaus Goger LDFLAGS="$LDFLAGS -L/usr/local/lib" 28a39ebddeSKlaus Goger ;; 29a39ebddeSKlaus Goger *) 30a39ebddeSKlaus Goger ;; 31a39ebddeSKlaus Gogeresac 32a39ebddeSKlaus Goger 33288c61aaSKlaus GogerAC_SEARCH_LIBS(iconv, iconv) 34288c61aaSKlaus Goger 355b7562f2STrevor WoernerPKG_CHECK_MODULES(LIBUSB1,libusb-1.0) 365b7562f2STrevor Woerner 375b7562f2STrevor WoernerAC_CONFIG_FILES([Makefile]) 385b7562f2STrevor WoernerAC_CONFIG_FILES([cfg/Makefile]) 395b7562f2STrevor Woerner 405b7562f2STrevor WoernerAC_OUTPUT 41