GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — EosSdk/configure.ac at master · peterkuria2000/EosSdk Expand file tree/ Copy pathconfigure.acMore file actions 78 lines (71 loc) · 3.08 KB / Copy pathconfigure.acFile metadata and controls78 lines (71 loc) · 3.08 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 m4_include([version.m4]) AC_INIT(_NAME_-stubs, _VERSION_, [], _NAME_-stubs) AC_CONFIG_AUX_DIR([autogen]) AC_CONFIG_MACRO_DIR([autogen]) AC_PREREQ([2.59]) AM_INIT_AUTOMAKE([foreign 1.9 tar-pax]) AC_CONFIG_HEADERS([config.h]) LT_INIT([disable-static]) AC_PROG_CXX # Some old versions of the STL only contain partial support for C++11, and # this can lead to puzzling compilation errors. Try to detect those here # and report a more helpful error message. AC_CACHE_CHECK([for std::unordered_set::operator==], [eossdk_cv_unordered_set_eq], [AC_LANG_PUSH([C++])dnl # Detect STL versions that are missing std::unordered_set::operator== (e.g. # libstdc++-4.4.7 on CentOS 6.6) save_CXXFLAGS=$CXXFLAGS CXXFLAGS="$CXXFLAGS -std=gnu++0x" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <unordered_set> std::unordered_set<int> s; bool b = s == s; ]])], [eossdk_cv_unordered_set_eq=yes], [eossdk_cv_unordered_set_eq=no]) CXXFLAGS=$save_CXXFLAGS AC_LANG_POP([C++])dnl ]) if test "x$eossdk_cv_unordered_set_eq" != xyes; then AC_MSG_ERROR([Your version of the STL seems to be missing std::unordered_set::operator==,dnl check config.log for more details]) fi AC_ARG_ENABLE([python], [AS_HELP_STRING([--enable-python], [compile Python bindings])], [], [enable_python=no]) AM_CONDITIONAL([USE_PYTHON], [test "x$enable_python" = xyes]) if test "x$enable_python" != xyes; then AC_MSG_NOTICE([You may configure with --enable-python ]dnl [if you need Python bindings.]) else AM_PATH_PYTHON([2.6]) # Debian has a binary for SWIG 2.0 named swig2.0 and they kept swig as # an alias for swig-1.3. Let's use the former when available. AC_CHECK_PROGS([SWIG], [swig2.0 swig], [swig]) fi m4_define([VERSION_MAJOR], [m4_bregexp(_VERSION_, [^\([0-9]+\)], [\1])])dnl AC_DEFINE([SDK_VERSION_MAJOR], [VERSION_MAJOR], [Major version number of the EOS SDK]) m4_define([VERSION_MINOR], [m4_bregexp(_VERSION_, [^[0-9]+[-._]\([0-9]+\)], [\1])])dnl AC_DEFINE([SDK_VERSION_MINOR], [VERSION_MINOR], [Minor version number of the EOS SDK]) m4_define([VERSION_PATCH], [m4_bregexp(_VERSION_, [^[0-9]+[-._][0-9]+[-._]\([0-9]+\)], [\1])])dnl AC_DEFINE([SDK_VERSION_PATCH], [VERSION_PATCH], [Patch version number of the EOS SDK]) AC_SUBST([SDK_LIBTOOL_VERSION], [m4_eval(VERSION_MAJOR + VERSION_MINOR):VERSION_PATCH:VERSION_MINOR])dnl AC_DEFINE_UNQUOTED([SDK_BUILD_TIMESTAMP], [`date +%s`UL], [UNIX timestamp at which the EOS SDK was built]) AC_DEFINE_UNQUOTED([SDK_BUILD_PROJECT], ["${WP-unknown}"], [Arista project from which the EOS SDK was built]) AC_DEFINE_UNQUOTED([SDK_BUILD_PROJECT_CL], [`cat /eng/project/$WP/syncpoint 2>/dev/null || echo 0`UL], [Change list number from which the EOS SDK was built]) AC_DEFINE_UNQUOTED([SDK_BUILD_USER], ["${USER-unknown}"], [User that built the EOS SDK]) AC_DEFINE_UNQUOTED([SDK_BUILD_PATH], ["`pwd -P`"], [Path from which the EOS SDK was built]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |