From 90dff3e4da1fa51733dd8d5cec332786aa57faef Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 23 Nov 2008 15:17:34 +0100 Subject: [PATCH] Avoid newlines in some AT_CHECK commands. * tests/standalone.at (linking libltdl without autotools): Wrap lines with dnl, to avoid turning off tracing of AT_CHECK. * tests/subproject.at (linking libltdl without autotools): Likewise. Signed-off-by: Ralf Wildenhues --- ChangeLog | 6 ++++++ tests/standalone.at | 6 +++--- tests/subproject.at | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44efdcb90..a88f9ce1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-11-23 Ralf Wildenhues + Avoid newlines in some AT_CHECK commands. + * tests/standalone.at (linking libltdl without autotools): Wrap + lines with dnl, to avoid turning off tracing of AT_CHECK. + * tests/subproject.at (linking libltdl without autotools): + Likewise. + Replace uses of $SED $basename. * libltdl/config/ltmain.m4sh (func_mode_link): Replace instances of `$ECHO ... | $SED' with calls to func_basename. diff --git a/tests/standalone.at b/tests/standalone.at index f9ba5ed37..39b77c48f 100644 --- a/tests/standalone.at +++ b/tests/standalone.at @@ -80,9 +80,9 @@ AT_SETUP([linking libltdl without autotools]) _LTDL_PROJECT_FILES([libltdl]) LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl], [], [ignore]) -LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" \ - CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ - CONFIGURE_OPTIONS="$configure_options"]) +LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" ]dnl + [CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ]dnl + [CONFIGURE_OPTIONS="$configure_options"]) LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore]) diff --git a/tests/subproject.at b/tests/subproject.at index 4b32f44f9..0e003a38e 100644 --- a/tests/subproject.at +++ b/tests/subproject.at @@ -110,9 +110,9 @@ AT_SETUP([linking libltdl without autotools]) _LTDL_PROJECT_FILES([sub/ltdl]) LT_AT_LIBTOOLIZE([--copy --ltdl=sub/ltdl]) -LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" \ - CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" SHELL="$SHELL" MAKE="${MAKE-make}" \ - CONFIGURE_OPTIONS="$configure_options"]) +LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" ]dnl + [CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" SHELL="$SHELL" MAKE="${MAKE-make}" ]dnl + [CONFIGURE_OPTIONS="$configure_options"]) LT_AT_EXEC_CHECK([./ltdldemo], 0, [ignore]) -- 2.47.3