If you want to porting any library from the distribution to another one,
you should learn GNU autotool firstly.
From porting libqmi, we can learn this fact.
Step 1: install the following libraries.
Step 2: enter the libraries’ folder
which included configure.ac, Makefile.am
./configure //in fact, doing autoconf
Explanation of files:
configure.ac: input file for Autoconf.
Makefile.am: input file(s) for Automake.