Jason Stover <[EMAIL PROTECTED]> writes:
> Ben, your commit of acinclude.m4 left AS_ECHO unexpanded in configure
> on my machine:

John Darrington <[EMAIL PROTECTED]> writes:
> I get the same symptoms.

Apologies.  Would you two mind trying out the following patch?  I
believe that it should fix the problem.

commit b9bcafa33dd29ddf22de47e42c5e8cac4a75d0e9
Author: Ben Pfaff <[EMAIL PROTECTED]>
Date:   Wed Jul 16 10:18:35 2008 -0700

    Make PSPP_LINK2_IFELSE macro work with Autoconf earlier than 2.62.

diff --git a/acinclude.m4 b/acinclude.m4
index 10ea269..11154ee 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -223,7 +223,7 @@ mv conftest.$ac_ext conftest1.$ac_ext
 m4_ifvaln([$2], [AC_LANG_CONFTEST([$2])])dnl
 mv conftest.$ac_ext conftest2.$ac_ext
 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
-pspp_link2='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest1.$ac_ext conftest2.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
+pspp_link2='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest1.$ac_ext conftest2.$ac_ext $LIBS >&5'
 AS_IF([_AC_DO_STDERR($pspp_link2) && {
         test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag" ||
         test ! -s conftest.err
@@ -232,10 +232,10 @@ AS_IF([_AC_DO_STDERR($pspp_link2) && {
         AS_TEST_X([conftest$ac_exeext])
        }],
       [$3],
-      [AS_ECHO(["$as_me: failed source file 1 of 2 was:"]) >&AS_MESSAGE_LOG_FD
-sed 's/^/| /' conftest1.$ac_ext >&AS_MESSAGE_LOG_FD
-AS_ECHO(["$as_me: failed source file 2 of 2 was:"]) >&AS_MESSAGE_LOG_FD
-sed 's/^/| /' conftest2.$ac_ext >&AS_MESSAGE_LOG_FD
+      [echo "$as_me: failed source file 1 of 2 was:" >&5
+sed 's/^/| /' conftest1.$ac_ext >&5
+echo "$as_me: failed source file 2 of 2 was:" >&5
+sed 's/^/| /' conftest2.$ac_ext >&5
        $4])
 dnl Delete also the IPA/IPO (Inter Procedural Analysis/Optimization)
 dnl information created by the PGI compiler (conftest_ipa8_conftest.oo),

-- 
"Unix... is not so much a product
 as it is a painstakingly compiled oral history
 of the hacker subculture."
--Neal Stephenson


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to