• Jisi Liu's avatar
    Make the code independent of config.h · 78d470c7
    Jisi Liu authored
    Now the Build tool needs to define -DHAVE_ZLIB and -DHAVE-PTHREAD rather
    than providing a config.h
    
    - Make pbconfig.h a manually written file to handle hash conditions
      according to platform related macros.
    - Remove #include "config.h" from source code.
    - Changed the configure.ac and Makefile.am to pass down the macros.
    - Change cmake to pass down the the macros.
    
    Change-Id: I537249d5df8fdeba189706aec436d1ab1104a4dc
    78d470c7
CMakeLists.txt 1.98 KB