Correctly use autoconf to detect CFLAGS/LIBS 78/3478/1
authorRusty Lynch <rusty.lynch@intel.com>
Sat, 27 Apr 2013 22:51:49 +0000 (15:51 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Sat, 27 Apr 2013 23:04:04 +0000 (16:04 -0700)
commit68abf147acb239a9bf3f14cc5f1a1d0383958342
tree91cd7b955f87ec9294528a046fe83cfe868d767c
parent2dd765b6da065be95ffeba1875d1839202ff6225
Correctly use autoconf to detect CFLAGS/LIBS

By using the PKG_CHECK_MODULES macro in configure.ac, then both
the developer is given a heads up when she is missing a required
build time dependency, and hard coded flags do not break when
attempting to build after a platform level change like building
in 64bit mode where system libraries are installed in a different
location.
configure.ac
joystick_gtforce/Makefile.am
tests/Makefile.am