~ubuntu-cloud-archive/ubuntu/precise/openvswitch/icehouse

« back to all changes in this revision

Viewing changes to m4/openvswitch.m4

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-12-05 10:08:20 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20131205100820-ykbxbjs697icgsod
Tags: 2.0.0+git20131203-0ubuntu1
* New upstream snapshot.
* d/rules: Switch snapshot branch to branch-2.0.
* Rework checks for -latomic:
  - d/p/0001-Add-check-for-latomic.patch: Add autoconf checks to see
    if -latomic is required when linking test-atomic.
  - d/p/atomic-test.patch: Dropped in preference to new patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
426
426
     fi
427
427
   fi])
428
428
 
 
429
dnl OVS_CHECK_ATOMIC_LIBS
 
430
dnl
 
431
dnl Check to see if -latomic is need for GCC atomic built-ins.
 
432
AC_DEFUN([OVS_CHECK_ATOMIC_LIBS],
 
433
   [AC_SEARCH_LIBS([__atomic_load_8], [atomic], [ATOMIC_LIBS=-latomic])])
 
434
 
429
435
dnl OVS_CHECK_GCC4_ATOMICS
430
436
dnl
431
437
dnl Checks whether the compiler and linker support GCC 4.0+ atomic built-ins.