diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2013-01-31 23:04:05 +0100 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2013-01-31 23:04:05 +0100 |
commit | 23610f5bf4d613f503793bf7c8526c67f95df223 (patch) | |
tree | 9b92b3e127154df57d99a7c5bcbbd8bd3b373fe0 /examples | |
parent | [2667] Add --disable-rpath configure switch. (diff) | |
download | kea-23610f5bf4d613f503793bf7c8526c67f95df223.tar.xz kea-23610f5bf4d613f503793bf7c8526c67f95df223.zip |
[2667] editorial fix: folded some long lines
Diffstat (limited to 'examples')
-rw-r--r-- | examples/m4/ax_isc_rpath.m4 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/m4/ax_isc_rpath.m4 b/examples/m4/ax_isc_rpath.m4 index 85d55f9836..c7bc5ed671 100644 --- a/examples/m4/ax_isc_rpath.m4 +++ b/examples/m4/ax_isc_rpath.m4 @@ -19,20 +19,22 @@ AC_ARG_ENABLE(rpath, rpath=$enableval, rpath=yes) if test x$rpath != xno; then - # We'll tweak both CXXFLAGS and CCFLAGS so this function will work whichever - # language is used in the main script. Note also that it's not LDFLAGS; - # technically this is a linker flag, but we've noticed $LDFLAGS can be placed - # where the compiler could interpret it as a compiler option, leading to - # subtle failure mode. So, in the check below using the compiler flag is - # safer (in the actual Makefiles the flag should be set in LDFLAGS). + # We'll tweak both CXXFLAGS and CCFLAGS so this function will work + # whichever language is used in the main script. Note also that it's not + #LDFLAGS; technically this is a linker flag, but we've noticed $LDFLAGS + # can be placed where the compiler could interpret it as a compiler + # option, leading to subtle failure mode. So, in the check below using + # the compiler flag is safer (in the actual Makefiles the flag should be + # set in LDFLAGS). CXXFLAGS_SAVED="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -Wl,-R/usr/lib" CCFLAGS_SAVED="$CCFLAGS" CCFLAGS="$CCFLAGS -Wl,-R/usr/lib" # check -Wl,-R and -R rather than gcc specific -rpath to be as portable - # as possible. -Wl,-R seems to be safer, so we try it first. In some cases - # -R is not actually recognized but AC_TRY_LINK doesn't fail due to that. + # as possible. -Wl,-R seems to be safer, so we try it first. In some + # cases -R is not actually recognized but AC_TRY_LINK doesn't fail due to + # that. AC_MSG_CHECKING([whether -Wl,-R flag is available in linker]) AC_TRY_LINK([],[], [ AC_MSG_RESULT(yes) |