diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2014-05-13 14:34:49 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2014-05-13 14:34:49 +0200 |
commit | a1d6621eaf357fa2b4945ab7548c04303086aa11 (patch) | |
tree | 8de4ff6b79747673c6ff29fd49d07f783fc607ef /examples | |
parent | [6] added python 3.4 in the expected python version list in configure.ac (diff) | |
download | kea-a1d6621eaf357fa2b4945ab7548c04303086aa11.tar.xz kea-a1d6621eaf357fa2b4945ab7548c04303086aa11.zip |
[trac3449] make sure -R has argument (directory) in m4 macro that tests availability.
Bundy issue 6:
(should also be trivial enough, so I'm pushing it directly at my discretion)
without this it's possible that it only results in warning on a system
that doesn't actually support this flag (such as MacOS X) and subsequently
causes build failure.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/m4/ax_isc_rpath.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/m4/ax_isc_rpath.m4 b/examples/m4/ax_isc_rpath.m4 index d540b2cb41..ce8d3226f1 100644 --- a/examples/m4/ax_isc_rpath.m4 +++ b/examples/m4/ax_isc_rpath.m4 @@ -45,8 +45,8 @@ if test x$rpath != xno; then # Apple clang 5.1 is now considers unknown parameters passed to linker (ld) as errors. # However, the same unknown parameters passed to compiler (g++ ) are merely threated # as warnings. To make sure that we pick those up, is to use -Werror. - CXXFLAGS="$CXXFLAGS_SAVED -Werror -R" - CCFLAGS="$CCFLAGS_SAVED -Werror -R" + CXXFLAGS="$CXXFLAGS_SAVED -R/usr/lib" + CCFLAGS="$CCFLAGS_SAVED -R/usr/lib" AC_TRY_LINK([], [], [ AC_MSG_RESULT([yes; note that -R is more sensitive about the position in option arguments]) ISC_RPATH_FLAG=-R |