Generate vppinfra/config.h from config.in script (same as we do for vlib/config.h)
[vpp.git] / src / vppinfra.am
index 7641c71..840ce27 100644 (file)
 
 lib_LTLIBRARIES += libvppinfra.la
 
-BUILT_SOURCES += vppinfra/config.h
-
-vppinfra/config.h:
-       @echo "/** Autogenerated by Autotools **/" > $@
-       @echo "#ifndef included_clib_config_h" >> $@
-       @echo "#define included_clib_config_h" >> $@
-       @echo "#ifndef CLIB_LOG2_CACHE_LINE_BYTES " >> $@
-       @echo "#define CLIB_LOG2_CACHE_LINE_BYTES " @LOG2_CACHE_LINE_BYTES@ >> $@
-       @echo "#endif " >> $@
-       @echo "#endif " >> $@
-
 TESTS = 
 
 if ENABLE_TESTS