This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via 5551c0d76bd721110a0fa4ba1423fe1edb0fd530 (commit)
via 9b78da8e2373ab0530cfbbd72b2229059b57ddf1 (commit)
via 689145bcef5ada4304f1d97d6b72e10bf8308ac0 (commit)
via c6a309f00f882fabe70fa535ebe8b765f6e9bd11 (commit)
via a4add29291572219143dc667db4e8a7832a5692b (commit)
via 497c339f94e35d5fadeff539cebfbf44d698dc7e (commit)
via fdd3df3547c78d81d1244eac3fa65512e9023237 (commit)
via e5b211403233dda67507f18fd91f9826022fd287 (commit)
via d232db102fc77e6cb2fd9d62ba387c22f68c042a (commit)
from e2169ff2026af51eec351cd679891c303ab651e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5551c0d76bd721110a0fa4ba1423fe1edb0fd530
Merge: e2169ff2 9b78da8e
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Wed Jun 28 23:01:24 2017 +0300
Merge branch 'master' into api-next
diff --cc .travis.yml
index 89f028d1,bae23600..f74c564f
--- a/.travis.yml
+++ b/.travis.yml
@@@ -42,9 -42,8 +42,9 @@@ addons
packages:
- gcc
- clang-3.8
- - automake autoconf autoconf-archive libtool libssl-dev graphviz mscgen doxygen
+ - automake autoconf libtool libssl-dev graphviz mscgen doxygen
- libpcap-dev
+ - libconfig-dev
# coverity_scan:
# project:
# name: "$TRAVIS_REPO_SLUG"
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 4 +-
DEPENDENCIES | 5 +-
Makefile.am | 9 ++-
m4/ax_check_compile_flag.m4 | 72 ++++++++++++++++++++++
platform/linux-generic/m4/configure.m4 | 5 +-
platform/linux-generic/odp_crypto.c | 43 ++++++++++---
platform/linux-generic/odp_time.c | 4 +-
test/common_plat/validation/api/time/Makefile.am | 1 +
.../validation/api/traffic_mngr/Makefile.am | 3 +-
9 files changed, 123 insertions(+), 23 deletions(-)
create mode 100644 m4/ax_check_compile_flag.m4
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 9b78da8e2373ab0530cfbbd72b2229059b57ddf1 (commit)
via 689145bcef5ada4304f1d97d6b72e10bf8308ac0 (commit)
from c6a309f00f882fabe70fa535ebe8b765f6e9bd11 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/m4/configure.m4 | 5 +++--
platform/linux-generic/odp_time.c | 4 +---
2 files changed, 4 insertions(+), 5 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, cloud-dev has been updated
via 1ba26aa5650c05718c177842178de6d0f70b7fc1 (commit)
via e2169ff2026af51eec351cd679891c303ab651e0 (commit)
via e3c2e06c4420f41d7053e615ac1cc6c1dc315407 (commit)
via e7e92031e08fe525e421ab30223b7398881ed42e (commit)
via f9dcbcc3f45fcd6d825c087fc55c631d6b30fa8c (commit)
via 845743bd80da73f2a296f24090dfe058d3be7dec (commit)
via bbd08a6c0c31c12275089c3134c9e7e58eb0fafa (commit)
via 0468dc01b3ae1517d57cf960b511ab066a9d5f05 (commit)
via 274a0b016d8c2eed9f065186ad5458c5edb94dad (commit)
via 0ce5d628d817003ca0f96beddece3f618f4593bb (commit)
via 65a46f66bfcb6b2034d4b0563facc36cbac1e286 (commit)
via 441fb964f22b2baaa97641e6f8dda88d32d153f6 (commit)
via d5ff31f14e87c815d3a0e0461206aa2687152dd5 (commit)
via 09a7800c4c4a093fb962e362952f9cf562d2fc98 (commit)
via ddf2ac38b1288283f7b3d7c9e16e36f392685866 (commit)
via 4bcd15e2bfb839ac0ef6419aa9e7b720958638f7 (commit)
via f4337956ee3be1e783e2389eb5a5ceecb4b0b0ca (commit)
via cd1f187d33d65cb54781b5a3c0864229b19c11c3 (commit)
via 58a8ec90b57eae43be6461d1ae407e70a87c65d2 (commit)
via ebbd8301f396e3f2f106ed94ce5c3970ec8bacce (commit)
via 0d24adacfe17c8e0e1348f19cd8b75b64cb13ccf (commit)
via a5ef33a6f2575cd011cb05c3fb1b06d1c017f879 (commit)
via 5dd7d9ed05ee228406cc3c0ae6cd9caa20a71f08 (commit)
via 4bda102286cf55b0bc93fdf8f8f276d5528fdf14 (commit)
via 452c37072103864d7117e31f521b5e620e4937b5 (commit)
via 0b5e8c6870b959ad9db426aa067326f4baad5d58 (commit)
via b5f5510a9751ad60915f5b9fcf8763a97f77b5ab (commit)
via 79ed8c746ba13233c111a61d2d4f17e360dd8023 (commit)
via 11a1d56876d14cd715a1906a95a7c3734999bdc0 (commit)
via 40c06707ed485e5e957a413d697f4f1370f98837 (commit)
via 1b8c663ecd3b8a7c34ae52163961cdb442383d31 (commit)
via e24f6b3d0c130af3838ba49661d4bc9cb83e940f (commit)
via 9815336c6c7c64df3b40a1fb0c1c668a36d5550b (commit)
via e5faf09d8dfa9631caa7ccf1461fd4bc9f69d4c0 (commit)
via e248b708ff31467591fb99f7cc8652ab9e3081b2 (commit)
via ff6d71903cdfdd68246e3daabedd645bf30640cc (commit)
via bddd9fb0a5353c611bb9de78f3355d30147f8efc (commit)
via 2156eaa076fe0ca0aaa910c8902d5b60aa3bbed6 (commit)
via ca1ebaa8319604d4f5fe303be7150b7278fe9d94 (commit)
via 8d4ecf491a0af45c499d38c6e72853e756d69f0e (commit)
via b93c17b30d051b114a099ed5219fb2a82f5a864c (commit)
via fec16fd81d4084340f0f9a6893c9772000608031 (commit)
via 2210dc7d26125ac9b8b51fa4de7b2b72e4e8f13e (commit)
via c3d3787ae527291e969a60bc54dd4e2ab220251d (commit)
via 14df663ba9534101305ea4f5201fc2a5e55a974f (commit)
via dcd53771432aeb838f2584458589b3430104abcf (commit)
via 3362bb0eea7b4cdeb97cd2558e9bc5e4ee176852 (commit)
via 2239b759ad0cb09e3a2ec3d132580123ed92ab03 (commit)
via a28dab7edeeee74db65349231ec400d92d491a22 (commit)
via e3a92c5bf48f2279cd4ef5c8d22eafc523445626 (commit)
via 93e9e20c17426d3262aa96a589106e635b755090 (commit)
via ab3003c87e4cc25e3b26c7bddbfbce61525a94ad (commit)
via 93ee286c21a576c265463ca5dcd17b39ef80962b (commit)
via 1ebbb8f882ae6506fc9fa2cb02dadae3d35eaf58 (commit)
via 1adf94727a92a260f3145c3c777cc8cf3ecb419b (commit)
via ad5d48fe658927a7b946533d50fd907e306ec184 (commit)
via ce8bebad45c590ad5b06d31d8be9fae8182f944a (commit)
via 8e9242391f79ed54430b5fdc37e992addf9a26b8 (commit)
via 0344270a085f78d9f6d4fbef3c497750bbcee071 (commit)
via 697c3be9b2155379dee458d66335442375a9354d (commit)
via 2ffff0bc3e07678214a413b5eb89da13e7624055 (commit)
via dfbab7438c8404d5f4af20086e2100d40a5ffc0c (commit)
via 60150bba495711e6fdfc948ffb4ad405878fbcbc (commit)
via fbe34c754b7abe15100779ce9833a7f200517d9f (commit)
via 62f95a564b7b3e08a32e6e72d234eb86292021d0 (commit)
via 17f4cddfcbf47f73761cb869ace264cc8444dc08 (commit)
via f54860c628c16c4f76d555b9d20c28e04af13751 (commit)
via a5116e42abf0452f5ad9fd1920d5377aa0ef36b6 (commit)
via 73954b9142d1ddc2dde7c0f9b6596e2d8bac3caf (commit)
via 89a00a2ed43a99e0d2d78a5baeff1292e41ecd34 (commit)
via 8f07f3de3da7961cd29046d2107f27a0f7391703 (commit)
via 4bb3025e76a81130e8e80cd582ae2433d3450e2b (commit)
via 629be2dd2d166ed1246b8c1982af3a55a7035657 (commit)
via af05215e26c99693c000981fddfaf3cdd2225e3f (commit)
via b9676fc5ba51d0f26a9c8c40f0b65a003113f1b5 (commit)
via 583dbc9adab460c926339353cc882095594b5b60 (commit)
via 867d8fc93d074005b52375995b9beed4a896c1ed (commit)
via 87b108d54a697b0c3704342ec7b4d484d04dfdbb (commit)
via 20d0d4d1a34725dec053ecd7cd46979345f7d625 (commit)
via 8367530231e7cd4c33c63b789a5ed8322b51e58f (commit)
via 48ad38ac169c48ac67e0758d3d45eb146255ed09 (commit)
via a074bc12f6a960c195daf3ceb28e3f717cfc3aa2 (commit)
via 4418eef8a7b7f621047101f284ce5e5df44f0239 (commit)
via 464fdc4efb4148dd8d1ec1aeaa2a7ffcb58d7faf (commit)
via 7394a5c8dead5edcfa5bda571aceba5945c91d16 (commit)
via 93afeeaf4e3dee3099830fccbb53bb32e64e3090 (commit)
via fdddf685fcad06f05f3788705968622b23a569ac (commit)
via 29b29677ed7d5d396f4aec1d0f3197efbf119113 (commit)
via 8c6ca3886ae4ffb111d3a81d09d21b68e0e11349 (commit)
via 19c488fdd9f9868cbe60f1ff8558f48c7bba6f04 (commit)
via 966c1c956a21f4e70c873a3c3546e65299837457 (commit)
via 99478ee923dfd8279a7a5149769aee49df315dde (commit)
via be9ca86f431d5eaab0702f7d76db60cd75982e15 (commit)
via 2b34cda253fd28f3b373dc3ee66753d47a0c9b33 (commit)
via 166e4e6a7f2e289f305203e75c68cea56d015c08 (commit)
via e149fb058c6ea718e22c77c6fc930141004dcba2 (commit)
via e6e666d533615de703993836b958514208de942a (commit)
via 8184de8ef8492a739d30c354628aada2e2bab366 (commit)
via 0ee227d51cdb1cc29853dac0376e6e02b6e585de (commit)
via 658f6f27ed62c651d8555a4de0ef103191c491b1 (commit)
via b8de7dfbadb10da65a0a675db5f588cc3998508a (commit)
via 361f0fa4addf83ae9b30d5e705e1f86643a45bab (commit)
via cb17e380f1231328cbaaf35635f6db9fb5b99bb8 (commit)
via 244fce69b25af28cbe5c19b11bfc3da5aa8da95d (commit)
via 974e4477a35742b8021e25692a458d16cd2087f1 (commit)
via aadd1d62084191bf2fb909a7dbedee628b197929 (commit)
via 248ebf35eaf51d962e9d14a4e2c541d3cbc96268 (commit)
via 373f97f88d327ca0e211df33d6fcaad0b9188a1c (commit)
via 7cf390d11e69f6b677e6fbfd6414944737406fc3 (commit)
via 61a5edca59780fc2a4a0e656e09738145892a3a0 (commit)
via 8d19f94fd96eb5a411eafb75c487dc3f972297bd (commit)
via 4f97e500a097928e308a415c32a88465adc5f5cc (commit)
via 2ea71a57ae4b6122e3e74782aeea2846a757cb14 (commit)
via 8b30e228ba2c303b3c69ffa4fbb9f138d2523d9a (commit)
via 57783b35f4383bdfdd146f2a3333bbc8bb995896 (commit)
via 904631219eab0af46cb99e8a56742401452ac2c3 (commit)
via f7bd3a7bbb3613260ef2bad1e3ede5145571dd6c (commit)
via d3602cb56413bb31b4535976dfd3dd723a16bfc9 (commit)
via 908e27635dfe08e249407f4c4e53aa2c7ce12ea1 (commit)
via d80e025c8baebed0305648737e528580b84fae2a (commit)
via 33a0dad444fab1c1567083b289eac7727eab3b31 (commit)
via ccb2cd5eb7383f46051dff2b1e7675ed54f635b2 (commit)
via d8e4647baa7b1159480dfde4d5a2143146e8c6cb (commit)
via 20cc38e36a52f70758c3464014f4f00a94d2139d (commit)
via 9bb2a439ae2a8751df5a6007a7e242d7bcb963e5 (commit)
via a6fa9f3e721dbdb99e2a0bac320f988930e5f874 (commit)
via b2261b9485e6993642c5c0c7ea58abb8a2d356a9 (commit)
via c969cc4e6f6e2e0cc5c4e407dd696be069cf4525 (commit)
via 3a1832865c90865de3fd8bd30103995637e7851c (commit)
via ab5a099937bc3d81f610fcfc2a98bfb7e677a06a (commit)
via 9f506fecfcd408a8af0df0e9627795d0b1059730 (commit)
via c184a9c8d35c10b30014e7538a862a7bc42556e7 (commit)
via 9ebcb7c6e2f3226c915c39c81dcd1895dda3639b (commit)
via 2f137b2bc9cb9c03a586d2cb324a6a5659098c39 (commit)
via 2f1a96d47bb2e6c413ed06749633dcfe33f02b97 (commit)
via 4cdaf5527dba63858080c0942ac1c971c615f066 (commit)
via 77dff4e05611bc5b06b4bfb5dd86da6d4c3fffa5 (commit)
via e6be64e01589f1aa335ea178e8314bf35ad34847 (commit)
via 15ea6562d284bd5f2bd20e9b79bd102db106555c (commit)
via a48979af5b36c11fb5c7f8d2c6029c12bb191b51 (commit)
via a9fc17e1bbef1c3585fd5de47e5023e4d66504f5 (commit)
via 7a7e3ff9d50d67b7c79058db98ba27ab5a806437 (commit)
via b67bfce457a7546bbae4dad16b5185629eda77e5 (commit)
via 87bba414b4444d8247adf3411e8bbefd35899f1b (commit)
via 0f47f4c4b48fb08326d6be9c0b1019f738d57911 (commit)
via fc815dec86d080ca7d1b8fadddcab1e7c8e4b11b (commit)
via 472d34cc0fd2b5f96277b1799583ab6c45375d40 (commit)
via 148a700fb9af847a64d732bf7ed9975aa03fefa9 (commit)
via ba6cad6319b917c078dd0c20cd6b011637195898 (commit)
via 552817483e9d4b6a84d49960920f1de50029f111 (commit)
via c5eb1703fe9e7529ae12ecf1799b757e1a992afd (commit)
via 2e36f75db71b230021cd907a5aadf39559683d16 (commit)
via ea134fe159c0d249e4bed12b7269e8236afa0262 (commit)
via 60b9dd435bf1be55794e5be6ee24714d28a5b587 (commit)
via f20dee9db3da9425d8764e414b04cdcbd41bece8 (commit)
via 3faf025987a1640983080a2743e58fbb3cbac55e (commit)
via 599ac6802352c9c56eca33a6004824783becaa6e (commit)
via 0a3e5be140e77167173b9af4b72cdad8451aff71 (commit)
from c460b6fbaeae6c60d75e8e5a60c34a6260b9e4fa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1ba26aa5650c05718c177842178de6d0f70b7fc1
Merge: c460b6fb e2169ff2
Author: Yi He <yi.he(a)linaro.org>
Date: Wed Jun 28 09:51:23 2017 +0800
Merge branch 'api-next' into cloud-dev
-----------------------------------------------------------------------
Summary of changes:
.checkpatch.conf | 2 +
.travis.yml | 149 ++--
CHANGELOG | 267 +++++++
DEPENDENCIES | 5 +-
Makefile.am | 4 +-
configure.ac | 22 +-
doc/application-api-guide/examples.dox | 5 +
doc/users-guide/users-guide.adoc | 36 +-
example/Makefile.am | 1 +
example/generator/odp_generator.c | 89 ++-
example/ipfragreass/.gitignore | 3 +
example/ipfragreass/Makefile.am | 23 +
example/ipfragreass/odp_ipfragreass.c | 376 ++++++++++
example/ipfragreass/odp_ipfragreass_atomics.h | 55 ++
example/ipfragreass/odp_ipfragreass_atomics_arm.h | 120 ++++
example/ipfragreass/odp_ipfragreass_fragment.c | 99 +++
example/ipfragreass/odp_ipfragreass_fragment.h | 28 +
example/ipfragreass/odp_ipfragreass_helpers.c | 124 ++++
example/ipfragreass/odp_ipfragreass_helpers.h | 79 +++
example/ipfragreass/odp_ipfragreass_ip.h | 251 +++++++
example/ipfragreass/odp_ipfragreass_reassemble.c | 771 +++++++++++++++++++++
example/ipfragreass/odp_ipfragreass_reassemble.h | 211 ++++++
example/ipsec/odp_ipsec_cache.c | 1 +
example/m4/configure.m4 | 1 +
include/odp/api/spec/crypto.h | 6 +-
include/odp/api/spec/event.h | 80 ++-
include/odp/api/spec/feature.h | 69 ++
include/odp/api/spec/init.h | 15 +
include/odp/api/spec/ipsec.h | 469 +++++++------
include/odp/arch/default/api/abi/event.h | 9 +-
include/odp_api.h | 1 +
pkgconfig/libodp-linux.pc.in | 2 +-
platform/Makefile.inc | 6 +-
platform/linux-generic/Makefile.am | 43 +-
platform/linux-generic/arch/arm/odp_cpu_arch.c | 38 +-
.../include/odp/{drv/hints.h => api/feature.h} | 10 +-
.../include/odp/api/plat/event_types.h | 8 +-
.../include/odp/api/plat/time_types.h | 1 +
.../include/odp_classification_datamodel.h | 4 +-
.../linux-generic/include/odp_crypto_internal.h | 17 +-
platform/linux-generic/include/odp_internal.h | 2 +-
.../linux-generic/include/odp_packet_internal.h | 16 +
.../linux-generic/include/odp_packet_io_queue.h | 20 +-
platform/linux-generic/include/odp_packet_socket.h | 7 -
platform/linux-generic/include/odp_queue_if.h | 104 +++
.../linux-generic/include/odp_queue_internal.h | 41 +-
platform/linux-generic/include/odp_schedule_if.h | 2 +-
.../linux-generic/include/odp_timer_internal.h | 24 +
.../include/odp_traffic_mngr_internal.h | 4 +-
platform/linux-generic/m4/configure.m4 | 45 ++
platform/linux-generic/odp_classification.c | 10 +-
platform/linux-generic/odp_crypto.c | 628 ++++++++---------
platform/linux-generic/odp_init.c | 24 +-
platform/linux-generic/odp_ipsec.c | 67 +-
platform/linux-generic/odp_packet.c | 64 +-
platform/linux-generic/odp_packet_io.c | 98 +--
platform/linux-generic/odp_queue.c | 342 ++++++---
platform/linux-generic/odp_queue_if.c | 103 +++
platform/linux-generic/odp_schedule.c | 14 +-
platform/linux-generic/odp_schedule_iquery.c | 14 +-
platform/linux-generic/odp_schedule_sp.c | 7 +-
platform/linux-generic/odp_timer.c | 112 ++-
platform/linux-generic/odp_traffic_mngr.c | 21 +-
platform/linux-generic/pktio/loop.c | 17 +-
platform/linux-generic/pktio/socket.c | 183 ++---
scripts/checkpatch.pl | 6 +-
scripts/spelling.txt | 151 +++-
test/common_plat/performance/odp_crypto.c | 58 +-
test/common_plat/performance/odp_l2fwd_run.sh | 3 +
test/common_plat/validation/api/crypto/crypto.h | 8 +-
.../validation/api/crypto/odp_crypto_test_inp.c | 417 +++++++++--
.../validation/api/crypto/test_vectors.h | 181 +++--
.../validation/api/crypto/test_vectors_len.h | 18 +-
test/common_plat/validation/api/init/init.c | 8 +-
test/common_plat/validation/api/pktio/pktio.c | 11 +-
test/common_plat/validation/api/time/Makefile.am | 10 +-
test/common_plat/validation/api/time/time.sh | 42 ++
test/linux-generic/Makefile.am | 2 +-
test/linux-generic/pktio_ipc/pktio_ipc_run.sh | 3 -
79 files changed, 5152 insertions(+), 1235 deletions(-)
create mode 100644 example/ipfragreass/.gitignore
create mode 100644 example/ipfragreass/Makefile.am
create mode 100644 example/ipfragreass/odp_ipfragreass.c
create mode 100644 example/ipfragreass/odp_ipfragreass_atomics.h
create mode 100644 example/ipfragreass/odp_ipfragreass_atomics_arm.h
create mode 100644 example/ipfragreass/odp_ipfragreass_fragment.c
create mode 100644 example/ipfragreass/odp_ipfragreass_fragment.h
create mode 100644 example/ipfragreass/odp_ipfragreass_helpers.c
create mode 100644 example/ipfragreass/odp_ipfragreass_helpers.h
create mode 100644 example/ipfragreass/odp_ipfragreass_ip.h
create mode 100644 example/ipfragreass/odp_ipfragreass_reassemble.c
create mode 100644 example/ipfragreass/odp_ipfragreass_reassemble.h
create mode 100644 include/odp/api/spec/feature.h
copy platform/linux-generic/include/odp/{drv/hints.h => api/feature.h} (61%)
create mode 100644 platform/linux-generic/include/odp_queue_if.h
create mode 100644 platform/linux-generic/odp_queue_if.c
create mode 100755 test/common_plat/validation/api/time/time.sh
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via c6a309f00f882fabe70fa535ebe8b765f6e9bd11 (commit)
from a4add29291572219143dc667db4e8a7832a5692b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c6a309f00f882fabe70fa535ebe8b765f6e9bd11
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Mon Jun 26 18:00:16 2017 +0300
configure: remove dependency of autoconf-archive
autoconf-archive is not available on some build environment
Number of projects simple have local copy of this file.
Do the same thing.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index 2cc8caf7..bae23600 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,7 +42,7 @@ addons:
packages:
- gcc
- clang-3.8
- - automake autoconf autoconf-archive libtool libssl-dev graphviz mscgen doxygen
+ - automake autoconf libtool libssl-dev graphviz mscgen doxygen
- libpcap-dev
# coverity_scan:
# project:
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 7bcbd5eb..a194cad1 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -8,14 +8,13 @@ Prerequisites for building the OpenDataPlane (ODP) API
automake
autoconf
- autoconf-archive
libtool
On Debian/Ubuntu systems:
- $ sudo apt-get install automake autoconf autoconf-archive libtool
+ $ sudo apt-get install automake autoconf libtool
On CentOS/RedHat/Fedora systems:
- $ sudo yum install automake autoconf autoconf-archive libtool
+ $ sudo yum install automake autoconf libtool
3. Required libraries
diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4
new file mode 100644
index 00000000..c3a8d695
--- /dev/null
+++ b/m4/ax_check_compile_flag.m4
@@ -0,0 +1,72 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
+#
+# DESCRIPTION
+#
+# Check whether the given FLAG works with the current language's compiler
+# or gives an error. (Warnings, however, are ignored)
+#
+# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+# success/failure.
+#
+# If EXTRA-FLAGS is defined, it is added to the current language's default
+# flags (e.g. CFLAGS) when the check is done. The check is thus made with
+# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
+# force the compiler to issue an error when a bad flag is given.
+#
+# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
+#
+# LICENSE
+#
+# Copyright (c) 2008 Guido U. Draheim <guidod(a)gmx.de>
+# Copyright (c) 2011 Maarten Bosmans <mkbosmans(a)gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 2
+
+AC_DEFUN([AX_CHECK_COMPILE_FLAG],
+[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
+AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
+AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
+ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
+ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
+ [AS_VAR_SET(CACHEVAR,[yes])],
+ [AS_VAR_SET(CACHEVAR,[no])])
+ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
+AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
+ [m4_default([$2], :)],
+ [m4_default([$3], :)])
+AS_VAR_POPDEF([CACHEVAR])dnl
+])dnl AX_CHECK_COMPILE_FLAGS
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 2 +-
DEPENDENCIES | 5 ++--
m4/ax_check_compile_flag.m4 | 72 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 75 insertions(+), 4 deletions(-)
create mode 100644 m4/ax_check_compile_flag.m4
hooks/post-receive
--